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

COS1512 Assignment 2 2023 (762913)

Rating
-
Sold
4
Pages
27
Grade
A+
Uploaded on
28-06-2023
Written in
2022/2023

QUESTIONS AND ANSWERS











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

Document information

Uploaded on
June 28, 2023
Number of pages
27
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers

Content preview

COS1512
Assignment 2
2023 (762913)
QUESTIONS WITH ANSWERS

, 6/28/2023




COS1512
Assignment 2
2023 (762913)
Questions with answers

, COS1512 Assignment 2 2023 (762913)




E DATE: 3 July 2023


T-OFF DATE: 6 July 2023



TORIAL MATTER: Chapters 4, 5, 6, 8 and 9 of the Study Guide


Chapters 4 (section 4.6), 5 (section 5.5), 6, 8 and 9

(excluding the optional parts of section 9.2) of

Savitch


EIGHT: 30%


RKS: 70




Question 1


Write a program to determine the tuition fees for a student. The program should

use two overloaded functions, each named calcFees, to determine the tuition

fees for a student. Students who repeat a module pay a different fee for the

modules which are repeated. The program should first ask if the student repeats

any modules. If the student repeats, the program should ask for the number of

modules which are repeated.


One of the overloaded functions should accept the number of modules enrolled

for the first time and the fee for those modules as arguments (parameters), while

the other function accepts arguments for the number of modules enrolled for

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.
pablitoh11 University of South Africa (Unisa)
View profile
Follow You need to be logged in order to follow users or courses
Sold
2483
Member since
2 year
Number of followers
1496
Documents
2138
Last sold
1 week ago

3,7

291 reviews

5
120
4
48
3
70
2
12
1
41

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 exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT 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