100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

COS2614 EXAM PACK 2025 {DETAILED QUESTIONS AND ANSWERS}

Rating
5.0
(1)
Sold
13
Pages
69
Grade
A+
Uploaded on
18-01-2025
Written in
2024/2025

COS2614 EXAM PACK 2025 {DETAILED QUESTIONS AND ANSWERS}

Institution
Course










Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Course

Document information

Uploaded on
January 18, 2025
Number of pages
69
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

lOMoAR cPSD| 48011787




Downloaded by Vincent kyalo ()

, lOMoAR cPSD| 48011787




Correct answers are marked with an *.

Which of the following is true about the Item class?

a. Itsdata members can be accessed by its subclasses
b. When an instance of Item is created, its bar code is validated to
be a 13 digit number
c. isValidBarcode() should be made const as it does not alter data
members *d. It provides a facility to obtain a string
representation of its objects

(1 Points)
The output window should display images, which are included in
the icons folder. What needs to be done for the images to appear
on the output window without making any changes to the given
project?

a. Copy all six images to the project folder
b. Copy all six images to the build project
folder *c. Copy the icons folder to the
build project folder d. Add the icons folder
to the project as other files

(1 Points)
After making the necessary changes so that the images appear on
the window (as required for question 2), which of the following
is correct after the images are displayed on the window?

a. Each image appears once on the window
*b. Each image appears twice on two different control options on
the window
c. Each image appears thrice on three different control options on
the window
d. Each image appears in four different control options on the
window




Downloaded by Vincent kyalo ()

, lOMoAR cPSD| 48011787




(1 Points)
Which of the following is incorrect about the project?

a. It manages a collection of Item objects
b. It allows the user to read Items from a previous execution of
the project
*c. It allows the user to save Items in a
comma-separated format d. It allows the
user to exit the program without saving
data

(1 Points)
What is meant by separating model and view?

a. Model handles data and view handles how the model is
displayed on the screen
b. View handles data and model may handle how the data is
displayed on the screen
c. Both model and view can handle data/model/logic of the
application
d. Both model and view can handle the data representation on the
screen

(1 Points)
Which of the following is a view class in the given project?

a. Item
b. ItemList
c. ItemReader *d. ItemDialog

(1 Points)
Which of the following is a model class in the given project?




Downloaded by Vincent kyalo ()

Reviews from verified buyers

Showing all reviews
1 month ago

it is wonderful ... well compiled and relevnt

5.0

1 reviews

5
1
4
0
3
0
2
0
1
0
Trustworthy reviews on Stuvia

All reviews are made by real Stuvia users after verified purchases.

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
MasterVincent University of South Africa (Unisa)
Follow You need to be logged in order to follow users or courses
Sold
2561
Member since
2 year
Number of followers
452
Documents
1529
Last sold
6 days ago
MasterVincent

On this page, you find all documents, package deals, and flashcards offered by seller MasterVincent.

4.1

375 reviews

5
205
4
68
3
50
2
24
1
28

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions