Thursday, March 27, 2008

Tuesday, March 25, 2008

Latest Networking Job Interview 2008 Questions

Networking, Socket Programming, Inter-Process Communication


User(s) are complaining of delays when using the network. What would you do?

What are some of the problems associated with operating a switched LAN?

Name some of the ways of combining TCP/IP traffic and SNA traffic over the same link.

What sort of cabling is suitable for Fast Ethernet protocols?

What is a Class D IP address?

Why do I sometimes lose a server's address when using more than one server?

What is Firewall?

How do I monitor the activity of sockets?

How would I put my socket in non-blocking mode?

What are RAW sockets?

What is the role of TCP protocol and IP protocol.

What is UDP?

How can I make my server a daemon?

How should I choose a port number for my server?

Layers in TCP/IP

How can I be sure that a UDP message is received?

How to get IP header of a UDP message

Writing UDP/SOCK_DGRAM applications

How many bytes in an IPX network address?

What is the difference between MUTEX and Semaphore?

What is priority inversion?

Different Solutions to dining philosophers problem.

What is a message queue?

Questions on Shared Memory.

What is DHCP?

Working of ping, telnet, gopher.

Can I connect two computers to internet using same line ?

Keep Watching out for more Networking Interview Questions for 2008 for all leading IT Companies. Solutions / Answers in detail are provided with some questions and keep watching out for answers to all in future. The questions are for Networking Interviews. You can also see the interview questions for Oracle, JAVA, C, C++, C Sharp, SAP, Unix Operating System, etc. here for free for leading Indian, US based companies IT MNCs for 2007 2008 here for freshers, campus job interview and placements.

IBM PLACEMENT पेपर-4

IBM Placement Paper 4

APTITUDE TEST
*****************************************************
Missing letter

1).eefgghii-
(Ans j)
2)
3)defdefghi- (Ans g)
4)cdexyzfghxyz-
(Ans i)
5)defdegde- (h)
6)abczabcyabc- (x)
7)fgbhibjkb- (l)
8)- - - - -
(Ans is r)
9)aarbsctarb- (s)
10)bccdeefg- (g)
11)efhikl- (n)
12)abccdeffg- (h)
13amnbopc- (q)
14)tttssrqqqp- (p)
15)ddffhhjj- (l)
16)mnmnklopopkl- (q)
17)cddeeefff- (f)
18)gfed- (c)
19)dfhjl- (n)
20)abcijdefij (g)
21)efgefghefghi- (e
)22)bcbdedfgfhi- (h)
23)aababccdc- (d)
24)aibcidef- (i)
25)cehl- (q)
26)abdehimn- (s) check again
27)becfdge- (h)
28)agbhc- (i)
29)adhko- (r)
30)efghjklno- (q)
31)aedhg- (k)
32aeibf- (j)
33)zdwgt- (J)
34)zeyijxg- ()find
35)cqreuvg- (y)
36)ksjtiuh- (v)
37)rsjtuhvw- (f)
38)ieajfbk- (g)
39)hebifej- (g)
40)hjlmiel- (h)

--------------------------------

TOTAL 60 QUE'S 25-PROBLEMS & 35 FIGURES(figure series,wehave to find next coming figure)

HERE 13 PROB'S ARE THERS.REMAINING ALSO ALMOST LIKE THIS .
1) A boy multiplied a number with 10 and got 100,insted ofdividing it . If he devided it what would be the answer?
(Ans is 1)

2)If 12 shell cup board requires 18ft of wall space then30 " " " " how much wall space?
(Ans is 45)

3)The average salary of three employee is 95Rs.per week.If one employee earns 115 and other earns 65 rupees.how much will third be earn?
(Ans is 105Rs)

4)A company instaled 36 punching machines at the begining ofthe year.In the spring they instaled 9 additional m/c'sand then discontinued 18 in the fall.How many were stillinstalled at the end of the year?
(Ans is 9)check

5)During a given week a programmer spend 1/4 of his timepreparing charts,3/8 of his time for coding,rest of his timefor debugging the programs.If he had 48 hrs during the weekhow many hours did he spend debugging the program.
(Ans is 18hrs)

6)A 16 story building has 12000ft on each floor. Company Arents 7 floors and company B rents 4 floors. What is thenumber of square feet of unrented floor space?
(Ans is 60000 sqft)

7)A man owns 2/3 of a computer service buroue business andsells 3/4 of his share for $75000.What is the value of thebusiness.
(Ans is 150,000)

8)A computer printer produces 176400 lines in a given day.If the printer was in operation for 7hrs during the dayhow many lines did it print per minute?
(Ans is 420)

9)From its total income a company spent $20000 for advertisinghalf of the remainder on salaries and had $6000 left.Whatwas the total income?
(Ans is $32000)

10)In a certain company 20% of the men and 40% of the womenattended the annual company picnic.If 35% of all the emplo-yees are men .What % of all the employee went to the picnic?(Ans is 33%)11)The dimensions of certain IBM m/c are 48"*30". If thesize of the m/c is increased proportionally until thesum of its dimensions equals to 156".What will be theincrease in the shortest side?
(Ans is 30)

12)If a card punch operator can process 80 cards in half an hourHow many cards can this process in 7hr30min?
(Ans is 1200)

13)In a computer tape library there are two racks with 40 tapesper rack.In a given day 30 tapes are in use . What fraction remains in the rack?
(Ans is 5/8)

IBM PLACEMENT पेपर-3

IBM PLACEMENT PAPER 3

This time he has not given the number series.

Apptitude:

part 1 : letter sevies.
part 2 : figures
part 3 : quantitave


Technical:
Most question are on Unix and some in C and some in windows 3.1
All question in Unix are From Kernighan & pike
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


TISL

Part 1

It consists of number series.In some institutes alphabetical series is given instead of number series.Iam having number series. Please go through the alphabetical tests also.

1. 19,24,20,25,21,26,?
ans:22
2. 11,14,12,15,13,16,?
ans: 14
3. 10,2,8,2,6,2,?
a:4
4. 8,9,11,14,,18,23,?
a:29
5. 25,25,22,22,19,19,?
a:16
6. 14,2,12,4,10,6,?
a:8
7. 7,16,9,15,11,14,?
a:13
8. 40,42,39,44,38,46,?
a:37
9. 3,18,4,24,5,30,?
a:6
10. 18,20,22,20,28,20,?
a:22
11. 18,20,10,12,4,6?
a:0
12. 7,6,8,5,3,7,?
a:4
13 9,18,21,25,20,?
a:30
14 3,3,4,8,10,36,?
a:33
15.30,28,25,20,34,28,?
a:21
16. 4,8,16,32,64,128,?
a:256
17. 8,16,24,32,40,48,?
a:56
18. 13,11,14,12,15,13,?
a:16
19. 6,18,36,108,216,648,?
a:1296
20. 4,4,8,8,16,16,?
a:32
21. 2,6,18,54,162,486,?
a:1458
22. 4,20,35,49,62,74,?
a:85
23. 10,18,15,23,20,28,?
a:25
24. 4,10,8,14,12,18,?
a:16
25 10,15,12,17,14,10,?
a:16

part 2 consists of non-verbel reasoning(figures).So it is impossible for me to send those.(25 questions)part 3 (quantitative)

1.A clerk multiplied a number by ten when it should have been divided by ten.The ans he got was 100.what should the ans have been?
a:1

2.If Rs20/- is available to pay for typing a research report & typist A produces 42 pages and typist B produces 28 pages.How much should typist A receive?
a:Rs12/-

3.The average salary of 3 workers is 95 Rs. per week. If one earns Rs.115 and second earns Rs.65 how much is the salary of the 3rd worker.
Ans.105.

4.A 16 stored building has 12000 sq.feet on each floor. Company A rents 7 floors and company B rents 4 floors. What is the number of sq.feet of unrented floor space.
Ans.60000

5. During a given week A programer spends 1/4 of his time preparing flow chart, 3/8 of his time coding and the rest of the time in debugging the programs. If he works 48 hours during the week , how many hours did he spend debugging the program.
Ans. 18.

6. A company installed 36 machines at the beginning of the year. In March they installed 9 additional machines and then disconnected 18 in August. How many were still installed at the end of the year.
Ans. 27

7. A man owns 2/3 of the market research beauro business and sells 3/4 of his shares for Rs. 75000. What is the value of Business.
Ans.150000

8. If 12 file cabinets require 18 feet of wall space, how many feet of wall space will 30 cabinets require?
Ans.45

9.A computer printer produced 176,400 lines in a given day. If the printer was in operation for seven hours during the day, how many lines did it print per minute?
Ans.420

10. From its total income, A sales company spent Rs.20,000 for advertising, half of the remainder on commissions and had Rs.6000 left. What was its total income?
Ans.32000

11. On Monday a banker processed a batch of cheques, on Tuesday she processed three times as many, and on Wednesday she processed 4000 cheques. In the three days, she processed 16000 cheques. How many did she process on Tuesday?
Ans.9000

12. The cost of four dozen proof machine ribbons and five dozen accouting machine ribbons was Rs.160/-. If one dozen accounting machine ribbons cost Rs.20/-, what is the cost of a dozen proof machine ribbons?
Ans.Rs.15

13. If a clerk can process 80 cheques in half an hour, how many cheques can she process in a seven and one half hour day?Ans.1200

14. In a library, there are two racks with 40 books per rack. On a given dya, 30 books were issued. What fraction remained in the racks?
Ans.5/8

15. The average length of three tapes is 6800 feet. None of the tapes is less than 6400 feet. What is the greatest possible length of one of the other tapes?
Ans.7600

16. A company rented a machine for Rs.700/- a month. Five years later the treasurer calculated that if the company had purchased the machine and paid Rs.100/- monthly maintenance charge, the company would have saved Rs.2000/-. What was the purchase price of the machine?
Ans.Rs.34000

17. Two computers each produced 48000 public utility bills in a day. One computer printed bills at the rate of 9600 an hour and the other at the rate of 7800 an hour. When the first computer finished its run, how many bills did the other computer still have to print?
Ans.9000

18. If a salesman's average is a new order every other week, he will break the office record of the year. However, after 28 weeks, he is six orders behind schedule. In what proportion of the remaining weeks does he have to obtain a new order to break the record?
Ans.3/4

19. On a given day, a bank had 16000 cheques returned by customers. Inspection of the first 800 cheques indicated that 100 of those 800 had errors and were therefore the available immediately for data processing. On this basis, hwo many cheques would be available immediately for data processing on that day?
Ans.14000

20. A company figured it needed 37.8 sq.feet of carpot for its reception room. To allow for waste, it decided to order 20% more material than needed. Fractional parts of sq.feet cannot be ordered. At Rs.9/- a sq.feet, how much would the carpet cost?
Ans.
a.Rs.324 b) Rs.405 c) Rs.410 d) Rs.414 e) Rs.685

21. A tape manufacturer reduces the price of his heavy duty tape from Rs.30/- to Rs.28/- a reel and the price of a regular tape from Rs.24/- to Rs.23/- a reel. A computing centre normally spends Rs.1440/- a month for tapes and 3/4 of this is for heavy duty tapes. How much will they save a month under the new prices?
Ans.Rs.87

22. In a team of 12 persons, 1/3 are women and 2/3 are men. To obtain a team with 20% women how many men should be hired?
Ans.8

23. The dimensions of a certain machine are 48" X 30" X 52". If the size of the machine is increased proportionately until the sum of its dimensions equals 156", what will be the increase in the shortest side?
Ans. 6"

24. In a certain company, 20% of the men and 40% of the women attended the annual company picnic. If 35% of all the employees are man, what percent of all the employees went to the picnic?
Ans.33%

25. It cost a college Rs.0.70 a copy to produce a Programme for the homecoming football game. If Rs.15,000/- was received for advertisements in the programme, how many copies at Rs.0.50 a copy must be sold to make a profit of Rs.8000/- ?
Ans. 35000

*********************************************************************

In the first section there are 40 question's on letter series.
Very easy upto 25 and then slightly involved after that again last 10 questons are easy.
For example:
1. aa , bb, cc, --
2. a,c,e,g,-etc.,
****************************************************************

TATA-IBM Placement few questions extra.

1)int i=10;
printf("%d%d%d",i,i++,++i);
ans: compiler dependent

2)printf("Enter two values a and b:");
printf("%d+%d=%d",a,b,a+b);
ans:core dumped

3)Question on WM_SIZE
ans:WM_SIZE

4) When destroy window what message would display
ans:WM_DESTROY

5)MS Windows 3.1 about multitasking
ans:nonpreemptive

6)windows 3.1 is
ans:application

7) about switch switch statement
ans:16,21

8)question paper the first question ans is
ans:can't be compiled

(We try to get the maximum placement paper questions)

9)about send messages and post messages
ans: c

10)what is the command to intiate the windows
ans:WinMain

paper
1.const char *
char * const
What is the differnce between the above two?
2.In Unix inter process communication takes place using?
3.What are the files in /etc directory?
4.About i-node numbers
5.Max relaxable permisssion value with out giving write permission to others?
6.About ln(linking)
7.A question on until
until (who grep mary)
do
sleep(60)
done
8.Linking across directories?
9.process id for kernell process
10.very first process created by kernell
11. Function to repaint a window immediately?
12.Function entry for DLL in win3.1
13.win 3.1 is a ---- Ans. application
14.win 3.1 supports which type of multi tasking?
15.Message displayed when a window is destroyed
16.About fork()?
17.About send message and post message
18.Message to limit the size of window
19.System call executable binary file into a process
20.About GDI object?
21.API used to hide window
22.Initialize contents of a dialog?.The technical comprises of 50 questions on C,Unix and windows.
The technical comprises of 50 questions on C,Unix and windows.

IBM PLACEMENT पेपर-2

IBM 2006
Total time: 40 min
English Comprehension: 5 marks
Aptitude: 20 marks
C language: 15 marks

Aptitude:
1. Out of 30 members, 9 are wearing shoes but not caps and 18 are wearing shoes, how many members are wearing only caps?
Ans: 12

2. Introducing a man a woman said “His wife is only daughter of my father”, how was that man related to that woman.
Ans: Husband

3. ABCD are four corners of square, if BD is diagonal. In how many ways we can travel from A to C.
Ans: 4

4. If a is an integer then the true statement is, a^2+a+1 is?
Ans: Odd

5. You are in a 400 meter race and you overtake last person, what position you are in?
(a) last but one (b) first but one (c) cannot overtake (d) unpredictable
Ans:

6. Flowers problem ,Key words 4 members, collecting different flowers
Ans: 344,142

C-Language:
1. int a[3][2][2] = {1,2,3,4,5,6,7,8,9,10,11,12};
Printf (“%d”, a [2][1][0]);
Ans:11
(a) 9 (b) 10 (c) 11 (d) 12

2. 2D array elements are stored in,
(a) Column major order
(b) Row major order
(c) Both

3. A Graph is called ____________ Graph if each edge is identified by an order pair
(a) directed
(b) undirected
(c) connected

4. Prototype of function consists of _______
Ans: all of the above

5. ____ is not a logical operator
(a) &
(b) &&
(c) !
(d) none
Ans: &

6. Which of the following statement is correct?
Ans: strcmp (s1,s2) returns 0 if s1==s2

7. How many times the program will print “hari”?
main
{
Printf(“hari);
main();
}
(a) Infinite number of times
(b) till the time stack doesn’t overflow

8. A character array, char a []= “ Have a nice day”; p is pointer to that, containing base address the p+=7 points to
(a) a
(b) e
(c) n
Ans: n

9. void main()
{
Printf”(%d”, main);
}
This program exists?
(a) yes
(b) no
Ans: yes

IBM PLACEMENT पेपर -1

IBM@ REC Durgapur

IBM, Written test, 2000 (Rec Durgapur)
1. There are 12 persons seated in a room. If one half of the people belongto group A, one third belong to group B and one forth belong to both thegroups. How many dont belong to any group. ---5.

2. 1/5 is what part of 2/3 ans 3/10

3. A train passes a point in 20 secs and crosses a bicycle moving inopposite direction with a speed of 8 m/s in 15 secs. What is the length ofthe train?
ans 480m

4. A freight train starts from a station.After two hours a passenger traintravelling with a speed of 60mph.starts from the same station.both thetrains meet after four hours after the departure of the passengertrain.what is the speed of the freight train?
ans 40mph
5. A tank has a capacity of 3750cu.m. there r two taps fixed on it,onefilling the tank at 800cu m/min and second tap emptying at a rate of 300 cum/min.if the two taps r opened sccessively for one minute each,then afterhow much time the tank gets completely filled?
ans 14 5/16

6.The contract for painting three houses is given to three people.a canpaint each house in 6 days,b in 8 days & c in 12 days.a starts the work &continues for 8 days,b continues the work for 6 days then in how many days ccan finish the work?
ans 11

7.One edge of a square is the centre of a circlewith the two sides adjoiningthe edge of the square becoming the radii of the cirle.if the length of thearc described by the two radii(the two sides of the square)is 2 units.whatis the perimeter of the square.
ans 16 /PI OR 56/11
8. AB is perpendicular to BC, bc perpendicular to CD AB=8 cm BC=5 cm CD=4 cm
what is the shortest distance from A to D?
ans SQRT(41) OR 13

9. If 6 squares of equal size are placed side by side to form a rectangle ofperimeter 294cm, find the perimeter of each square.
ans 84

10.What is the length of a parrallelopiped of sides 3,4,7cms.
ans SQRT(74)

11.Correct definition of pi is
a. 3.14
b. 3.141257
c.22/7
d.ratio of circumferance and diameter
e. none of the above
ans D.

12.A fooball team played 60 matches out of which 30% were won by them. Ifthey start winning all the next matches after how many matches will theaverage winning rate be 50%
ans 24 MORE

13. Difference of ages of 2 persons is 9 and difference of squares of theages is 459. What is the age of the older person.
ans 30

14. There is a rectangular field of 110x70 cm size. If it is to be fencedsuch that the fence is placed alternative with a gap of 10cm and the fenceshould be present at the four corners. taking $2 per cm of fence. Find thecost of fencing.
ans 72 OR 400(????)

15. the figure having one line of symmetrya. squareb. equilateral triangle.c. isosceles triangled. rectangleans C

16. Which is greater?a. 0.3b. (0.3)^.5c. 2/5
ans B

17. If there are persons named 1 to n. If each person handshakes with allother persons whose no. is more than him, then how many handshakes arepossible.
ans N(N-1)/2

18. maximum value of 3x^2-4x+7
ans INFINITY

19. For travelling from A to C there are three choices
1. through a bridge from A to C of 20 miles length having a toll of 75centsper person
2. through a tunnel from A to C of 10 miles length having a toll of 25 centsper person
3. a toll free highway from A to B(eastwards)of 20 miles and then B to C(north west) 10 miles
which will be most economical?
bridge
tunnel
highway
none
ans HIGHWAY

20.if he wanna reach earliest what will he choose?
ans TUNNEL

21. If the employer of a firm going from A to C deducts some % of his basicsalary which he will choose(what factor will influence his preference)
bridge with less traffic
tunnel
cost of gasolenecost of toll on three modes

22.What is the shortest mode of travel from B to C
bridge
tunnel
highway
none??

23. What is the number of multiplications u have to undergo to multiply two
2x2 matrices
ans 8

24. What is the angle subtended by the hands of a clock when it is quaterpast one
ans52.5

25. If a particle is moving in a circle with const angular velocity then
a. radial acc. =0 tangential acc. =0
b. <>0 =0
c. =0 <>0
d. <>0 <>0
ans C

# what does > and >> signify in UNIX?
# int n;
k=n;
result=1;
while(k>1)
{
result*=k;
k--;
}
What does this program do?
a. calculates the factorial for n<0
b. calculates the factorial for n>0
c. b is right if the foll is added
if(n<=1)
result=1;
ans=b

#Which one is not an aspect of relational database
a. tree like structures
b. records
c. fields
d. tables
ans A

# If right to left operation is done instead of left to right then find thevalue of
7-(16/(3+1)*2)-4
ans 9

# What is the difference between Dos in windows and DOS in MS-DOS mode?
they occupy diff. memory
they are same
windows can access some special files

#char. of RAM
finite,temporary and fast

# main()
{
int num[6]={2,3,4,18,44,17
}
j=5;
printf("%d%d",*(num+j),j[num]
}
ans 17 17

# n=5
while(n>1)
{
for(i=1;i < n;i++)
product*=i;
return(product);
}
output=?
ans=junk value

#main advantage of using pointers?
ans=pointers can be used to return more than one value from a function

#what is the main aspect of computers over calculators
a. computers are complex to understand
b. computers are huge and expensive
c. more than one person can work on a compu
d. compu can perform logical calculations as well as arithmatic

section3

ACCENTURE PLACEMENT PAPERS AND HR, GD INTERVIEW QUESTIONS

Accenture Pattern :

(consists of 4 rounds- all are elimination rounds)


1) Written Test:-(3 sections)-60 ques, 60 mins.

section 1:

(20 questions)--Verbal (Refer barron's GRE)- 5 ques on reading comprehensions (i.e passage reading),5 ques on sentence completion,5 synonoms, 5 antynoms.

section 2:

(20 questions)--Aptitude (refer R.S. Aggarwal)- just refer these chapters (profit & loss,percentage,time &work,time & distance, allegation & mixtures, ratio & proportion, average, simplification(q. no-76 to 95). That's enough!!!!!

section 3:

(20 questons)--Logical reasoning(10ques) and analytical reasoning questions(10ques)- (for analytical refer barron's GRE). (Note: hi guys/gals!!! for all the above ques(i.e. verbal,aptitude and reasoning), u can refer newly arrived monthly magazine( s.chands COMPETITION WORLD(Rs.30/-)

2)GD(Group Discussion):-

Any general topic picked(topic that i got-- do you prefer chatting in office or not!!!)-speak confidentlly for 2-3 minutes and make urself heard in a grp of 10 people. Then u can easily get thru!


3)HR interview:-

(formal questions such as tell me abt ur self, family background, strengths and weeknesses, about accenture,why should we hire u?,where do you want to see urself in next 5 yrs, do u prefer team work or individuality etc.)


4)TECH interview:-

(about ur final sem project and field of interest/favourite subject-- i picked up C.)Be thorough with ur final sem project. they may go deep into ur project also,be ready to explain it very clearly and confidently, they just need clearcut description of ur project. For me luckily no technical ques,only asked to explain final sem project which i explained
it for 20 mins & got selected,but anyhow some of the technical ques in C that u can expect are:

1)pointer to a function.
2)pointer to structure.
3)static variable and difference b/w(const char *p,char const *p,const char* const p).
4)pass by value & reference.
5)string library functions(syntax).
6)Write a program to compare two strings without using the strcmp() function.
7)Write a program to concatenate two strings.
8)Write a program to interchange 2 variables without using the third one.
9)Write programs for String Reversal & Palindrome check .
10)Write a program to find the Factorial of a number.
11)Write a program to generate the Fibinocci Series.
12)searching and sorting alogorithms with complexities.


ROUND I


The test was for 1 hr duration with three sections 60 questions in all--- no negative marking

1) Quant: Rs Agarwal
2) English:reading passage, synonyms etc.
3) Logical Reasoning

The paper was easy and the cut off was very less ... i heard it was 25
questions from 60 (not confirmed)

ROUND II

This was the GD round group of 12 people--topic: Indo-Pak relations, Is america bullying other countries etc.
To clear this round u just have to speak.. that's it... make urself heard in the group..what u speak is not important....

they said the Round III will be an HR round which will conducted over a telephone and the ROUND IV is the Tech round which will be conducted though video conferencing...