# Wipro Aptitude paper December 2011

Posted on :25-01-2016
Analytical Section:-

Q1. A,B,C,D,E ,F are to be given adjacent rooms .The rooms dont have complete walls between them rather sound, smoke can easily get through from one to another as there are gaps over a wall for free exchange of air. Miss C the head is allotted room no 5 as wished by her. Miss E needs a telephone for regular communication. Mr A & Mr B prefer to have adjacent rooms. Mr B,C,D are chain smokers. Miss C is allergic to cigarette smoke.

a) The correct order of placement of rooms is ----

b) Which slot is best for Mr A?

Q2. A doctor is supposed to see his patients at 9.00, 10,00 11.00, 1.00 PM , 2.00 PM , 3.00 PM. Rajiv, Mark, Mathew, Hassan, Priya, Reni are the patients . Hassan is scheduled to be seen in early afternoon. Priya should be seen earlier in the day than Reni. Other such conditions were given and you needed to find based on the given conditions that how many such combinations are possible.

Q3. In a film festival Amitabh ,SRK, Kamal hassan ,Hrithik and Subhash Ghai , Maniratnam and Yash Chopra are available as judges. A team of three is to be sent. The team must contain atleast one actor and one director. If SRK is selected Kamal Hassan should also be selected and vice versa, If Amitabh is selected Subhash Ghai cannot be selected. If Hrithik is selected Maniratnam is also selected and vice versa. What should be the team if Amitabh is selected?

Q4. H == A+B - R , F == H + I , T == F + A - C+ D , S == T/2, R == A*S; If F is to be derived what is also needed to be derived?

a) S
b) Q
c) R
d) T

Q5. A team of at least three people is to be constituted for Mayor of a village for representation in a trade fair. One man, one woman, two boys, three girls are available. All three males cannot be selected, all four females cannot be selected. The team should contain at least one elder. What is the possible configuration that exactly sums up the formation of team:

a) three girls,
b) two boys and the lady
c) the man, woman, one boy, one girl
d) two boys, woman and a girl.

Q6. A series of drama is to be arranged on all the five days of the week. Monday to Friday. Drama contains fiction, romance, horror, comedy, tragedy. Horror cannot immediately precede romance, fiction should be scheduled earlier than romance , comedy should come after tragedy. If Horror is arranged on Friday then what should be the sequence of the dramas.

Q7. Three ice creams are to be made available every day by the college canteen. The IC available are strawberry, butterscotch,vanilla, choco, mango, choco-vanilla, pineapple. Each day should  have ice creams which was also present day before. All the ice creams can be repeated only thrice during the entire week .IF choco, vanilla ,straw berry is given on Wednesday . What should be given on Thursday

Q8. A team is to be selected from the hockey players available from the circuit. The selection team would require atleast four people. There are three coaches A,B,C and three selectors D, E, F available. But there schedule do not match . A cannot come if D is selected. If C is selected F should also be selected. If E is selected B should not be selected. What is the team?

Technical Section:-

Q9. Full form of URL?

a) universal resource locator
b) uniform resource locator
c) none of these
d) unidentified random locator.

Q10. CDROM access is

a) RANDOM
b) SEMI RANDOM
c) SEQUENTIAL

Q11. Total time spent by process...waiting in queue, execution

Q12. Response time..of process.

Q13. What is the function of shell?

a ) Interpreter
b) command interpreter
c) interface

Q14. Which is a command interpreter?

a) Shell
b) Kernel
c)???
d)None of these

Q15.

main()
{
printf(%c,abcdef[4]);
}

What is the output ?

a) abcdef
b) d
c) e
d) ERROR.

Q16.
main()
{ char dummy[20]; scanf("%[^a]",dummy);
printf("%s", dummy); }

What will it do?

a) ERROR
b) take characters till ctrl z is pressed
c) take upto 19 characters
d) None of These

Q17. How are objects in cpp passed ?

a) By value
b) By reference

Q18. If the ethernet card is removed.

c) ????

Q19. Operation of queue

a) FIFO
b) LIFO
c) FILO
d) None of these

Q20. Static member of a class is

a) Class specific
b) Object specific
c) Referenced by using the scope resolution operator
d) a & c

Q21. TCP is

a) connection oriented
b) connection less
c) god only knows
d) None of these

Q22. How is data send by IP layer?

a) as frames
b) as packets
c) as data grams
d) None of these

Q23. If Link list is used to implement a stack what operations should be implemented :

a) insert front, delete front
b) insert front, delete rear
c) insert rear, delete front
d) None of these

Q24. Link list is implemented as a structure (data, link *), How is pointer moved to the next node, cursor points to the present node.

b) cursor ++
c) ++ cursor
d) None of these.

Q25. How is memory allocated by new?

a) In a heap
b) in a stack
c) both a & b
c) None of these.

Technical Interview:-

Q26. Difference between structure and class.

Q27. How to resolve ambiguity in multiple inheritance ?

Q28. What is static and dynamic binding in C ?

Q29. What is the difference between structure and array?

Q30. Difference between calloc and malloc & realloc?

Q31. What is static class and static member function?

Q32. What is pointer to a pointer? How it is declared and how is it accessed?

Q34. What is the scope of a variable ?

Q35. What is the difference between C & C++ ?

Q36. Some questions on templates and exceptions.

Q37. What is stream ? How is it opened and describe file handling in CPP?

Q38. Some questions related to Hard Disc :What is a hdd? How is a file accessed from the hdd? Why is not it used in place of a RAM ? What is RAID describe its basic structure? Where is the file information stored on the hard disk What is FAT? How are files physically arranged on the hard disc?

Q39. What is JVM, what is BYTE CODE? What is multi threading? How can it be implemented using C, write a program to describe it? What is the complexity of radix sort and how is it determined? A sequence of 15 numbers was to be sorted using heap sort.

Accenture
Cognizant
HCL Technologies
Syntel
TCS
Tech Mahindra
HP
IBM