Wednesday, May 29, 2019

Expected Questions Series 7

1) What are the following types of?

SERIALIZABLE
REPEATABLE READ
READ COMMITTED

a. Locks
b. Logs
c. Isolation level 
d. Latch types

2) State the main difference between a latch and a lock.
a. Locks are more restrictive than Latches in that they are always exclusive.
b. Latches are more restrictive than locks in that they are always exclusive.
c. Latch is used to protect data while lock is not.
d. Lock is used to protect data while latch is not.

3) What is a report generator used for?
a. Update Files
b. Print Files 
c. Alter files
d. All the above

4)  What is the timing complexity of Prim's Algorithm for a graph comprising ' n ' vertices? 
a. O(n)
b. O(n2
c. O(n3)
d. O(n-1)2 

5) How many nested loops are present in Prim's Algorithm?
a. Two
b. Three
c. Four
d. Infinite

6) Which command allows to set a Telnet password on a Cisco router?
a. line con 0 4
b. line vty 0 4
c. line telnet 0 4
d. line aux 0 4

7) What command is used to take backup on IOS?
a. copy flash tftp
b. copy ios tftp
c. backup IOS disk
d. copy tftp flash

8)We have a CPU that generates virtual addresses of 32 bits and the page size is of 4 kbyte. Transition Lookaside Buffer ( TLB ) of the processor can hold a total of 128 page table entries and 4 - way set associative. What is the minimum size of the TLB tag?
a. 16 bit
b. 20 bit
c. 11 bit
d. 15 bit 

9) Consider a virtual memory system that uses First In First Out (FIFO) page replacement policy and it allocates a fixed number of frames to a process. Consider the following two statements,

1: Sometimes the page fault rate is increased if the number of page frames allocated is increased.
2: Some programs do not exhibit Locality of reference.

Which of the following is true?

a. 1 is false and 2 is true
b. both 1 and 2 are false
c. both 1 and 2 are true but 2 is not the reason for 1
d. both 1 and 2 are true and 2 is the reason for 1

10) Why do we translate a virtual address to physical address where a multilevel page table is preferred in comparison to a single level page table?
a. It is required by the translation look-aside buffer
b. It helps to reduce the memory access time to read or write a memory location
c. It helps to reduce the number of page faults in page replacement algorithm
d. It helps to reduce the size of a page table needed to implement the virtual address space of a process

11) An application loads 100 libraries at startup and loading each library exactly one disk access is required. 10ms is the seek time of the disk to a random location and 6000rpm is the rotational speed of the disk. Neglect the time to transfer data from the disk block once the head has been positioned at the start of the block. What will be the time taken by the application to load all the libraries, if all 100 libraries are loaded from random location on the disk?
a. 1.50s
b. 1.00s
c. 1.87s
d. 0.74s

Answers
1) c
2) d
3) b
4) b
5) a
6) b
7) a
8) d
9) c
10) d
11) a

2 comments:

  1. i am glad to discover this page : i have to thank you for the time i spent on this especially great reading !! i really liked each part and also bookmarked you for new information on your site.
    Top QA Companies
    Top Automation Testing Companies
    Top Mobile App Testing Companies
    Top Performance Testing Companies
    Top Security Testing Companies

    ReplyDelete