Sunday, 17 April 2011

Solved sequence,technical,verbal,average aptitude question by wipro and tcs placement papers part2

1)Define JAVA object serialization.

Answer:
Object serialization is a process where an object's state will be converted to a format that can be stored to persistent storage for future restoration.

2)Define JAVA Swing.

Answer:
JAVA Swing is an API that provides several GUI capabilities to JAVA applications.

3)Define JAVA struts.

Answer:
JAVA struts is a widespread application development framework employing MVC (Model View Controller) architecture.

4)  A 12 address lines maps to the memory of [a] 1k bytes
 [b] 0.5k bytes
 [c] 2k bytes
 [d] none

 Answer : 0.5k bytes

5) In a processor these are 120 instructions . Bits needed to impliment this instructions  [a] 6
  [b] 7
  [c] 10
  [d] none

 Answer :7

6) In a compiler there is 36 bit for a word and to store a character 8bits are needed. IN this to store a character two words are appended .Then for storing a K characters string,
  How many words are needed.

  [a] 2k/9
  [b] (2k+8)/9
  [c]  (k+8)/9
  [d] 2*(k+8)/9
  [e] none

Answer :2k/9

7)  n=7623
  {
temp=n/10;
 result=temp*10+ result;
   n=n/10
   }


 Answer : 3267

8) A device can operate without Application layer in a network. State True or False.

True. Routing devices like bridges need not necessarily have application layer.

9) OSI stands for

Open Systems Interconnection
Open Systems Integration
Open Servers Interconnection

Correct Answer: Open Systems Interconnection

10) Find the odd man out
HTTP, FTP, MPEG, SNMP

Answer: MPEG - This is a file format and not a Protocol like other options.

11) Amount of work a computer can do in a given period is called
a)Throughput 
b)Job 
c)Process
d)None of the above

Answer: Throughput

12) Which of the following addresses is always unique and unchanged for a machine
a)IP Address,
b)MAC Address,
c)Both of  the above

Answer:MAC Address

13) What is a running program under execution called?a) Task 
b) Job 
c) Process :Answer
d) Any of the above

14) CPU Scheduling is a function of OS under
a) Process Management :Answer
b) Memory Management 
c) I/O Management 
d) None of the above

15) Background running processes are typically called
a) Daemons
b) Tasks
c) Processes
d) None of the above:Answer

16) The process in which OS saves all data associated with current process and switches over to the next is called
     
  a) Process Switching 
b) Task Switching
c) Context Switching:Answer


17)Find the missing number in 0,4,5,11,_

Answer is 14. Whenever you find a sequence like 0,4,5,11 with hardly any relation between adjacent numbers, it is a wiser to try adding and subtracting small numbers like 1 or 2 to all numbers. Now, alternatively adding 1 and subtracting 1 from each number of the sequence we get 1,3,6,10. This sequence has got a pattern!!!. The first digit "1" is the sum of first "1" natural numbers, the second digit "3" is the sum of first "2" natural numbers, the second digit "6" is the sum of first "3" natural numbers and so on.
Hence the final digit in the modified sequence would be 15 which is the sum of first 5 natural numbers. We need to subtract 1 from 15 so that it fits the sequence in question. Hence the answer is 14.

18)Find the missing number in the sequence 1,5,7,17,_
Answer:
Just like question 1, this time let us start by adding and subtracting "1" alternatively from the numbers. Then we get, 2,4,8,16,_ . This has a pattern!!. Yes this is Geometric Progression with a ratio of 2. Hence the final digit would be 32. NOW subtracting 1 to this number we get 31, which is the correct answer.

19)Find the missing number in the sequence 0,2,1,4,_

Answer:
Just like previous questions start by adding and subtracting "1" to the alternative numbers. We get 1,1,2,3,_ . Now, this is our famous good old Fibonacci Series!!!. Hence the final digit would be 5. Now we can fit this to the original sequence by subtracting "1" from "5". Hence correct answer is "4".

20) Find the 10th element in the series 5,15,35,45.....   
a) 95 
b) 85  
c) Cannot be determined

Answer: c) Cannot be determined

    Reason:  The given sequence is not in arithmetic progression. The difference between third and second elements is 20 whereas between second and first element is 10.
Hence correct answer is "Cannot be determined"

21) Find the odd man out
a)3,6,9,12 
b)2,4,8,16   
c)12,24,36,48  
d)10,13,16,19
 
Answer: b) 2,4,8,16

    Reason: The second sequence 2,4,8,16 is in geometric progression and not in arithmetic progression.
Hence the answer is 2,4,6,8 

22)Find the sum of the first 14 terms for a sequence starting with 2, ending with 120 and common difference 2

a)845 
b)854
c)800

Answer: b)854

    Reason: By applying the formula Sum to n no of terms = Sn = n/2(a + l) where a is the first number and l is the last number of the series, we can get the answer 854.

23) Find the difference between last and last but one term in the   Sequence 1, 9, 17, 25… which has 40 terms in total
a)8   
b)16 
c)24

Answer: a)8

     Reason: Since the sequence is in an arithmetic progression the difference between any two successive terms is always the same as the difference between any other two successive terms.
Hence correct answer is 8.

24) Find the 7th term in the series 4,8,16…
a)512  
b)256  
c)64

Answer: b)256

  Reason: n th term of a geometric progression can be found by using the formula Tn = arn-1. In the given series a = 4, r = 2 and n = 2. Hence T7 = 4 X 26 = 256


25) Find the sum of the first 5 terms in 3,9,27
a)363 
b)121
c)242

Answer: a)363

     Reason: Sum to n no of terms in a geometric progression is Sn = a(1 - rn)/(1-r) . Applyting a = 3, n = 5 and r = 3 we get S5 = 3(1 - 3 5)/(1 - 3) = 363. Hence the correct answer is 363.

26) Find the odd man out
   i) 3,9,27  ii) 2,4,8  iii)10,20,40  iv)1,1//2,1/4

a)3,9,27 
b) 2,4,8 
c)10,20,40  
d)1,1//2,1/4

Answer: d)1,1/2,1/4

    Reason: All the four sequences are in geometric progression.However the last series 1,1//2,1/4 is an infinite series.This is because the common ratio for this series, which is 1/2 is lesser than 1.
Hence the correct answer is 1,1//2,1/4


No comments:

Post a Comment