Identify a company of your choice and discuss the emerging technologies that they have implemented and how these technologies have impacted the company
Construct a grammar for the following languages.
a) { a^n
b^n
| n > 0} ∪ {c^m d^m | m ≥ 0 }
b) { a^n
b^n
| n > 0} ∪ {a^m b^m | m ≥ 0 }
c) { ax
by
cz
, where x = y + z } ∪ { L = a^x
b^y
c^z
, where z = x + y}
Assume: - A processor has a direct mapped cache in a computer, and it has the following properties - Data words are 8 bits long (i.e. 1 byte) - Data addresses are to the word - A physical address is 20 bits long - The tag is 11 bits - Each block holds 16 bytes of data. How many blocks are in this cache?
The following sequence of operations are performed on an empty Queue Q: ADD(1,Q), ADD(2,Q), REMOVE(Q), ADD(1,Q), ADD(2,Q), REMOVE(Q), REMOVE(Q), REMOVE(Q), ADD(2,Q), REMOVE(Q). The sequence of the removed values are?
Using R programming, Create a function which will read input of Student’s Roll Number, Name and marks of 3 subject for 10 students and store it in variables and performs the following operations:
a. Display all the data read from user.
b. Convert all variables into Data frame and display the content of it.
c. Create a bar plot with appropriate title, colour, legends and axes from the appropriate content of the
Data frame.
d. Create a pie plot with appropriate title, colour, legends and axes from the appropriate content of the
Data frame.
e. Create a scatter plot with appropriate title, colour, legends and axes from the appropriate content of
the Data frame.
f. Create a line plot with appropriate title, colour, legends and axes from the appropriate content of the
Data frame.
g. Create a bar plot with appropriate title, colour, legends and axes from the appropriate content of the
Data frame.
which of the following is a best way of declaring x as a two-dimension array in java?
a.int[2] x = new int[];
b.int[]x = new int[2];
c.int[10][20] x = new int[20][10];
d.int[][] x = new int[10][20];
The following sequence of operations are performed on an empty Queue Q: ADD(1,Q), ADD(2,Q), REMOVE(Q), ADD(1,Q), ADD(2,Q), REMOVE(Q), REMOVE(Q), REMOVE(Q), ADD(2,Q), REMOVE(Q). The sequence of the removed values are?
a.2,1,2,2,1
b.2,1,2,2,2
c.2,2,1,1,2
d.1,2,1,2,2
What is the output after executing the following code fragment: int [] x = {1,2,3,4,5}; System.out.println(x[0])
a.Array Index Out Of Bounds Exception
b.2
c.6
d.1