Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
ENGINEERING COLLEGE
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
1.Consider the following rooted tree with the vertex labeled P as the root.
The order in which the nodes are visited during an in-order traversal of the tree is
2.A max-heap is a heap where the value of each parent is greater than or equal to the value of its
children. Which of the following is a max-heap?
3.Which of the following statements is/are TRUE for undirected graphs?
4. A system uses 3 page frames for storing process pages in main memory. It uses the Least
Recently Used (LRU) page replacement policy. Assume that all the page frames are initially
empty. What is the total number of page faults that will occur while processing the page
reference string given below?
4, 7, 6, 1, 7, 6, 1, 2, 7, 2
___________________________________________
5.Given the language L-{ab, aa, baa}, which of the following strings are in L*?
1) abaabaaabaa 2) aaaabaaaa
3) baaaaabaaaab 4) baaaaabaa
6.Which of the following transport layer protocols is used to support electronic mail?
switch (inChar ) {
case ‘B’ :
case ‘D’ :
case ‘E’ :
every key of R
(A) the system can allocate resources to each process in some order and still avoid a deadlock
15.The ........................ layer is provided by the program that uses TCP/IP for
communication.
A) Transport B) Application
C) Internetwork D) Network interface
16.A/An .................... routing scheme is designed to enable switches to react to changing traffic
patterns on the network.