Sail E0 Webinar

MCQs

Total Questions : 57 | Page 1 of 6 pages
Question 1. A variable P is called pointer if
  1.    P points to the address of first element in DATA
  2.    P can store only memory addresses
  3.    P contain the DATA and the address of DATA
  4.    P contains the address of an element in DATA.
 Discuss Question
Answer: Option D. -> P contains the address of an element in DATA.
Question 2. When new data are to be inserted into a data structure, but there is no available space; this situation is usually called
  1.    Housefull
  2.    Saturated
  3.    Underflow
  4.    Overflow
 Discuss Question
Answer: Option D. -> Overflow
Question 3. The following data structure store the homogeneous data elements
  1.    Arrays
  2.    Records
  3.    Pointers
  4.    None of the above
 Discuss Question
Answer: Option B. -> Records
Question 4. The following name does not relate to stacks
  1.    FIFO lists
  2.    LIFO list
  3.    Piles
  4.    Push-down lists
 Discuss Question
Answer: Option A. -> FIFO lists
Question 5. The space factor when determining the efficiency of algorithm is measured by
  1.    Counting the maximum memory needed by the algorithm
  2.    Counting the minimum memory needed by the algorithm
  3.    Counting the average memory needed by the algorithm
  4.    Counting the maximum disk space needed by the algorithm
 Discuss Question
Answer: Option A. -> Counting the maximum memory needed by the algorithm
Question 6. A data structure where elements can be added or removed at either end but not in the middle is referred as
  1.    Linked lists
  2.    Stacks
  3.    Queues
  4.    Deque
 Discuss Question
Answer: Option D. -> Deque
Question 7. The following is two-way list
  1.    Grounded header list
  2.    Circular header list
  3.    Linked list with header and trailer nodes
  4.    None of above
 Discuss Question
Answer: Option D. -> None of above
Question 8. Two main measures for the efficiency of an algorithm are
  1.    Time and space
  2.    Processor and memory
  3.    Complexity and capacity
  4.    Data and space
 Discuss Question
Answer: Option A. -> Time and space
Question 9. Which of the following data structure is linear data structure?
  1.    Trees
  2.    Graphs
  3.    Arrays
  4.    None of the above
 Discuss Question
Answer: Option C. -> Arrays
Question 10. The following data structure can’t store the non-homogeneous data elements
  1.    Arrays
  2.    Records
  3.    Pointers
  4.    None of the above
 Discuss Question
Answer: Option A. -> Arrays

Latest Videos

Latest Test Papers