9.0k views
3 votes
Imagine you are writing a classroom management program. In which of the following scenarios will dynamic data structures approach make your program more efficient? Group of answer choices

a. A classroom with a MAX of 24 students, being assigned 24 students.
b. A classroom with a MAX of 24 students, being assigned 15 students.
c. A school building with a MAX of 50 classrooms being assigned 30 classes.
d. A school building with a MAX of 50 classrooms being assigned 50 classes both
e. Both b and c

1 Answer

6 votes

Answer: e. . Both b and c

Step-by-step explanation:

When using a Dynamic Data Structure, the structure in place is not fixed but rather has an allowance for growth or shrinkage. The capacity has an allowance to take more data or less data as it is operated on.

When using the Dynamic data structure approach for the classroom management program therefore, there must be an allowance for an increase in students. This is why options B and C are correct because the classroom has more capacity than students and the school has more classroom capacity than classrooms utilized respectively.

User Abaga
by
6.0k points