Beruflich Dokumente
Kultur Dokumente
many people are accessing. Put bullets or caps 'Q' instead of numbering)
Descriptive questions
General interview questions.
Computer Networks
1) What is the scope of computer networks?
2) Why Layers in networks?
3) Why some systems use OSI layers and others use TCP/IP layers ?
4) What are the necessary things needed for a dumb system to communicate to the
external world?
5) What is the size of MAC, IPv4 and IPv6?
6) What happens when collision happens in Ethernet? (Related to transmission time)
7) What topology is normally employed in Ethernet?
Networked Systems (Ritesh) All these are actual questions asked in various companies
to me or my friends (Alcatel lucent, Motorola, Samsung etc)
1) How do routers share buffers for individual connections?
2) What are frame buffers? Explain the Linux implementation of frame buffers?
3) What is DBus? Explain a scenario where you might use it?
4) Can you change the transmit power of your wireless card without restarting it ?
5) Explain any of your experiences in using/configuring or developing a network stack?
6) Explain the differences between network virtualization/ desktop virtualization/server
virtualization?
7) Explain what are sockets? If you have a circuit switched network between two end
hosts, what might compose your equivalent of sockets?
8) Why is TCP/IP known as TCP/IP? Why don't we have UDP/IP even though TCP and
UDP are built over IP?
Digital Communication
1) Why digital communication?
2) What is the principle behind sampling? How will you explain in lay-man
terms?
3) If number of samples is high we can get perfect information and if the
number of samples is less it is difficult to retrieve the information? How will
you optimize sampling rate ?
4) What is source coding and why?
5) What is channel coding and why?
6) Channel coding introduces extra bits which is a trade off ? Will you
accept the trade off ?
7) What are the source coding you know and which one is better and
practically used ?
8) What are the channel coding you know and which one Is better and
practically used ?
9) What is modulation ? and Why ?
10) What is bandwidth ?
11) Is bandwidth and data rate are same ?
12) If signal to noise ratio is 1 can we retrieve the information properly ?
13) What is a filter ?
14) What is MIMO and why ?
Digital Signal Processing
1) What is Fourier Transform ?
2) Why we are going for frequency domain ?
3) What is Z-Transform ?
4) We have Fourier transform why are we going for other transforms ?
5) What time-frequency transform do you know ?
6) What are wavelets?
7) Name few algorithms in image processing ?
8) What is 2D Fourier transforms used for images ?
9) What is statistical signal processing ?
10) What is multi rate signal processing ?
11) Why IIR when FIR is there ?
12)A file is transferred from one location to another in 'buckets'. The size of the bucket is
10 kilobytes. Each bucket gets filled at the rate of 0.0001 kilobytes per millisecond. The
transmission time from sender to receiver is 10 milliseconds per bucket. After the receipt
of the bucket the receiver sends an acknowledgement that reaches sender in 100
milliseconds. Assuming no error during transmission, write a formula to calculate the
time taken in seconds to successfully complete the transfer of a file of size N kilobytes.
Computer Science
• Propose a data structure which supports the stack Push and Pop operations and a third
operation FindMin,which returns the smallest element in the data strucuture all in O(1) worst
case time.
• A general question which can be modified to suit the needs.
◦ Given a string S
◦ S contains the list of operations - for eg:
ppppppppxxxxxxxxxxxxxxppppppppppxxxx where p denotes a push
operation and x denotes a pop
◦ Formulate a rule to find if the given string is legal or not.
• Explain stack overflow
• How will you find if a stack is growing or reducing in a program
• What are the advantages and disadvantages of implementing stack/queue with
array versus linked list
• How would you implement a queue if the elements in the queue are arbitrary
length strings?
• How can you implement storing N Stacks in one Array ?
• Implement Queue using only Stack data structures.
• Use stack to eliminate recursion from following code:
Ans)
/*****For first node*****/
p0, p1, p2 be three pointers.
p0, p1, p2 = head (pointing to the first node)
p1 = p1->next;
p2 = p2->next;
p2 = p2->next;
p1->next=p0;
p0->next=Null;
p0=p2;
p2=p2->next;
p0->next=p1;
p1=p2;
p2=p2->next;
Q) Reversing a linked list using less than 3 pointers in a single pass. (Manish)
Q) Given a BST and a node value, find the mirror node of the node containing that value.
(Manish)
Q) Given a tree, verify if the same is a binary search tree. (Manish)
Q) To find if there is a loop in a singly linked list (Not circular). (Manish)
Q) To find the number of nodes at the same level in a binary tree and also print them.
(Manish)
Q) To find the nearest ancestor of 2 nodes in a binary tree. (Manish)
Q) To find the depth of a given binary tree. (Manish)
Q) To find the depth at which a given node is in a binary tree. (Manish)
Q) To find the smallest/largest element(s) in a binary tree. (Manish)
Q) To implement a circular linked list. (Manish)
Q)Find the nth node from last node in a single linked list in single iteration (vinoth)
Q)Find the center of a single linked list in single iteration(vinoth)
Q)Can linked list be implemented in java (vinoth)
Q)how to find 5th largest no. in N array with less complexity.(rashmi singh)
Q) Why B+ Trees are preferred for indexing ? Compare B and B+ trees
Q) Swap two integer values using bitwise operator.
Ans: #include<stdio.h>
int main()
{
int a=5,b=6;
a =a^b;
b=a^b;
a=a^b;
printf("%d",a);
printf("%d",b);
} (Vinodth)
Q) What is the result of 5<<5 (left shift operator).
Q) What is the result of 160>>5 (Right shift operator).
Q) Write a program that shows "Call by Reference".
Q) Turing machine's computational model (infinite memory assumption)
Q) JAVA Class Cast Exception (scenario)
Ans)
Q)
main( )
{
int a[ ] = {10,20,30,40,50},j,*p;
for(j=0; j<5; j++)
{
printf(“%d” ,*a);
a++;
}
p = a;
for(j=0; j<5; j++)
{
printf(“%d ” ,*p);
p++;
}
}
what will be the output?(Give explanation)
Explanation : the stray error has come because when you copy from this sheet to local editor
the double "" change. Look closely into the printf statement in your editor. Also this code will
give compile time error because you cant do a++. (Manish)
Algorithms:
Q. Given the head pointer to a singly linked list with a loop or cycle in it. If you were to
walk this list you never arrive at the end or the tail of the linked list. Find whether the
list contains a loop in O(n) time and space complexity.(Amartya)
Data base
Q. Subschema can be used to
a. Create very different, personalized views of the same data
b. Present info in different formats.
c. Hide sensitive info by ommiting fields from the sub-schema's desc.
d all of the above.
APTITUDE
1. Eight friends Harsha, Fakis, Balaji, Eswar, Dhinesh, Chandra, Geetha, and Ahmed are
(Amartya)
sitting in a circle facing the center. Balaji is sitting between Geetha and Dhinesh. Harsha
is
third to the left of Balaji and second to the right of Ahmed. Chandra is sitting between
Ahmed
and Geetha and Balaji and Eshwar are not sitting opposite to each other. Who is third to
the
left of Dhinesh?
2. (Adobe Puzzle) John is undecided which of the four novels to buy. He is considering
a spy (Amartya)
thriller, a Murder mystery, a Gothic romance and a science fiction novel. The books are
written by Rothko, Gorky, Burchfield and Hopper , not necessary in that order, and
published by
Heron, Piegon, Blueja and sparrow, not necessary in that order.
(1) The book by Rothko is published by Sparrow.
(2) The Spy thriller is published by Heron.
(3) The science fiction novel is by Burchfield and is not published by Blueja.
(4)The Gothic romance is by Hopper.
q1. Pigeon publishes ____________.
q2. The novel by Gorky ________________.
q3. John purchases books by the authors whose names come first and third in
alphabetical
order. He does not buy the books ¬¬______.
q4. On the basis of the first paragraph and statement (2), (3) and (4) only, it is possible
to
deduce that
1. Rothko wrote the murder mystery or the spy thriller
2. Sparrow published the murder mystery or the spy thriller
3. The book by Burchfield is published by Sparrow.
3)It was calculated that 75 men could complete a piece of work in 20 days. When work
was scheduled to commence, it was found necessary to send 25 men to another
project.
How much longer will it take to complete the work?
4) A dishonest shopkeeper professes to sell pulses at the cost price, but he uses a false
weight of 950gm. for a kg. His gain is ...%.?
5) A software engineer has the capability of thinking 100 lines of code in five minutes
and can type 100 lines of code in 10minutes. He takes a break for five minutes after
every ten
minutes. How many lines of codes will he complete typing after an hour?
6) A tennis marker is trying to put together a team of four players for a tennis
tournament out
of seven available. males – a, b and c; females – m, n, o and p. All players are of equal
ability
and there must be at least two males in the team. For a team of four, all players must
be able
to play with each other under the following restrictions:
b should not play with m,
c should not play with p, and
a should not play with o.
Which of the following statements must be false?
1. b and p cannot be selected together
2. c and o cannot be selected together
3. c and n cannot be selected together
Q.
1. Ashland is north of East Liverpool and west of Coshocton.
2. Bowling green is north of Ashland and west of Fredericktown.
3. Dover is south and east of Ashland.
4. East Liverpool is north of Fredericktown and east of Dover.
5. Fredericktown is north of Dover and west of Ashland.
6. Coshocton is south of Fredericktown and west of Dover.
Q. Which of the towns mentioned is furthest of the north – west
(a) Ashland (b) Bowling green (c) Coshocton
(d) East Liverpool (e) Fredericktown
Q. Which of the following must be both north and east of Fredericktown?
(a) Ashland (b) Coshocton (c) East Liverpool
I a only II b only III c only IV a & b V a & c
Q. Which of the following towns must be situated both south and west of at least one
other
town?
A. Ashland only
B. Ashland and Fredericktown
C. Dover and Fredericktown
D. Dover, Coshocton and Fredericktown
E. Coshocton, Dover and East Liverpool.
Q. Which of the following statements, if true, would make the information in the
numbered
statements more specific?
(a) Coshocton is north of Dover.
(b) East Liverpool is north of Dover
(c) Ashland is east of Bowling green.
(d) Coshocton is east of Fredericktown
(e) Bowling green is north of Fredericktown
Q. Which of the numbered statements gives information that can be deduced from one
or more
of the other statements?
(A) 1 (B) 2 (C) 3 (D) 4 (E) 6
Q. My flight takes of at 2am from a place at 18N 10E and landed 10 Hrs later at a place
with coordinates 36N70W. What is the local time when my plane landed?
a)6:00 am b) 6:40am c) 7:40 d) 7:00 e) 8:00
Q. A fisherman's day is rated as good if he catches 9 fishes, fair if 7 fishes and bad if 5
fishes. He catches 53 fishes in a week n had all good, fair n bad days in the week. So
how many good, fair n bad days did the fisher man had in the week
Q. Three companies are working independently and receiving the savings 20%, 30%,
40%. If the companies work combinely, what will be their net savings?
Q. The ratio of incomes of C and D is 3:4.the ratio of their expenditures is 4:5. Find the
ratio of their savings if the savings of C is one fourths of his income?
Q.The size of a program is N. And the memory occupied by the program is given by M =
square root of 100N. If the size of the program is increased by 1% then how much
memory now occupied ?
Q.A bus started from bustand at 8.00a m and after 30 min staying at destination, it
returned back to the bustand. the destination is 27 miles from the bustand. the speed of
the bus 50 percent fast speed. at what time it returns to the bustand
Q.A person who decided to go weekend trip should not exceed 8 hours driving in a day
average speed of forward journey is 40 mph due to traffic in Sundays the return journey
average speed is 30 mph. How far he can select a picnic spot.
Q.Low temperature at the night in a city is 1/3 more than 1/2 hinge as higher
temperature in a day. Sum of the low temp and high temp is 100 c. then what is the low
temp.
Q.In a company 30% are supervisors and 40% employees are male if 60% of
supervisors are male. What is the probability? That a randomly chosen employee is a
male or female?
Q.If A speaks the truth 80% of the times, B speaks the truth 60% of the times. What is
the probability that they tell the truth at the same time
a) 0.8 b) 0.48 c) 0.6 d) 0.14
Q If "PROMPT" is coded as QSPLOS ,then "PLAYER" should be
a) QMBZFS b) QWMFDW c) QUREXM d) URESTI
Q If in a certain code "RANGE" is coded as 12345 and "RANDOM" is coded as 123678.
Then the code for the word "MANGO" would be
a) 82357 b) 89343 c) 84629 d) 82347
Q. A car is moving in uniform speed. It crosses a milestone having two digits. After 1hr it
crosses another milestone containing the same two digits in reverse order. After another
1hr it could see the next mile stone having the same two digits with a zero inbetween.
What is the average speed of the car? (GTNexus)
Q. The total expense of a boarding house are partly fixed and partly variable with the
number of boarders. The charge is Rs.70 per head when there are 25 boarders and
Rs.60 when there are 50 boarders. Find the charge per head when there are 100
boarders.
Q.There are two numbers in the ratio 8:9. if the smaller of the two numbers is increased
by 12 and the larger number is reduced by 19 thee the ratio of the two numbers is 5:9.
Find the larger number?
Q.There are three different boxes A, B and C. Difference between weights of A and B is 3
kgs. And between B and C is 5 kgs. Then what is the maximum sum of the differences of
all possible combinations when two boxes are taken each time
Q.A and B are shooters and having their exam. A and B fall short of 10 and 2 shots
respectively to the qualifying mark. If each of them fired atleast one shot and even by
adding their total score together, they fall short of the qualifying mark, what is the
qualifying mark?
Q.Anand finishes a work in 7 days, Bittu finishes the same job in 8 days and Chandu in 6
days. They take turns to finish the work. Anand on the first day, Bittu on the second and
Chandu on the third day and then Anand again and so on. On which day will the work
get over?
Q. 1, 8, 9, 64, 25 next in sereis ?
Answer : 216 Explanation : 1^2, 2^3, 3^2, 4^3, 5^2, 6^3
Show interest and speak with passion about any question that are asked.
After trying out a lot ,if you don't answer don't get disappointed.
If you were thinking aloud and using the hints and you did come close to solution, that
might have itself made a good impact.
When you speak about your projects, speak with a lot of interest and passion. And tell
how exciting it was to work on this and what you did.
Interview is not about deciding who is best or who is knowledgeable or vice versa. It is
just about deciding whether one is the best fit.
Knowing about one's weakness is the first step in working towards it.
*******************