• Home
  • University of the People
  • Data Structures (proctored course) CS 3303
  • Data Structures Efficiency and ADTs

Data Structures Efficiency and ADTs

A solution is said to be efficient if it: Select one: a. Solves the problem within the required resource constraints . b. Executes faster than other solutions . C. Is completed in the fewest number of steps . d. Can be explained in the context of Big-Oh notation Feedback The correct answer is: Solves the problem within the required resource constraints Question 2 Not answered Marked out of 1.00 Flag question Question text An ADT is: Select one: . a. A type together with a collection of operations to manipulate the type . b. An implementation of a flyweight design pattern . C. The realization of a data type as a software component d. An implementation in java of a class for a data type Feedback The correct answer is: The realization of a data type as a software component Question 3 Not answered Marked out of 1.00 Flag question Question text The implementation of a data type as a data structure is the physical form of an ADT. Select one: True False Feedback The correct answer is 'True'. Question 4 Not answered Marked out of 1.00 Flag question Question text Which of the following is NOT one of the design patterns outlined in our text Select one: . a. Flyweight b. Visitor . C. Composite d. Synergy Feedback The correct answer is: Synergy Question 5 Not answered Marked out of 1.00 Flag question Question text IfA={1,2,3,4} and B={4,5,6}, ndAuB. Select one: . a. {1,2,3,4,4,5,6} . b. {4} . c. {x|x is all positive integers} d. {1,2,3,4,5,6