HCL SYSTEM SOFTWARE PAPER: 60 qs; 90 min. (4 sections) ******************************
section 1
1.which of the following involves context switch,
a) system call b)priviliged instruction c)floating poitnt exception d)all the above e)none of the above
ans: a
2.In OSI, terminal emulation is done in
a)semion b)appl.. c)presenta d)transport
ans: b
3…...... 25MHz processor , what is the time taken by the instruction which needs 3 clock cycles,
a)120 nano secs b)120 micro secs c)75 nano secs d)75 micro secs
4. For 1 MBmemory no of address lines required,
a)11 b)16 c)22 d) 24
ans: 16
5. Semafore is used for
a) synchronization b0 dead-lock avoidence c)box d) none
ans : a
6. class c: public A, public B
a) 2 member in class A,B shouldnot have same name b) 2 member in class A,C " '' '' '' c) both d) none
ans : a
7. question related to java
8. OLE is used in
a)inter connection in unix b)interconnection in WINDOWS c)interconnection in WINDOWS NT
9.No given in HEX ---- write it in OCTAL
10.macros and function are related in what aspect?
a)recursion b)varying no of arguments c)hypochecking d)type declaration
11.preproconia.. does not do one of the following
a)macro ...... b)conditional compliclation c)in type checking d)including load file
ans: c
SECTION B
__________
1.enum day = { jan = 1 ,feb=4, april, may} what is the value of may?
a)4 b)5 c)6 d)11 e)none of the above
2.main { int x,j,k; j=k=6;x=2;
ans x=1 x=j*k; printf("%d", x);
3. fn f(x) { if(x<=0) return;
ans fn(5) ....? else f(x-1)+x; }
4. i=20,k=0; for(j=1;j<i;j=1+4*(i/j)) {k+=j<10?4:3; } printf("%d", k);
ans k=4
5. int i =10 main() { int i =20,n; for(n=0;n<=i;) {int i=10 i++; } printf("%d", i);
ans i=20
6. int x=5; y= x&y ( MULTIPLE CHOICE QS)
ans : c
7. Y=10; if( Y++>9 && Y++!=10 && Y++>10) printf("........ Y); else printf("".... )
ans : 13
8. f=(x>y)?x:y
a) f points to max of x and y b) f points to min of x and y c)error d) ........
ans : a
9. if x is even, then (x%2)=0 x &1 !=1 > x! ( some stuff is there)
a)only two are correct b) three are correct c), d) ....
ans : all are correct
10. which of the function operator cannot be over loaded
a) <= b)?: c)== d)*
ans: b and d
SECTION.C (PRG SKILLS)
----------------------- --------
(1) STRUCT DOUBLELIST { DOUBLE CLINKED INT DET; LIST VOID STRUCT PREVIOUS; BE GIVEN AND A PROCEDURE TO DELETE STRUCT NEW; AN ELEMENT WILL BE GIVEN } DELETE(STRUCT NODE) { NODE-PREV-NEXT NODE-NEXT; NODE-NEXT-PREV NODE-PREV; IF(NODE==HEAD) NODE } IN WHAT CASE THE PREV WAS
(A) ALL CASES (B) IT DOES NOT WORK FOR LAST ELEMENT (C) IT DOES NOT WORK FOR-----
(2) SIMILAR TYPE QUESTION ANS: ALL DON'T WORK FOR NON NULL VALUE
(3) VOID FUNCTION(INT KK) { KK+=20; } VOID FUNCTION (INT K) INT MM,N=&M KN = K KN+-=10; }
SECTION D
---------------
(1) a=2,b=3,c=6 c/(a+b)-(a+b)/c=?
(2) no.rep in hexadecimal, write it in radiv 7
(3) A B C D E * 4 ---------- find E
ANS: 13 E D C B A ------------
(4) GRE-MODEL TEST-1, SECTION-6(19-22)
(5) M HAS DOUBLE AMOUNT AS D, Y HAS RS. 3 MORE THAN HALF OF AMOUNT OF D THE ORDERING A,B,C M C D C Y ANS:DATA INSUFFICIENT D C M C Y
(6)IN STASTIC MEN CAUSE MORE ACCIDENTS THEN ONE CONCLUSION
(A) MEN DRIVE MORE THAN ONCE (B) STASTICS GIVE WRONG INFORMATION (C) WOMEN ARE CAUTION THAN ME ANS; C(VERIFY) (D)-----ETC
(7) P,Q,R,S,T,U -SECURING GRANT;TWO TOURIST PARTIES AND THEN TWO SECURITY GAURDS SHOULD GO WITH EACH PARTY P AND R-ARE ENEMIES, Q DOES NOT GO SOUTH P&S-ARE WILLING TO BE TOGETHER THE TWO PARTIES MAY GO SOUTH&NORTH RESPECTIVELY AT ONE POINT EACH MAY PASS EACH OTHER THEN GAURDS CAN EXCHANGE 6 Q BASED ON THIS
(8)pq-r/s =2 what is q inference a,n&d
(a) a can do n units of work in strs,a&b can do n units of work in 2 hrs in how many hrs n units of work ans:3 hr 30 min p = (2s+r)/q ____________ main() { int var=25,varp; varp=&var; varp p = 10; fnc(varp) printf("%d%d,var,varp); }
(a) 20,55(b) 35,35(c) 25,25(d)55,55
[ c++,c,dbms interview] [fundamentals] this is new paper ________________________________________________________________________ application -software
____________________
part-1: 28-questions
(5)ingless ans:RDMS
(1)bit program-ans d
(2)c ans
(3)+ 0 ans
(4)00p--ans linking
(5)------
(6)-------
(9)25--45 even no. ans--10
(10) 10 <100 ---ans=n+9
three. I have answers for Q/A paper. For Q/C you should try for answers.
INFOSYS 1997. TIME 1hr.
PAPER CODE Q/A. marks 50.
--------------------------------------------------------------
1)At 6'o clock clock ticks 6 times. The time between first and last ticks was 30sec. How much time it takes at 12'o clock.
Ans. 66 sec. 2 marks.
2)Three friends divided some bullets equally. After all of them shot 4 bullets the total no.of remaining bullets is equal to that of one has after division. Find the original number divided.
Ans. x x x x-4 x-4 x-4 3x-12 = x x= 6
ans is 18 2 marks
3)A ship went on a voyage after 180 miles a plane statrted with 10 times speed that of the ship. Find the distance when they meet from starting point
Ans. 180 + (x/10) = x x = 20
ans is 180+20=200miles. 2 marks
4) Fill the empty slots. Three FOOTBALL teams are there. Given below the list of maches. played won lost draw Goals for Goals against A 2 2 *0 *0 *7 1 B 2 *0 *1 1 2 4 C 2 *0 *1 *1 3 7 the slots with stars are answers. 4 marks BC drew with 2-2 A won on B by 2-0 a won on C by 5-1 ( YOU HAVE TO FILL THE BLANKS AT APPROPRIATE STAR SYMBOLS.)
5) There are 3 societies a,b,c. a lent tractors to b and c as many as they had. After some time b gave as many tractors to a and c as many as they have. After sometime c did the same thing. At the end of this transaction each one of them had 24. Find the tractors each orginally had.
Ans a had 39, b had 21, c had 12, 4 marks
6) There N stations on a railroad. After adding x stations 46 additional tickets have to be printed. Find N and X.
Ans. let N(N-1) = t; (N+x)(N+x-1) = t+46; trail and error method x=2 and N=11 4 marks
7)Given that April 1 is tuesday. a,b,c are 3 persons told that their farewell party was on a - may 8, thursday b - may 10,tuesday c - june 8, friday Out of a,b,c one is only correct one of the regarding month,day,date. Other told two correct and the third person told all wrong.What is correct date,month,day. 5 marks
(ans may be MAY 10 SUNDAY. check once again)
8)There are 4 parties. df,gs,dl(depositloss),ew ran for a contest. Anup,Sujit,John made the following statements regarding results. Anup said either df or ew will definitely win sujit said he is confident that df will not win . John said he is confident that neither ew nor dl will win the result has come. only one of the above three has made a correct statement. Who has made the correct statement and who has won the contest. 5 marks.
(ans DL )
9)Five people a,b,c,d,e are related to each other. Four of them make one true statement each as follows. i) b is my father's brother. (ans. d said this) ii)e is my mother-in-law. ( b ) iii)c is my son-in-law's brother. ( e ) iv)a is my brother's wife. ( c ) who said each statement. 10 marks.
10) All members of d are also members of a All '' e '' d all '' c '' both a and b not all '' a are members of d not all '' d '' e Some questions on these conditions.(5questions 5 marks)
11) boys are allowed to watch football at c.v.Raman auditorium subjected to conditions.
i)the boy over age 16 can wear overcoat ii)no boy over age 15 can wear cap iii)to watch the football either he has to wear overcoat or cap or both iv) a boy with an umberella or above 16 or both cannot wear sweater. v) boys must either not watch football or wear sweater. What is the appearence of the boy who is watching football.
Try to solve this question................ ok!!!!!
infosys paper 1997.
paper code q/c.
------------------------------------------------------------------------
1) be * be = acb a,b,c,e are non zero numbers find b,e.
ans) b=1 e=9
2) a,b,c,d,e are having numerical values. there are some conditions given
a) a=c <===> b!=e > > b) difference between a and c as same as difference between c and b as same as difference between a and d c) c<a and c>d then find a,b,c,d,e
3) there are six cards in which it has two king cards. all cards are turned down and two cards are opened
a) what is the possobility to get at least one king. b) what is the possibility to get two kings.
4) a person went to a shop and asked for change for 1.15paise. but he said that he could not only give change for one rupee. but also for 50p,25p,10p and 5p. what were the coins he had
ans) 1-->50 4--->10p 1--->25p
5) there are 3 nurses and they work altogether only once in a week. no nurse is called to work for 3 consecutive days. nurse 1 is off on tueseday,thursday and sunday. nurse 2 is off on saturday. nurse 3 is off on thursday,sunday. no two nurses are off more than once a week. find the day on which all the 3 nurses were on work.
6) there are 5 persons a,b,c,d,e and each is wearing a block or white cap on his head. a person can see the caps of the remaining 4 but can't see his own cap. a person wearing white says true and who wears block says false.
i) a says i see 3 whites and 1 block ii) b says i see 4 blocks iii) e says i see 4 whites iv) c says i see 3 blocks and 1 white. now find the caps weared by a,b,c,d and e
7) there are two women, kavitha and shamili and two males shyam, aravind who are musicians. out of these four one is a pianist, one flutist, violinist and drummer.
i) across aravind beats pianist ii) across shyam is not a flutist iii) kavitha's left is a pianist iv) shamili's left is not a drummer v) flutist and drummer are married.
8) 1/3 ed of the contents of a container evaporated on the 1 st day. 3/4 th of the remaining contents of the container evaporated the second day. what part of the contents of the container are left at the end of the second day.
9) a man covered 28 steps in 30 seconds but he decided to move fast and covered 34 steps in 18 seconds. how many steps are there on the escalator when stationary.
10) all fair skinned, rich, handsome, muscular, lean and employed are tall men
1) all lean men are muscular. 2) no fairskinned person who is not rich is handsome. 3) some muscular men are handsome. 4) all handsome are fairskinned. 5) no person who is neither fair skinned nor muscular is enplyed. 6) we unable to recall this condition and question also incomplete.
DE-Shaw Software,Hyderabad.
--------------------------------
SECTION-A
you should write the programs for the following problems in C.
1. swapping two variables x,y without umen
1) all lean men are muscular.
2) no fairskinned person who is not rich is handsome.
3) some muscular men are handsome.
4) all handsome are fairskinned.
5) no person who is neither fair skinned nor muscular is enplyed.
6) we unable to recall this condition and question also incomplete.
DE-Shaw Software,Hyderabad.
--------------------------------
SECTION-A
you should write the programs for the following problems in C.
1. swapping two variables x,y without umen
1) all lean men are muscular.
2) no fairskinned person who is not rich is handsome.
3) some muscular men are handsome.
4) all handsome are fairskinned.
5) no person who is neither fair skinned nor muscular is enplyed.
6) we unable to recall this condition and questiongrams on pre-processor directions has been given asking to find the output.
8. simple question given on pointer
a) kernighan & richie page no. 122 b) schaum series page no. 323 try to understand the pointer problems given here he asked to explain in the interview if answer it in exam.
9. write a c program to find whether a stack is progressing in forward or reverse direction.
10. write a c program that reverses the linked list.
GUIDELINES: the interview is very tough he is asking to do the problems in front of him. he is also giving some new problems to solve before him. you should have a very good funda of C language. CV paper: *****************************************************************
1-18 General (i) Data sufficiency (ii) Analytical (iii) Mathematics 19-45 C&UNIX
1. |x-a|=a-x
Ans: (c) x<=a
2. There is six letter word VGANDA . How many ways you can arrange the letters in the word in such a way that both the A's are together.
Ans : 120 (5x4!)
3. If two cards are taken one after another without replacing from a pack of 52 cards what is the probability for the two cards be queen.
Ans : (4/52)*(3/51) (1/17)*(1/13)
4. 51 x 53 x ... x 59 ; symbols ! - factorial ^ - power of 2
(a) 99!/49! (b) (c) (d) (99! x 25!)/(2^24 x 49! x 51!)
5. The ratio fo Boys to Girls is 6:4. 60% of the boys and 40% of girls take lunch in the canteen. What % of class takes lunch in canteen. Ans : 52% (60/100)*60 + (40/100)*40
Data Sufficiency : a) only statement A is sufficent , B is not b) only statemnet B c) both are necessary d) both are not sufficient.
6. X is an integer. Is X dvisible by 5?
A) 2X is divisible by 5 B) 10X is divisible by 5.
Ans : A)
7. (A) Anna is the tallest girl (B) Anna is taller than all boys. (Q) . Is Anna the tallest in the class
Ans : c
8. maths question 9, 10 Analytical
Zulus always speak truth and Hutus always speak lies. There are three persons A,B&C. A met B and says " I am a Zulu or I am Hutu". We don't know what exactly he said. then B meets C and says to c that " A is a Zulu ". Then C replied " No, A is a Hutu ".
9. How many Zulus are there ?
Ans 2( check)
10) Who must be a Zulu ?
Ans B (check)
11,12.13,14.
-----------
A father F has 5 sons, p,q,r,s,t. Not necessarly in this order. Two are of same age. The eldest and youngest cannot be twins. T is elder to r and younger to q and s has three older brothers
q) who are the twins? s,t q) who is the oldest and youngest? q, (s&t) q) q)
15,16,17,18
----------
There are 7 people who take a test among which M is the worst, R is disqualified, P and S obtain same marks, T scores less than S and Q scores less than P, N scores higher than every one.
Ans : N P S T Q R M (may be, just check) or N S P T Q R M
C & UNIX
--------
19. What does chmod 654 stand for
Ans : _rw_r_xr__
20. Which of following is used for back-up files?
(a) compress (b) Tar (c) make (d) all the above
Ans : b
21 what does find command do ?
Ans : search a file
22. what does " calloc" do?
Ans : A memory allocation and initialising to zero.
23 what does exit() do?
Ans : come out of executing programme.
24. what is the value of 'i'? i=strlen("Blue")+strlen("People")/strlen("Red")-strlen("green")
Ans : 1
25. i=2 printf("%old %old %old %old ",i, i++,i--,i++);
Ans : check the answer.
26. Using pointer, changing A to B and B to A is Swapping the function using two address and one temperory variable. a,b are address, t is temporary variable. How function look like?
Ans : swap(int *, int *, int )
27. In 'o' how are the arguments passed?
ans : by value.
28. Find the prototype of sine function.
Ans : extern double sin(double)
29. Scope of a global variable which is declared as static?
ans : File
30. ASCII problem i=..
ans : 6
32. what is the o/p printf(" Hello \o is the world ");
Ans : Hello is the world.
33. Clarifying the concept addresses used over array ; ie changing the address of a base element produces what error?
34. child process -- fork child shell -- sh
35. Answer are lex 7 yacc & man read these things in UNIX
36. What is int *p(char (*s)[])
Ans : p is a function which is returning a pointer to integer which takes arguments as pointer to array of characters.
************************************************************
Wipro paper(System software)
July-1997
PART --A
------------------------------------------------------
1) abcD+abcd+aBCd+aBCD then the simplified function is ( Capital letters are copliments of corresponding letters A=compliment of a
[a] a [b] ab [c] abc [d] a(bc)* [e] none
(bc)*=compliment of bc
Ans: e
2) A 12 address lines maps to the memory of
[a] 1k bytes [b] 0.5k bytes [c] 2k bytes [d] none
Ans: b
3) In a processor these are 120 instructions . Bits needed to impliment this instructions
[a] 6 [b] 7 [c] 10 [d] none
Ans: b
4) In 8085 microprocessor READY signal does.which of the following is incorrect statements [a]It is input to the microprocessor [b] It sequences the instructions
Ans : b
5) Return address will be returned by function to
[a] Pushes to the stack by call
Ans : a
6) n=7623 { temp=n/10; > > result=temp*10+ result; n=n/10 }
Ans : 3267
7) If A>B then F=F(G); else B>C then F=G(G); in this , for 75% times A>B and 25% times B>C then,is 10000 instructions are there ,then the ratio of F to G
[a] 7500:2500 [b] 7500:625 [c] 7500:625 if a=b=c else 7500:2500
8) In a compiler there is 36 bit for a word and to store a character 8bits are needed. IN this to store a character two words are appended .Then for storing a K characters string, How many words are needed.
[a] 2k/9 [b] (2k+8)/9 [c] (k+8)/9 [d] 2*(k+8)/9 [e] none
Ans: a
9) C program code int zap(int n) { if(n<=1)then zap=1; else zap=zap(n-3)+zap(n-1); } then the call zap(6) gives the values of zap
[a] 8 [b] 9 [c] 6 [d] 12 [e] 15
Ans: b
PART-B
-------
1) Virtual memory size depends on
[a] address lines [b] data bus [c] disc space [d] a & c [e] none
Ans : a
2) Critical section is
[a] -- [b] statements which are accessing shared resourses
Ans : b
3) load a mul a store t1 load b mul b store t2 mul t2 add t1 then the content in accumulator is
Ans : a**2+b**4
4) question (3) in old paper
5) q(4) in old paper
6) question (7) in old paper
7) q(9) in old paper
Hughes,Delhi:
(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
{ 0 comments... read them below or add one }
Post a Comment
Enter your comments here