It was A 1 hour Test. 100 marks!
*Section 1
20 questions objective, negative marking ( 2 correct, -1 incorrect )
*What is TLB? (meaning translation lookaside buffer)
*Which cannot be swapped from a system which uses only tape as the backup store?
-page fault handler
-file system
-disk drive controller
-alll of the above.
*Probablity that 2 aces will appear in a set of cards when picked?
*Which variables are put in the stack?
-auto
-static
-global
*Which causes a page fault?(or rather where a page fault can occur?)
-MMU
-DMA
-Cache controller
-none of the above.
*Which is not the stable sorting method?
-quicksort
-bubblesort
-selection sort
-none of the above
*Section 2
———-
5 questions subjective
Question 1
———-
(5 marks each)
for(i=0,j=0;i<100;i++)
{
j&=i;
if(!j)
{i&=i-1}
}
Question 2:
————
(7 marks each)
Question 3
———-
(8 marks)
Question 4
———-
(7 marks each)
a) It was deriving the program complexity or the order of the program
of a program which was a C linked list complicated program
b) was to provide solution as to how to decrease the order!
Q.3 write a code using given instruction to increment the content of memory location M by 1. As a hint they have given that this is possible in 6 clock cycle.
Q. No. 3. A micropro. supports following instructions.
1. add/or/exor A,B add ato b and store result in A 1 cycle.
2. not A 1 cycle
3. mov A,B move A to B
4.???????
A,B can be register or memory..