Q.1. C is the __________ language:
(1) Object Oriented
(2) Structured
(3) Unified Modeling
(4) Unstructured
(5) None of these
Q.2. An efficient algorithm ______
(1) Takes efficient time
(2) Takes efficient memory
(3) Takes efficient space
(4) Both 1 and 2
(5) None of these
Q.3. Which technique is related to internal code:
(1) Black Box
(2) White Box
(3) Alfa
(4) Beta
(5) All
Q.4. Which is the type of white box testing:
(1) Path Testing
(2) Loop Testing
(3) Domain Testing.
(4) All of these
(5) None of these
Q.5. 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
Q.6. 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
Q.7. Objects communicate each other through ________.
(1) Messages
(2) Data members
(3) Variable
(4) Frames
(5) None of the above
Q.8. 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
Q.9. 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
Q.10. The operating system manages ________.
(1) Memory
(2) Processor
(3) Disk and I/O devices
(4) All of the above
(5) None of these
Answers
Q.1. (2) Structured
Q.2. (4) Both 1 and 2
Q.3. (2) WHITE BOX
Q.4. (4) ALL
Q.5. (2) Among directory entry-node and file contents, which will be changed when a file is updated.
Q.6. (2) The inline keyword tells the compiler to substitute the code within the function definition for every instance of a function call.
Q.7. (1) Objects communicate each other through Messages.
Q.8. (5) Exception handling is not the main feature of object oriented programming.
Q.9. (2) shell It is a command interpreter.
Q.10. (4) The operating system manages memory, processor , disk and I/O devices.