Tuesday, April 23, 2019

Most Frequently asked questions series 2

1) Which of the following transport protocols uses UDP?

a. SMTP
b. Telnet
c. HTTP
d. DNS


2) Why are B+ trees preferred over binary trees in databases?

a. Disk capacities are greater than memory capacities
b. Disk access is much slower than memory access
c. Disk data transfer rates are much less than memory data transfer rates
d. Disks are more reliable than memory


3) Which system call results in the sending of the SYN Packets?

a. Socket
b. Connect
c. Bind
d. Listen


4) Which of the following objects can be used in expression and scriplets in JSP without explicitly declaring them?

a. Request and response only
b. Response and session only 
c. Session and request only
d. Session,request and response


5) From the following sorting algorithms which has the lowest worst case complexity?
a. Bubble sort
b. Quick sort
c. Merge sort
d. Selection sort

6) From the following sorting algorithms which algorithm needs the minimum number of swaps
a. Bubble sort
b. Quick sort
c. Merge sort
d. Selection sort

7)  Out of 4 distinct keys how many distinct primary keys can be created?
a. 5
b. 20
c. 45
d. 14

Answers

1) d
2) d
3) a
4) c
5) c
6) d
7) d

No comments:

Post a Comment