kuruk.jpg (7105 bytes)

It's Placement Time

All the following questions are memory based and have been submitted by candidates
 who appeared for the tests/interviews in the past.

HCL software systems paper:

60 questions; 90 min. (4 sections)

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

NOTE: Please check answers once again.

Section 1.

1.which of the following involves context switch,
a) system call 
b) priviliged instruction
c) floating point 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 MB memory no of address lines required,
a)11 b)16 c)22 d) 24
Ans. 16

5. Semafore is used for
a) synchronization |
b) 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. OLE is used in
a)inter connection in unix
b)interconnection in WINDOWS
c)interconnection in WINDOWS NT

8.macros and function are related in what aspect?
a)recursion           b)varying no of arguments
c)hypochecking  d)type declaration

9.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;
x=j*k;
printf("%d", x); Ans. x=1

3. fn f(x)
{ if(x<=0)
return;
else f(x-1)+x;

Ans. fn(5) ....?

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

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 linked
int det;
struct previous;
struct new;
}
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-----

 

(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) Number represented in hexadecimal, Write it in radix 7.

(3) A B C D E

* 4

---------- find E

E D C B A

------------ ANS: 13

(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 Statistic Men Cause More Accidents Than Women. One Conclusion 
(A) men drive more than once
(b) stats give wrong information
(c) women are more cautious than men

ANS;C

(7) P, Q, R, S, T, U -securing grant; two tourist parties and then two security guards 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 guards can exchange There were 6 questions 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

(9) 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

 

The Road Ahead

Encyclopaedia Educa

Kurukshetra

Buckle Up

Arthashastra

Home Away From Home

Vedas & Puranas

Live It Up

Potpourri

Chain Reaction

The Mentor

 
 

Basic Instincts

SWASHBUCKLER CLUB SECTION

Shooting Stars