Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
Database Design Application
Quiz 18: Object Database Management Systems
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 21
Multiple Choice
CLASS Employee { //Variables String LastName; String FirstName; Real HourlyRate; Integer HoursWorked; String Job; Date HireDate; Real Monthly_Salary; //Methods String GetLastName() ; String GetFirstName() ; String GetJob() ; Real GetSalary() ;} The class Clerk is a subclass of the class Employee CLASS Clerk: Employee { //Variables Real HourlyRate; Integer HoursWorked; //Methods Real GetSalary() ;} The class Salesperson is a subclass of the class Employee CLASS Salesperson: Employee { //Variables Real Base_Salary; Real Commission_rate Real Sales; //Methods Real GetSalary() ;} The class PartClerk is a subclass of the classes Clerk and Salesperson CLASS PartClerk: Clerk, Salesperson { //Variables Real PercentClerk; //Methods Real GetPercentClerk() ;} -If there is an object for a clerk with last name Lopez,the following method will be used to compute Lopez's salary:
Question 22
Multiple Choice
Which of the following applications is supported by a relational DBMS?
Question 23
Multiple Choice
CLASS Employee { //Variables String LastName; String FirstName; Real HourlyRate; Integer HoursWorked; String Job; Date HireDate; Real Monthly_Salary; //Methods String GetLastName() ; String GetFirstName() ; String GetJob() ; Real GetSalary() ;} The class Clerk is a subclass of the class Employee CLASS Clerk: Employee { //Variables Real HourlyRate; Integer HoursWorked; //Methods Real GetSalary() ;} The class Salesperson is a subclass of the class Employee CLASS Salesperson: Employee { //Variables Real Base_Salary; Real Commission_rate Real Sales; //Methods Real GetSalary() ;} The class PartClerk is a subclass of the classes Clerk and Salesperson CLASS PartClerk: Clerk, Salesperson { //Variables Real PercentClerk; //Methods Real GetPercentClerk() ;} -If there are two clerks with identical data (same last name,first name,...) :
Question 24
Multiple Choice
CLASS Employee { //Variables String LastName; String FirstName; Real HourlyRate; Integer HoursWorked; String Job; Date HireDate; Real Monthly_Salary; //Methods String GetLastName() ; String GetFirstName() ; String GetJob() ; Real GetSalary() ;} The class Clerk is a subclass of the class Employee CLASS Clerk: Employee { //Variables Real HourlyRate; Integer HoursWorked; //Methods Real GetSalary() ;} The class Salesperson is a subclass of the class Employee CLASS Salesperson: Employee { //Variables Real Base_Salary; Real Commission_rate Real Sales; //Methods Real GetSalary() ;} The class PartClerk is a subclass of the classes Clerk and Salesperson CLASS PartClerk: Clerk, Salesperson { //Variables Real PercentClerk; //Methods Real GetPercentClerk() ;} -The class Clerk does not inherit the following data from the class Employee:
Question 25
True/False
SQL:1999 supports the definition of structured data types,which are used to bundle a collection of attributes and methods together.
Question 26
True/False
Since Oracle 9i differs from SQL:1999 in that system-generated object identifiers are not explicitly named,the REF function must be used in data manipulation statements in Oracle 9i to retrieve the object identifier.