Delta Xmcqs
Delta Xmcqs
Delta Xmcqs
233
123 ans
222
112
Multi processing os
Multi processing os
ABC/^DE*+AC*-
ABC^/D*E+AC*-
ABC^/DE*+A*C-
ABC^/DE*+AC*- ans
O(n^0.5)
O(n)
O(logn) ans
O(nlogn)
Ans Sent from user and stored in the server while a user is browsing a website
ans false .
10 are logical operators in the c language evaluated with the short circuit
Ans true
11 in a full binary tree if number of internal nodes is I, then number of leaves l are
Ans L=l+1
13 what are the worst cse and average case complexities of a binary search tree
Captionless image
Asn x is 97
Ans false
16 which of the following can be used to get the remainder when an integer a is divided by integer
b?
Ans a%b
Ans distributive
18 the following function reverse() is supposed to reverse a singly linked list . there is one line
missing at the end of the function.
Ans *head_ref=prev;
Ans X->Bwd->Fwd=X->Fwd;X->Fwd->Bwd=X->Bwd;
Ans 0
22 with Sql how can you insert a new record into the persons’ table
Ans 4
26 in below program what would you put in place of “?” to print “tax”?
27 the number of ways in which the numbers 1234567 can be inserted in an empty binary search
tree such that the resulting tree has height 6 is ___ the height of a tree with a single node is 0
Ans 64
Ans 10 20 10 garbage
Captionless image
32.The following C function takes a simply-linked list as input argument. It modifies the list by moving
the last element to the front of the list returns the modified list. Some part of the code is left blank.
Choose the correct alternative to be added after the while loop.
34. A person wants to visit some places. He start from a vertex and then wants to visit every vertex
till it finishes from one vertex, backtracks and then explore vertex from same vertex. What algorithm
he should use?
35. The time required to examine the packet’s header and determine where to direct the packet is
part of
Ans O(n)
38. How many copies of a static member of the class are created?
Ans One
39. With SQL, how do you select all the records from a table named “Persons” where the “LastName”
is alphabetically between (and including) “Hansen” and “Petterson”?
40. Following is C like pseudo code of a function that takes a number as an argument, and uses a
stack S to do processing. What does the below function do in general?
Ans Array
43. The following numbers are inserted into an empty binary search tree in the given order: 10, 1, 3,
5, 15, 12, 16 What is the height of the binary search tree?
Ans 3
44. How many distinct binary search trees can be created out of 4 distinct keys?
Ans 14
Ans It combines the result of two different queries which have the same set of attributes in the select
clause.
49. Consider a set of 5 processes whose arrival time CPU time needed and priority (smaller the
number, higher the priority) are given below. If the CPU scheduling FCFS, the average wating time will
be:
Ans 12.8 ms