C++ QUIZ
Q:   An object that contains other objects, is called ____.
- A:  Functions
- B:  Stacks
- C:  Arrays
- D:  Container
Q:   Binary search algorithm uses ____.
- A:  Linear way to search values
- B:  Divide and conquer method
- C:  Bubble sorting technique
- D:  None of them
Q:   A character array can be initialized using ____.
- A:  Floats value
- B:  Integer values
- C:  A string literal
- D:  None of them
Q:   For finding an object in an array starting from beginning and inspecting each element one after other, until object is found is called as ____.
- A:  Inspecting
- B:  Searching
- C:  Linear search algorithm
- D:  All of them
Q:   A consecutive group of memory locations that all have same name and same type, is called as ____.
- A:  Structures
- B:  Classes
- C:  Arrays
- D:  Functions
Q:   Imprudent use of Goto statement leads to the ____.
- A:  Unstructured spaghetti code
- B:  Infinite loop
- C:  Break Statement
- D:  None of them
Q:    A container class is a class whose instances are ____.
- A:  Containers
- B:  Functions
- C:  Strings
- D:  None of them
Q:   A common activity performed on a container is called ____.
- A:  Functioning
- B:  Iterator
- C:  Traversal
- D:  All of them
Q:   Containers have same types, that's why they are called ____.
- A:  Heterogeneous
- B:  Homogeneous
- C:  Vectors
- D:  None of them
Q:   Which from following technique is used for finding a value in an array?
- A:  Bubble sort
- B:  Binary search algorithm
- C:  Linear search algorithm
- D:  All of them