1. Among directory entry-node and file contents, which will be changed when a file is updated ?
(1) Only directory entry and file contents
(2) Only inode and file contents
(3) Both (1) and (2)
(4) Only directory entry
(5) None of the above
Ans. (2) Among directory entry-node and file contents, which will be changed when a file is updated
2. The ______ keyword tells the compiler to substitute the code within the function definition for every instance of a function call
(1) virtual
(2) inline
(3) instance
(4) outline
(5) none of the given
Ans. (2) The inline keyword tells the compiler to substitute the code within the function definition for every instance of a function call.
3. Objects communicate each other through ________.
(1) Messages
(2) Data members
(3) Variable
(4) Frames
(5) None of the above
Ans. (1) Objects communicate each other through Messages.
4. Which one is not the main feature of object oriented programming?
(1) Classes and Objects
(2) Exception handling
(3) Inheritance
(4) Polymorphism
(5) Exception handling
Ans. (5) Exception handling is not the main feature of object oriented programming.
5. What is a shell ?
(1) It is a hardware component
(2) It is a command interpreter
(3) It is a part in compiler
(4) 4 It is a tool in CPU scheduling
(5) None of these
Ans. (2) shell It is a command interpreter.
6. The operating system manages ________.
(1) Memory
(2) Processor
(3) Disk and I/O devices
(4) All of the above
(5) None of these
Ans. (4) The operating system manages memory, processor , disk and I/O devices.
7. The Hardware mechanism that enables a device to notify the CPU is called __________.
(1) Polling
(2) Interrupt
(3) System Call
(4) Event
(5) None of the above
Ans. ( 2) The Hardware mechanism that enables a device to notify the CPU is called interrupt.
8. ___________ begins at the root and follows a path down to the specified file.
(1) Relative path name
(2) Absolute path name
(3) Standalone name
(4) Both 1 and 2
(5) Address path
Ans. (2) Absolute path … begins at the root and follows a path down to a specified file.
9. ______ Component is required to process data into information and consists of integrated
circuits.
(1) Hard disk
(2) RAM
(3) CPU
(4) ROM
(5) None of these
Ans. (3) CPU Component is required to process data into information.
10. What is backup?
(1) Adding more components to your network
(2) Protecting data by copying it from the original source to a different destination
(3) Filtering old data from the new data
(4) Accessing data on tape
(5) None of these
Ans. (2) Protecting data by copying it from the original source to a different destination