Examlex

Solved

CLASS Employee { //Variables

question 62

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,...) :


Definitions:

Low-Value

Refers to products, services, or transactions that possess minimal worth in terms of price, importance, or usefulness to the buyer.

Second-Price Auction

A bidding process where the highest bidder wins but pays the second-highest bid price.

Vickrey Auction

A sealed-bid auction where the highest bidder wins but pays the second-highest bid price.

Sealed Bid

A method of auction where all bids are submitted confidentially, with the highest bidder winning.

Related Questions