• Home
  • University of the People
  • Data Structures (proctored course) CS 3303
  • Data Structures Self-Quiz Attempt Review

Data Structures Self-Quiz Attempt Review

9/22/21, 10:11 PM Self-Quiz Unit 1: Attempt review Dashboard / My courses / CS 3303 - AY2022-T1 / 2 September - 8 September / Self-Quiz Unit 1 Started on Wednesday, 8 September 2021, 9:57 PM State Finished Completed on Wednesday, 8 September 2021, 9:57 PM Time taken 18 secs Marks 0.00/9.00 Grade 0.00 out of 10.00 (0%) Question 1 Not answered Marked 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 b.Executes faster than other solutions 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 Not answered Marked out of 1.00 An ADT is: Select one: A type together with a collection of operations to manipulate the type O b. An implementation of a flyweight design pattern The realization of a data type as a software component 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 https://my.uopeople.edu/mod/quiz/review.php?attempt=5443576&cmid=264744 1/5 9/22/21, 10:11 PM Self-Quiz Unit 1: Attempt review Question 3 Not answered Marked 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 O False The correct answer is 'True' Question 4 Not answered Marked 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 https://my.uopeople.edu/mod/quiz/review.php?attempt=5443576&cmid=264744 2/5 9/22/21, 10:11 PM Self-Quiz Unit 1: Attempt review Question 5 Not answered Marked 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,5,6} Question 6 Not answered Marked out of 1.00 According to the properties of logarithms, log(nm) Note: Due to issues with HTML formatting, an exponent is represented by preceding it with the ^ symbol. As such x^2 is equivalent to x2. Select one: log n - log m O b. n log n O c. log n + log m O d. Iog(n^m) The correct answer is: log n + log m https://my.uopeople.edu/mod/quiz/review.php?attempt=5443576&cmid=2