WorksheetsClassification in Object-Oriented Systems
Total questions: 98
Worksheet time: 49mins
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?
Checking whether a book belongs to a category or class based on attributes and behaviors
Grouping books randomly without considering attributes
Assigning books to categories based on their size
Sorting books alphabetically
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?
Human beings classify objects they encounter and act accordingly
Animals grouping themselves based on their habitats
Machines sorting items based on weight
Plants being categorized by their color
In a software development company, how are software components classified?
Based on their attributes and behaviors
Based on their physical appearance
Based on their size and weight
Based on their color and texture
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 template to create new instances of objects
A method to delete objects
A way to store objects permanently
A tool to analyze objects
In a school, students are often categorized based on their roles. Which of the following is an example of different classifications for an object?
Student, part-time worker, basketball team
Teacher, engineer, scientist
Car, bus, train
Apple, orange, banana
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?
He can exhibit different characteristics and behaviors depending on the context
He can only belong to one classification at a time
He cannot be classified under multiple categories
He loses his original classification
Which of the following is an example of an object having multiple classifications in different contexts?
Ms Lim: employee in ABC Company + customer when ordering food online in Food Co.
A car being used for transportation and racing
A student studying and playing sports
A book being read and stored in a library
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?
Identifying individual objects within the system
Identifying the class of objects rather than individual objects
Grouping objects based on their physical attributes
Sorting objects alphabetically
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?"
The size of the system
Requirements and problem domain of the system
The number of objects in the system
The programming language used
In a software development company, why is identifying the class of a software component important?
It helps in sorting components alphabetically
It simplifies the identification of individual components
It organizes components based on shared characteristics
It eliminates the need for classification criteria
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?
Noun Phrase Approach
Common Class Patterns Approach
Use Case-Driven Approach
Object-Oriented Design Approach
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?
Identifying classes
Designing user interfaces
Debugging software
Writing test cases
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?
Only one approach can be used at a time.
There is no restriction on using only one single approach to find classes.
All approaches must be used simultaneously.
None of the approaches are effective.
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?
Noun Phrase Approach
Common Class Patterns Approach
Use Case-Driven Approach
Class-Responsibility-Collaborators (CRC) Approach
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?
Identifying noun phrases and dividing them into relevant, fuzzy, and irrelevant categories
Listing all verbs and categorizing them into relevant, fuzzy, and irrelevant categories
Analyzing adjectives and grouping them into relevant, fuzzy, and irrelevant categories
Dividing sentences into relevant, fuzzy, and irrelevant categories
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?
Relevant classes
Fuzzy classes
Irrelevant classes
Essential classes
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?
To organize the requirement documents for better understanding
To identify candidate classes for system design
To eliminate unnecessary phrases from the documents
To create a list of verbs for analysis
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?
To create fuzzy classes for further investigation
To eliminate irrelevant classes out of the problem domain
To identify classes that are not part of the class diagram
To ensure all classes are included in the problem domain
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?
Relevant classes
Irrelevant classes
Fuzzy classes
Problem domain classes
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?
They are included in the class diagram
They are eliminated as they are out of scope of the problem domain
They are marked as fuzzy classes for further investigation
They are considered relevant classes
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?
They are eliminated from the problem domain
They appear in the class diagram and play a role in the problem domain
They are marked as fuzzy classes for further investigation
They are ignored during the elimination process
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.
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.
Ava is organizing a community event and needs to categorize the participants into only essential and non-essential groups based on their roles.
Ava is organizing a community event and needs to categorize the participants into core and peripheral groups based on their contributions.
Ava is organizing a community event and needs to categorize the participants into fixed and variable groups based on their roles.
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?
Classifying objects of the world into useful groups.
Grouping objects based on their physical appearance.
Ignoring patterns to simplify system design.
Using random patterns to create classes.
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?
To discover candidate classes for the inventory system.
To eliminate unnecessary objects from the inventory system.
To create random groups of inventory items.
To focus only on physical attributes of inventory items.
During a community event organized by Anika, what is an event in the context of the Events class?
Something that happens at a particular point in time and has associated attributes like date and time.
A recurring activity that happens daily.
A random occurrence without any associated attributes.
A concept used to describe a location.
Which of the following is an example of an event in the Events class?
A sports tournament.
A daily routine.
A random thought.
A location on a map.
During the planning of a community festival, what attributes are typically associated with an event in the Events class?
Date and time.
Location and weather.
Participants and their roles.
Random occurrences.
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?
Mid-semester test.
Sports tournament.
A random thought.
A meeting scheduled for a specific time.
In a university setting, the Organisation class represents a specific entity. What does it signify in this context?
A group of people or a collection of things, such as a school or department
The role a person plays in an organisation, such as a student or lecturer
A method for organising data in a database
A type of software used for managing organisations
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 group of people or a collection of things, such as a school or department
The role a person plays in an organisation, such as a student or lecturer
A method for organising data in a database
A type of software used for managing organisations
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?
Student
Lecturer
School
Role
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?
Department
Student
School
Collection
In a university setting, what does the "Place class" in the Common Class Pattern Approach represent?
Physical locations that the problem domain is interested in tracking (e.g., lab, classroom)
Abstract concepts related to the problem domain
A systematic approach to identifying candidate classes
A method for organizing data structures
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?
To provide a systematic approach to identifying candidate classes
To offer a useful guide in finding the initial list of candidate classes during the analysis stage
To define the physical locations in the problem domain
To create a final list of classes for implementation
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?
It is a systematic approach to identifying candidate classes
It is not a systematic approach but provides a useful guide during the analysis stage
It focuses only on physical locations in the problem domain
It is used exclusively for organizing data structures
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?
Identifying use cases to develop sequence and/or collaboration diagrams
Creating flowcharts to model system processes
Developing algorithms for object interaction
Using random objects to provide services
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?
New objects or new classes
System errors
User feedback
Hardware requirements
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?
Unified process
Agile methodology
Waterfall model
Spiral model
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?
To identify all possible errors in a system
To develop a sequence of scenarios systematically and identify new objects required to interact collaboratively
To create a database for storing use cases
To eliminate redundant use cases
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?
Errors in the system
Classes
Redundant data
Scenarios
Why is identifying all use cases vital in the use case-driven approach?
To ensure the system is error-free
To support the required services of use cases
To create a sequence of scenarios
To eliminate unnecessary objects
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)?
The service or operation that a class has to provide
The physical attributes of a class
The name of the class in a program
The programming language used to define the class
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)?
To assist an object in accomplishing its responsibilities
To define the name of the object
To store the attributes of the object
To determine the programming language used
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.
Responsibilities and collaborators
Attributes and methods
Programming languages and tools
Names and identifiers
In a software development team, what does an analyst write on a card during the design phase?
Object with its responsibilities and collaborators
Object with its attributes and methods
Object with its name and identifier
Object with its programming language
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?
The name should be a plural noun
The name should start with a lowercase letter
The name should be meaningful
The name should include special characters
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?
Singular noun
Plural noun
Abstract noun
Proper noun
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?'
All words should be in lowercase
Only the first word starts with an uppercase letter
Each subsequent word starts with an uppercase letter
Words should alternate between uppercase and lowercase letters
Rohan is creating a new class in his programming project. What is the correct way for him to start the name of this class?
With a lowercase letter
With an uppercase letter
With a number
With a special character
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?
Identify the operations of the class
Identify the object class
Identify the associations of the class
Generalisation of classes
Which of the following is NOT a step in producing a class diagram?
Identify the attributes of the class
Identify the operations of the class
Identify the associations of the class
Identify the methods of the class
What does "generalisation of classes" refer to in the context of producing a class diagram?
Grouping classes based on shared attributes and operations
Identifying the associations between classes
Listing all operations of a class
Defining the object class
Which step involves determining the relationships between different classes in a class diagram?
Identify the object class
Identify the attributes of the class
Identify the associations of the class
Generalisation of classes
Which of the following is a guideline for identifying classes in the analysis stage?
Each class must have a complex and unclear purpose.
Each class must have a set of attributes to describe its characteristics and properties.
Each class must avoid associations with other objects in the system.
Each class should not house any operations.
What is the purpose of forming a class hierarchy during the analysis stage?
To eliminate all associations between classes.
To generalize classes and establish relationships.
To create a set of unrelated objects.
To avoid defining attributes for classes.
Which statement best describes a class in the context of the analysis stage?
A class is a template from which a set of objects can be created.
A class is a random collection of unrelated attributes.
A class is a system that avoids housing operations.
A class is a hierarchy that disconnects objects in the system.
What role do class associations play in the system during the analysis stage?
They disconnect objects in the system.
They connect objects in the system.
They eliminate the need for attributes in classes.
They prevent the formation of class hierarchies.
What is the primary function of the ePro Car Rental system?
To manage membership and car rental for all branches.
To sell cars to customers.
To provide car repair services.
To manufacture cars for rental purposes.
What must each branch of the ePro Car Rental system maintain?
Their own car stocks, rental status, and house-keeping activities.
A list of car buyers.
A database of car manufacturers.
A record of car repair services.
What is the rental limit for members in the ePro Car Rental system?
Members can rent up to two cars from any branch.
Members can rent unlimited cars from any branch.
Members can rent only one car from any branch.
Members can rent up to five cars from any branch.
What happens when a car is returned in the ePro Car Rental system?
A receipt is automatically printed.
The car is sold to another customer.
The car is sent for repair.
The car is removed from the system.
What action is taken when rented cars are overdue in the ePro Car Rental system?
Reminders are sent to the members.
The cars are confiscated.
The rental limit is increased.
The membership is canceled.
What approach is used to identify relevant and fuzzy classes in the given material?
Verb phrase approach
Noun phrase approach
Adjective phrase approach
Prepositional phrase approach
Which of the following is an example of a relevant candidate class?
RentalLimit
RentalRate
Car
None of the above
Which of the following is an example of a fuzzy class?
Branch
Reminder
RentalRate
Receipt
What is the purpose of identifying candidate classes in a graphical representation?
To define the relationships between objects in a system
To determine the attributes of each class
To visually represent the main components of a system
To create a database schema
Which of the following is NOT a candidate class mentioned in the graphical representation?
Car
Branch
Payment
RentalRate
What is the significance of the class "RentalRate" in the context of candidate classes?
It represents the cost associated with renting an item
It defines the maximum limit for rentals
It tracks the members of the system
It stores the details of rental receipts
Which candidate class is most likely associated with tracking customer information?
Member
Receipt
RentalLimit
Branch
What is the purpose of the "carID" attribute in the Car class?
To store the state of the car
To identify a car
To keep the manufacturer and model of a car
To store the owner of the car
Which attribute in the Car class is used to store the state of the car, such as 'available', 'rented', 'suspended', or 'deleted'?
carID
model
status
owner
What does the "model" attribute in the Car class represent?
The state of the car
The manufacturer and model of the car
The owner of the car
The identification of the car
Which attribute in the Car class is used to store information about the owner of the car?
carID
model
owner
status
Which attribute is used to identify a branch in the "Branch" class?
branchID
car_Total_Ctr
memberID
rentalNo
What is the purpose of the "car_Total_Ctr" attribute in the "Branch" class?
To identify a branch
To keep stock of cars in a branch
To store a member's name
To keep rental starting date
Which attribute in the "Member" class is used to store a member's address?
name
address
NRIC
memberID
What is the function of the "rentalNo" attribute in the "Rental" class?
To identify a rental record
To keep rental starting date
To keep rental ending date
To store a member's NRIC number
Which attribute in the "Member" class is used to store a member's NRIC number?
name
address
NRIC
memberID
What is the purpose of the "startDate" attribute in the "Rental" class?
To identify a rental record
To keep rental starting date
To keep rental ending date
To store a member's address
Which attribute is used to identify a receipt in the "Receipt" class?
reminderNo
receiptNo
value
period
What is the purpose of the "ctrNo" attribute in the "Reminder" class?
To identify a receipt
To specify rental limit for VIP members
To keep track of the number of reminders generated
To specify the period of rental rate
Which class contains the "VIP" attribute to specify rental limits for VIP members?
Receipt
Reminder
RentalLimit
RentalRate
What does the "period" attribute in the "RentalRate" class specify?
To identify a receipt
To specify the period of rental rate
To store rental limit of a member
To keep track of the number of reminders generated
Which attribute is NOT part of the "Car" class?
carID
model
receiptNo
owner
What is the purpose of the "Reminder" class based on its attributes?
To store car details
To manage rental limits
To track reminders using reminderNo and ctrNo
To record branch information
Which class contains the attribute "VIP"?
RentalRate
RentalLimit
Receipt
Reminder
What is the relationship between "RentalRate" and its attributes?
RentalRate tracks the branch details
RentalRate defines the value and period of rental charges
RentalRate stores car ownership information
RentalRate records member details
Which attribute is unique to the "Member" class?
branchID
NRIC
rentalNo
carID
What is the purpose of the `create()` operation in the Car class?
To delete car information from the system
To retrieve car information from the system
To create or register a new car
To alter car information
Which operation in the Car class is used to retrieve car information from the system?
create()
update()
delete()
get()
What is the function of the `update()` operation in the Car class?
To alter car information
To delete car information from the system
To retrieve car information from the system
To create or register a new car
Which operation in the Car class is responsible for deleting car information from the system?
create()
update()
delete()
get()
What is the primary purpose of identifying operations for each class in object-oriented programming?
To define the attributes of the class
To specify the services or functions required by the object class
To create a new class
To delete the class
Which operation is used to create or register a new branch in the "Branch" class?
setBranchID()
create()
update()
delete()
What is the purpose of the init_Car_Total_Ctr() operation in the "Branch" class?
To delete branch information from the system
To initialise the total number of cars in a branch
To set branch identity
To alter branch information
Which operation in the "Member" class is used to retrieve a member's name?
setName()
getName()
update()
delete()
In the "Branch" class, which operation is responsible for altering branch information?
update()
delete()
getBranchID()
setBranchID()
What is the purpose of the delete() operation in the "Member" class?
To delete member information from the system
To store a member's name
To alter member information
To retrieve a member's name
