Practice Test: Question Set - 03
1. Which of the following is not a component of file system?
- (A) Access
method
- (B) Auxiliary
storage management
- (C) Free
integrity mechanism
- (D) None
of the above
2. Seek time is
- (A) Time taken
to retrieve a data
- (B) Time
taken by read/write head mechanism to position itself over appropriate cylinder
- (C) Time
taken by appropriate sector to come under read/write
- (D) None of the
above
3. ‘Prime area’ in context of file system is defined as
- (A) It is memory
area created by operating system
- (B) It
is an area into which data records are written
- (C) It
is the main area of a web page
- (D) None
of the above
4. In multi-list organization
- (A) Records
that have equivalent value for a given secondary index item are linked together
to form a list
- (B) Records
are loaded in ordered sequence defined by collating sequence by content of the
key
- (C) Records
are directly accessed by record key field
- (D) None of the
above
5. Which of the following keyword supports dynamic method resolution?
- (A) Abstract
- (B) Virtual
- (C) Dynamic
- (D) Typeid
6. Which of the following is/are advantages of cellular partitioned structure?
- (A) Simultaneous
read operations can be overlapped
- (B) Search
time is reduced
- (C) Both a &
b
- (D) None
of the above
7. When is std::bad_alloc exception thrown?
- (A) When
new operator cannot allocate memory
- (B) When
alloc function fails
- (C) When
type requested for new operation is considered bad, thisexception is thrown
- (D) When
delete operator cannot delete the allocated (corrupted) object
8. *ptr++ is equivalent to:
- (A) ptr++
- (B) *ptr
- (C) ++*ptr
- (D) None of the
above
9. What is the difference between overloaded functions and overridden functions?
- (A) Overloading
is a dynamic or run-time binding and Overriding is static or compile-time binding
- (B) Redefining
a function in a friend class is called function overriding while redefining a
function in a derived class is called an overloaded function
- (C) Overloading
is a static or compile-time binding and Overriding is dynamic or runtime binding
- (D) Redefining
a function in a friend class is called function overloading while redefining a
function in a derived class is called as overridden function
10. The conditional compilation
- (A) It is taken
care of by the compiler
- (B) It is
setting the compiler option conditionally
- (C) It
is compiling a program based on a condition
- (D) None of
above
Next Tests: