C-Dynamic Memory Allocation and Data Structure Questions and Answers

Practice Mode
Showing 10 of 104 questions
Q1
State the incorrect statement.
  • A Only user defined functions can be involved in the recursion.
  • B Library function can't be involved in the recursion
  • C STack data structure can be used to implement recursion.
  • D None of these
Answer: Option B
Q2
Which of the following method is implemented in stack
  • A FIFO
  • B FILO
  • C LILO
  • D None of these
Answer: Option B
Q3
Which of the following is used for dynamic data structure ?
  • A Linked list
  • B Array
  • C Graph
  • D Stack
Answer: Option A
Q4
The different models used to organize data in the secondary memory are collectively called as
  • A File structures
  • B Data structure
  • C Self referential structures
  • D Union
Answer: Option A
Q5
To establish link between elements with different memory address is called as
  • A Array
  • B Linked list
  • C Structure
  • D Union
Answer: Option B
Q6
Which of the following is true about the corruptedlist ?
  • A If there is a loop in the list it is called corrupted list.
  • B If there is not end in the list it is called corrupted list.
  • C If the list doesn't contain any data it is called a corrupted list.
  • D Both a & b
Answer: Option D
Q7
In the linked list implementation of the queue clas, where does the push member function place the new entry on the linked list ?
  • A At the head
  • B Att the tail
  • C After all other entries that are greater than the new entry.
  • D After all other entries that are smaller than the new entry
Answer: Option B
Q8
Which of the following is not a limitation of linked list ?
  • A It takes more memory in comparison to array.
  • B Linked list can't be visited randomly.
  • C Dynamic data structure can be implemented in linked list
  • D None of the above.
Answer: Option C
Q9
Which of the following is not an application o linked list?
  • A Polynomial manipulation
  • B linked dictionary
  • C Addition of long positive integers
  • D None of the above
Answer: Option C
Q10
Which element will be the last to be popped outl if 7,11,9,55 is pushed in to a satck
  • A 55
  • B 7
  • C 9
  • D 11
Answer: Option B
Questions and Answers for Competitive Exams Various Entrance Test