stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
CITS3301/4401 Final Quiz Flashcards | StudBud
Explore
/
CITS3301/4401 Final Quiz
CITS3301/4401 Final Quiz
34 terms
·
StudBud Administration
·
61 plays
Imported from external platform
Flashcards
34 cards
F
Practice quiz
P
Host live
L
Questions
34
Answers
1
Which of the below is a valid example of a class?
Class: Report, Attributes: title, author, Methods: save()
Class: Student, Attributes: enrol(), getName(), Methods: studentId
Class: Printer, Attributes: status, printerName, Methods: checkStatus()
Class: PrintReport, Attributes: format, printerName, Methods: print()
2
Is this the correct definition of an 'object'?
False
True
3
What kind of diagram is this?
State Machine Diagram
UML Class Diagram
Use Case Diagram
UML Sequence Diagram
4
Which of the following is not typically included in a use case text description?
Source code
Postconditions
Flow of events
Preconditions
5
____ appears between classes when one object merely contains a reference to another
Composition
Aggregation
6
The goal of requirements
validation
is to check...?
whether we got the requirements right
...whether we have the right requirements
7
One class does the work of two, what refactoring technique should we use?
Extract class
Extract Subclass
Replace delegation with inheritance
Replace inheritance with delegation
8
Which of these does a user story not include?
Role
Requirement
Business Goal
Techical specification
9
Which of the below is TRUE about 'classes'?
A class should include a name, random attributes, and methods
Classes are instances of objects
A class includes attributes but does not define behaviours
A class is an abstraction of existing and new objects
10
What is software architecture primarily concerned with?
Writing Algorithms
Coding in a specific language
Designing UI elements
Organising system components
11
Which of the following is a
non-functional
requirement?
User logs in with student ID
Enable student to enrol in class
Student selects courses for semester
System must respond within 2 seconds
12
Composition is a type of aggregation?
False
True
13
A weaker variant of association that usually implies that there is no permanent link between objects is known as...
Aggregation
Dependency
Weak Association
14
Coherence (or cohesion) is the strength of dependencies WITHIN a subsystem
False
True
15
A subclass that uses only a portion of the methods of its superclass, what refactoring technique should we use?
Replace delegation with inheritance
Extract Subclass
Replace inheritance with delegation
Extract Class
16
What are the 3 elements?
Modules, pipelines, filters
Modules, pipes, filters
Components, connectors, constraints
Components, connectors, controllers
17
What is the following requirement missing? "The system will be easy to use"
The stakeholder
The requirement is not measurable.
The requirement is grammatically incorrect.
The raw user need
18
A testable requirement is ...
A requirement that has been validated.
A requirement that is measurable.
A requirement that has been written in the requirements document.
A requirement that has unit tests.
19
Select the correct expression for the below diagram
A PersonalCustomer must have at least one Employee assigned
A CorporateCustomer may be associated with zero or one Employee
Each Order must be linked to exactly one OrderLine
An OrderLine can be linked to multiple Products
20
A type of relationship in which one object uses or interacts with another is known as...
Aggregation
Association
21
In the given architecture, the database layer can interact with the business layer?
False
True
22
How is the
Adapter pattern
used?
It creates new user interfaces for an app
It wraps incompatible interfaces so they can work together
It allows legacy systems to be rewritten
It provides remote access to an object
23
In the below architecture,
filter
s are...
Directories
Connectors
Components
Constraints
24
A major risk of prototyping is that stakeholders may mistake a rough prototype for the final product?
False
True
25
Functional requirements describe
how
the software should perform its tasks?
True
False
26
We have two classes, one of them is not responsible for anything what refactoring technique do we use?
Inline class
Extract Subclass
Replace delegation with inheritance
Extract class
27
The 4 major activities of Requirements Engineering are
False
True
28
In
Software Engineering: A Practitioner's Approach
, 'repository architecture' is known as...
Call-and-return architecture
Object-oriented architecture
Data-flow architecture
Data-centered architecture
29
"The system will be easy to use" is an example of what type of requirement?
Non-Functional Requirement
Project Requirement
A bad non-functional Requirement
Functional Requirement
30
Why is requirements engineering
not
difficult?
SW Engineering is a creative, problem solving activity
Real requirements creep
Real customers are always sure what they want
Real developers are not sure how to build it
31
Coupling is the strength of dependencies BETWEEN two subsystems
True
False
32
Which of these is not a structural pattern?
Proxy
Facade
Observer
Adapter
33
"The system shall be available to users for at least 1400 minutes in any 24 hour period"
is what non-func. requirement?
Portability
Robustness
Reliability
Integrity
34
All
software architectures have 3 common elements. True or False?
True
False