Home Company Questions HCL Interview Questions HCL Interview Questions - 6

Login Form




HCL Interview Questions - 6 Print E-mail

1. Macros and function are related in what aspect?

a)recursion     b)varying no of arguments         c)hypochecking        d)type declaration

 

2. Semafore is used for ___________
a) synchronization               b) dead-lock avoidence          c) box             d) none

Answer : a

 

3. In OSI, terminal emulation is done in __________

a) semion         b) application             c) presentation        d) transport

Answer : b

 

4. If a CPU has 20 address lines but MMU does'nt use two of them. OS occupies 20K. No virtual memory is supported. What is the maximum memory available for a user program?

 

5. What is a must for multitasking?

a) Process preemption              b) Paging               c) Virtual memory                  d) None of the above

 

6. 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

Answer : a

 

7. OLE is used in

a) inter connection in unix                  b) interconnection in WINDOWS                  c) interconnection in WINDOWS NT

 

8. For 1 MB memory no of address lines required,

a) 11           b) 16            c) 22              d) 24

Answer : 16

 

9. 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

 

10. Which of the function operator cannot be over loaded?

a) <=          b) ?:             c) ==            d) *

Answer : b and d

 

11. For a binary tree with n nodes, How many nodes are there which has got both a parent and a child?

 

12. Which of the following can be zero? (only one)

a) swap space                    b) physical memory                   c) virtual memory

 

13. Expand the following

a) ISDN              b) CASE               c) CSMA/CD               d) OOPS                 e) MIMD

 

14. 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