Log In

Recent activity by Ravi Raja

1 answer
How they calculated time for number of levels?
answered Dec 16, 2018 in Operating System 799 views
3 answers
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 451 views
1 answer
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 902 views
0 answers
Trains X and Y arrive at a station at random between 8 A.M. and 8.20 A.M. Train X stops for four minutes and train Y stops for five minutes. Assuming that the trains arrive independently of each other. (a) Determine the probability that train X arrives ... . (c) Assuming that the trains met, determine the probability that train X arrived before train Y. Note: please explain in detail. Thanks
commented Sep 3, 2018 in Probability 821 views
1 answer
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 105 views
1 answer
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 238 views
1 answer
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 507 views
3 answers
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 308 views