If a CPU has 20 address lines but MMU does not use two of them. OS occupies 20K. No virtual memory is supported. What is the maximum memory available for a user program?
Latest Answer: Ans - There are total n nodes . Here out of the n nodes except the leaves and root ,all the others have both the child and parent . Let us assume that the heigh of the binary tree is h.Then h = log n ( Base 2) .[ floor value ] .No of leaves = 2^log n ...
Understand the fundamental of incrementing a variable using val++ and ++val. Some programs are given for error correction.
Which of the following can be zero?
A. swap space
B. physical memory
C. virtual memory
What is a must for multitasking?
A. Process preemption
B. Paging
C. Virtual memory
D. None of the above
A question on call by value,
call by name,
call by reference.
f(x,y,z)
{
y := y+1;
z := z+x;
}
main()
{
int a,b;
a := 2
b := 2;
f(a+b,a,a);
print a;
}
What is the value of a printed for three different calls in main?
Using the following instructions and two registers, A&B. find out A XOR B and put the result in A
PUSH
int i=0;
int j=0;
loop:
if(i = 0)
i++;
i++;
j++;
if(j<= 25)
goto loop
xxx:
How many times is the loop entered?
Latest Answer: Who handles page faults?A. OS... ...
For which of following is it not possible to write an algorithm.
A. To find out 1026th prime number
B. To write program for NP-complete problem
C. To write program which generates true Random numbers.
View page << Previous 1 [2] 3 Next >>

Go Top