[solved] – Question 86193

Create a program that will implement the four sorting algorithms:
Bubble Sort
Insertion Sort
Selection Sort
Merge Sort

Additionally- the program must have the ability to run any of the four algorithms on an unsorted array.

Expert Answer


[solved] – Question 86215

1. Draw a non-deterministic finite automaton which accepts the language denoted by the regular expression
(0 + 1)∗0101∗

4. If L = {10, 100} and M = {01, 1, 100} are languages on the alphabet {0, 1}, then write down the values of (i) LM and (ii) L + M.

6. Show that the grammar below (written with BNF notation) is ambiguous.
< Program > ::= < Stmt > | < Program > ; < Stmt > < Conditional > ::= if < Bool > then < Program >
< Bool > ::= true | false
<Stmt> ::=<Conditional>|S1 |S2
Parse trees can be used to give meaning to words in context free languages. Use your example to give two different meanings to a word in this grammar.
The approximate number of marks to be assigned to these questions are, in order, 3, 5, 2, 2, 2, 6, making 20 in total.

Expert Answer


[solved] – Question 86259

3. Find audio tracks which have a length longer than the average length of all
the audio tracks;
4. Which playlists do not contain any tracks for the artists “Black Sabbath” nor
“Chico Buarque”?

~~ Tracks is a table
~~ Playlist is a table

Expert Answer


[solved] – Question 86271

Respond to the following questions about your investigation into the bug with the counting game. Feel free to go back and look at the game again (but do so in another tab or be sure to click “Submit” to save your work!):

From the user’s perspective, what was the difference between the first version of the game and the one with the bug?
From looking at the code, what specifically was the difference between the two, and why is that an issue?
How did you fix the bug?

Expert Answer


[solved] – Question 8633

I need to submit an assignment on “ASK using PLL” on or before 25th of April. Can you please help me out as i don’t understand programming language. Looking forward to get your precious help

Expert Answer


[solved] – Question 86375

Select the correct answer.
You have written, as part of a school assignment, a research paper on the solar system. You want to share this paper on your school website. On which type of server will you upload it?

Expert Answer


[solved] – Question 86379

Ask the user to input an integer. Print out the next three consecutive numbers.

Expert Answer


[solved] – Question 86406

Given the string, s, and the list, lst, associate the variable contains with True if every string in lst appears in s (and False otherwise). Thus, given the string Hello world and the list [“H”, “wor”, “o w”], contains would be associated with True.

Expert Answer


[solved] – Question 86415

Write an 8086 assembly language program to find the number of bytes that have the hexadecimal digit ‘ F’ in their upper nibble among 100 bytes of data in an array

Expert Answer


[solved] – Question 86434

How do you build a website?

Expert Answer