# VIT Previous Years Questions

Posted on :11-04-2016

APTITUDE:

Q1. If the sum of five consecutive numbers is 35, how many prime numbers are there?

ANS: 5 + 6 + 7 + 8 + 9 = 35, so two primes

Q2. If the area of the square is increased by 69 %, how much the length of the side will increase?

ANS: 13

Q3. If the length of the rectangle is reduced by 20% and breath is increased by 20 %, what is the net change?

ANS: 4 % decrease

Q4. Product of three consecutive numbers is 210. What is the sum of two least numbers?

ANS: 5 * 6 * 7 = 210, sum = 11 is answer

TECHNICAL:

Q5.  Which one is not suitable for client-server application?

a) TCP/IP
b) message passing
c) RPC
d) none of the above.

Q6. Which one you will use to implement critical section?

ANS: Binary Semaphore

Q7. Given 10000 numbers and 48MB Memory. What is the complexity of the efficient sorting algorithm?

Q8. Whether all recursive program can be written iteratively?

Q9. To ensure one program, does not corrupt other program in a Multi-program environment, what you should do?

Q10. What is the output of the following program?

for(i=0; i<=10;i++, printf (%d,i);  +-

Q11. Indexing in databases gives you ----.

Q12. Which data structure you will use if you want to go to first record from the last and vice versa?

Q13. If W is a sequence of strings without a and W is its reversal then WaW is generated by ----.

ANS: Context Free Grammars.

Q14. If there are too many page faults, what is the problem?

Q15. What is the Scope of Static Variable?

Q16. What is the output of the following code?

int a=1, b=2, c=3;
printf(%d, %d, a, b, c);

Q17. What is SQL?

Q18. Which one is not related to Data link layer?

Q19. Which one is not done by Data link layer?

a) bit stuffing
b) LRC
c) CRC
d) parity check

Q20. Which one is not needed for Multi-program environment?

a) virtual memory
b) security
c) time sharing
d) none of the above.

## Vision Infotech Placement Papers

➤ VIT Interview Questions

Register