Dashboard / My courses / CS 3303-01 - AY2023-T1 / 1 September - 7 September / Self-Quiz Unit 1
Started on Thursday, 1 September 2022, 4:57 PM State Finished Completed on Monday, 5 September 2022, 11:08 PM Time taken 4 days 6 hours Marks 9.00/9.00 Grade 10.00 out of 10.00 (100%)
Question 1 Correct Mark 1.00 out of 1.00
A solution is said to be efficient if it:
Select one: O a. Solves the problem within the required resource constraints O b. Executes faster than other solutions O c. Is completed in the fewest number of steps O d. Can be explained in the context of Big-Oh notation
The correct answer is: Solves the problem within the required resource constraints
Question 2 Correct Mark 1.00 out of 1.00
An ADT is:
Select one: O a. A type together with a collection of operations to manipulate the type O b. An implementation of a flyweight design pattern O c. The realization of a data type as a software component O d. An implementation in java of a class for a data type
The correct answer is: The realization of a data type as a software component
Question 3 Correct Mark 1.00 out of 1.00
The implementation of a data type as a data structure is the physical form of an ADT.
Select one: O True v O False
The correct answer is 'True'
Question 4 Correct Mark 1.00 out of 1.00
Which of the following is NOT one of the design patterns outlined in our text.
Select one: O a. Flyweight O b. Visitor O c. Composite O d. Synergy
The correct answer is: Synergy
Question 5 Correct Mark 1.00 out of 1.00
If A={1,2,3,4} and B={4,5,6},find AU B.
Select one: O a. {1,2,3,4,4,5,6} O b. {4} O c. {x|x is all positive integers} O d.{1,2,3,4,5,6}
The correct answer is: {1,2,3,4