Dec 25, 2008

H Company's

Sample papers >>
Hexaware - Question paper - 01 Conducted On -- 26-June-2003
--------------------------------------------------------------------------------
Hexaware Technologies-Exam Conducted on 26-June-2003
Pattern - 100 qns in 60 mins
Verbal
Find the Wrongly Spelt word
Synonym
Antonym
Fill in the blanks
Aptitude (purely mathematical)
- Better have a look at the previous 1998 qn paper, from that we got many questions.
- strong analytical geometric and mensurational skills needed.
Computer Awareness
- Simply like find odd man out and 10 qns regarding 2 pseudocodes given
Time Constraint was the big thing, u cannot complete the paper if u solve all the
qns, its not needed also, they're just seeing the relative mark, in our college from 150
, 29 were shortlisted for GD and from it 12 were shortlisted for Interview, i missed
out in GD.
Topics were War on Iraq, Leaders Born or Made
Try to assess ur group in GD, if u think its of to be an debating group, pls don't
follow GD rules, and create ur oppurtunities for speaking as raising ur tone,
intervening the conversation going on, 'its pretty sure that u'll be going off the GD
rules, but it was the case in our group", i followed GD rules and i missed it out.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++
Hexaware Testv1.0 ------- June 2003
LANGUAGE SKILLS - 15questions
---------------
SYNONYMS,ANTONYMS & INCORRECT SPELLINGS
some words
1. acrimonous
2. inconspicious
3. bland
4. abate
5. cusp
6. profligate
7. vigour
8. lighten
(check the spellings in dictionary)
APTITUDE SECTION - 85questions
-----------------------------
odd man out-like man in
------------------------
1. A E I O
ans o - (rest are made of lines now tell me are a big zero)
2. (fig) circle star rectangle
ans star - rest are flowchart symbols
3. programs documents settings properties
ans properties (others appear in START menu - he! my favourite
question)
4. processor ,motherboard ,display card, mouse
ans mouse - (others are inside the cabinet -- need out of the box
thinking)
computer UNawareness
--------------------
5. where is SIM card found
ans mobile phone (by the way can you expand SIM)
6. what is the lock symbol appearing in bootom of the browser mean
ans. connection secured (confusing another choice is Verisign
secured - you will see tick mark when it is Verisign authorised)
7. expand WAP
ans Wireless Application Protocol
8. expand CORBA
ans Common Object Request Broker Architeture
9. 92.168.100.4 - means what
ans IP Address
crack choice a)sums choice b)your head
--------------------------------------
10. Find the reminder when 333666777888999 divided by 3 or 9 or 11 ?
11. Which is the biggest perfect square amongst the following :
15129, 12348, 23716, 20736
12. In the series 0, 3, 8, 15,__ What is the next number?
13. X < 0, Y <> 0 then what is the possibility that the result is
always positive?
Ans. (xy)^2
14. Let ax2 + bx + c = 0
If the sum of the equal roots is equal to the product of the same
roots.Then which of the following hold true
(a) a + b = 0
(b) a = 0
(c) c = 0
(d) a + c = 0
15. Find the value of (1.99)2
Ans. 3.9601(dont calc - should be near to 4)
16. There is a room with 6' x 8'. A 1' tile is fixed along the 4
walls in one row. How many 1" tiles require to
finish the work.
Ans. 24
17. 2 persons can finish a job in 8 days. First person alone can
finish the work in 24 days. How many days
does the second person take to finish the job?
Ans. 12 days
18. In a car wheel, two spokes cover 15 degree. Then for the entire
car,how many spokes are there?
Ans. 24.
19. What is the angle of degree suspended when two hands of clock
showing the time 2.30.
Ans. 105 degrees
20. A person's salary is getting reduced by 20%. What percentage
should be added to get back his
original salary?
Ans. 25%
21. Two persons start at the same point, walk in opposite directions
with 5km/hr and 5.5km/hr respectively.
What is the distance separated after 2 and half hrs?
Ans. 26.25 (approx)
22. A person starts walking at a speed of 5km/hr through half the
distance, rest of the distance he covers with a
speed 4km/hr. Total time of travel is 9 hours. What is the maximum
distance he can cover?
Ans. 40km.
23. In a rectangle the length is increased by of the original
length . By what proportion should the
width be reduced so that the area will be the same?
Ans. 33
24. Find the nth number in the series is 1, -3, 5, -7.___
Ans. (-1)*(2n-1)
25. If a square is formed by the diagonal of the square as an edge,
what is the ratio between the area?
Ans. 2
26. The perimeter of a rhombus is 52 units. One of its diagonal is 24
units.What is its second diagonals length?
Ans. 10
27. A cubical rectangular bar has the dimensions with the ratio 5 :
4 : 3. Its volume is 7500. What is the
surface area of the bar?
Ans. 2350
28. A persons salary iis decreased by steps of 20%, 15% and 10%. What
will be the percentage decrease, if the
salary is decreased in a single shot?
29. 3 persons started placementpapers with a capital of Rs.3000 . B
invest Rs.600 less than A, C invest Rs.300 less
than B. Then what is the share amount of B in a profit of Rs.886 ?
,
30. 178^2 -22^2
(USE (A+B)(A-B))
31. f(x) = x! g(x)=x^10 h(x)= 10^x for large values of x which is
greater?
32. f(x) = 1/(1-x) find(f(f(f(x)))
33. x+(1/x) = 2.5 find x^2 + (1/x^2)
34. 2^(2^n) = 256 find 2^(2n)
35. x=0 y=0 6x+7y=42 find position(lies inside/out/on) of (4,5) in
the triangle
36. 22 Jun 2003 is sunday which year previously did 22 jun became
sunday
37. A man walked 30m west 5m south 10m west 35m north to reach
tollgate find the dist from start to gate.
ans. 50m (use pythogoras)
38. area of square = sum of areas of rect1(41*27) and rect2(41*14).
find square side.
ans. 41
39. find next in series 31,29,31,30,31,?
ans. 30 he!he!he!(they rep jan,feb,mar,.... hit your head)
Walk/Swim thro Coding
40. Input a,b
s=0;
c=a;
d=b;
while(d<>0)
{
s=s+c;
d=d-1;
}
Print s
for given values of a,b find the output
5questions for different values of a,b
41. Input a,b
while(3a+2b<100)
{
s=s+a;
a=a+2;
b=b-1;
}
for given values of a,b (i remember one 29,5) find the output
Tips
1. Do the coding first and you are out - They are time consuming - Save the worst
for last
2. Be choosy - take the easy (questions) first - So scan scan scan
3. best path in hexaware tree
language ---->
odd man out ---->
computer awareness ---->
easy sums ----->
difficult sums---->
coding
do this or find the path to your home.
4.SPEED kills but also wins. Put your brain in 5th gear
5.Blind goose guess - mark a or e - they are more probable
6. Write your q paper code proper or your are a man overboard
7. There is minimum no of q to be attempted(so they didnt say explicitly) and no
negative marking. So be generous!waste your ink! cross off for all questions
8. They will ask u in the pep talk in GD waht is the first or last question or your
code.
So watch out all those DANGER-PAST-QUESTIONS-FORGOT type fellows
Group Discussion
1. No GD only shout!!! - Our LOk Sabha Style
2. Shout at top of your voice and shout some meaningful points
3. Please train ur vocal chords! Drink our good pure(pun intended) water before
GD
4. IF u cant then carry a loudspeaker
5. 10 per group max 3 groups
6. final interview they select 3 from each group
7. Dont think 1-proposer 1-opposer 1-moderator it could 3-proposer or 3 opposer
too.
8. If your group is silent Please follow GD rules.
9. 30 minutes of shouting(3min-choose the topic, 2min-prepare,20min-shout)
10. They might also give you a topic.
11. Please dont wait for your chance - Grab
12. Be ready to summarise. Try to say all the points told and say conclusion is yet to
be reached.
13. 2 or 3 choosen people will summarise.
14. Dont ever make unruly gestures. You are out immediately.
15. Be ready for any topic .Only general topic - no subject, economics style
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++
HEXAWARE - Inside Out
=====================
Questions you want to ask but dont know to whom
--------------------------------------------
1.Whats the noise?
They want to add 500 more in its payroll by christmas
I dont know how much % is freshers
---------------
2. How much they can fill your purse?
7500 for first 6 months
10,000 for next 6 months
20,000 thereafter
Indian rupees! No dollar dreams ;-)
---------------
3. Any strings?
You have to sign a bond for 1 year and you become James Bond
---------------
4. If I break?
Your dad pays 1.5 lacs to them.
-------------
5. Where they put you?
Chennai, Bangalore, Mumbai
- should be ready pack your bags in a jiffy (and many times too)
--------------
6. What if I get out in GD or test
Pray those in interview should refuse to sign the bond
Offer goes down the line in each campus
---------------
7. Any perks
One free Cadburys perk on joining
Dont like it take Halwa!!!!
---------------
8. To how much people they would offer in my college
Works out to 5-15% of test takers.
So Start 1..2..3...... Sample papers >>
Hexaware - Question paper - 02 Conducted On -- July-2003
--------------------------------------------------------------------------------
Hexaware Exam conducted in July 2003.
The selection process consisted of 3 rounds,
1. Written test
The pattern is total 100 questions 1 hour time
1) check out the old 98 hexaware paper few qs are from that.
2) few qs on tracing the output(simple ons).
3)basic question on computer awarness(very simple ones like
expand WAP, etc very simple ones.
4)choose the odd man out type of questions freshersworld.com
ex A E I O choose the odd man.
5)simple math qs like 199^2 - 24^2 etc.
6) opposites and synonyms
** manage your time properly.. No negaive markings
2. GD.
Is internet suitable for Youngers?).
IS MBA needed? . etc.
3. Technical/ HR Interview. ( Interview was very cordial and they asked abt my
personal life, native places,my projects, and other technical skills I have. it was
really interesting one.. )
freshersworld.com
The questions were from a wide spectrum like english, basic mathematics, solving
algorithms, general computer awareness etc.
The english part consisted of Synonyms, antonyms, fill in the blanks, finding the
mis-spelt word (there were 5 in each.)
Computer awarness had ques from basic computer knowledge
1,!,2,@,3,#,4,$,5, what is next in the series
Ans : %.
Which is the oldest computing device still in use
Ans : Abacus.
Wat is WAP?
Ans : Wireless Application Protocol.
Nibble is equal to
Ans: 4 bits freshersworld.com
Solving Algos : A simple program was given and the output was asked for different
values of inputs.
I dont remember the exact ques. I am just giving a sample, which is similar to the
one given there.
S= 0; C = 0
Read A,B
While ((2A+3B) < 100)
{
S = 3A - 2B
c = c + 1
}
Print a,s,c
Following this there were 5 quetions. every ques carried 1 mark.
Wat is the output if a = 26 b = 12
wat is the output if a = 24 b = 16 etc..
In Mathematics some ques were simple and others were a bit time consuming.
|X| + X = 0 wat is the value of X
a) 1 b) 0 c) 1,0 d) None of these
If 38473ABC(This was not the exact no given) is divisible by 75 what is ABC in the
same order
x + 1/x = 2 x^100 + 1/x^100
f(z) = 1/1-x find f(f(f(1/x)))
The following questions got repeated from the pattern found in
www.freshersworld.com
In the series 0, 3, 8, 15,__ What is the next number?
Ans : 24
X < 0, Y <> 0 then which of the following is always positive?
Ans. (x + y)^2
Let ax2 + bx + c = 0
If the sum of the equal roots is equal to the product of the same roots. Then which of
the following hold true
Ans. b+c = 0
Find the value of (1.99)2
Ans. 3.9601
There is a room with 6' x 8'. A 1' tile is fixed along the 4 walls in one row. How
many 1" tiles require to
finish the work.
Ans. 24
2 persons can finish a job in 8 days. First person alone can finish the work in 24
days. How many days
does the second person take to finish the job?
Ans. 12 days
In a car wheel, two spokes cover 15 degree. Then for the entire car, how many
spokes are there?
Ans. 48.
What is the angle of degree suspended when two hands of clock showing the time
2.30.
Ans. 105 degrees
A person's salary is getting reduced by 20%. What percentage should be added to
get back his
original salary?
Ans. 25%
Two persons start at the same point, walk in opposite directions with 5km/hr and
5.5km/hr respectively.
What is the distance separated after 2 and half hrs?
Ans. 26.25
A person starts walking at a speed of 5km/hr through half the distance, rest of the
distance he covers with a
speed 4km/hr. Total time of travel is 9 hours. What is the maximum distance he can
cover?
Ans. 40km.
In a rectangle the length is increased by of the original length . By what proportion
should the
width be reduced so that the area will be the same?
Ans. 33
Find the nth number in the series is 1, -3, 5, -7.___
Ans. (-1)^(n-1)*(2n-1)
If a square is formed by the diagonal of the square as an edge, what is the ratio
between the area?
Ans. 2
The perimeter of a rhombus is 52 units. One of its diagonal is 24 units.What is its
second diagonals length?
Ans. 10
A cubical rectangular bar has the dimensions with the ratio 5 : 4 : 3. Its volume is
7500. What is the
surface area of the bar?
Ans. 2350
3 persons started placementpapers with a capital of Rs.3000 . B invest Rs.600 less
than A, C invest Rs.300 less
than B. Then what is the share amount of B in a profit of Rs.886 ?
Ans: Rs. 265.8
Wat I felt with this test was it was better to go thro all the 100 ques, cos some easy
ones were there at the last. If U think U can certainly solve a problem but its time
consuming just leave it and proceed to the next one. Some of the ques were very
easy, even U no need to use pen and paper.
HONEYWELL

Here is the questions that was asked to one of my ms friends in
last years campus interview (Honeywell).
This was not included in the database in ~mrb.
/***************************************************************/
Hi MRB,
I am out of placement after getting selection in Honeywell,
which was my dream job.

Honeywell conducted a test in IIT and Interview was in their
office at B'lore.

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.
---------------------------------------------------------------
I had 4 rounds of interview.
First round (around 45 minutes) contained, questions from Real-time
-----------
Systems (my research area), operating systems and Software Engineering

Explain U'r research work.

What is a Real-Time System ?
What is the difference between Hard and Soft real-time systems ?
What is a mission critical system ?
What is the important aspect of a real-time system ?

Explain the difference between microkernel and macro kernel.
Give an example of microkernel.
Why paging is used ?
Which is the best page replacement algo and Why ?

WHat is software life cycle ?
How much time is spent usually in each phases and why ?
Which one do U want to work if selected in Honeywell ?
( I said I don't like testing )
They asked why ?
I said it is a boring job. Then they tried to analyse
the knowledge in testing.

What is testing ?
Which are the different types of testing ?
Then they explained the way they do testing. They said that they are
doing testing in requirement phase and design phase so that if any
problem comes in those phases it is not ncecessary to go back and change
the requirement or design. All the test processing is automated.

Why do U want to join Honeywell ?
Ans : To get a practical feeling of Real-time systems.

Do U know C++ ?
How good are U in C and C++ ?
Rate U'rslef in both C and C++. ( 1 - 10 marks)

Second round (around 45 minutes )
------------
They wanted a bio-data at the time of inteview. I gave the placement
office bio-data and in that one there was column 'Major subjects
studied'. Many of the questions came from those.

Explain U'r research work.
Lot of questions from it.

What is a distributed system ?
Some questions about CSP. ( I kept quiet)
Which languages do U know ?
What are the differences between Pascal and C.
I said Pascal is a strongly typed language.
Then what is typing and its advantages ?
Then he asked some questions from Compiler construction and Lisp.

WHich are the different computer architectures ?
What is the requirement in MIMD ?
What is the difference between RISC and CISC processors ?
Difference between loosely coupled and tightly coupled systems ?
What is an open system ?

Still a lot of questions from software engineering .
Which are the different phases in Software life cycle (asked again)
Why is analysis and testing phases very important ?
Which methodologies are U familiar with ?

Have U worked in windows ? (Yes)
What is the difference U have seen from a Dos environment ?
I said it event driven .
So what do U mean by event driven ?
How do WinMain look like ?
How the messages are processed in Windows ?
(Queue of events)
What are parameters needed to distinguish an event ?

Have U done any network programming ?
Why networks are layered ?
What is the advantage of that ?
How many layers are there in OSI ?
WHy is it called OSI model ?
Are U familiar with network topologies ?
Which are the different network toplogies ?
Tell an example of bus type network.
I said ethernet.
What is the Bandwidth of ethernet ?
Explain the advantage and disadvantage of ethernet ?
Which is the protocol used in ethernet. (CSMA/CD)
Why is it called so ?
If all stations tries to communicate at same time, what will happen.
What is binary exponential backoff algo ?

What is the advantage of Ring network ?
Compare it with ethernet.
In a real-time system which one do U prefer and why ?
What is the basic requirement of a real-time network ?
Which one is costly - ethernet of ring networks ?

Some questions form OOSD and Digital signal processing.
What is inheritance, encapsulation etc.

Third Round (15 minutes)
-----------
Asked about the percentages and marks during SSC, PDC, B.Tech and MS.
When can U join ?
Who is U'r guide ?
U are from which place ?
Where is it in Kerala ?
How do U perform in the first two interviews ?
WHy have U given Honeywell as dream job ?
Some more personal questions

Fourth Round (45 minutes)
------------
What do U like in Bangalore ?
I said the weather and all my friends are here.
Asked about my family members.
How do U interact with friends ?
How do adjust to a new environemnt ?
Suppose U solve a problem and after that U are getting an almost same
problem with high complexity ( and lower complexity). How will U
approach to the next problem.
What is U'r approach towards a new subject ?
How do U prepare for exams ?
Suppose in a project meeting, somebody fires U, how will U react ?
Are U patient enought to wait in long queues ?
Still some more which I don't rememebr.....


VERIFONE

Verifone test Questions :

There are two parts :
Note: The Answers given here are what i wrote, May not be correct.

1. Aptitute test : 15 Minutes, 20 Questions

Towards the middle questions are easy than from the front.

eg. Product of three consecutive nos. 210. What is the sum
of two least numbers?
ans.: 5 * 6 * 7 = 210 , sum = 11 is answer

eg. If the area of the sqaure is increased by 69 % how
much the length of the side will increase?

ans.: 13 (i think)
eg. if the sum of five consecutive nos. 35? how many prime nos
are there :

ans: 5 + 6 + 7 + 8 + 9 = 35 so two primes

eg. if the length of the rectangle is reduced by 20% and breath
is increased by 20 % what is the net change ?
ans.: 4 % decrease

2.


i. Electrical & Electronics : 15 Questions
and,nand...circuit realted stuff, ..........

ii.Data Structures, Algo., & Complexity theory : 5 questions

a. if W is a sequence of strings without a and W' is its reversal
then WaW' is generated by:

ans. i think Context Free Grammmars

b. Whether all recusive pgm can be writtten iteratively?

c. What data structes you will use if you want to go to first record from
the last and vice versa?
ans.: doubly linked circular list

d. Given 10000 nos. and 48MB Memory. What is the complexity of the
efficient sorting algo.? (the algo. is not mentioned)

e. Given a C code and ask what it does?
I think the code was something similar to Bubble sort and that
particular code does the sorting in Desending order and the complexity
is O(n^2)(which is the next question).

iii. OS : 5 questions

a. If there are too many page faults what is the problem?

b. To ensure one pgm. doesnt corrupt other pgm. in a Multi-pgm. enviornment
what you should do?

c. Which one you will use to implement critical section?
Binary Semaphore

d. Which one is not needed for Multi-pgm. enviornment?
options are: virtual memory,security,time sharing,none of the
above.


iv. Networks and Hardware: 5 questions

a. Which one is not done by Data link layer ?
bit stuffing, LRC,CRC,parity check

b. Which one is not related to Data link layer?

c. Which one is not suitable for client-server application?
tcp/ip,message passing,rpc,none of the above.

d.



v. Databases and Misc.: 5 questions

a. What SQL .................. (not the expansion)

b. Indexing in databases give you ............

c.


vi. C Pgm. : 5 questions

1. int a=1,b=2,c=3;
printf("%d,%d",a,b,c);
What is the output?

2. for(i=0; i<=10;i++,printf("%d",i); +- (+- is there in the questions)

3. Scope of Static Variable ............

4. Given a C code and what is the output?
COMPANY NAME : HP (Hewlett Packard)
------------------------------------------------------------
DATE OF TEST : 1 Feb 2004
------------------------------------------------------------
PLACE OF TEST: TCS Bulding, Habibullah Road, Chennai
------------------------------------------------------------
MODE : Off-Campus
------------------------------------------------------------
DURATION :
------------------------------------------------------------
CATEGORY : JAVA - J2EE (3+ years experienced category)
___________________________________________________________________________________




The interviews are held for more than 3 years experience in JAVA, J2EE. The interviews are held in TCS building in Habibullah Road, Chennai. (TCS and HP have collaboration center in Chennai)

There are 3 interviews :

1. Technical interview
2. Program Manager interview
3. HR interview


I wrote here all the questions I remember. I think I almost covered most of them.

______________________
Technical Interview
______________________

1) What is 'Open System' and 'Closed System' in Computer terminology ?

2) What is meant by Open Source ? Is Java Open Source or not ?

3) Explain MVC (Model-View-Controller) architecture ? What acts as controller ? How views get updated ?

4) What are design patterns ? Explain 'FACADE Design Pattern' ?

5) What's the difference between CMM and CMMI ?

6) What is 'Requirements Development' in CMMI ?

7) How do you capture requirements ? Using what method you make sure that requirements are properly captured?

8) What is UseCase ? What is the template to write UseCases ?

9) How do you perform testing ? Do you use any automated testing tools ? If so, what are they ?

10) I have a Web Server, Application Server, Servlet Engine, Database - all located on separate systems behind firewalls. How will you design an application using 3-tier architecture in this case ?

11) What is 2-Phase Commit and 3-Phase Commit in database terminology ?

12) Will the 'View' get refreshed immediately when you update a database table. If it doesn't get refreshed immediately, what method you use to refresh it ?

13) Some websites will have hierarchical display of items. (For eg, on click of a '+' symbol, all items under this item gets listed.). How do you store such structure in database (Note: You can store as XML object. But how do you store in database tables without using XML) ?

14) What are interfaces, abstract classes. What is their purpose and differences ?

15) What is 3 rd level of normalization ?

16) How do you implement TREE in Java ? How do you implement the same using C or C++ ?

17) What is the difference between Application and Web servers ?

__________________________

Remarks on Technical interview : The questions are mostly analysis and design related rather than coding related. You should have clear idea of analysis & design in J2EE, how various J2EE components fit into various layers.
__________________________






__________________________
Program Manager Interview
__________________________

1) Tell about yourself ?

2) What is the most challenging situation faced in your professional life ? How you faced it ?

3) What are the reasons you are leaving your current company ?

4) Do you have any objection for working completely at off-shore or working in a different technology ?

5) Any questions about HP ?

__________________________





__________________________
HR Interview
__________________________

1) How do your collegues describe you ?

2) What is your current and expected salary ?

3) What are the reasons you are leaving your current company ?

4) What do you know about HP ?
The Written Test consists of total 4 sections to be completed in 1hr,

The Sections were divided as follows:

1. 20 Q on C (Refer Test ur C skills by Y.Kanetkar)

2. 15 Q on C++(Refer any C++ good book)

3. 15 Q on UNIX(Refer any UNIX book)

4. 15 Q on General Aptitude. (Logical Reasoning, Complete the series, Work done etc..)
The test comprises of 4 sections:
Section A. ------50qns(general appitude,english
etc):
Section B. ------ 10 Questions on Computer concepts.
Section C. ------ 30 Questions on C
1. WAP find and replace a character in a
string.
2. WA function to perform the substraction of two .Eg:char
N1="123",N2="478",N3=-355(N1-N2).
3. WAP dynamically intialize a 2 dimentional array Eg:5x20,accept
strings and check for vowels and
display the no.finally free the space allocated .
4. WAP read a line from file from location N1 to N2 using command
line agruments Eg:exe 10 20 a.c
5. WAP find the largest of 4 no using macros.
General section
Computer science general, c/c++ section, Java section ,The question
paper had 48 questions to
be answered in 1hr. Time will be quite sufficient. They have different
sets of question papers. .
1 General section : computer science general
knowledge
2. Computer science general: simple questions
1. HP acquired this company in 2002. Which
is the company
a) Compaq b) Dell c) option 3 d) Option4
Ans: a
2. What does 3G denote
a) 3rd generation mobile communication b) 3rd generation computer
languages c) option 3 d) option4
Ans: a
3. An application program that is used by
the users to get the inofrmation from the backend of some
application like databases:
a) application server b)proxy server c)database server d)option
4
Ans: database server
4. Which of the following is not true about
the e-mail
a) It can be accessed by a client program using POP
b) It can be accessed by a client program using imap protocol
c) option 3
d) option 4
Ans: I don't remember the answer but first 2 are true.
5. Some quesion regarding the company and
who developed it ( the thing to remember is that Apple
produce Macintosh computers).
c/c++ section: questions on c/c++, programs
o/p etc.
1 main( )
{
unsigned int i=3;
while( i >=0)
printf( "%d", i--);
}
how many times will the printf stmt be executed?
a)0 b)3 c)4 d)infinite
Ans: I think the answer is infinite, b'cos 'i' is an unsigned integer
and it will not decrement below '0'
and hence end up in an infinite loop.(yes, i checked and it is getting
stuck in an infinite loop)
2. main( )
{
int x,y, z;
x=2;
y=5;
z= x+++y;
printf("%d %d %d", x, y z);
}
a)3 5 7 b)option 2 c)option 3 d)option 4
Ans: a
3 # define swap(a,b) temp=a; a=b; b=temp;
main( )
{
int i, j, temp;
i=5;
j=10;
temp=0;
if( i > j)
swap( i, j );
printf( "%d %d %d", i, j, temp);
}
Ans: On compiling i got ans 10, 0, 0. I did not understand the concept.
Please expalin this to me.
4. Java section: questions on java related
stuff.
1) Java was initially code named as:
a)Oak b)green c)miller d)option4
Ans: Oak
5. What is not true about the following statements
about java.
a) it is compiled using javac compiler
b) the compiled files have .class extension.
c) such files cannot be transfered from one comp to another.
d) they use the java interpreter
Ans: c
6. Why is the synchronize used?
a) to initialize multiple objects b)to lock an object c)option3
d)option 4
Ans: b (prob General section
Computer science general
c/c++ section
Java section

The question paper had 48 questions to be answered in 1hr. Time will be quite sufficient. They have different sets of question papers.

Some questions that i remember are...................
1>General section : computer science general knowledge
2> Computer science general: simple questions
1) HP acquired this company in 2002. Which is the company
a)Compaq b)Dell c)option 3 d) Option4
Ans: a
2) what does 3G denote
a) 3rd generation mobile communication b) 3rd generation computer languages c) option 3 d) option4
Ans: a
3)an application program that is used by the users to get the inofrmation from the backend of some application like databases:
a) application server b)proxy server c)database server d)option 4
Ans: database server freshersworld.com
4) which of the following is not true about the e-mail
a) it can be accessed by a client program using POP
b) it can be accessed by a client program using imap protocol
c) option 3
d) option 4
Ans: I don't remember the answer but first 2 are true.
5) Some quesion regarding the company and who developed it ( the thing to remember is that Apple produce Macintosh computers).
5) What is X.25?
a)option 1 b)option 2 c)option 3 d)option 4
Ans: find out??:-)
3> c/c++ section: questions on c/c++, programs o/p etc.
1) main( )
{
unsigned int i=3; freshersworld.com
while( i >=0)
printf( "%d", i--);
}
how many times will the printf stmt be executed?
a)0 b)3 c)4 d)infinite
Ans: I think the answer is infinite, b'cos 'i' is an unsigned integer and it will not decrement below '0' and hence end up in an infinite loop.(yes, i checked and it is getting stuck in an infinite loop)
2) main( )
{
int x,y, z;
x=2;
y=5;
z= x+++y;
printf("%d %d %d", x, y z);
}
a)3 5 7 b)option 2 c)option 3 d)option 4
Ans: a
3) # define swap(a,b) temp=a; a=b; b=temp;
main( )
{ freshersworld.com
int i, j, temp;
i=5;
j=10;
temp=0;
if( i > j)
swap( i, j );
printf( "%d %d %d", i, j, temp);
}
Ans: On compiling i got ans 10, 0, 0. I did not understand the concept. Please expalin this to me.
4>Java section: questions on java related stuff.
1) Java was initially code named as:
a)Oak b)green c)miller d)option4
Ans: Oak
2) what is not true about the following statements about java.
a) it is compiled using javac compiler
b) the compiled files have .class extension.
c) such files cannot be transfered from one comp to another.
d) they use the java interpreter freshersworld.com
Ans: c
3) Why is the synchronize used?
a) to initialize multiple objects b)to lock an object c)option3 d)option 4
Ans: b (probably)
.................
.


.From 70s 80s Company producing
mouse,GUIs............a)Dell b)IBM c) Xerox d) HP

3)an application program that is used by the users to get the inofrmation from the backend of some application like databases:
a) application server b)proxy server c)database server d)option 4
Ans: database server


8.Database quesns Stored procedures
Trigger strategy
9.Bandwidth measured in ?
10.Term assoc with Context Transaction

2)ICQ stands for ans)--------------------


class A
{
A(int x)
{
System.out.println(" x=" + x );
}
A(int x,int y)
{
System.out.println(" x=" + x + " y =" + y);
}
}
class HPTest4
{
public static void main(String args[])
{
A a=new A(1);
A b=new A(2,3);
A c=new A();
}
}ably) HP Q Paper Pattern:-
48Q 1 hr
12Q General Knowledge
12Q General CSE
12Q C and C++
12Q Java

The q's r as follows:-


1. Which of the foll is not a protocol.

HTTP PIM PSI

A> PSI (check)

2> Which of the foll does not help security.

Good Password
Update Antivirus
VLAN

A> VLAN

3> What was the prob with Intel Processor

Cache
FPU
NONE
A> FIND OUT AND LET ME KNOW

4> What does MIME stand for

A> Multipurpose Mail Exchange Protocol

5> What does XP stand for in WIN-Xp
A> Experience

6> Who is associated with C
A> Dennis Ritchie

7> Which of the foll is not a IM client

AOL
MSN
JABBER
XINGC
A> XINGC

8> What does ERP stand 4

A> Enterprise resource planning.

9> Who is associated with HOTMAIL

SABEER Bhatia and Jack Smith
SABEER Bhatia and Bill Gates

A>SABEER Bhatia and Jack Smith


10> What does UNIX stand 4???
Find out

11> Which of the foll is not a app server
BLUESTONE
WEBSPHERE
TOMCAT
JBOSS

A> BLUESTONE

GENERAL CSE Q's

12> What do u call software embbedded in ROM

BIOS
FIRMWARE
SHAREWARE
FREEWARE
A> BIOS (Verify and plz let me know)

13> What is semaphore used 4????


14> Integral Constraint helps in???

A> Solving Inconsitent Data prob.

15> PING uses

A> ICMP

16> IP ADDRESS occupies
4 bytes
8 bytes
16 bytes
6 bytes

A> I wrote 8. correct ans 4

17> Which DataStructure helps Searching
STACK
LINKED LIST
HASH
A> HASH

18> Q on Binary tree Depth?
2^n
2^n - 1
log n

19> Database shud hav
A> ACID properties.

20> VPN stands 4
A> virtual private n/w

21> what does fork() return 2 parent
child pid
0
A> 0


22> What do u call the relationship b/e a table and its columnz
A> Schema

12Q on c & c++

23> What is true about c++
A> IT can hav virtual constuctors

24> result of i=6; printf("%d",i++*i++)
36
54
cant say
A> Can't say (compiler dependent)


25> output of
char str[20] = "SANJAY"

printf("%d%d",sizeof(str),strlen(str))

ANS> 20,6

26> Which of the foll cannot b used accross files
extern
volatile
static
const
A> static. (i wrote volatile)

27> union u{ int i; char c;};
sizeof(u);
A> 4 (I got damm irritated when i read this q. I marked 4 and wrote UNDER UNIX next 2 the answer. How can such a dumb q which gives diff values under DOS and UNIX b asked????????????)


28> Idenitify err
5[[a]
5["abc"]
A> 5["abc"]

12Q on JAVA


29> Java alloctaes mem in
STACK
HEAP
A> HEAP

30> Can u call Garbage collector explicitly

A> S . Find out the syntax. It was asked

31> What does this mean X = Y

A> Object X refers to the contents of Y.

32> Q on Null pointer Exception
1.general ability(12q)
2.computer science(12q)
3.c/c++(12q)
4.java.(12q)
All the questions are mandatory. No negative marking
the questions are
section 1
1.Intel's first processor is
1)------2)4004 3) 80804)8086

2) Founder of Microsoft corporation
1) Bill Gates 2) Billgates and --------
3)Bill gates and Paul Allen4) Billgates and -------

3)Oddman out
1)Internet Explorer 2) Alt Vista3) Netscape Navigator 4)Opera

4)Which of the following is not a database
1)PLSQL2)MSSQL 3)MySQL4)Informix

5)Laura C--- (I don't remember exact spelling ) is CEO of
1)Oracle 2)DELL 3) Hp4)Intel
Ans) She is CEO of HP

6)'SUN' Microsystems SUN stands for
1)Simple Unified Network2)Solaris Unified Network3)-------------
4) None of the above.

section 2

1) IRC stands for ans) Internet Relay chat

2)ICQ stands for ans)--------------------

3)The protocol used to translate Internet address to Network addressis
1)IP2)TCP3)ARP4)RARP

4)In some OS the option that the system provides to communicate with
other process is
1)IPC(Inter Process Communication)2)----3)-----4)-----

5)VPN stands for ans) Virtual private network.

6)The time taken to transfer data from one place to other place or
process within specified time is
1)Throughput2)Latency time 3)Response time 4)----------

7)The time complexity for which of the following is O(n log n)
1) Radix sort 2)Quick sort3)Shell sort 4) Bubblesort.

8)Which of the following is used pass the packets between networks
1)--------2)Bridges3)Router4)Gateways

section 3
1)Which of the following can be used to print % to the screen
1) printf("\%");2)printf("\\%"); 3)----- 4)------

2)how many times the loop is executed
main()
{
int i=3;
while(i>=0)
printf("%d",i--);
return(0);
}
1) 3 2)Infinite 3)0 4)2
3) what is the output
int 1=10;
printf("%d %d %d ",i,++i,i++);


1) 10 11 11 2)11 11 10 3) 10 11 10 4) None of the above
4)
x=2;
y=5;
z=x+++y;
printf("%d %d %d",x,y,z);
1)----------- 2)------- 3)--------- 4)---------

5)In c++,
1)------------------
2)------------------
3)you cannot Overload new operator for a class
4)----------------------

6) Void xyz(char a[10])
{
int i;
i=sizeof(a);
printf("%d",i);
}
1)10 2)can't say 3) 2 4)same as size of pointer.

7) Local Variables is stored in which part of the memory
1) register or heap 2)heap 3)register or stack 4)-----
8) which of the following can be shared by progams
1)Text Code
2)Data segment
3)heap memory
4)--------
section 4
Sorry I don't remember the Java Questions


Iam giving the quesns on 3 sections.c/c++ was very
easy
For any further informn mail me.

4 sections
48 quesns
no negative marking
all objective quesns.

IT INformation

1. Who is associated with C language?
2. CEO of MIcrosoft
3.Company producing Routers,Bridges
4.From 70s 80s Company producing
mouse,GUIs............a)Dell b)IBM c) Xerox d) HP
5.Inventor of Pascal
6.Abt SUN micro systems
7.first digital comp machine a)von neumann b) Dijkstra
8.Which of these is not search engine a)hotbot
b)parametric c)Altavista d) google
9.In 2002 IBM acquired which company a) Rational b)
oracle c) netscape
10.founder of apple computer(2 persons)

Computer Concepts

1.Complexity nlogn a.quick sort b. bubble sort c.
shell sort
2.Abt Protocols
3.Abt SSL
4.Abt MBR
5.Cross compiler
6.synonymus to main memory
7.Semaphores
8.Database quesns Stored procedures
Trigger strategy
9.Bandwidth measured in ?
10.Term assoc with Context Transaction

Java

1.extending the class means
2.how many values does char of java has
3.Java pgm can be executed on any m/c how?
4.utility used for dynamically changing the tables
a.vector b. hash table c. enumeration
d. structures
5.synchronise means
6.if X & Y r objects X = Y means
7.which action Java platform restricts on applets
a. Image viewing
b. Accept user i/p
c. write to system files
d. initialise date in browser
8.quesns on JDBC
9.Two quesns on simple java pgms.
10. Java was initially code named as:
a)Oak b)green c)miller
11.) what is not true about the following statements
about java.
a) it is compiled using javac compiler
b) the compiled files have .class extension.
c) such files cannot be transfered from one comp to
another.
d) they use the java interpreter
33> Synchronize is used 4??? --- In CHETANA-JOBS@yahoogroups.com, Vanika Mehta
wrote:
hello
i m sending u guys HPS paper.

PEROT SYSTEMS:(60% through out)
Total 30 students appeared and 30 sat in interview at
11:00 pm and they finally selected 5students

Written test pattern also included algos and the
flowcharts with other old tests
Ist test
There were question which were time consuming
especially flowchart and algos part.
Attempt the other questions which r less time
consuming.for the test prepare "Arithmetic reasoning"
by RS Agarwal.especially chap-time and distance, time
and work. Trains and boats upstream and down stream
question.
IInd test (English)
This test was easy , 2 out of 4 options eliminates as
such, but take care in rest two options.the questions
were general english question –fit the best.Stick to
the basics as we had done in the TCY.Prepare the eng
book of tem for the basic concepts.
Interview
The coolest people generally of our age only…..
The questions they asked from me
• why 65 % marks in 10 and 10+2
• favorite sub I said data structures
• swap 2 no.s without third
• recursion prgs- fib series and factorial
• bubble sort
• where v use bubble sort





/////////////////////////////////////*********************************
**********

section-1 10 questions of 2 marks each(series)
section:2 15 questions of 2 marks each(quantitative)
section:3 10 questions of 5 marks each(programming)


total time: 45 minutes

after this there is a 20 min. test on english (25
questions)
: simple english usage

1st of all attempt section:3 then 2nd section & then
1st

section:1
simple questions on series completion.

The series were from Rs aggrawal Modern approach
Verbal and non verbal reasoning book do them

section:2
quantitative questions:
1.dishonest dealer question.some thing In fraction frm
rs aggarwal quant

2.speed from a to b is 40 km/hr and avg speed from b
to a 50 km/hr. total average speed?
a) 50 b)24 c)48
`
3. a question on 8*8 chessboard what is the no. of
adjacent squares?? i dont remember the question.
a) 216 B) 228.......
208
5.A RECTANGLE OF SIze 78*63.Cut the rectangle into
squares of 1 units. Draw a diagonal through the
rectangle. Through How many squares diagonal pass
through.?
a) 138 b)139 c)141
139
6.time & work questions: some men finish a work in 100
days. If 10 men leave then they will finish in 10 days
more. What is the original no. of men?

7.Arun give some money to Gopal ,Gopal gave 40% to
Suresh..............How much was with Arun
initially???

8.A finishes in 15 days B in 20 days C in 25 days. How
many days they will take if they all work together?

10.Radiius of sphere is 10 cm. How much % is surface
area of volume
a)30% b) 25%......

11. a+b=45 b+c+d=70
what is a+b+c+d?
a) 50 b) data inadequate

section 3:
there is 100 ml sol of wine and water in A and B if
10ml is taken frm a and put it in b and then 10 liter
from b put in to A . Which jug has more solution


1. Mountain hiking:A person starts at 2:00 in the
Friday afternoon.a person does not move with constant
speed. reaches mountain top in 4 hrs. he again starts
at 2:00 on saturday and reaches bottom in 3 hrs, what
is the probability that he was at the same point as he
was on friday..
a) 0 b) 1 c) 1\2 d)1\4

2.
a=1,b=2,c=3,d=4

step1: x=0
step 2: x=x+1
step 3: a=b
b=c
c=d
d=a
step4 if x<=1 goto step 2

what is the value of a,b,c,d???

english:........

1.To write accurately is better than _____________

a) to finish quickly b) finishing quickly
...................

2. Americans _____________ cereals in breakfast..

a) are used to eat
b) are used to eating

PEROT SYSTEM PAPER
thr were 35 question to b completed in 45 min ..
with 3 section in it
section 1 : logical reasoning 10 question 2 mark each
....
1) 12,32,72,152,.............ans(312)
2) ans 45
4) 1,8,27,64,125,.....ans (216)
simple questions were thr ...
section 2: numerical ability 15 questions 2 marks
each
all question were frm R.S aggrawal quant (go thru it
...most question were frm realted to train. and work
and man ...some r simple addition and division ...one
question was like that find the number of 1's in
binary representation of a given number )
i m giving the questions but they r not in any order
..ok

2) page 61 q.58
3) page 259 example 7
4) page 261 q.14
5) page 263 q.37
6) page 285 like example 6 may b same
7) page 300 like example 3 ''
8) page 306 q.45
9) page 323 example 3
10) question on remainder, quotient and divedend frm
ch-1 of R.S agg
11) 3500731-? = 1735618
just go thru train , work and time questions with thr
answer .....
section 3: thr were 10 questions on algo .5 marks each
...so solve this section first but don't waste much
time on it ....that was simple algo ..
mostly the option c or d was correct..i mean the
answer were either cccccccc or dddddd ..... not sure
now but may b c
q. 27 and q.35 were based on box and flow cahrt but do
it patiently and that will b solved easily .....but b
fast in doing the question ..as time was less

second paper was of English
consist of 25 questions THEY were very easy and the
time was 25 min ......just go thru each ques ......u
will solve it as they were based on correct
preposition and not the vocabulary ......

third round was INterview round
more emphasis was on HR ....
they ask abt the area of interest , give some puzzle
frm shakuntla devi and some general question ......the
environment was cool .....



so ALL THE BEST ...





__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail
--- End forwarded message ---

****************************************************************************
HUGHES
****************************************************************************
Source : iit k ( this paper is got from rookee and same is given in iitk)
Dated :25/08/97

section A 30m (Compulsary)
section B or C 20 m(changed )m
Attempt either B or C sec B contains CST
C E&C
Better to attempt Electronics paper
(Those who are having electronics background)
----------------------------------------------------------------------------
SECTION A

1. Which of the folowing is not correct
a. (x+y)'=x'.y' b. (x'+y')'=x.y
c. (x'.y')'=x+y d. (x'+y')'=x'.y' [d]

2. Question on logic ckt. U have to find the output
ans. AB'+CD'+EF'

3. Output of MUX
_________
c-----| |
c'----| |-------Y
c'----| | ans. A xor B xor C
c-----| |
---------
| |
A B (select lines)

4.If X and Y are two sets. |X| and |Y| are corresponding
coordinates and exact no.of functions from X to Y is 97
then
a. |X|=97 |Y|=1 b. |X|=1 |Y|=97
c. |X|=97 |Y|=97 d. .....

5. If two dies are thrown simultaneously what is the prob.
of one of the dice getting face 6 ?
a. 11/36 b. 1/3 c. 12/35 d. 1/36 [a]

6. The relation ,<,on reals is
a. a partial order because of symmetric and reflexive
b. ... antisymmetric and ....
c. not ...... .. asymmetric and non reflexive
d. ... .... not anti-symm and non reflexive

7. In C language the parameters are passsed by
a. values b. name c.referrence d....

8. Advantage of SRAM over DRAM
ans. faster

9. Diasy chaining related question (refer Z80)
a. uniform interrupt priority
b.non .... ....
c.interfacing slower peripherals
d.....

10. RAM chips arranged in 4X6 array and of 8kX4bit capacity
each. How many address lines reqd. to access each byte
a. 12 b. 16 c.15 d. 17

11.Question related to AVL trees regarding how many no.of
nodes to be changed to become balanced after addition of
a leaf node to a particular node.
ans . 3

12.When following sequence is insertedin the binary search tree
no.of nodes in left and right subtrees
52 86 64 20 3 25 14 9 85

13.Method used for Disk searching..
a.linked list b.AVL c.B-tree d. binary tree

14. Which of the following is correct statement.
a. 1's complement can have two zero re[resentations
b.2's ... ... represent an extra neg. number
c.2's & 1's have no difference in representing 16-bit no.
d.......

15. AX=B where A is mXn ,b&X are column matrices of order m
a. if m b.if m=n, rank of A c.... d....

16. The option avialable in C++, not C:
a.dynamic scoping
b.declaration in the middle of code block
c.seperate compiled and linked units
d. ....

17. int a[4]={1,2,3,4};
int *ptr;
ptr=a;
*(a+3)=*(++ptr)+(*ptr++);
A part of code is shown. The elements in A after
the execution of this code.
a.1 2 3 4 b. 1 2 3 6
c. compilation error d.1 2 2 4 [a]

18. Critical section program segment is
a. enclosed by semaphores with P & V operations
b. deadlock avoidance
c. where shared resources are accessed
d. ...


19. when head is moving back and forth, the disk scheduling
algorithm is _____
a) scan b) sstf c) fcfs d).....

20. how many times the loop will execute

LOOP LXI B,1526H
DCX B
JNZ LOOP
a)1526H times b) 31 c)21 d)38

21. the addressing mode in which the address of the operand is
expressed explicitly within the instruction
a)index addressing b)absolute c)indirect d) immediate

22. (A - B) U (B - A) U (A ^ C) = ?
where A,B are two sets A' , B' are compliments of A and B
a) A U B b) A ^ B c).... d).....

23. the network that does not use virtual circuit
a) IP b) X.25 c).... d).....

24. source routing bridge
a)source will route the frame
b)frame will routed with info in header
c).... d).....

26. cache access time 100 msec. main memory access time 800 msec
if the hit ratio is 95% , what is mean access time ...

27. the module that should be always reside in main memory is
a) loader b)link module c)... d)....

.... and some questions related to

1. addressing mode 2.assembler passes 3.linking and loading
4. file directory search 5. turning machine
6. finite state machine 7. daisy wheel

28. The order of algorithm to merge the two sorted lists of
lengths m and n is
a. O(m) b. O(n) c. O(m+n) d. O(log(m)+log(n))
29.A chocolate block is of 4 X 4 size.How many cuts are needed
to make 1 X 1 size blocks. No simultaneous vert. & horz. cuts.

30. Which among the following is not correct
a. O(n) > O(log n) .. likewise
-----------------------------------------------------------------------------

Ninna Huges companey iccadiki votchinadi. Vallu adigina questions lo conni
iccada istunnanu. Chigurupati prasad itchadu.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1. CSMA/Cd protocol used in
Ans : Ethernet
2. Checksum in IP packet is
Ans : Sum of the bits and 9's complement of sum
3. Inselective repeat Max Seq is given find windowsize
i.e. Ans : (15+1)/2 = 8
4. Main memory cache direct mapping
Ans : 64
5. Address lines and data lines for 4K x 16
Ans : Addr 12, Data 16
6. Infix to postsize commession uses
Ans : operator stack
7. Printing ofstatic variable
Ans : 11
8. Ans : 1,2,3,4 ( Program is given
array[0] = 1;
array[1] = 2;
array[2] = 3
array[3] = 4
ptr = array[0]
*(arr+3) = *(++array ) + *(array-1)++)
)
There may me some mistique in writing
the program. Check it out.
Answer is correct
9. One Question on Scheduling
Preemptive
10. Which of the following is not memory model
(1) buddy system (2) monitor (3) virtual ... etc.
11. Hight balancing AVC time
Ans : 3
12. Virtual to physical address mapping
page table given
13. regular expression of identifier
L(LUD)*
14. Simplification in boolean Algebra
Ans : xz
15. Logical gate is given we have to find what is that
Ans : NOR
16. Solution for Diriving philofphing
Ans : d
17. The feature C++ have and c donot have
Ans : Variables can be declared inside also.
18. Number of nodes with degree two in a binary tree of n leaves
Ans : n-1
19. Difference between syachronous and asynchronous transmission

20. The question on RS232
(Use of sfart bit in Rs 232 protocal)
21. Floating point representation
Ans : 2's complement
1 more negitive number
Two simple probability questions are also there

Section A : 30
Section B : 20

Total 50 questions in 1 hours
P.S. Paper may change. Delhi question paper is not given here.


HUGES
-----

> > (A)Aptitude :25 Qns, 20 Minutes
> >
> > 1. 2 x 4 analytical GRE type qns
> > 2. 2-3 Reasoning qns (GRE type)
> > 3. Probability of getting a sum of 7 when two dices are thrown together
> > 4. Rest quantitative questions
> >
> > (B) Technical: 50 Qns, 45 Minutes
> >
> > 1. 3 qns on operating systems. I qn on dijkestra algorithm
> >
> > 2. Using which pin it's possible to address 16 bit addresses even though there
> > are only 8 address bits in 8085? Ans: ALE
> > 3. Voltage gain for an amplifier is 100 while it is operating at 10 volts.
> > What is the O/P voltage wen i/p is 1 volt
> > 4. Quality factor indicates a0 Quality of inductor b) quality of capacitor
> > c) both
> > 5. Qns related to bridges, routers and generators, which OSI layer they
> > corresspond to. (Refer to stevens 4th chapter)
> > 6.OPAmp's I/P ciurrent, O/p current and CMRR is given, what is the voltage
> > gain
> > 7. 2-3 qns on scope of static variables in C. Qn to view o/p odf a C static
> > var
> > 8. Qn to print a value of a pointer
> > 9.resistance increases with temperature in a) Metal b) semiconductor
> > 10. A qn to find the physical address from a given virtual address, virtual
> > to physical address table was provided
> > 11. 16 bit mantissa and 8 bit exponent can present what maximum value?
> > 12. 4 bit window size in sliding window protocol, how many acknowledements can be held?
> > 13. Security functionality is provided by which layer of OSI
> > 14. Frequency spectrums for AM, FM and PM (figure given, u'veto tell which
> > Kind of modulation it belongs to)
> > 15. Among AM and FM which is better and why?
> > 16.LASt stage of TTL NAND gate is called: Ans: Totem Pole Amplifier
> > 17. SR to JK flip flop conversion. Ans: S=JQ', R=KQ
> > 18. LSB of a shift register is connected to its MSB, what is formed: Ans:
> > RING Counter
> > 19. 2-3 Qns based on Demorgan's laws (identiies: (A+b)' = A'b', etc)
> > 20. 2 qns on Logic gates (O/p of logic gates)
> > 21. Diff in IRET and RET statements of 8086
> > 22. How many address bytes are required to address an array of memory chips
> > (4 * 6), each chip having 4 memory bits and 8k registers.
> > 23. Diff. in memory mapped and I/P O/P mapped Input/Output (Refer a book on Microprocessor)
> > 24. Qn on pipeline architecture
> > 25 QN on LAPB protocol

Iam really sorry for responding so late.
I wanted to sit with your work but I could not ( because of some problems )
I remember very little about the Dharma test pattern.
There was an Apptitude test. Quantitative and Analytical.
The Quantitative is very easy. You should prepare from GRE or any CAT
Material.
The Analytical part is mostly from Barrons Guide. I remember two questions .
they are from Barron's guide. It is something about a village called "kaya-kaya
" where half the people speak truth and half lies. There was one more about set
of houses of itallian,germans,romman etc in a row whose chimmney colours were
given, their favoritr drinks were given. I hope you will find these questions
in Barron's guide. I did not get a Barron's guide to search them for you. The
interview was mostly about C , C++ . They are mostly working on C++. That will
help if you know. They are working on their own SQL. You should brush up your
fundas in DBMS. In interview there are questions in UNIX Internals also. Hope
this info is of some use to you. Good Luck. Keep me informed on the proceedings
of the campus.
Hughes paper:
total 50 questions (1 hour).
Paper is like GAte CS .

section A : compulsory for CS and Comm students.
section B : for CS only
section C : for comm only.


questions :

1. given a digital ckt with nand gates. 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.

7. proc() {

static i=10;
printf("%d",i);
}

If this proc() is called second time, what is the o/p Ans. 11

8. int arr[] = {1,2,3,4}
int *ptr=arr;

*(arr+3) = *++ptr + *ptr++;

Final contents of arr[] Ans. {1,2,3,4}

9. TCP/IP hdr checksum : what method is used ?
Ans. one's complement of sum of one's complement.

10. CSMA/Cd is used in which lan Ans. ethernet

11. 8085 pgm : LXI sp, 2021,
LXI b, 1234 (??)

push b

contents of stack after pushing ?

12. One question on synchronous transmission :

ans. Timing info is embedded in data itself
13. What for start bit is used in RS232 transmission.

14. One solution for deadlock prevention for dining philosopher's problem

Ans. Allow one person to take first left stick and then right stick
and remaining persons in reverse order.

15. 4bit seq no in sliding window protocol with selective repeat.
what is the max no. of acks that can be held at transmitter
ans. 8
16. given a height balanced tree. If we add one more node , how
many nodes gets unbalanced ? Ans. 3

17. Given a arbitrary pointer to an element in a singly linked list?
what is the time complexity for its deletion . Ans. O(n)
18. what is the diff b/n c and c++

a. dynamic scoping
b. nested switching
c. declaration of variables in any code block
d. separation of compilation and linking

Ans. c (??)
19. which one is false ?

a. 0 b. root of log(n) = O(log logn)
c. O(logn/100) = O(100 logn)
d. 2n not = O(n power k);

Ans. b or a. (??)
20. S->S+S; s->s*s; s->a

how many parse trees possible : a+a*a+a Ans. 5
21. 4-1 demultiplexer is to be implemented using a memory chip.
how many address lines and word length required Ans. 4, 1

22. Vector intr mechanism. in 8085.

Ans. fixed locations in memory when an intr comes.
23. ARP is used for : Ans. IP to MAC addr conversion.
24. given 100 to 999 nos. Probability of picking a no. with out
digit 7. Ans. 18/25.
25. Ten film rolls. 3 defective, prob. of picking up 2 defective
rolls with out replacement Ans. 6/90
26. The purpose of hashing is :
Ans. O(1) complexity

27. Given adjacency matrix for a directed graph with n vertices
and e edges. How much time will it take to find out indegree
of a vertex Ans. O(n)
28. No. of nodes of degree 2 in a binary tree with n leaf nodes.
Ans. n-1
This paper was contributed by Mr. Thejo Prakash pillai
I am thankful to him for this

This is HUGHES-99 paper
**********************************
It consist of two section part A and B or C
For CSE student part A & B is better.
Here i am writting some Questions from part A and B for CSE student
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
3

To sorting array of 10 elements which sorting is best
a)slection
b)bubble
c)tree sort
d)....
ans:a

4

To saving space paoint of view which sort is best
a)selection
b)insertion
c)both a & b
d)...
check it once.U Can easy Aanswer this question(UCA)

5
Which statement is wrong on heap
a)Any two childs should not same
b)..
c)..
d)...
ans:a
6)
one more question on heap

UCA

7
read about cyclometric complexity..
8

how many null pointer are there in N number binary tree
ans:N+1

9
Two sorted list of size n what are the maximum comparison in merge
ANs:2n-1
10
converting 41.685 to binary
11

pc is incremented while executing ---------- instruction
ans:fetch instruction

12

this is gates (NAND)problem
It means some gate figure has given with all NAND gate we have write
equavalent gate
ans:OR gate

13
x:validating :Are we producing product right
y:verification:Are we producing right right
a)X is wrong statement
b)y is "
c)x and Y "
d)x & y is right statement

14

NFS some queston in NSF.
see distibuted operation System book
by tenaun bamab
15.
IP & IPX is implemented in trasport layer.......
mama all our friends can answer this question .Here i am unable to recall
that question.If u a have any doubts on Ip & IPX contact HARI because he
did his project is B.Tech in that protocals

UCA
16

comparison between hashtable and binary tree
ans:a
UCA

17
client server is working in asyn mode then how communication will take place
bt client and server.

UCA
18
once context swithing occures then ------------will take place
a)saving register
b)saving stack
c)....
d).....
UCA

19
If precondition is failed what u say about postcondition?
Note:Read about preconditon and postcondition
20
whiling download java applete then web broswer do the folling
a)checking the class structure..
b)...c)....d).....
Read about this
21
Strings in Java
a)Mutable
b)variable length string
c)...
d)....
ans:b
22
in Internet Transprot layer which is not a protocol
a)/etc/host
b)TCP
c)UDP
d)...
UCA
23

Which is not specified in CODD's rules
a)....
b)....
c)...
d).....

It is from DBMS question
Refer NAVATHI BOOK chapter -9 appendx topic is CODDE's rules
24

what is the use of Normalization
a)....b)....c)...d)...
Any one can answer
25

Futional dependecy x->y is shows that
a)if x1=x2 then y1=y2
b)...c)...d)...
ans:a
26

one question on IP addsress 243.65.77.8 some thing
a)...b)..c)..d)...
every one can answer
27

If A sends a message to B with encryption then key is
a)A public key
b)B public key
c)A private key
d)B private key
ans:b (Check it once)
28

In a class only declaration of the function is there but defintion is not
there then what is that function
ans:virtual function

29
what is not necessary condition in dead lock
ans:a
30
One question from multible inheritance...
a)..b)..c)...d)......
31)
ICV protocal
i don't know about this mama .Till now i didn't heard that protocol
mama..just know what is that then u can answer this question

32

one question from catches like write-through protocal etc
33
catche access time is 100ns ,memory access time is 1000ns and hit ratio
is 0.9 then what is average memery access time
a)100ns
b)200ns
c)400ns
d)500ns
ans:b
***********************************************************************
Hai friends,
Here am sending 32 question remainings are some C questions and easy
i didn't remeber correctly,sorry.If do 30 question u can select easly.Then
remainning things are depend on ur interview.
HUGHES is not bother about ur GREE english etc it what Indepth at any field
of CSE.
I wishing that atleast 4 or persons will be slected in HUGHES from our
collge(N.B.K.R.S.T).
If u have any doubts at any aspect please ask me. I am praying GOD every our
will settle in good position with 10 or 15 days.
After our selection is competed we allwe meet in one place before our job
appointment
bye....
with love
kissr, Nayudupet.
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
3.machestor code does not improves
A. clock recovery
b. bandwidth efficiency
c.

4.possion distribution is used for
a. used in FSM
b.
c.used for queuing delay system of mutually identical events of arrival
d. both a and c
5. no.of filpflops for mod 11 counter
a.four
b.five
c.

6. no of comparators required for 4 bit parallel A/D comparator
a. 4
b. 16
c. 15
d. none

7. if even parity is used for parity generation, what is the
hamming distance
(simple fig is given)
ans:2
8. the code set is {00000,00111,11100,11011}
what is the error detecting and correcting capability?
ans:2,1

9. operational amp characteristics following is correct:
1. input impedance is 0
2. output impedance is infinity
3. input impedance is infinity
4. gain is infinity
which combinations are correct?

10. band pass signal having frequencies 2.5k and 4.5k?give the
sampling freq
a. 9k
b. 4k
c. 4.5k
d. 7k

11. defination of avalanche diode multiplication

12. more no of ripples are present in the diagram?which is correct
a. lower order filter
b. high order filter
c.

13. if CPU have one interrupt pin and on to connect with external
devices with some priority?
which type of the following is used?
a. parallel priority interrupt
b. daisy chain
c. RS filpflop
d.

14. one megabit file transfer, serially on 9600 baud one start bit and
two stop bits, then how much time it takes (approx)
a. 4 hours
b. 2 hours
c. 20 minutes
d. 2 minutes

15. IEEE 802.5 is
ans: TOKEN RING
16. Code sequence is given
what is the error correcting distance?

17. bit stuffing used in HDLC Protocol for
ans: b is correct(read on text book)
18.
19.
20.

section A AND B:(BOTH MIXED)
1. If "AaBbCc" is passed to the char

char x(*a)
{
a[0]?x(a+1):1;
printf("%c",a[0]);
return 1;
}
what will be the output?

2. f(*p)
{
p=(char *)malloc(6);
p="hello";
return;
}
main()
{
char *p="bye";
f(p);
printf("%s",p);
}
what is the o/p?
ans:bye

3. when the program counter is incremented in the instruction cycle
a. fetch cycle
b. int cycle
c. execuation cycle
d.

4. two sorted lists of n elements will take at least
fine the order of complexity?
a. 2n
b. n/2
c. square(n)

5. logic diagram is given? find the expression
ans: OR gate
6. question on JAVA string
ans: string ends without a null character
7. cache access time is 100ns. main memory access time is 1000ns, hit ratio
is .9, find mean access time?
ans :200ns
8. which is not suitable to find out IP address
ans:ARP
9. about deadlock condition
10. convert 41.6875 into binary
11. read about IP AND IPX
12. read about NFS
13. DHCP is
a. for routing
b. for network address conversion
c. for diagnosis
d.
14. execution phase can be
a. pipelined
b. no parallelism is possible
c. vector processing
d.

15. In public key algorithm , A wants to send message to B .....
which key is used
a. A public key
b. A private key
c. B public key
d. B private key

16. to prevent replay attacks in transmission
a. symmetric encoding
b. Asymmetric encoding
c. for every exchange, key should be changed

17. virtual functionality is used in C++
a. dynamic binding
b. if the derived func is present but base class not present
c.

18. if there are n nodes in a binary tree, how many null pointers are
there
ans:n+1;
19. if heap sort contains n elements, no of comparsions required are
a. log(n)
b. height of heap sort
c.
d.

20. question on ICV(integrity check)
21. which of the following is efficient in terms of space
a. insertion sort
b. quick sort
c. selection
d. both a and c

22. in 32 bit representation, the range of numbers in 2's complement
form
ans :-2 to the power of 31 to 2 to the power of 31 minus 1
23. about normalization
24. socket is implemented in TCP Layer. which of the following is
related to TCP layer
ans: port number
25. in reentrant procedure, which should be not used for passing
parameters?
a. passed by reg
b. by direct
c. by indirect
d. by stack
26. which is related to thread
a. separate switching reg
b. " stack
c. " address space
d.
27. flow control is used for
a. congestion at receiver
b.
c.
d.
28. 5 questions on DBMS are there
29. in global static variable , declartion in a file
a. localization of scope
b. persistance of the value through out the file
c.
d.
30. in sorted table contains elements , which of the searching is
false
a. hash table
b. binary searching

31. in demand paging overhead of context switching is more due to
a. copy processes from disk to memory
b. viceversa
c. to get associative table
d. swapping to the disk
32. when write through is better than write back(related to cache
memory)
33. which is false when normalization is used?can't express
34. I :verification: are we doing right product
II: validation:are we doing product right
a. I AND II ARE TRUE
b. I AND II ARE FALSE
c. I TRUE AND II FALSE
d. I FALSE AND II TRUE

35. A table contains less than 10 elements which one is fastest
a. bubble sort
b. selection sort
c. quick sort

36. about subroutine, precondition is false. what about post condition
a. post condition is not defined
b. post condition is always true
c.
d.

37. When static variables are used, which one of the following is
not possible?
a. dynamic run time
b.
c.
38. in product of x and y,

if(x=0|y=0)
y=1;
else
y=0;
(not cleared)
what is cyclometric complexity?
a. 3
b. 2
c. 1
d. 0

39. CREATE TABLE NEW AS SELECT BIG FROM EMP
The above SQL statement is correct or not?
(question is not cleared)
40. path testing is
a. white box
b. black box
c. installation test
d. environment test

41. program is given?



above algorithm represents what type of
search?
a. binary search
b. interpolation search
c. sequential search
d.
(may be "b" is correct);

42. if x->y in a relation R, x1 and x2 are in x, y1 and y2 are in y
(question not cleared), about functional dependancy
a.x1=x2 and y1=y2
b.
c.
43. in a down loading from website ,which one is correct?
ans: check the byte code and indicate the error, if any.
44. about UDP
one Address is given but that is not the state table
what will it do the packet
a. packet is discarded
b. packet is sent to ethernet server
c. packet is sent to other address
d.

45. in associated memory for fast accessing
which one is used
a. single linked list
b. double "
c. hash table
d.


******************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.
5- o/p of each sorting step of 8 elements was given and had to recognise which sorting algo.?
Ans. Bubble sort (Not Sure , Check it out )
6-In worst case ,which sort is best out of following sorts?
a.heap
b.selection
c.quick (ans.)
d. insertion
7-Three very simple gate circuits each having inputs A,B,C,D were
given and had to tell ,which two give same result ? (DeMorgan's Law was used in solving )
Ans was (a) &(c) (o/p of a & c was coming to be AB +CD)
8-K-map given,had to tell simplified function
Ans was perhaps AB+AD +AC+BCD

K-Map was
CD`
AB 0 0 0 0
0 0 1 0
1 1 1 1
0 1 1 1

9-What is Function Point ?
Ans. S/W estimation technique
10-p points to an integer. We don't want p to change value. In C, what declarations will we use?
A const int *p
b.int *p
c.int const *p
e. int* const p (perhaps ans.)
11-Diff between 2NF &3NF ?
Ans. D (last option)
12.Which does not use client server model ?
a. Email
b. Web access
c. C. Telephone call
d. N/w file system
13-In a pipeline having 3 stages, each having reliability of 0.9
,what is overall reliability of pipeline?
a. 0.9
b. 0.729
c. 0.81
14-2level cacheis there first level cache's access time is 100ns,second
level cache's access time is 33ns & memory access time is 1000 ns
. Wh at is total memory access time ?
ans. 140 ns
15-In public key cryptography,Awillsend message to B
ans. Using B's public key
16-What does projection of a relation give?
Ans.gives vertical partition of relation corresponding to specified columns.
17-For disk or direct access storage, which is best ?
a. AVL
b. B-tree
c. Red tape ...
18-There is a tree with inorder threading Node B is inserted as
left child of nade A. Node A already has right child . Where will the null ptr of B point ?
ans. Parent of A (perhaps)
19-There is a diskless workstation. Which will be the first protocol it will use ?
a FTP
b. ARP
c. HTTP
d. RARP
20-Compiler keeps which of following ?

ans. Symbol table
21- 'ping' command uses which protocol ?
ans. ICMP
22-Merge sort uses which technique?
Ans. Divide and Conquer
23-Program counter is incremented in
a. fetch (ans)
b. decode
c. execute
24-what does the following program do ?
f(int n)
{
int c;
while(n)
{
n&=n-1;
c++;
}
print c;
}
ans. Program prints the no. of set bits in no.
25-What is this called (char *) (*(*(*A[X]) ( ) )) ( )
ans. Array of X pointers to a function returning pointer to functions that are returning pointer to
char (not sure )
26- For synchronisation in distributed computing, what should not be there ?
a. all machines are synchronised by a global clock
b. all systems should have their own clock (perhaps ans)
27-Java applet of a moving /waving file is running on one machine then it means
a.Java's executable code is downloaded and running on the m/c
b.A virtual X server is running on that m/c while the actual program is running on the web server.
28-What is in RSA algo. ?
a. First the session key is encrypted & then whole message is encrypted using RSA Algo.
b. Message is encrypted using RsA algo.
c. First Rsa algo is used &then encrypted with the session key.
29-What is dirty read?
a. Transaction reexecutes and gives diff. Results from the original execution
b. Read is done when the transaction is not yet committed

30-What is coupling ?
a. It tells the strength of interconnection between two program units.
b. It tells the strength of interconnection between twtrength of
interconnection between two program units.
b. It tells the strength of interconnection between twwwtrength
of interconnection between two program units.
b. It tells the strength of interconnection between twwwo program units and one program unit
31-Any n/w on the computer can have only
a. one domain &one IP
b. more than one domain & more than one Ip
c. one domain and more than one IP
d. more than one domain & one IP
32-Which one does not have file descriptor ?
a. process
b. keyboard
c. pipe
d. socket
33-What does CONNECT BY means
a.connect to a different databaser for retreival
b.arrange in tree ordered structure
34-In two phase commit protocol, why log is used during transmission &reception ?
a. To retrieve the status in case of crash
35-In which algo. Waiting time is minimun?
Ans, SJF
36-How many address bits are there in Ipv6
ans. 128 bits
37-During run time heap is managed by
a. a user process in kernel mode
b. A system process manages heap for all the processes
c. A system process for each process
d. A user process in user mode
38-In which of following search is efficient?
a. height balanced tree
b. Weight balanced tree
c. Binary tree
39.A ques. on resource relocation, sharing ( I don't remember more
than this regarding this ques.)
40-some ques. options were sth like
a. transparency control
b. Migration control
c. Concurrency control
41-X:In DFD, input is converted into output by passing through various functional units
Y:DFD cannot be used in object oriented design
a. both X& y are correct
b. both X & Y are incorrect
c. X correct, Y incorrect
d. Xincorrect, Y correct
42-Where regression testing is used ?
a. Dynamic analysers
b. Loaders
43-For Java interfaces , what is true ?
a. Functions declarations are not given'
b. Variables are not declared
c. Instance variables are not used
44-In a linked list, we can delete a node in order of
a. 1
b. n
c. n ^ 2
45-If there are N people and we have to do symmetric & asymmetric
cryptography, how many keys would
be used in these cases respectively?
a. N & N ^ 2 (probably ans)
b. N ^ 2 & N
c. N & N
d. N ^ 2 & N ^2
46-The protected element of a class can't be accessed by
a. member functions of the same class
b. member functions of the derived class
c. member functions of any other class in the same program (Ans.)
47-NFS uses same file structure as unix
48-To solve an expression which of following trees will you use
?
a. postfix
b. infix




> Here are some questions of Hughes software system computer part:-
>
> Q. 1 void x(char* a)
> {
> (a[0])?x(a+1):1;
> printf("%c",*(a+0));
> return 1;
> .........;
> }
> Input string 'a' is assigned as AaBbCc , what is the output?
> Ans.-cCbBaA
>
> Q2 a question on digital gates ANS is OR gate.
>
> Q3 what is the binary representation of 41.6785
>
> Q4 if the precondition for a subroutine does not hold then
> 1.postcondition does not hold
> 2.postcondition may or may not hold
> 3. ?
> 4. ?
> Q5. In java
> 1. java strings are mutable. And some other options on java strings
>
>
> Q6. Void f(char *p)
> {
> p = (char*)malloc(6);
> strcpy(p,"hello");
> }
> void main( )
> {
> char *p = "BYE";
> f(p);
> printf("%s",p);
> }
> ANS BYE
> Q7. A question on write through and write back algo.
> Q8. What is concerned with transport layer.
> Ans PORT.
> Q9. A server can work with ip and ipx protocol.how the server will
> determine to which protocol the incoming packet coresponds .
> Q10. For which purpose dhcp is used ANS ip address
> Q11 global vaariable defined as ststic will serve the purpose of ---
> Q12 Question on NFS ANS It uses the same semantics as unix for
> file system
> Q13. Program counter is incremented typically in which uses ANS fetch
> Q14 NO of NULL pointers in a tree with n leaf nodes ANS N+1
> Q15.thread take less time than process context Why? Ans. Address space is
> same.
> Q.16 Which algo is best for sorting 10 elements?
> Ans. 1> binary tree 2> selection 3> bubble 4> none
> Q.17 a question on ICV(networking)
> a) When A sends an ICV and message, B computes ICV , checks It with given
> ICV,and decodes Message
> b) Similar other
> Q.18 When server A sends a time request to server B, (time
> synchronization), and response becomes past, What does A do?
> a) resets its own clock
> b) resends time request again
>
> Q.19 in public key encryption what does A do such that It is not visible
> to others?
> a) A uses public key part of A
> b) A uses private key part of A
> c) A uses public key part of B
> d) A uses private key part of B
> Q.20 function dependency can be described as:
> Q.21 q. on findind cyclometric complexity of the given program
> 1> 7 2>5 3> 4 4> 0
> Q.22 Codd's rule related to database
> Q.23 path testing comes under
> A) white box
> B) black box
> Q.24 when an ip address is not in the computer adresss resolution file
> what does It do with that packet
> a)Ignores It
> c) sends It to default gateway
> d) sends It to ethernet server
> Q.25 execution divided in different stages then this is called ANS.
> Pipelining
> Q.26 in C the macros are
> ANS. converted in to inline code during preprocessing
> Q.27 X: verification means doing the right things
> Y: validation means doing things right
> a) both true
> b) both false
> c) one true one correct
> Q.28 void insert (key, r)
> Keytype key, data
> {
> if (n>=max)
> ERROR
> Else
> R[n++].key=k;
> Which is best?
> 1> sequential search
> Q.29 which is best for associative list searching?
> 1) single linked list
> 2) doubly linked list
> 3) hash table
> Q.30 A question based on SQL ?
> Q.31 which is not necessary condition for deadlock?
> 1> mutual exclusion
> 2> no preemption
> 3> is ANS.
> 4> Circular wait

/=====================================
>From Venky...
/+++++++++++++++++++++++++++++++++++++++++


questions.
==> 1. a processor has two level cache.Their access time (level1
and level2) is 100ns and 300ns respect.Memeory access time is 1000ns$
==> ans is 140 (b)
==> 2.diskless server uses
==> a rarp
==> b arp
==> c ftp
==> d.telnet
==> ans rarp
==> 3.which one of them is not a client server
==> e-mail
==> telephone
==> webserver
==> and one more
==> ans is e-mail or telephone.
==> 4.Which one is used to represent operations
==> infix
==> postfix
==> binarytree
==> and one more
==> ans binary tree
==> 5.one qustion was on private key and public key.The quest. was
if a wants to send a message to b that no one other that b should $
==> A private key
==> A public key
==> B private key
==> B public key
==> 6.compliers maintain
==> ans is symbol table
==>

/++++++++++++++++++++
>From Diwakar...
/+++++++++++++++++++++++

1) what a java interface not have ?
ans - instance variables
2) what is done with java code on a web-page
ans - downloaded and executed on ur pc
3) what is the order of deleting a node from a linked list given a ptr
to it
ans O(n) ( since u have to traverse the list to reach the prev.
node)
3) what is RSA
4) how can A send a messageto B so that B knows its from A
ans A uses his private key so that B can use A's public key
5) what is the best sort in worst case
ans heap sort
6) what is the given sorting
ans selection ( check it )
7) what can access protected memebers of a class
ans other classes of that program
8) what protocol is used by a machine to map an ip to hardware address
ans arp
9) what is the size of ipv6
ans 128 bits
10) what protocol has ping
ans icmp
11) how many keys are needed in symmetric and asymmetric crptography?
ans - i dont know
12) one on a right threaded tree
13) very easy k-map
ans i think its b)
14) very easy ckt
ans choice which has option : a&c are equivalent
15) what in unix doesnt have a fd
ans process ( this was the first ques ).





Regarding Hughes
paper they conducted two tests. Both were technical(no aptitude test).
First one was compulsory for everybody. In second one could opt for
electronics or computers. In all i suppose there were 50 questions.
I sent a request to my classmates to send me questions whatevery they
could recall. Till now only one person has responded. I am sending those
questions to you.

And just before interview you were supposed to fill up a performa which
they call Behavioural Test. This was to check you interpersonal skills and
socialising capabilities. Questions like - would you like to be elected
leaders of organising committees, do you like peoply express their agonies
to you, do you wish people be close to you type questions were repeated in
one and the other form.

Interview was technical as well as personal. CGPA did count - it seems.
They selected 8 people from here. BTW what's your current CGPA and what's
the strength of your class. Do they come for B.Tech and M.Tech separatel
as the case here is or it's all at once.

Questions :

1.If a precondition of a sub routine fails then
a. post condition fails as well
b. Post condition may fail
c. post condition is declared but now defined.

2. whatz the o/p of the following program

char * a= "AabbCc";
void x(char *a)
{
a[0] == 0 ? x(a+1):1;
printf("%c",*a);
return 1;
}
x(a);

a. AaBbCc
b. cCbBaA

3. What is DHCP used for?

4. There are 2protocols IP and IPX are running on top of Ethernet. Suppose
a packet addressed to that ethernt card arrives, to which protocol the
ethernet sends the packet?
1. It checks the payload of the frame and finds out the protocol type and
despatches it to the right protocol
2. It fins out the protocol type that is mentioned in the ethernet frame.
3. despatches to both the protocol

5. What is the use of global static variable in C?

6. In which stage of the compilation the Macro in C are converted into
Iline code? (this is not the exact Qn a slight variation of it)

7 In the IP/Ethernet network, a packet with destination address
192.32.65.70 arrives and there is no entry for this address in the routing
table of the m/c? what does the m/c do about the packe
a. discards the packet.
b. Brodacasts into the ethernet.
c. sends to default router

8. in Public key Encryption , if A wants to send a encrypted msg to B then
A encrypts the message with
a. A's public key
2. A Pvt key
c. B's public key
d. B's Pvt key

9. consider the SQL statement "Create table New as select * from oldtable"
a. the sql stament is a correct one
b. New is reservd word there is an error
c. you can't select anything while creating a table
10. By Codd's defn for RDBMS whih one is not right?
options , I don't remeber

11. If X and Y are two attriubutes of a relation and 1 and 2 be any two
tuples in that relation
Y is fuctionally dpndant on X iff (X->Y)

a. if (x1 == x2) then y1==y2
b. if (x1==y1) then x2 == y2
someother combinations

12.The normalization process
1.reduces the data redundancy
2.It reduces the inconsistency that arises due to the data redundancy


13. ((A nand A) nand (B Nand B)) = ?
a. A+B

The question was not exactly in this form. gates represented pictorilly

14. whtz the purpose of flow control?
1. to control errors
. to control congession the receiving end
3. to sequnce the out of sequence packets

15. Whic is false about Java strings
1. The are Null terminated
2. Set of Chars
3. The Condition checking == and = on a sme pair of strings gives
different results.

16. When a java Applet is downloaded what does it do?
Don't remeber the options
it's went something like this:
1. checks the magic nubmer


17. Whatz is the Cyclometic complexity of the following code
don't remember the code exactly

Some more questions...
======================

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 timete packet
reached A.A has to
a1:set the time on packet
b2:increment its time slowly so as to reduce deifference
c:send packets repeatedly till it gets a packet with time less tan the current time
d:....


2.which of the following protocols does not find mac address given internet address
a>arp
b.rarp
c....
d...

3.when an java applet get's downloaded what happens
a.the byte verifier checks the magic number
b...
c...
d...

4.when A wants to send a mesg to B using Public key cryptography he uses
a.A's public key
b.A's private key
c.B's public
d.B's private


5.how does a string in java differ from that of c/c++
a1.java strings are mutable
b.java strings does not have a \0
c.
d.

6.given str="AaBbCc"and a small c program
something like

a:b:( )

the program actually reverses the string recursively




7.some protocol SHDC

8.NFS server is similar to
a.provides similar sevices as unix
b.a file trans fer.....
c.just gets the file for reading..
d.


9.an address 202.15.46.45 is to be located.the machine does not have
info about 202.0.0.0 or 202.15.0.0 0r 202.15.46.0
so the DNS server willl now


a.discard the packet
b.send the mesg to a default server if available
c.send mesg to a DNS server if available
d......

10.verification:"are u building the right product"
validation:"are we building the product right"

a.both are wrong(ans)
b.both are correct
c.first wrong second correct
d.first correct second wrong

11.A:"cohesion is a desirable property"
B:"cohesion means the property that the entire unit is one......"

a.both are correct
b.both are wrong
c.first wrong second correct
d.first correct second wrong


12:definition of functional dependency.

13:which of the following does not use extra memory
a.....
b.insertion sort
c.shell sort
d.both b and c.

14:which of the following is better for ten elements

a.bubble sort
b.selection sort
c.quick sort
d......


15.the memory reference time for cache is 100 ms and for memory is 1000ms
.the probalility of a hot is .9.the average memory access time is
a:100
b:200(ans)
c:500
d:1000


16.a question on socket numbers

17there is an ordered binary tree and an index structure
a.we can use ordbintree without ordering
b.orb are used with ordering where as indexing canbe done without ordering
c.indexing uses extra memory
d......

18.there is ethernet protocol and ethernetIPstack in MAC sublayer
when an address has to be found which is used



Some more questions:

====================



A question on multi threading!
It has got a PC, register space kind of options.

A question on NFS.
a. doesn't allow read.
b. it is just like Unix file system.
c. After the file is opened, the whole file os transferred to the client
d. there is no state information maintained.

What takes maximum time in a context switch.
a. saving registers.
b. address space switching.
c. flushing the TLB
d. getting the new process inside the memory.

1.If a precondition of a sub routine fails then
a. post condition fails as well
b. Post condition may fail
c. post condition is declared but now defined.

2. whatz the o/p of the following program

char * a= "AabBCc";
void x(char *a)
{
a[0] == 0 ? x(a+1):1;
printf("%c",*(a+0));
return 1;
}
x(a);

a. AaBbCc
b. cCbBaA

3. What is DHCP used for?
Assignment of IP addresses.

4. There are 2protocols IP and IPX are running on top of Ethernet. Suppose
a packet addressed to that ethernt card arrives, to which protocol the
ethernet sends the packet?
1. It checks the payload of the frame and finds out the protocol type and
despatches it to the right protocol
2. It fins out the protocol type that is mentioned in the ethernet frame.
3. despatches to both the protocol

5. What is the use of global static variable in C?

6. In which stage of the compilation the Macro in C are converted into
Iline code? (this is not the exact Qn a slight variation of it)
pre-processing stage.

7 In the IP/Ethernet network, a packet with destination address
192.32.65.70 arrives and there is no entry for this address in the routing
table of the m/c? what does the m/c do about the packe
a. discards the packet.
b. Brodacasts into the ethernet.
c. sends to default gateway
d. sends to the server

8. in Public key Encryption , if A wants to send a encrypted msg to B then
A encrypts the message with
a. A's public key
2. A Pvt key
c. B's public key(Answer)
d. B's Pvt key

9. consider the SQL statement "Create table New as select * from oldtable"
a. the sql stament is a correct one
b. New is reservd word there is an error
c. none
d. new should come within quotes.

10. By Codd's 14 rules for RDBMS whih one of following is not right?
a. null values r not defined.

11. If X and Y are two attriubutes of a relation and 1 and 2 be any two
tuples in that relation
Y is fuctionally dependant on X iff (X->Y)

a. if (x1 == x2) then y1==y2
b. if (x1==y1) then x2 == y2
someother combinations

12.The normalization process
1.reduces the data redundancy
2.It reduces the inconsistency that arises due to the data redundancy


13. ((A nand A) nand (B Nand B)) = ?
a. A+B

The question was not exactly in this form. gates represented pictorilly

14. whtz the purpose of flow control?
1. to control errors
. to control congession the receiving end
3. to sequnce the out of sequence packets

15. Whic is false about Java strings
1. The are Null terminated
2. Set of Chars
3. The Condition checking == and = on a sme pair of strings gives
different results.

16. When a java Applet is downloaded what does it do?
Don't remeber the options
it's went something like this:
1. checks the magic nubmer

17. Whatz is the Cyclometic complexity of the following code
don't remember the code exactly

Thaz all I rember.




1-N keys to be sorted using n space,which algo?
a. insertion
b. shell
c. both insertion and shell (ans)
d. quick

2-Heap doesn't have following property ?
a. smallest element is at leaf
b. two elements cannot be the same. (ans)
c. height of heap is logn
d.

3-searching time is min. in
a. Hash

4-To sort 10 values, which sort will you use ?
a. bubble (ans)
b. quick
c. binary tree
d. All the above

5-A has to send message toB
ans. A will use B's public key

6-a ques on NAND gates (perhaps same as that in DCE)
a figure was given like
(A nand A ) nand (B nand B)
ans- A or B


7- F(char *p)
{
p=(char*)malloc(6);
strcpy(p,"hello");
}
main()
{
char*p;
p="bye";
f(p)
printf("%s", p);
}

ans- bye

8-In Asynchronous transmission
a) client sends a request and then waits for response....
b. client send a request and then continues with work without expecting a response
c. client sends a request and the continue with work and reacts
for the response when it comes (ans)
d.

9-DHCP is
a. assigning IP addresses

10-Ethernet LAN has IP &IPX protocol at the network layer, a packet comes from some other host.
a. it will not give packet to any layer
b. it will check the data field in the frame for the protocol type and send it accordingly
c. it will check the protocol field for the protocol type and send the frame accordingly (ans)

11-verification:Are we building the right product?
Validation:are we building the product right?
Ans. Both are wrong.


12- Normalisation


13-
char *p="AaBbCc"

int x(char*p)
{
p[0] ? x(a+1):1;
printf("%c",*a);
return 1;
}
ans cCbBaA

14-in line expansion of macros happens in preprocessing stage of compiler

15-when is Write through is better from write back in terms of cache.
a. single cache less instructions (ans)

16. if the compiler gives static allocation for a program then which is not possible
a. Dynamic binding
b. Recursion (ans)
c. Indirect address loaction
d. Direct address location


17-which of the following will have minimum thread switching overhead;
a. INET domain sockets
b. UNIX domain sockets
c. shared memory variables (ans)
d.

18-what is the cyclometric complexity of the following code

if(x==0 or y==o)
{
...
}
else
{
....
while(...)
{
..
..
}
}
a. 3
b. 4
c. 7d Noneof these

19-41.6375->convert into binary

20-binary tree has how many null pointers ptrs
a. n
b. n+1 (ans)
c. 2n


21- No of comparisons in the worst case in Merge sort
a. 2n
b. 2n-1 (ans)
c. 2n-2
d. 2n+1

22-path testing
a. black box
b. white box(ans)

23. Which of the following is true for NFS.
a. It is stateless. (ans)

24-ICV ques

25- A client wants to synchronise it clock with the server over
TCP but the reply packet send time that is already past then what will it do
a. Client will immediately set its clock to the recieved time
b. Client will ignore the reply.
c. Client will repeatedly send the time requests till the time received is longer than its clock.
26-How control in tCP is when
ans congestion .....

27- In order to have a assembly language procedure reentrant what will be done.

28-program counter incremented in which stage.
a.Fetch

29-ordered binary tree & hash -which is better

30-time server

31-why does dram need refreshing periodically.
a. it contains flip flops
b. its charge gets depleted due to memory read
c. its charge gets leaked (ans)

32- some insert algoritms given like
insert(...)
{
..
}
where is it used.
a. binary search
b. interpolating search
c. sequential search

33- In context switching which of the phases takes longer time
a. flushing the translation lookaside buffer
b. swapping out the process to the disk
c. saving the registers
d. loading the new process from the disk (ans)

34- the use of static declaration for external variables
a. localising scope (ans)
b.

35- .If a precondition of a sub routine fails then
a. post condition fails as well
b. Post condition may fail
c. post condition is declared but now defined.
d. post condtion never fails (ans)

36 9. consider the SQL statement "CREATE TABLE NEW AS SELECT * FROM EMP"
a. the sql stament is a correct one (ans)
b. New is reservd word there is an error
c. you can't select anything while creating a table
d. NEW should have been in quotes


37- If X and Y are two attriubutes of a relation and 1 and 2 be any two
tuples in that relation
Y is fuctionally dpndant on X iff (X->Y)
a. if (x1 == x2) then y1==y2 (ans)
b. if (x1==y1) then x2 == y2
someother combinations

38- Whic is false about Java strings
1. The are Null terminated (ans)
2. Set of Chars
3. The Condition checking == and = on a sme pair of strings gives
different results.

39- When a java Applet is downloaded what does bytecode verifier do
a. checks the magic nubmer (ans)
b. checks the bytecode whether it has been written properly
c.

40- given a domain name which of the following does not find the IP address
a. /etc/hosts
b. ARP (ans)
b. RARP
c. DHCP

41- an packet for address 202.15.46.45 is to be sent.the machine does not have
info about 202.0.0.0 or 202.15.0.0 0r 202.15.46.0. so what will be done

a.discard the packet
b.send the mesg to a default gateway if available (ans)
c.send mesg to a DNS server if available
d......

42- A:"cohesion is a desirable property"
B:"cohesion means the property that the entire unit is one......"

a.both are correct (ans)
b.both are wrong
c.first wrong second correct
d.first correct second wrong

43- the memory reference time for cache is 100 ms and for memory is 1000ms
.the probalility of a hot is .9.the average memory access time is
a:100
b:200(ans)
c:500
d:1000

44- what do you use when you want to have differnt phases of instruction
to get exedcuted in different units
a. pipeline (ans)

45- By Codd's rules for RDBMS whih one of following is not right?
a. null values r not defined
b. Integrity constraints are placed in separate files (ans)






Top 10 Interview Tips OF Hughes:
================================

Here are the 10 most commonly asked questions in the job interview, which will
help you prepare yourself better for the forthcoming campus placement and also
give you a competitive edge over others.

A well thought out answer to these questions, prepared and rehearsed in
advance with the logical sequencing of the events will help you sail through.

1. Tell us about yourself

This is an open canvas for you giving you an opportunity to direct and lead
your interview in the direction you want. Good idea will be to structure your
answer in the following three broad heads:
Family Background
Educational Background (starting from schooling to
professional qualifications)
Achievements

In all the above subheads speak only that information which will give strength
to your candidature. Avoid verbose description of yourself.

2. Why do you want to join us?

To answer this question, you must have researched the company well. Here you
can quote some of your personal beliefs, which are in conjunction with the
values of the company or talk about specific products and services which could
be your professional interest too.

In the event where your skill set is mapping with the requirement of the
company, do not miss the chance to highlight the same. Specify the initiatives
taken or work done to attain that skill set.

3. What would you like to be doing five years from now?

This question is asked to assess candidates career plan and ambition for
growth and to see if the company will be able to provide that opportunity over
period of time. Also to assess if your personal goals are not totally off
tangent with what companys objectives are. It is also to check your stability
with the organization. It is good idea to be very realistic in your answer. If
need be take guidance from your seniors who are already in the corporate
environment.

4. Do you prefer working with others or alone?

This question is usually asked to determine whether you are a team player.
Before answering, however, be sure you know whether the job requires you to
work alone. Then answer appropriately.

5. What are your biggest accomplishments

You may like to begin your reply with: "Although I feel my biggest
achievements are still ahead of me, I am proud of my involvement withI made my
contribution as part of that team and learnt a lot in the process". It will
be a good idea to close your answer with also specifying what attributes and
circumstances made you succeed.

6. What are your favorite subjects

It is a leading question giving direction to the panel members for possible
areas where they can probe in further for your knowledge base and in depth
understanding. It is advisable to select the topics that you are competent in.

7. Why should we hire you?

Keep your answer short and to the point. You should highlight areas from your
background that relates to the need of the organization. Recap the
organizations description of the job, meeting it point by point with your
skills.

8. What are your hobbies?

This question is generally asked to assess whether you are "desktop" kind of a
person or an "interaction orientated person". It also indicates your
preference for team - oriented activities or projects with solo contributions.
It enables the organization to place you accordingly after selection. Be
candid with your answer.

9. What is the worst feedback you have ever got?

To answer this question you must admit and share your areas of improvement.
Also sharing an action plan for improving oneself will indicate your ability
to take criticism well. Your answer should be reflection of your
open-mindedness.

10. What is the most difficult situation you have faced?

Here you should be ready with the real life story. The question looks for
information on two fronts: How do you define difficult? and, what was your
handling of the situation? You should be able to clearly lay down the road map
for solving the problem, your ability to do task management and maintain good
interaction with your team members and other peers. It is advisable to close
with highlighting the learning out of the incident.

Interview tips-
==> 1.Family background.
==> 2.Ur interest.Say only the things u know.Sometimes they can
ask wayward questions regarding ur project so be prepared for that.
==> 3.U should have fair idea abut the sub. mentioned in ur resume.
==> 4.If u don't know anything say NO.
==> 5.Try to get stuck in the topic which u know thoroughly.Like
one of my friends got stuck in tcp/ip networking and he got thru.
==> 6.In our college four groups were taking interview so some of
us were unlucky as the judgement varies.
==> 7.Why do u want to join hughes.For this get the answer from their ppt.
==> 8.If ur given a project in some other field would u work.Say
yes i would try to succeed in every task assigned to me.
==> 9.They can ask u to write some algo in datastructure like bubble sort ,quick sort etc.
==>
==> Mostly the technical questions varied from person to person
but generally was concerning their project.Unfortunately they asked m$
==>



About hss - for us
the interview was basically on summer project , networking - routers /
congestion control in tcp etc, some os fundas .HR part was a modified
version of the stuff on the web site - strength/weakness,can u work in
a gp, do u have problems asking ques to ppl, ur future plans , gre .
i think i didnt get it bec. i told them that i plan to do an ms.

books
1. Quantitative apt from RS agarwal
2. Verbal and non verbal reasoning by RS AGARWAL

Only aptitude test is there.


paper contain

3-part

1.quantitative

2.reasoning

3.again quantitative type

total 20+13+12 question = 45 Q's
-----------------------------------

no negative marking and time 45 minute
======================================


pattern of questions
====================

1.first qestion on figure which is easy only one question in paper.(c)

2.1 1 2 3 5 ......
ans:8

3.odd man out - 10 ques from(1)

4. Code for ABCDE is KLMN then code for BEC is ?

5. Array has N elements . To reverse it the subscript should be ?
hint A(N-I) , I=0,1,....

6. There r 800 coins and 1 is of lesser weight . Identify it ?
hint : divide by 2. anad compare .. binary tree

7. Question on permutation and combination like- five alphbets r there , one is
repeating 2 times. its probability?

8. Questions like . A>B, B>C.... find relation b/n others

9.A programme has a complexity of n at the first stage and n^2 in the
second stage and n^3 in the third stage.find overall complexity ?
Ans: n^3(highest)
10. 5 questions on veinn diagram from book (2)

11. 2 questions on relations.

12. Code for MEN is 13-5-14 and TEN . Code for QUIZ is ...
hint : ( code for letter is its order ie for E-5.


13:reasoing:in question 5 dish and 3 drink is given and some codition
is give like
1.you will not take coffee and tea both
2.doctor advise you not to take some two dish given.
and like two more condition is given
a:which drink alwayes taken by person
ans:orange juish.

this is easy question.

14:second reasoinig question is like jone in rank above david and like
3 to 4 statment is give.
and question is like.
1.who is at higest rank.
2.if merry is at rank 3 than the rank of david.
this type question you can find in many book.
Some more q's ( from Delhi )
==============


hi friends
there are three section . there are 44 question in all three section .the time is 45 mainutes.it$

section I -20 question.
section II-11 question . it is GRE resoning .you can easyly do these section.
section III-13 question

there is no time limitatioin in individual section .so do not bothere for that.


1. there is question on figure .it is easy.

ans d) correct 2. there are 1800 coins .one soin is defective in that .in
how many minimum times you can find that the coin is defective.

a)11
b)9
c)7
d)2


3. there are two kind of professonal in a company software & personal.if the
personal are 15% of the total .a party is going .in a party if 50% of the
total professonal left and all are s/w then what is the ratio of the s/w
professonal left to total software professonal.

ans b) 10/17 4. what is the probebility of the talking out two card one
king and one quene of black in a card packet.

ans d) 1/663 (ckeck)

5.1 1 2 3 5 ... 13
ans 8

6.there are two more question of series .they are easy.

7.there are two question of coding and decoding.they are also easy.

8.how many word are be formed by by a 5 alphbet ward in which one word is
twice.(I don't rembere the exact word)
ans 60 (correct0

9.there is one question on price rise and fall .
ans 1% decrese in price.

10. 1,7,17,31,--,71
ans 49
section II

in this there are easy question on reasoning like GRE .




hi friends
there are three section . there are 44 question in all three section
.the time is 45 mainutes.it is suffucent.

section I -20 question.
section II-11 question . it is GRE resoning .you can easyly do these section.
section III-13 question

there is no time limitatioin in individual section .so do not bothere for that.


1. there is question on figure .it is easy.

ans d) correct
2. there are 1800 coins .one soin is defective in that .in how
many minimum times you can find that the coin is defective.

a)11
b)9
c)7
d)2


3. there are two kind of professonal in a company software & personal.if
the personal are 15% of the total .a party is going .in a party if 50% of the total
professonal left and all are s/w then what is the ratio of the
s/w professonal left to total software professonal.

ans b) 10/17
4. what is the probebility of the talking out two card one king
and one quene of black in a card packet.

ans d) 1/663 (ckeck)

5.1 1 2 3 5 ... 13
ans 8

6.there are two more question of series .they are easy.

7.there are two question of coding and decoding.they are also easy.

8.how many word are be formed by by a 5 alphbet ward in which one
word is twice.(I don't rembere the exact word)
ans 60 (correct0

9.there is one question on price rise and fall .
ans 1% decrese in price.

10. 1,7,17,31,--,71
ans 49
section II

in this there are easy question on reasoning like GRE .
I don't remember the passage and question.there are 11 question
in this

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

3)size of(int)
a) always 2 bytes
b) depends on compiler that is being used
c) always 32 bits
d) can't tell

4)which one will over flow given two programs
2
prog 1: prog2:

main() main()
{ {
int fact; int fact=0
long int x; for(i=1;i<=n;i++)
fact=factoral(x); fact=fact*i;

} }


int factorial(long int x)
{

if(x>1) return(x*factorial(x-1);
}

a) program 1;
b) program 2;
c) both 1 &2
d) none

}

5) variables of fuction call are allocated in
a) registers and stack
b) registers and heap
c) stack and heap
d)

6)

avg and worst case time of sorted binary tree


7) data structure used for proority queue
a) linked list b) double linkedd list c)array d) tree

8)

main(){
char str[5]="hello";
if(str==NULL) printf("string null");
else printf("string not null");
}
what is out put of the program?
a) string is null b) string is not null c) error in program d) it executes but p
rint nothing



9)there are 0ne 5 pipe line and another 12 pipe line sates are there and flushed
time taken to execute five instructions

a) 10,17
b) 9,16
c)25,144
d)


10)

for hashing which is best on terms of buckets
a)100 b)50 c)21 d)32 ans 32

11)


void f(int value){
for (i=0;i<16;i++){
if(value &0x8000>>1) printf("1")
else printf("0");
}
}
what is printed?
a) bineray value of argument b)bcd value c) hex value d) octal value

12)


void f(int *p){
static val=100;
val=&p;
}
main(){
int a=10;
printf("%d ",a);
f(&a);
printf("%d ",a);
}
what will be out put?
a)10,10

13)

struck a{
int x;
float y;
char c[10];
}
union b{
int x;
float y;
char c[10];
}
which is true?
a) size of(a)!=sizeof(b);
b)
c)
d)

14)


# define f(a,b) a+b
#defiune g(c,d) c*d

find valueof f(4,g(5,6))
a)26 b)51 c) d)

15)

find avg access time of cache
a)tc*h+(1-h)*tm b)tcH+tmH

c) d) tc is time to access cache tm is time to access when miss occure

16)

main()
{
char a[10]="hello";
strcpy(a,'\0');
printf("%s",a);
}
out put of the program?
a) string is null b) string is not null c) program error d)

17)

simplyfy k map

1 x x 0
1 x 0 1

18)

int f(int a)
{
a=+b;

//some stuff


}

main()
{
x=fn(a);
y=&fn;
what are x & y types
a) x is int y is pointer to afunction which takes integer value



19) char a[5][15];
int b[5][15];
address of a 0x1000 and b is 0x2000 find address of a[3][4] and b[3][4]
assume char is 8 bits and int is 32 bits

a) b) c) d)

there are 20 questions all in techinical paper and 36 questions in appititude te
st

in appititude thay have given all diagrams and asked to find what comes next

thay are quite easy and i hope if u practice r.s aggraval u can do it easily

for tecnical thay have given 1 hr for 20 questions and for not technical thay ha
ve given only 40 min
and 36 questions

this is the paper i have right now

1. main()
{
fork();
fork();
fork();
printf("\n hello");
}

How many times print command is executed?

2.main()
{
int i,*j;
i=5;
j=&i;
printf("\ni= %d",i);
f(j);

printf("\n i= %d",i);
}

void f(int*j)
{
int k=10;
j= &k;
}

output is
a 5 10
b 10 5
c 5 5
d none

3.
some question on pipeline like you have to findout the total time
by which execution is completed for a pipeline of 5 stages.

4.

main()
{
int *s = "\0";

if(strcmp(s,NULL)== 0)
printf("\n s is null")p
else
printf("\n s is not null");
}

5.
some syntax which returns a pointer to function

6. size of integer is
a. 2 bytes
b 4 bytes
c. machine dependant
d compiler dependent.

7.max and avg. height of sorted binary tree

a. logn n
b n logn

8.
some question. like the number was shifted everytime by one and bitwise and with 10000000.
one was supposed to find what the code was doing.
I feel the answer was most probably finding decimal value.

9. int a[5][4]
int is 2 bytes base address for array is 4000(Hexa)
what will be addr for a[3][4]?
int is 4 bytes same question.

10.
implementation of priority queue
a. tree
b linked list
c doubly linked list.
1. given a digital ckt with nand
gates. 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.
7. proc() {
static i=10;
printf("%d",i);
}
If this proc() is called second time, what is the o/p
Ans. 11
8. int arr[] = {1,2,3,4}
int *ptr=arr;
*(arr+3) = *++ptr + *ptr++;
Final contents of arr[]
Ans. {1,2,3,4}
9. TCP/IP hdr checksum : what method is used ?
Ans. one's complement of sum of one's complement.
10. CSMA/Cd is used in which lan
Ans. ethernet
11. 8085 pgm : LXI sp, 2021,
LXI b, 1234 (??)
push b
contents of stack after pushing ?
12. One question on synchronous transmission :
ans. Timing info is embedded in data itself
13. What for start bit is used in RS232 transmission.
14. One solution for
deadlock prevention for dining philosopher's problem
Ans. Allow one person to take first left stick and then right stick
and remaining persons in reverse order.
15. 4bit seq no in sliding window protocol with selective repeat.
what is the max no. of acks that can be held at transmitter
ans. 8
16. given a height balanced tree. If we add one more node , how
many nodes gets unbalanced ?
Ans. 3
17. Given a arbitrary pointer to an element in a singly linked list?
what is the time complexity for its deletion .
Ans. O(n)
18. what is the diff b/n c and c++
a. dynamic scoping
b. nested switching
c. declaration of variables in any code block
d. separation of compilation and linking
Ans. c (??)
19. which one is false ?
a. 0s*s; s->a
how many parse trees possible : a+a*a+a
Ans. 5
21. 4-1 demultiplexer is to be implemented using a memory chip.
how many address lines and word length required
Ans. 4, 1
22. Vector intr mechanism. in 8085.
Ans. fixed locations in memory when an intr comes.
23. ARP is used for : Ans. IP to MAC addr conversion.
24. given 100 to 999 nos. Probability of picking a no. with out
digit 7.
Ans. 18/25.
25. Ten film rolls. 3 defective, prob. of picking up 2 defective
rolls with out replacement
Ans. 6/90
26. The purpose of hashing is :
Ans. O(1) complexity
27. Given adjacency matrix for a directed graph with n vertices
and e edges. How much time will it take to find out indegree
of a vertex
Ans. O(n)
28. No. of nodes of degree 2 in a binary tree with n leaf nodes.
Ans. n-1

No comments:

Post a Comment