Quiz5__CS434001-Advanced_Database_Systems

pdf

School

New Jersey Institute Of Technology *

*We aren’t endorsed by this school

Course

434

Subject

Computer Science

Date

Feb 20, 2024

Type

pdf

Pages

10

Uploaded by BrigadierTigerPerson38

Report
10/28/23, 7:35 PM Quiz5: CS434001-Advanced Database Systems https://njit.instructure.com/courses/29022/quizzes/100672 1/10 Quiz5 Due Oct 30 at 4pm Points 20 Questions 20 Available after Oct 16 at 5:20am Time Limit 30 Minutes Allowed Attempts Unlimited A±empt History Attempt Time Score KEPT Attempt 7 3 minutes 19.5 out of 20 LATEST Attempt 7 3 minutes 19.5 out of 20 Attempt 6 1 minute 0.5 out of 20 Attempt 5 less than 1 minute 0.5 out of 20 Attempt 4 2 minutes 1.5 out of 20 Attempt 3 3 minutes 3.5 out of 20 Attempt 2 5 minutes 4 out of 20 Attempt 1 21 minutes 10 out of 20 Correct answers are hidden. Score for this attempt: 19.5 out of 20 Submitted Oct 28 at 7:35pm This attempt took 3 minutes. Take the Quiz Again 1 / 1 pts Question 1 Answer 1: UML stands for Unified Modeling Language Unified
10/28/23, 7:35 PM Quiz5: CS434001-Advanced Database Systems https://njit.instructure.com/courses/29022/quizzes/100672 2/10 Answer 2: Answer 3: Modeling Language 0.5 / 1 pts Question 2 Answer 1: Answer 2: Partial Partial A class in a UML class diagram is drawn as a rectangle . UML rectangle 1 / 1 pts Question 3 Which of the following is most likely to be an attribute of a class? color car student employee book
10/28/23, 7:35 PM Quiz5: CS434001-Advanced Database Systems https://njit.instructure.com/courses/29022/quizzes/100672 3/10 1 / 1 pts Question 4 Operations are implemented as variables functions if-then statements procedures loops 1 / 1 pts Question 5 Which of the following is most likely modeled as a Relationship in UML? size person price mother-of color 1 / 1 pts Question 6
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
10/28/23, 7:35 PM Quiz5: CS434001-Advanced Database Systems https://njit.instructure.com/courses/29022/quizzes/100672 4/10 Answer 1: Answer 2: We studied the Part Relationships in UML called composi²on and aggrega²on . composition aggregation 1 / 1 pts Question 7 The aggregation relationships in UML are drawn as arrows with two heads dashed lines with triangle heads straight lines with no heads arrows with white diamond heads arrows with triangle heads 1 / 1 pts Question 8 The composition relationships in UML are drawn as arrows with two heads straight lines with no heads
10/28/23, 7:35 PM Quiz5: CS434001-Advanced Database Systems https://njit.instructure.com/courses/29022/quizzes/100672 5/10 arrows with triangle heads arrows with black diamond heads dashed lines with triangle heads 1 / 1 pts Question 9 OIDs are unique in the whole (Object-Oriented) database system, while primary keys must be unique only in one table. True False 1 / 1 pts Question 10 A complex object contains (usually) several (or many) other objects. Each of these objects can have attributes. The complex object itself can also have attributes. True False 1 / 1 pts Question 11 One meaning of encapsulation is that data and the functions that manipulate that data are bundled together.
10/28/23, 7:35 PM Quiz5: CS434001-Advanced Database Systems https://njit.instructure.com/courses/29022/quizzes/100672 6/10 True False 1 / 1 pts Question 12 The schema of an object-oriented databases consists of the table headers the class hierarchy and table headers the class hierarchy the list of classes and table headers the list of classes 1 / 1 pts Question 13 Polymorphism means that the same operation (e.g. + sign) always implements the same computation in the computer the correct computation of an operation (e.g. * multiplication) is determined at compile time operations such as +, - are treated differently than functions
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
10/28/23, 7:35 PM Quiz5: CS434001-Advanced Database Systems https://njit.instructure.com/courses/29022/quizzes/100672 7/10 the same operation (e.g. - sign) can be implemented internally in the computer by different computations 1 / 1 pts Question 14 Overloading means that two functions with the same name may never happen appear at the same class with the same parameters appear at different levels in the class hierarchy appear at the same class with different parameters 1 / 1 pts Question 15 Object-relational databases are relational databases that don't follow the 1NF constraint. True False 1 / 1 pts Question 16 Persistent object is an object that next time you log in, they are there.
10/28/23, 7:35 PM Quiz5: CS434001-Advanced Database Systems https://njit.instructure.com/courses/29022/quizzes/100672 8/10 is only needed during program execution can be discarded when the program terminates should not survive program execution 1 / 1 pts Question 17 In the class we had a select statement that started like this: select c.person.address.street from What do all these parts mean? c is a table alias, person is a column, address is an attribute in a class and street is an attribute in a nested class The example is wrong, it should be select c%person%address%street from The example is wrong, it should be select c:person:address:street from c is a table, person is a column, address is an attribute in a class and street is an attribute in a nested class c is a table alias, person is an attribute, address is a sub-attribute and street is an attribute in a nested class 1 / 1 pts Question 18 A method in Oracle is called
10/28/23, 7:35 PM Quiz5: CS434001-Advanced Database Systems https://njit.instructure.com/courses/29022/quizzes/100672 9/10 function member static function operation member function method 1 / 1 pts Question 19 Persistent methods are declared in by themselves between declare and begin a type body declaration only in a type declaration before the class declaration 1 / 1 pts Question 20 What does NOT FINAL mean? A table that can grow longer It will not be on the Final Exam A class that can have children
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
10/28/23, 7:35 PM Quiz5: CS434001-Advanced Database Systems https://njit.instructure.com/courses/29022/quizzes/100672 10/10 A class that cannot have children A varchar2() that can grow longer Quiz Score: 19.5 out of 20