Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Classification in Object-Oriented Systems

Total questions: 98

Worksheet time: 49mins

Name
Class
Date
1.

In a library, Mia is tasked with organizing books into different categories. What is the process she uses to classify the books in the context of object-oriented systems?

a)

Checking whether a book belongs to a category or class based on attributes and behaviors

b)

Grouping books randomly without considering attributes

c)

Assigning books to categories based on their size

d)

Sorting books alphabetically

2.

William is organizing a community event where he needs to classify various items for different activities. Which analogy does he use to explain classification to the volunteers?

a)

Human beings classify objects they encounter and act accordingly

b)

Animals grouping themselves based on their habitats

c)

Machines sorting items based on weight

d)

Plants being categorized by their color

3.

In a software development company, how are software components classified?

a)

Based on their attributes and behaviors

b)

Based on their physical appearance

c)

Based on their size and weight

d)

Based on their color and texture

4.

In a software development project, Zoe is tasked with organizing different types of user accounts. After classifying the accounts into categories like Admin, User, and Guest, what does the system use each class as?

a)

A template to create new instances of objects

b)

A method to delete objects

c)

A way to store objects permanently

d)

A tool to analyze objects

5.

In a school, students are often categorized based on their roles. Which of the following is an example of different classifications for an object?

a)

Student, part-time worker, basketball team

b)

Teacher, engineer, scientist

c)

Car, bus, train

d)

Apple, orange, banana

6.

Imagine a person named Jackson who is both a student and a part-time employee. What does having several classifications in different contexts mean for Jackson?

a)

He can exhibit different characteristics and behaviors depending on the context

b)

He can only belong to one classification at a time

c)

He cannot be classified under multiple categories

d)

He loses his original classification

7.

Which of the following is an example of an object having multiple classifications in different contexts?

a)

Ms Lim: employee in ABC Company + customer when ordering food online in Food Co.

b)

A car being used for transportation and racing

c)

A student studying and playing sports

d)

A book being read and stored in a library

8.

In a software development team, Evelyn is tasked with organizing the various components of their project. She realizes that the primary focus should be on classifying the components based on their functionality rather than on individual components. What is the primary focus when classifying objects in Object-Oriented (OO) systems?

a)

Identifying individual objects within the system

b)

Identifying the class of objects rather than individual objects

c)

Grouping objects based on their physical attributes

d)

Sorting objects alphabetically

9.

In a software development meeting, Ava is discussing how to categorize different projects. She asks her team, "What does the criteria for classification depend on?"

a)

The size of the system

b)

Requirements and problem domain of the system

c)

The number of objects in the system

d)

The programming language used

10.

In a software development company, why is identifying the class of a software component important?

a)

It helps in sorting components alphabetically

b)

It simplifies the identification of individual components

c)

It organizes components based on shared characteristics

d)

It eliminates the need for classification criteria

11.

During a software development meeting, the team is discussing various methods for identifying classes in their new project. They are considering different approaches and want to ensure they are using the most effective ones. Which of the following is NOT one of the four most popular approaches used for identifying classes?

a)

Noun Phrase Approach

b)

Common Class Patterns Approach

c)

Use Case-Driven Approach

d)

Object-Oriented Design Approach

12.

Ava is working on a software project and needs to organize her thoughts about the different components of the system. She decides to use the Class-Responsibility-Collaborators (CRC) Approach to help her identify the classes and their responsibilities. What is the Class-Responsibility-Collaborators (CRC) Approach used for?

a)

Identifying classes

b)

Designing user interfaces

c)

Debugging software

d)

Writing test cases

13.

In a software development team, Emma is trying to determine the best way to identify classes for their new project. Which statement is true regarding the approaches for finding classes?

a)

Only one approach can be used at a time.

b)

There is no restriction on using only one single approach to find classes.

c)

All approaches must be used simultaneously.

d)

None of the approaches are effective.

14.

In a software development team, Benjamin is tasked with identifying classes for a new project. He decides to focus on recognizing patterns that are commonly found in class structures. Which approach is Benjamin using?

a)

Noun Phrase Approach

b)

Common Class Patterns Approach

c)

Use Case-Driven Approach

d)

Class-Responsibility-Collaborators (CRC) Approach

15.

During a project meeting, Emma is tasked with analyzing the requirement documents for a new software application. She decides to use the noun phrase approach to ensure a thorough analysis. What does this approach involve?

a)

Identifying noun phrases and dividing them into relevant, fuzzy, and irrelevant categories

b)

Listing all verbs and categorizing them into relevant, fuzzy, and irrelevant categories

c)

Analyzing adjectives and grouping them into relevant, fuzzy, and irrelevant categories

d)

Dividing sentences into relevant, fuzzy, and irrelevant categories

16.

During a class discussion, Aiden mentioned different categories used in the noun phrase approach. He listed several categories, but one of his classmates, Maya, pointed out that one of the options he provided was not actually a recognized category. Which of the following is NOT one of the categories in the noun phrase approach?

a)

Relevant classes

b)

Fuzzy classes

c)

Irrelevant classes

d)

Essential classes

17.

In a software development project, Maya is tasked with organizing the requirement documents. She decides to divide the noun phrases into categories to streamline the process. What is the purpose of this categorization?

a)

To organize the requirement documents for better understanding

b)

To identify candidate classes for system design

c)

To eliminate unnecessary phrases from the documents

d)

To create a list of verbs for analysis

18.

Harper is working on a software project and needs to determine the main purpose of the noun phrase approach in their analysis. What should Harper focus on?

a)

To create fuzzy classes for further investigation

b)

To eliminate irrelevant classes out of the problem domain

c)

To identify classes that are not part of the class diagram

d)

To ensure all classes are included in the problem domain

19.

In a software development project, the team is evaluating different types of classes that may or may not be necessary for the application. They realize that some classes need further investigation to determine their relevance. Which type of classes may or may not be required to exist and need further investigation?

a)

Relevant classes

b)

Irrelevant classes

c)

Fuzzy classes

d)

Problem domain classes

20.

Noah is working on a project to develop a new software application. He is using the noun phrase approach to identify the necessary classes for the application. However, he encounters several classes that seem irrelevant to the core functionality of the application. What happens to these irrelevant classes in the noun phrase approach?

a)

They are included in the class diagram

b)

They are eliminated as they are out of scope of the problem domain

c)

They are marked as fuzzy classes for further investigation

d)

They are considered relevant classes

21.

In a software development project, Rohan is tasked with identifying the relevant classes for a new feature. What is the role of relevant classes in the noun phrase approach?

a)

They are eliminated from the problem domain

b)

They appear in the class diagram and play a role in the problem domain

c)

They are marked as fuzzy classes for further investigation

d)

They are ignored during the elimination process

22.

Ava is organizing a community event and needs to categorize the participants into essential, non-essential, and ambiguous groups based on their roles and contributions.

a)

Ava is organizing a community event and needs to categorize the participants into essential, non-essential, and ambiguous groups based on their roles and contributions.

b)

Ava is organizing a community event and needs to categorize the participants into only essential and non-essential groups based on their roles.

c)

Ava is organizing a community event and needs to categorize the participants into core and peripheral groups based on their contributions.

d)

Ava is organizing a community event and needs to categorize the participants into fixed and variable groups based on their roles.

23.

In a community project, Zoe is tasked with organizing a local library's collection. What does the Common Class Pattern approach involve in this context?

a)

Classifying objects of the world into useful groups.

b)

Grouping objects based on their physical appearance.

c)

Ignoring patterns to simplify system design.

d)

Using random patterns to create classes.

24.

Abigail, a software analyst, is tasked with designing a new inventory management system for a retail store. How can she use the Common Class Pattern approach in her analysis?

a)

To discover candidate classes for the inventory system.

b)

To eliminate unnecessary objects from the inventory system.

c)

To create random groups of inventory items.

d)

To focus only on physical attributes of inventory items.

25.

During a community event organized by Anika, what is an event in the context of the Events class?

a)

Something that happens at a particular point in time and has associated attributes like date and time.

b)

A recurring activity that happens daily.

c)

A random occurrence without any associated attributes.

d)

A concept used to describe a location.

26.

Which of the following is an example of an event in the Events class?

a)

A sports tournament.

b)

A daily routine.

c)

A random thought.

d)

A location on a map.

27.

During the planning of a community festival, what attributes are typically associated with an event in the Events class?

a)

Date and time.

b)

Location and weather.

c)

Participants and their roles.

d)

Random occurrences.

28.

During a busy week at the university, Charlotte is trying to organize her schedule. She comes across various activities and events. Which of the following is NOT an example of an event in the Events class?

a)

Mid-semester test.

b)

Sports tournament.

c)

A random thought.

d)

A meeting scheduled for a specific time.

29.

In a university setting, the Organisation class represents a specific entity. What does it signify in this context?

a)

A group of people or a collection of things, such as a school or department

b)

The role a person plays in an organisation, such as a student or lecturer

c)

A method for organising data in a database

d)

A type of software used for managing organisations

30.

In a university setting, the People class represents the various roles individuals play within the institution. For instance, Anika is a student, while Kai is a lecturer. What does the People class represent in the Common Class Pattern Approach?

a)

A group of people or a collection of things, such as a school or department

b)

The role a person plays in an organisation, such as a student or lecturer

c)

A method for organising data in a database

d)

A type of software used for managing organisations

31.

In a community, there are various roles and entities that contribute to its functioning. Which of the following is an example of an Organisation class?

a)

Student

b)

Lecturer

c)

School

d)

Role

32.

In a school, there are various roles that people can take on. If we consider the roles of individuals within the educational system, which of the following is an example of a People class?

a)

Department

b)

Student

c)

School

d)

Collection

33.

In a university setting, what does the "Place class" in the Common Class Pattern Approach represent?

a)

Physical locations that the problem domain is interested in tracking (e.g., lab, classroom)

b)

Abstract concepts related to the problem domain

c)

A systematic approach to identifying candidate classes

d)

A method for organizing data structures

34.

Hannah is working on a software project and needs to identify the key components of the system. She is considering various approaches to ensure she captures all necessary elements. What is the main purpose of the Common Class Pattern Approach?

a)

To provide a systematic approach to identifying candidate classes

b)

To offer a useful guide in finding the initial list of candidate classes during the analysis stage

c)

To define the physical locations in the problem domain

d)

To create a final list of classes for implementation

35.

In a software development project, Evelyn is tasked with designing a new system. She needs to determine the best way to identify the classes that will be used in the system. Which of the following is true about the Common Class Pattern Approach that she can use?

a)

It is a systematic approach to identifying candidate classes

b)

It is not a systematic approach but provides a useful guide during the analysis stage

c)

It focuses only on physical locations in the problem domain

d)

It is used exclusively for organizing data structures

36.

In a software development team, Benjamin is tasked with improving the system's functionality. He decides to adopt a Use Case Driven Approach. What is the primary basis of this approach?

a)

Identifying use cases to develop sequence and/or collaboration diagrams

b)

Creating flowcharts to model system processes

c)

Developing algorithms for object interaction

d)

Using random objects to provide services

37.

During a software development project, the team is working on creating sequence diagrams as part of their Use Case Driven Approach. What is identified during this process?

a)

New objects or new classes

b)

System errors

c)

User feedback

d)

Hardware requirements

38.

In a software development project, Nora is leading a team that is tasked with creating a new application. To ensure they identify all necessary components and functionalities, she decides to adopt a specific methodology. Which process recommends the Use Case Driven Approach for finding objects?

a)

Unified process

b)

Agile methodology

c)

Waterfall model

d)

Spiral model

39.

In a software development team, Maya is tasked with improving the system's functionality. She decides to adopt a use case-driven approach. What is the primary focus of this approach?

a)

To identify all possible errors in a system

b)

To develop a sequence of scenarios systematically and identify new objects required to interact collaboratively

c)

To create a database for storing use cases

d)

To eliminate redundant use cases

40.

In a software development project, Liam is tasked with ensuring that the system meets all user requirements. He decides to use a use case-driven approach to systematically identify the necessary components. What does this approach help Liam systematically find?

a)

Errors in the system

b)

Classes

c)

Redundant data

d)

Scenarios

41.

Why is identifying all use cases vital in the use case-driven approach?

a)

To ensure the system is error-free

b)

To support the required services of use cases

c)

To create a sequence of scenarios

d)

To eliminate unnecessary objects

42.

In a software development team, Noah is responsible for defining the roles of different classes in their project. What does the term "responsibility" mean in the context of Class Responsibility Collaboration (CRC)?

a)

The service or operation that a class has to provide

b)

The physical attributes of a class

c)

The name of the class in a program

d)

The programming language used to define the class

43.

In a software development team, Elijah is responsible for designing a new application. He collaborates with William, who assists him in accomplishing the application's responsibilities. What is the purpose of collaborators in Class Responsibility Collaboration (CRC)?

a)

To assist an object in accomplishing its responsibilities

b)

To define the name of the object

c)

To store the attributes of the object

d)

To determine the programming language used

44.

In a software development team, Aiden is tasked with creating a new application. As he follows a use case scenario to define the functionalities of a specific object in the application, he needs to determine what is accumulated for that object.

a)

Responsibilities and collaborators

b)

Attributes and methods

c)

Programming languages and tools

d)

Names and identifiers

45.

In a software development team, what does an analyst write on a card during the design phase?

a)

Object with its responsibilities and collaborators

b)

Object with its attributes and methods

c)

Object with its name and identifier

d)

Object with its programming language

46.

During a software development meeting, Zoe is tasked with creating a new class for the project. She knows that naming conventions are important for code readability and maintainability. What is one of the key considerations when naming a class?

a)

The name should be a plural noun

b)

The name should start with a lowercase letter

c)

The name should be meaningful

d)

The name should include special characters

47.

Avery is creating a new class for her coding bootcamp. She needs to decide what type of noun to use for naming the class. What type of noun should she choose?

a)

Singular noun

b)

Plural noun

c)

Abstract noun

d)

Proper noun

48.

In a programming class, the instructor, Ethan, explains how to name classes in code. He asks the students, 'How should the name of a class be formatted if it contains more than one word?'

a)

All words should be in lowercase

b)

Only the first word starts with an uppercase letter

c)

Each subsequent word starts with an uppercase letter

d)

Words should alternate between uppercase and lowercase letters

49.

Rohan is creating a new class in his programming project. What is the correct way for him to start the name of this class?

a)

With a lowercase letter

b)

With an uppercase letter

c)

With a number

d)

With a special character

50.

In a software development project, Daniel is tasked with creating a class diagram for a new application. What is the first step he should take according to the guidelines?

a)

Identify the operations of the class

b)

Identify the object class

c)

Identify the associations of the class

d)

Generalisation of classes

51.

Which of the following is NOT a step in producing a class diagram?

a)

Identify the attributes of the class

b)

Identify the operations of the class

c)

Identify the associations of the class

d)

Identify the methods of the class

52.

What does "generalisation of classes" refer to in the context of producing a class diagram?

a)

Grouping classes based on shared attributes and operations

b)

Identifying the associations between classes

c)

Listing all operations of a class

d)

Defining the object class

53.

Which step involves determining the relationships between different classes in a class diagram?

a)

Identify the object class

b)

Identify the attributes of the class

c)

Identify the associations of the class

d)

Generalisation of classes

54.

Which of the following is a guideline for identifying classes in the analysis stage?

a)

Each class must have a complex and unclear purpose.

b)

Each class must have a set of attributes to describe its characteristics and properties.

c)

Each class must avoid associations with other objects in the system.

d)

Each class should not house any operations.

55.

What is the purpose of forming a class hierarchy during the analysis stage?

a)

To eliminate all associations between classes.

b)

To generalize classes and establish relationships.

c)

To create a set of unrelated objects.

d)

To avoid defining attributes for classes.

56.

Which statement best describes a class in the context of the analysis stage?

a)

A class is a template from which a set of objects can be created.

b)

A class is a random collection of unrelated attributes.

c)

A class is a system that avoids housing operations.

d)

A class is a hierarchy that disconnects objects in the system.

57.

What role do class associations play in the system during the analysis stage?

a)

They disconnect objects in the system.

b)

They connect objects in the system.

c)

They eliminate the need for attributes in classes.

d)

They prevent the formation of class hierarchies.

58.

What is the primary function of the ePro Car Rental system?

a)

To manage membership and car rental for all branches.

b)

To sell cars to customers.

c)

To provide car repair services.

d)

To manufacture cars for rental purposes.

59.

What must each branch of the ePro Car Rental system maintain?

a)

Their own car stocks, rental status, and house-keeping activities.

b)

A list of car buyers.

c)

A database of car manufacturers.

d)

A record of car repair services.

60.

What is the rental limit for members in the ePro Car Rental system?

a)

Members can rent up to two cars from any branch.

b)

Members can rent unlimited cars from any branch.

c)

Members can rent only one car from any branch.

d)

Members can rent up to five cars from any branch.

61.

What happens when a car is returned in the ePro Car Rental system?

a)

A receipt is automatically printed.

b)

The car is sold to another customer.

c)

The car is sent for repair.

d)

The car is removed from the system.

62.

What action is taken when rented cars are overdue in the ePro Car Rental system?

a)

Reminders are sent to the members.

b)

The cars are confiscated.

c)

The rental limit is increased.

d)

The membership is canceled.

63.

What approach is used to identify relevant and fuzzy classes in the given material?

a)

Verb phrase approach

b)

Noun phrase approach

c)

Adjective phrase approach

d)

Prepositional phrase approach

64.

Which of the following is an example of a relevant candidate class?

a)

RentalLimit

b)

RentalRate

c)

Car

d)

None of the above

65.

Which of the following is an example of a fuzzy class?

a)

Branch

b)

Reminder

c)

RentalRate

d)

Receipt

66.

What is the purpose of identifying candidate classes in a graphical representation?

a)

To define the relationships between objects in a system

b)

To determine the attributes of each class

c)

To visually represent the main components of a system

d)

To create a database schema

67.

Which of the following is NOT a candidate class mentioned in the graphical representation?

a)

Car

b)

Branch

c)

Payment

d)

RentalRate

68.

What is the significance of the class "RentalRate" in the context of candidate classes?

a)

It represents the cost associated with renting an item

b)

It defines the maximum limit for rentals

c)

It tracks the members of the system

d)

It stores the details of rental receipts

69.

Which candidate class is most likely associated with tracking customer information?

a)

Member

b)

Receipt

c)

RentalLimit

d)

Branch

70.

What is the purpose of the "carID" attribute in the Car class?

a)

To store the state of the car

b)

To identify a car

c)

To keep the manufacturer and model of a car

d)

To store the owner of the car

71.

Which attribute in the Car class is used to store the state of the car, such as 'available', 'rented', 'suspended', or 'deleted'?

a)

carID

b)

model

c)

status

d)

owner

72.

What does the "model" attribute in the Car class represent?

a)

The state of the car

b)

The manufacturer and model of the car

c)

The owner of the car

d)

The identification of the car

73.

Which attribute in the Car class is used to store information about the owner of the car?

a)

carID

b)

model

c)

owner

d)

status

74.

Which attribute is used to identify a branch in the "Branch" class?

a)

branchID

b)

car_Total_Ctr

c)

memberID

d)

rentalNo

75.

What is the purpose of the "car_Total_Ctr" attribute in the "Branch" class?

a)

To identify a branch

b)

To keep stock of cars in a branch

c)

To store a member's name

d)

To keep rental starting date

76.

Which attribute in the "Member" class is used to store a member's address?

a)

name

b)

address

c)

NRIC

d)

memberID

77.

What is the function of the "rentalNo" attribute in the "Rental" class?

a)

To identify a rental record

b)

To keep rental starting date

c)

To keep rental ending date

d)

To store a member's NRIC number

78.

Which attribute in the "Member" class is used to store a member's NRIC number?

a)

name

b)

address

c)

NRIC

d)

memberID

79.

What is the purpose of the "startDate" attribute in the "Rental" class?

a)

To identify a rental record

b)

To keep rental starting date

c)

To keep rental ending date

d)

To store a member's address

80.

Which attribute is used to identify a receipt in the "Receipt" class?

a)

reminderNo

b)

receiptNo

c)

value

d)

period

81.

What is the purpose of the "ctrNo" attribute in the "Reminder" class?

a)

To identify a receipt

b)

To specify rental limit for VIP members

c)

To keep track of the number of reminders generated

d)

To specify the period of rental rate

82.

Which class contains the "VIP" attribute to specify rental limits for VIP members?

a)

Receipt

b)

Reminder

c)

RentalLimit

d)

RentalRate

83.

What does the "period" attribute in the "RentalRate" class specify?

a)

To identify a receipt

b)

To specify the period of rental rate

c)

To store rental limit of a member

d)

To keep track of the number of reminders generated

84.

Which attribute is NOT part of the "Car" class?

a)

carID

b)

model

c)

receiptNo

d)

owner

85.

What is the purpose of the "Reminder" class based on its attributes?

a)

To store car details

b)

To manage rental limits

c)

To track reminders using reminderNo and ctrNo

d)

To record branch information

86.

Which class contains the attribute "VIP"?

a)

RentalRate

b)

RentalLimit

c)

Receipt

d)

Reminder

87.

What is the relationship between "RentalRate" and its attributes?

a)

RentalRate tracks the branch details

b)

RentalRate defines the value and period of rental charges

c)

RentalRate stores car ownership information

d)

RentalRate records member details

88.

Which attribute is unique to the "Member" class?

a)

branchID

b)

NRIC

c)

rentalNo

d)

carID

89.

What is the purpose of the `create()` operation in the Car class?

a)

To delete car information from the system

b)

To retrieve car information from the system

c)

To create or register a new car

d)

To alter car information

90.

Which operation in the Car class is used to retrieve car information from the system?

a)

create()

b)

update()

c)

delete()

d)

get()

91.

What is the function of the `update()` operation in the Car class?

a)

To alter car information

b)

To delete car information from the system

c)

To retrieve car information from the system

d)

To create or register a new car

92.

Which operation in the Car class is responsible for deleting car information from the system?

a)

create()

b)

update()

c)

delete()

d)

get()

93.

What is the primary purpose of identifying operations for each class in object-oriented programming?

a)

To define the attributes of the class

b)

To specify the services or functions required by the object class

c)

To create a new class

d)

To delete the class

94.

Which operation is used to create or register a new branch in the "Branch" class?

a)

setBranchID()

b)

create()

c)

update()

d)

delete()

95.

What is the purpose of the init_Car_Total_Ctr() operation in the "Branch" class?

a)

To delete branch information from the system

b)

To initialise the total number of cars in a branch

c)

To set branch identity

d)

To alter branch information

96.

Which operation in the "Member" class is used to retrieve a member's name?

a)

setName()

b)

getName()

c)

update()

d)

delete()

97.

In the "Branch" class, which operation is responsible for altering branch information?

a)

update()

b)

delete()

c)

getBranchID()

d)

setBranchID()

98.

What is the purpose of the delete() operation in the "Member" class?

a)

To delete member information from the system

b)

To store a member's name

c)

To alter member information

d)

To retrieve a member's name