Subject / 421 questions

Programming MCQs

Page 4 of Programming multiple-choice questions with answers. Tap an option to check yourself.

Page 4 of 22

Question 63 Data Structures

What is a deque?

Correct answer B. A queue that allows insertion and deletion at both ends

Open question
Advertisement
Advertisement
Question 70 Data Structures

Which description defines a complete binary tree?

Correct answer B. Every level is completely filled except possibly the last, which is filled from left to right

Open question
Question 72 Data Structures

What does an abstract data type (ADT) specify?

Correct answer D. The operations on the data and their behaviour, without fixing the implementation

Open question
Question 74 Data Structures

Which statement best distinguishes a static data structure from a dynamic one?

Correct answer A. A static structure has a size fixed when it is created, while a dynamic one can grow or shrink at run time

Open question
Advertisement