Impetus Placement Paper : Whole Testpaper Jamia Millia, New delhi - 20 June 2007
IMPETUS PAPER ON 20th JUNE AT NEW DELHI
Hi this is Raj from jamia millia New delhi.Impetus paper was very easy.only u hv to be confident.
Pattern:
10 questions:: Aptitude(so easy)
30 questions:: technical( basic funda)
Time::40 minutes
1. Banker’s algorithm is used for-
a). Deadlock Avoidance
b). Deadlock Prevention
c). Deadlock Handling
d). None of these
2. The software which run on hardware to support other programs to run is called-
a) System software
b) Operating system
c) Application programs
d) None of these
3. FSM can recognize-
a) Any grammar
b) Only CFG
c) Any unambiguous grammar
d) Only regular grammar
4. Any string of terminals that can be generated by the following CFG-
X à aX | bX | a
Y à Ya | Yb | a
a) Has at least one b
b) Should end in an a
c) Has no consecutive a’s or b’s
d) Has at least two a’s
5. CSG can be recognized by a-
a) FSM
b) DPDM
c) NDPDM
d) Linearly bounded memory machine
6. The depth of a complete binary tree with n nodes is-
a) Log(n+1)-1
b) Log(n)
c) Log(n-1)+1
d) Log(n)+1
7. Which of the following traversal techniques lists the nodes of a binary search tree in ascending order-
a) Post-order
b) In-order
c) Pre-order
d) None of these
8. Odd man out-
a) Fragrance
b) Smell
c) Foul smell
d) Incense
9. What will be the output-
for(i=1;i<=3;i++)
{
printf("%d",i);
continue;
i++;
}
a) 1,2,3
b) 1,1,1
c) 0,0,0
d) Compilation error
10. Which is more important in a sql query IN or EXISTS-
a) IN
b) EXISTS
c) Both
d) Depend on the condition
11. In union which type of variables cant be used-
a) Constants
b) Static
c) Extern
d) None
12. Vendor is related to buyer, similarly consultant is related to-
a) Firm
b) Client
c) Shop
d) None
13. Compiler convert-
a) High level language to machine language
b) Three other options
14. What in these not in process-
a) CPU register
b) Counter
c) Memory management info.
d) None of above
15. FTP works on port no-
a) 21
b) 27
c) 80
d) 23
.16. How many types of JDBC driver-
a) 4
b) 5
c) 2
d) 3
17. What is related to these:Humidity:Temparature:Pressure
a) Meterology
b) Weather forcasting
c) Geology
d) None
18.what is used in a recursion
a) stack
c) queue
d) linked list
e) binary tree
one question was on constructor and virtual distructor in my opinion the option a) it will compile was right.
One question was like a program code was given and how many vpointers and b pointers it will use
Impetus Placement Paper : Whole Testpaper - 1 April 2006
Impetus Placement Paper : Impetus Paper Whole Testpaper - 1 April 2006
1) for(i=1;i<=3;i++)
{
printf("%d",i);
continue;
i++;
}
ans: 1,2,3
2)if(a=0)
printf(" a is 0 ");
else
printf(" a is not 0 ");
3)which are distructive testing
4)wat is the size of new generation ip x addreass(IP x 6)
5) wat is the initial IP address(IP x 4)
6)Que is implemented by
array and linked list
7)more imp.in SQL IN or EXISTS
both depended on the requirement.
8)In sql wat is not true
ans : c(index are not unique)
9)banker algorithm is used for deadlock avoidance
10)which is not s/w testing technique
ans:syntax testing
11) 7 virtual table ,7 virtual pointers
12)size of *p,p,char*p
13)quicksort
ans: divide and conquer
14)IP address -----.25,-------.240(subnet)
15)layer which divide frame into segment (networking)
16)data declaration statements r checked in which pass off assembler
ans: pass1,pass2
17)which of the declaration statements r correct
a)extern int i=0;
b)extern int i;
c)inti=10;
ans:b)and c)(order of options may vary)
18)which of the following is not characteristic of testing
a)observability
b)operability
c)simplicity
d)understandability(according to me all r characteristics of testability)
19)dynamic cost
20)command to come out of shell
ans:ctrl Z
21)union
ans: static
22)command-size of file
ans: ls-l
23)user
24)stmt by 2
ans:interpreter
25)denormalize
ans: to merge the tables
26)which of the following is not true for bitfields
ans:all of the above
27)love
28)chinese:asian
ans: italian :european
29)shoes
30) how many lines in octagon for similar triangles
ans: 4
31)afigure of pentagon with 2 dots n how many moves required is asked
ans:2moves
32)age 16years
33)aaaa
ans:emae
34)replace the first letter of every word so tht new words r formed
ans:royal(L)
35)lawyer:court
ans: sailor
36)coding the word
ans:just reverse the word