Thursday, November 14, 2013

APTITUDE Question Papers II

APTITUDE Question Papers II

We have provided more than 100 aptitude question papers from the top leading Companies.


1. D E Shaw 

Write the programs for the following problems in C Page 1of 2
file://E:\freshers\aptitude tests\d\d_e_shaw.htm 7/30/03
Write the programs for the following problems in C.
1. Swap two variables x,y without using a temporary variable.
2. Write algorithm for finding the GCD of a number.
3.Write a program for reversing the given string.
4. The integers from 1 to n are stored in an array in a random
fashion. but one integer is missing. Write a program to find the
missing integer.
Ans). Hint : The sum of n natural numbers is = n(n+1)/2.
if we subtract the above sum from the sum of all the
numbers in the array , the result is nothing but the
missing number.

Click here to download the full paper

2. D E Shaw 2

APTITUDE TEST
20 QUESTIONS;2 MARKS EACH
TIME-20MINUTES
1) ONE RECTANGULAR PLATE WITH LENGTH 8INCHES,BREADTH 11 INCHES AND
2 INCHES THICKNESS IS THERE.WHAT IS THE LENGTH OF THE CIRCULAR ROD
WITH DIAMETER 8 INCHES AND EQUAL TO VOLUME OF RECTANGULAR PLATE?
ANS: 3.5INCHES
2) WHAT IS THE NUMBER OF ZEROS AT THE END OF THE PRODUCT OF THE NUMBERS
FROM 1 TO 100
3) in some game 139 members have participated every time one fellow will
get bye what is the number of matches to choose the champion to be
held?
ans: 138

3. Dharma Systems

Give the output of the programs in each case unless mentioned otherwise
1.
void main()
{
int d=5;
printf("%f",d);
}
Ans: Undefined
2.
void main()
{
int i;
for(i=1;i<4,i++)
switch(i)
case 1: printf("%d",i);break;
{
case 2:printf("%d",i);break;
case 3:printf("%d",i);break;
}
switch(i) case 4:printf("%d",i);
}
Ans: 1,2,3,4

4. Deutsche Systems

1. What is the percentage represented by 0.03 * 0.05 ?
(a)0.0015
(b)0.000015
(c)0.15
(d)15
Ans.B
2. (x-a)(x-b)(x-c)....(x-z) = ?
(a) 1
(b) -1
(c) 0
(d) Can't be determined
Ans. C

5. DSQ Paper

******************************************************************************
DSQ PAPER.
Technical aptitude test
******************************************************************************* 
1. the 2's complement number of 110010 is
ans; none of those
2.Truth table of a logic function
ans: displays all its input output possibilities
3.The process of varying one signal according to the pattern
provided by another signal is
ans:modulation

6. Data Structures

.  What is data structure?
A  data  structure  is  a  way  of  organizing  data  that  considers  not  only  the  items 
stored, but  also  their relationship  to  each other.  Advance  knowledge about the 
relationship between data  items  allows  designing  of  efficient  algorithms  for  the 
manipulation of data.
2.  List out the areas in which data structures are applied extensively? 
Ø   Compiler Design,
Ø   Operating System,
Ø   Database Management System,
Ø   Statistical analysis package,
Ø   Numerical Analysis,
Ø   Graphics,
Ø   Artificial Intelligence,
Ø   Simulation
3.  What  are  the  major  data  structures  used  in  the  following areas  :  RDBMS,  Network 
data model & Hierarchical data model.
Ø   RDBMS  – Array  (i.e. Array of structures)
Ø   Network data model  – Graph
Ø   Hierarchical data model – Trees
4.  If  you are  using  C language to implement the heterogeneous  linked list,  what  pointer 
type will you use?
The  heterogeneous  linked  list  contains  different  data  types  in  its  nodes  and  we 
need a link, pointer to connect them. It isnot possible to use ordinary pointers for this. So 
we  go  for  void pointer.  Void pointer  is  capable  of  storing  pointer  to  any  type as  it is  a 
generic pointer type.
5.  Minimum number of queues needed to implement the priority queue?
Two.  One  queue  is  used  for  actual  storing  of  data and  another for  storing 
priorities.

6. Future Soft 

1. S --> AB|AS
A --> a|aA
B --> b
What is the grammer accepted by the above?
Ans. aa*b
2. How many address lines are needed to address a 64Kb segment with each register storing upto 
512 bytes.
Ans. 14 address lines

7. Geometric Solutions

SECTION 1- APTITUDE SECTION
Directions for questions 1-3: Complete the sequence given below
1. 5, 5, 13, 13, 21, 21, __
Ans: 29
2. 0, 7, 26, 63, 124, __
Ans: 215 (hint:n
3
-1 )
3. 1, 3, 5, 7, __
Ans: 9
4. If a person walks at 4/5th of his usual speed he reaches 40min late. If he walks at his usual 
speed for how much time does he travel ?

8. GSSL Paper

******************************GSSL********* I SUPPOSE****
1) YOU SHOULD LEARN POINTERS(they may ask in I.W)
2)****SHOULD LEARN C++(this is very very IMP,Based
on this only I got job.One more thing is
CLASS,INHERATENCI&amp;POLYMORPHISM is sufficient)
3)YOU SHOULD PREPARE ONE FEM PROJECT AND TELL THEM
THAT AS YOUR OWN WORK(This will increase chance
to 99%)
EASI-TECH
WRITTEN TEST PATTERN
1] C TEST 10Q 20MINUITS
2]F E M TEST 19Q 20MINUITS
3]APTITUDE TEST 15Q 20MINUITS
F E M TEST
1)WHO USED THE TERM FINITE ELEMENT FOR THE FIRST TIME?
a)
b)
c) CLOUGH
2)DERIVE THE JACOBIEN |J| FOR BEAM ELEMENT WITH STRAIN 
ENERGY?
(ANS:PROBLEM IS NOT CORRECT PLEASE DO NOT ATTEMPT)

9. Hughes 1998

Hughes Software systems.
------------------------The Questions are follows^M
1. Number of null pointers in any binary tree = n+1^M
2. max(t1,t2,... tn) = pipelining^M
3. 50% -DBETXXXXXX - density^M
1) find the probability of getting a number with 7 between 100 and
999 (both inclusive).
ans:
2) There are 10 items in a box, out of which 3 are defective.
2 balls are taken one after the other. what is the probability
that both of them are defective?
Ans: 1/15 or 6/90

10. Hughes 1999 Paper 1 

This is HUGHES-99 paper
**********************************
It consist of two section part A and B or C
For CSEstudent part A & B is better.
Here i am writting some Questions from part A and B for  CSEstudent
Questions are not in order.
***************************************************
1.
f(char *p)
{
p[0]?  f(++p ):1;
printf("%c ",*p);
}
if call that  fuction with f(Aabcd) what is the output??
ans:dcbaA(Just reversing the string
2
f(char *p)
{
p=(char *)malloc(sizeof(6));
strcpy(p,"HELLO ");
}
main()
{
char *p="BYE";
f(p )
printf("%s",p );
}
what is the o/p???
ans:HELLO

11. Hughes 1999 Paper 2 

HUGHES-99
SECTION A:30 BITS
SECTION B:20 BITS
SECTION C:20 BITS
SECTION A IS COMPULSORY
ATTEMPT EITHER SECTION C OR SECTION B
FOR ELECTRONICS  BACKGROUND,IT IS BETTER TO ATTEMPT SEC B
SECTION C:
1.an lead compensator zero is at Z= Zc, pole is at P=Pc
then the following is correct
a.Pc>Zc,pc<0,zc<0
b.
c.
2. gain margin of  g(s)h(s )=1/ s(s+k );
a. sqrt(1+k2)
b.0
c.infinity
d.1

12. Hughes 1999 Paper 3 

Satellite Networks
The Hughes Network Systems (HNS), 
VSAT product line is designed to provide cost-effective telecommunications to a wide
array of industries around the 
world. VSATs are effective tools for LAN internetworking, multimedia image transfer, batch and
interactive data transmission, 
interactive voice, and broadcast data and video communications.

Wireless Networks
Hughes Network Systems developed 
the  AIReachfamily of universal wireless products to meet a broad spectrum of applications
in demand, including digital mobility, 
wireless local loop, wireless data, and broadband business applications.

Enterprise Networks
Hughes Network Systems (HNS) Radiant• 
family of networking products include award-winning backbone, internet- working,
and edge switches with a single 
network management system, providing reliable and flexible solutions for the public and private
service provider.

13. Hughes 1999 Paper 4 

******************Hughes paper in DCE************
All ques. had four options.
1- What is max. no. of hops in hypercube n/w with n (=2 ^ p) to go from one node to another ?
a. p
b. log p
c. n ^ 2
2- What is  Kerberos?
ans. Authentication Protocol.
3-In completely connected multiprocessor system with n processors 
, links will be of the order of
a. O(n^ 2)
b. O(2 ^ n)
c. O(n/2)
4-When quick sort gives worst performance ?
ans. When elements are in order.

14. Hughes 1999 Paper 5 

There were two papers one was aptitude ( 36 questions) and other was 
technical(20 questions)
1: given an expression tree and asked us to write the in fix of that expression
four choices
2:
global variables in different files are
a:at  compiletime
b) loading time
c) linking time
d)execution time

15. Hughes Test

1:a machine A wants to set it's time same as a a machine B
so it sends a packet to B and b sends  reply.but the time on packet is over
by the ti mete packet reached  
A. Ahas to
a:set the time on packet
b:increment its time slowly so as to reduce  difference
c:send packets repeatedly till it gets a packet with time less tan the
current time
d:....
## I think the solution could be something like this: 
Send 'n' ('n' should be large) packets to Machine B and calculate the  avg time it takes
to reach Machine B from Machine A. Now at the last packet, add this  avg time to the
time stamp of Machine B and use this to set the time at Machine A.

16. Hughes Test 2 

section A : compulsory for CS and  Comm students.
section B : for CS only
section C : for  comm only.
questions :
1. given a digital  cktwith nandgates. what is o/p Ans. nor gate
2. given an logical  expr. x,y,z. simplify ans.  xz
3. It is recommended to use which type of variables in a recursive module.
Ans. static variables.
4. which one of following is not memory management model?
given buddy system, monitors, paging, swapping Ans. monitors
5. what m/c is used to recognize context free grammar ? Ans. pushdown automata
6. Which type of grammar can be recognized by finite state m/c Ans. right linear
grammar.

17. Honeywell

Test contained 100 multiple choice questions divided into
a) Verbal ability (15  ques)
b) Numerical aptitude (15 )
c) Logical and analytical ability (15)
d) Elementary computer science (10)
d) Programming  langauages (20)
e) Operatins systems and Data structures (25)
Not sure about the number of questions.
Verbal ability questions contained 3 parts. 
a) One passage is given and U have to answer 5 questions
b) Some words are given and their synonyms have to be written
c) 
Numerical aptitude and Logical questions were the usual stuff.
---------------------------------------------------------------

18. List of Documents for Preparation

Document 2

Document 3 

Document 4 

Document 5 

19. i2 Technologies 

Q1.Convert 0.9375 to binary
a) 0.0111 
b) 0.1011 
c) 0.1111 
d) none
Ans. (c)
Q2.( 1a00 * 10b )/ 1010 = 100 
a) a=0, b=0 
b)a=0, b=1 
c) none
Ans. (b)

20. Frequently Asked Questions 

CORE JAVA
6.Can a main() method of class be invoked in another class?
7.What is the difference between java command line arguments and C command 
line arguments?
2. What is the difference between == & .equals
3. What is the difference between abstract class & Interface.
4. What is singleton class & it's implementation.
5.  Use of static,final variable
6.  Examples of final class


No comments:

Post a Comment