Wednesday, January 24, 2018

Computer Quiz

1. Which of the following are language processors?
a. Assembler 
b. Compiler
c. Interpreter 
d. All of the above
e. None of the above
2. Virtual memory can be implemented with
a. Segmentation 
b. Paging
c. Aging
d. Both a and b
e. None of the above
3. Recognition of basic syntactic constructs through reductions, this task is performed by
a. Lexical analysis 
b. Syntax analysis
c. Semantic analysis 
d. Structure analysis
e. None of these
4. A grammar for a programming language is a formal description of
a. Syntax 
b. Semantics
c. Structure 
d. Code
e. None of the above
5. ___________ is a technique of temporarily removing inactive programs from the memory of computer system
a. Swapping 
b. Spooling
c. Semaphore 
d. Scheduler
e. None of the above
6. ___________ is a technique of improving the priority of process waiting in Queue for CPU allocation
a. Starvation 
b. Aging
c. Revocation 
d. Relocation
e. None of the above
7. ________ is the time required by a sector to reach below read/write head.
a. Seek Time 
b. Latency Time
c. Access Time 
d. Loading Time
e. None of the above
8. Which of the following is most general phase structured grammar?
a. Context – Sensitive 
b. Regular
c. Context – Free 
d. Both a and c
e. None of the above
9. File record length
a. Should always be fixed
b. Should always be variable
c. Depends upon the size of file
d. Should be chosen to match the data characteristics.
e. None of the above
10. A public key encryption system
a. Allows only the correct receiver to decode the data
b. Allows only one to decode the transmission.
c. Allows only the correct sender to decode the data.
d. Does not encode the data before transmitting it.
e. None of these


Answers:
1 – d
2 – d
3 – b
4 – c
5 – a
6 – b
7 – b
8 – a
9 – d
10- a

No comments:

Post a Comment