Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
Profile
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Answers by shaktipratap
0
votes
1
#Test_series
The height h of an AVL tree with n nodes lies in the interval: 1. log2(n+1) ≤ h < c log2(n+2)+b 2. log10(n) ≤ h < c log10(n+1)+b 3. log10(n+1) ≤ h < c log10(n+2)+b 4. log2(n) ≤ h < c log2(n+1)+b
The height h of an AVL tree with n nodes lies in the interval:1.log2(n+1) ≤ h < c log2(n+2)+b 2.log10(n) ≤ h < c log10(n+1)+b 3.log10(n+1) ≤ h < c log10(n+2)+b 4.lo...
471
views
answered
Dec 17, 2020
0
votes
2
System Performance
Consider a system with cycles per instruction (CPI) is 1.0 when all memory accesses hit in the cache. The only data accesses are loads and stores, and these are 50% of the total instructions. If the miss penalty is 30 clock cycles and the miss rate is 4%, how much faster would the computer be if all instructions were cache hits? (A) 1 (B) 2.8 (C) 1.6 (D) 3.5
Consider a system with cycles per instruction (CPI) is 1.0 when all memory accesses hit in the cache. The only data accesses are loads and stores, and these are 50% of th...
1.7k
views
answered
Nov 16, 2020
CO and Architecture
co-and-architecture
+
–
1
votes
3
Andrew S. Tanenbaum (OS) Edition 4 Exercise 3 Question 38 (Page No. 258)
Consider the following two-dimensional array: int X[64][64]; Suppose that a system has four page frames and each frame is $128$ words (an integer occupies one word). Programs that manipulate the $X$ array fit into exactly one page and always occupy page $0.$ ... ; i < 64; i++) for (int j = 0; j < 64; j++) X[i][j] = 0;
Consider the following two-dimensional array:int X[64][64];Suppose that a system has four page frames and each frame is $128$ words (an integer occupies one word). Progra...
1.6k
views
answered
Aug 2, 2020
Operating System
tanenbaum
operating-system
memory-management
page-replacement
descriptive
+
–
0
votes
4
Multi Processing OS
In Multi Processing OS Maximum CPU Utilization can be achieved. Maximum throughput is achieved. which of the following is true ? a) 1 only b) 2 only c) both d) none ANS - A) 2 only Please explain it ?
In Multi Processing OSMaximum CPU Utilization can be achieved.Maximum throughput is achieved.which of the following is true ?a) 1 only b) 2 only c) both d) noneANS - A...
1.5k
views
answered
Sep 28, 2019
Operating System
operating-system
multi-processing-os
throughput
+
–
3
votes
5
Symbol table Access time
Which of the following symbol table implementations is best suited if access time is to minimum? (a) Linear list (b) Search table (c) Hash table (d) Self-organization list
Which of the following symbol table implementations is best suited if access time is to minimum?(a) Linear list(b) Search table(c) Hash table(d) Self-organization list
14.8k
views
answered
Aug 20, 2019
Compiler Design
compiler-design
symbol-table
+
–
0
votes
6
Doubt in Compilers
Which of the following optimization techniques are typically applied on loops? (a) Removal of invariant computation (b) Elimination of induction variables (c) Peephole optimization (d) Constant folding
Which of the following optimization techniques are typically applied on loops?(a) Removal of invariant computation (b) Elimination of induction variables(c) Peephole opti...
5.0k
views
answered
Aug 20, 2019
Compiler Design
compiler-design
code-optimization
+
–
0
votes
7
Doubt in compiler
Any transcription error can be repaired by (a) insertion alone (b) deletion alone (c) insertion and deletion alone (d) replacement alone
Any transcription error can be repaired by(a) insertion alone (b) deletion alone(c) insertion and deletion alone (d) replacement alone
1.5k
views
answered
Aug 20, 2019
Compiler Design
compiler-design
compilation-phases
+
–
0
votes
8
Doubt in Automata
If two finite state machines M and N are isomorphic then M can be transformed to N by relabeling (a) the states alone (b) the edges alone (c) both the states and edges (d) none of the above
If two finite state machines M and N are isomorphic then M can be transformed to N by relabeling(a) the states alone(b) the edges alone(c) both the states and edges(d) no...
2.3k
views
answered
Aug 19, 2019
Theory of Computation
theory-of-computation
finite-automata
minimal-state-automata
+
–
1
votes
9
Doubt in Compiler
For which of the following situations, inherited attribute is a natural choice? (a) Evaluation of arithmetic expression (b) Keeping track of variable declaration (c) Checking for the correct use of L-values and R-values (d) All of the above
For which of the following situations, inherited attribute is a natural choice?(a) Evaluation of arithmetic expression(b) Keeping track of variable declaration(c) Checkin...
1.9k
views
answered
Aug 19, 2019
Compiler Design
compiler-design
syntax-directed-translation
+
–
0
votes
10
Which one of the following doesn’t generate same language as rest?
(a+b)*a(a+b)*(a+b)* b * a b * a (a + b)* (a + b)* a b* a b* b * a (a + b)* a b* All are generating same language.
(a+b)*a(a+b)*(a+b)*b * a b * a (a + b)*(a + b)* a b* a b*b * a (a + b)* a b*All are generating same language.
2.7k
views
answered
Apr 5, 2019
Theory of Computation
theory-of-computation
regular-expression
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register