Sei sulla pagina 1di 6

COMPUTER SCIENCE

1. To access the services of operating system, the interface is provided by the


a) System calls
b) User interface
c) Library
d) Assembly instructions

2. Which one of the following is not true?


a) kernel is the program that constitutes the central core of the operating system
b) kernel is the first part of operating system to load into memory during booting
c) kernel is made of various modules which can not be loaded in running operating system
d) kernel remains in the memory during the entire computer session

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

5. n operating system, each process has its own


a) address space and global variables
b) open files
c) pending alarms, signals and signal handlers
d) all of the mentioned

6. What is interprocess communication?


a) communication within the process
b) communication between two process
c) communication between two threads of same process
d) communication between two users on same network

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

10. Process are classified into different groups in


a) shortest job scheduling algorithm
b) round robin scheduling algorithm
c) priority scheduling algorithm
d) multilevel queue scheduling algorithm

11. Which one of the following is the characteristic of a multimedia system?


a) high storage
b) high data rates
c) both high storage and high data rates
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

13. Multimedia system require hard real time scheduling


a) to ensure critical tasks will be serviced within timing deadlines
b) to deliver the media file to the client
c) to minimize the delay
d) for security

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

16. The code segment that misuses its environment is called a


a) internal thief
b) trojan horse
c) code stacker
d) none of the mentioned

17. File virus attaches itself to the


a) source file
b) object file
c) executable file
d) all of the mentioned

18. Multipartite viruses attack on


a) files
b) boot sector
c) memory
d) all of the mentioned

19. The protection domain of a process contains


a) object name
b) rights-set
c) both object name and rights-set
d) none of the mentioned

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

21. What is not a major reason for building distributed systems ?


a) Resource sharing
b) Computation speedup
c) Reliability
d) Simplicity

22. What are the advantages of file replication ?


a) Improves availability and performance
b) Decreases performance
c) They are consistent
d) Improves speed

23. A source program is usually in _______


a) Assembly language
b) Machine level language
c) High-level language
d) Natural language

24. Which memory device is generally made of semiconductors?


a) RAM
b) Hard-disk
c) Floppy disk
d) CD disk

25. The small extremely fast, RAMs are called as _______


a) Cache
b) Heaps
c) Accumulators
d) Stacks
26. he ALU makes use of _______ to store the intermediate results.
a) Stack
b) Registers
c) Heap
d) Accumulators

27. ______ bus structure is usually used to connect I/O devices.


a) Single bus
b) Multiple bus
c) Star bus
d) Rambus

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

31. The internal Components of the processor are connected by _______


a) Processor intra-connectivity circuitry
b) Processor bus
c) Memory bus
d) Rambus

32. o extend the connectivity of the processor bus we use ________


a) PCI bus
b) SCSI bus
c) Controllers
d) Multiple bus

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

35. Which of the following correctly declares an array?


a) int array[10];
b) int array;
c) array{10};
d) array array[10];

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;

38. Which is more effective while calling the functions?


a) call by value
b) call by reference
c) call by pointer
d) none of the mentioned

39. Which operator is having right to left associativity in the following?


a) Array subscripting
b) Function call
c) Addition and subtraction
d) Type cast

40. What is this operator called ? :


a) conditional
b) relational
c) casting operator
d) none of the mentioned

41. How many parameters are there in getline function?


a) 1
b) 2
c) 3
d) 4

42. What does your class can hold?


a) data
b) functions
c) both a and b
d) none of the mentioned
43. Which is used to define the member of a class externally?
a) :
b) : :
c) #
d) none of the mentioned

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

48. Why reference is not same as a pointer?


a) A reference can never be null.
b) A reference once established cannot be changed.
c) Reference doesn't need an explicit dereferencing mechanism.
d) All of the above

49. cout is a/an _____________


a) opearator
b) function
c) object
d) macro

50. Which of the following is an abstract data type?


a) int
b) double
c) array
d) class

Potrebbero piacerti anche