search
Log In

Answers by Ravi Raja

1 vote
1
How they calculated time for number of levels?
answered Dec 16, 2018 in Operating System 700 views
2 votes
2
What is the total number of comparisons needed in the best case to find minimum and maximum of $300 $ elements?
answered Oct 10, 2018 in Algorithms 400 views
3 votes
3
The hardware allows privileged instruction to be executed only in kernel mode. if an attempt to execute a privileged instruction in user mode, the hardware does not execute the instruction but rather treat it as illegal and traps it to the operating system. The instruction to ... is itself a privileged instruction. how can it be then executed if the system is not in kernel mode? please clarify...
answered Oct 10, 2018 in Operating System 818 views
0 votes
4
Any condition for f(n) and g(n) or any value we can take??? I m confused becoz in big oh right side part must b greater than equal ??
answered Aug 28, 2018 in Algorithms 99 views
1 vote
5
give the complete solution with explanation int main() { int arr [2] [2] [2] = {10,2,3,4,5,6,7,8}; int *p, *q; p = &arr[1] [1] [1]; q = (int*) arr; printf("%d ,%d \n",*p ,*q); return 0; }
answered Aug 28, 2018 in Programming 232 views
3 votes
6
Q.Consider a four labeled 1, 2, 3, 4. The number of distinct binary tree are possible such that whose inorder traversal is 1, 2, 3, 4 are _________ Answer must be 14 right ?
answered Jan 14, 2018 in Programming 496 views
0 votes
7
Q9-Consider the following grammar: S → aPbSQ | a Q → t | ε P → r The number of states will reduce when a LALR(1) parse is computed out of CLR(1) parser for the above grammar _____. made easy solution my solution please correct me if i wrong no of state is reduce =6?
answered Jan 2, 2018 in Compiler Design 289 views
...