Question 41
Question 42
128, 144, 2176, 2180, 128, 2176All the above addresses are shown in decimal values. Assume that the cache is initially empty. The cache hits ratio occur for for above given addresses is __________ .
Question 43
1. Complement of L(A) does not accept strings that starting from \'a\'. 2. L(A) = {a, b}* - b(a, b)*. 3. DFA for above finite automata has 2 final stats and total 4 states. 4. Minimal DFA has single finale state.
Question 44
"If anyone cheats, everyone suffers."
Question 45
S → A$ A → (AB) A → ε B → (A) B → xWhich of the following s the correct parse tree for the string?
((x)x)$
Question 46
List-I | List-II |
---|---|
P. Memory Leak | 1. #include |
Q. Dangling Pointer | 2. char* func() { char str[10]; strcpy(str,"Hello!"); return(str); } |
R. Stack Overflow | 3.#include < stdlib.h > void f() { int * ptr = (int * ) malloc(sizeof(int)); /* Do some work */ return; } |
S. Wild Pointer | 4. int main() { int *p; int a = 10; p = &a; *p = 12; } |
Question 47
a b c d e f g h a 0 8 0 0 0 0 0 0 b 8 0 4 2 0 0 0 0 c 0 4 0 11 0 3 0 0 d 0 2 11 0 5 6 10 0 e 0 0 0 5 0 0 0 0 f 0 0 3 6 0 0 0 7 g 0 0 0 10 0 0 0 9 h 0 0 0 0 0 7 9 0
Question 48
Question 49
Question 50
Job Arrival Time Size (msec) Priority J1 0 10 2 (Silver) J2 2 8 1 (Gold) J3 3 3 3 (Bronze) J4 10 4 2 (Silver) J5 12 1 3 (Bronze) J6 15 4 1 (Gold)Which of the following is the correct order for scheduling policies providing the lowest waiting time for this set of jobs?
There are 65 questions to complete.