Compaq Placement Paper

Company: COMPAQ

Compaq Placement Paper

1. Why paging is used ?
2. Which is the best page replacement algo and Why ?
3. What is software life cycle ?
4. How much time is spent usually in each phases and why ?
5. What is testing ?
6. Which are the different types of testing ?
7. Which are the different phases in Software life cycle (asked again)
8. Why is analysis and testing phases very important ?
9. Why networks are layered ? What is the advantage of that ?
10. How many layers are there in OSI ? Why is it called OSI model ?
11. network topologies ?
12. Which are the different network toplogies ?
13. an example of bus type network.
14. What is the Bandwidth of ethernet ?
15. Explain the advantage and disadvantage of ethernet ?
16. Which is the protocol used in ethernet. (CSMA/CD) Why is it called so ?
17. What is the advantage of Ring network ?
18. Compare it with ethernet.
19. What is inheritance, encapsulation etc.
20. If there are too many page faults what is the problem?
21. To ensure one pgm. doesnt corrupt other pgm. in a Multi-pgm. enviornment what you should do?
22. Which one you will use to implement critical section? Binary Semaphore
23. Which one is not needed for Multi-pgm. enviornment?
24. options are: virtual memory, security, time sharing, none of the above.
25. Which one is not done by Data link layer ? bit stuffing, LRC,CRC,parity check
26. Which one is not related to Data link layer?
27. Which one is not suitable for client-server application?

options are tcp/ip, message passing, rpc, none of theabove.

Term stickily bit is related to
b)undeletable file
c) d)none

Semaphore variable is different from ordinary variable by ?
unix system is
a)multi processing
b)multi processing ,multiuser
c)multi processing ,multiuser,multitasking

x.25 protocol encapsulates the follwing layers
d)all of the above
e)none of the above

TCP/IP can work on

A node has the ip address and it is transmitting data from node1 to node2only. The reason may be
a)a node cannot have more than one address
b)class A should have second octet different
c)classB ” ” ” ” ”

The OSI layer from bottom to top for an application which exceeds 64k the memory model should be

The condition required for dead lock in unix sustem is set-user-id is related to (in unix) bourne shell has
a)history record

wrong statement about c++
a)code removably
b)encapsulation of data and code
c)program easy maintenance
d)program runs faster

which is true
a)bridge connects dissimiler LANand protocol insensitive
b)router ” ” ” ” ”
c)gateway ” ” ” ” ”
d)none of the above
const char *
char * const

1. What is the differnce between the above tow?.
2. In Unix inter process communication take place using?.
3. About i-node numbers
4. Max relaxable permisssion value with out giving write permission to others?.
5. About ln(linking)
6. Linking across directories?.
7. process id for kernell process
8. very first process created by kernell
9. function to repaint a window immediately?.
10. Function entry for DLL in win3.1
11. win 3.1 is a
12. win 3.1 supports which type of multi tasking?.
13. Message displayed when a window is destroyed
14. About fork()?
15. About send message and post message
16. Message to limit the size of window
17. System call executable binary file intoa process
18. About GDI object?.
19. API used to hide window
20. Initialize contents of a dialog?.


1. How do you write a program which produces its own source code as its output?
2. How can I find the day of the week given the date?
3. Why doesn,t C have nested functions?
4. What is the most efficient way to count the number of bits which are set in a value?
5. How can I convert integers to binary or hexadecimal?
6. How can I call a function, given its name as a string?
7. How do I access command-line arguments?
8. How can I return multiple values from a function?
9. How can I invoke another program from within a C program?
10. How can I access memory located at a certain address?
11. How can I allocate arrays or structures bigger than 64K?
12. How can I find out how much memory is available?
13. How can I read a directory in a C program?
14. How can I increase the allowable number of simultaneously open files?
15. What,s wrong with the call “fopen(”c:newdirfile.dat”, “r”)”?

Compaq Placement Paper

About Compaq

About Compaq. Compaq has a long-standing reputation for product quality, reliability and affordability. We believe everyone should have the opportunity to own a …visit offical Website of Compaq for more details

Read More