CS MCQ
CS MCQ
3. If a process fails, most operating system write the error information to a ______
a) log file
b) another running process
c) new file
d) none of the mentioned
4. The operating system which allows only one process execution at a time, are called
a) uniprogramming systems
b) uniprocessing systems
c) multi-tasking systems
d) single user system
7. he primary distinction between the short term scheduler and the long term scheduler is :
a) The length of their queues
b) The type of processes they schedule
c) The frequency of their execution
d) The type of files they work with
8. he processes that are residing in main memory and are ready and waiting to execute are kept on a
list called
a) job queue
b) ready queue
c) execution queue
d) process queue
9. Which scheduling algorithm allocates the CPU first to the process that requests the CPU first?
a) first-come, first-served scheduling
b) shortest job scheduling
c) priority scheduling
d) none of the mentioned
12. The delay that occur during the playback of a stream is called
a) stream delay
b) playback delay
c) jitter
d) event delay
14. Which one of the following resource is not necessarily required on a file server?
a) secondary storage
b) processor
c) network
b) monitor
15. When an attempt is to make a machine or network resource unavailable to its intended users, the
attack is called
a) denial-of-service attack
b) slow read attack
c) spoofed attack
d) starvation attack
20. If the set of resources available to the process is fixed throughout the process’s lifetime then its
domain is
a) static
b) dynamic
c) neither static nor dynamic
d) none of the mentioned
28. he I/O interface required to connect the I/O device to the bus consists of ______
a) Address decoder and registers
b) Control circuits
c) Address decoder, registers and Control circuits
d) Only Control circuits
29. ______ is generally used to increase the apparent size of physical memory.
a) Secondary memory
b) Virtual memory
c) Hard-disk
d) Disks
30. The time delay between two successive initiation of memory operation _______
a) Memory access time
b) Memory search time
c) Memory cycle time
d) Instruction delay
33. The main virtue for using single Bus structure is ____________
a) Fast data transfers
b) Cost effective connectivity and speed
c) Cost effective connectivity and ease of attaching peripheral devices
d) None of the mentioned
34. When the USB is connected to a system, its root hub is connected to the ________
a) PCI BUS
b) SCSI BUS
c) Processor BUS
d) IDE
36. Which of the following accesses the seventh element stored in array?
a) array(7)
b) array[7]
c) array(6)
d) array[6]
37. Which of the following gives the memory address of the first element in array?
a) array[0];
b) array[1];
c) array(2);
d) array;
44. Which other keywords are also used to declare the class other than class?
a) struct
b) union
c) object
d) both a & b
45.Which of the following concepts means determining at runtime what method to invoke?
a) Data hiding
b) Dynamic Typing
c) Dynamic binding
d) Dynamic loading
46. Which of the following term is used for a function defined inside a class?
a) Member variable
b) Member function
c) Class function
d) Classic function
47. Which of the following concepts of OOPS means exposing only necessary information to
client?
a) Encapsulation
b) Abstraction
c) Data hiding
d) Data binding