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

COS1511 EXAM PACK 2026 - DISTINCTION GUARANTEED

Rating
-
Sold
-
Pages
331
Grade
A+
Uploaded on
19-01-2026
Written in
2025/2026

Well-structured COS1511 EXAM PREPARATION PACK - DISTINCTION GUARANTEED. Contains recent exam questions and answers, and Summarised study notes. All you need to pass the 2026 EXAMS












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

Document information

Uploaded on
January 19, 2026
Number of pages
331
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

COS1511
EXAM PACK
 Recent exam questions and answers
 Summarised study notes
 Exam tips and guidelines




+27 81 278 3372
DISCLAIMER & TERMS OF USE
 Educational Aid: These study notes are intended to be used as educational resources and should not be seen as a
replacement for individual research, critical analysis, or professional consultation. Students are encouraged to perform
their own research and seek advice from their instructors or academic advisors for specific assignment guidelines.
 Personal Responsibility: While every effort has been made to ensure the accuracy and reliability of the information in
these study notes, the seller does not guarantee the completeness or correctness of all content. The buyer is
responsible for verifying the accuracy of the information and exercising their own judgment when applying it to their
assignments.
 Academic Integrity: It is essential for students to maintain academic integrity and follow their institution's policies
regarding plagiarism, citation, and referencing. These study notes should be used as learning tools and sources of
inspiration. Any direct reproduction of the content without proper citation and acknowledgment may be considered
academic misconduct.
 Limited Liability: The seller shall not be liable for any direct or indirect damages, losses, or consequences arising from
the use of these notes. This includes, but is not limited to, poor academic performance, penalties, or any other negative
consequences resulting from the application or misuse of the information provided.

, lOMoARcPSD|53028991




UNIVERSITY EXAMINATIONS

OCTOBER/NOVEMBER 2025

COS1511

Introduction to programming I


Welcome to the COS1511 examination

Date:15 October 2025
Time: 07:45
Hours: 2hrs

Examiner name: Ms DR Mokwana
Internal moderator name: Mr SET Lehong
External moderator name: N/A

This paper consists of 09 pages.

Total marks: 70

Instructions:
• Upload your answer script in a single PDF file format not password protected
• No emailed scripts will be marked
• Preview your submission to ensure legibility and correct script file has been uploaded
• Students who have not utilised invigilation app will be subjected to disciplinary process
• Students suspected of dishonesty conduct during examination will be subjected to
disciplinary process
• Write neatly and legibly
• The mark for each question is in brackets next to the question
Additional student instructions
1. Incorrect file format and uncollated answer scripts will not be considered.
2. Incorrect answer scripts and/or submissions made on unofficial examinations platforms
(including the invigilator cell phone application) will not be marked and no opportunity will
be granted for resubmission. Only the last answer file uploaded within the stipulated
submission duration period will be marked.
3. Submissions will only be accepted from registered student accounts.
4. Students suspected of dishonest conduct during the examinations will be subjected to
disciplinary processes. Students may not communicate with any other person or request
assistance from any other person during their examinations. Plagiarism is a violation of
academic integrity and students who plagiarise, copy from published work or Artificial
Intelligence Software (eg ChatGPT) or online sources (eg course material), will be in
violation of the Policy on Academic Integrity and the Student Disciplinary Code and may be
referred to a disciplinary hearing. Unisa has a zero tolerance for plagiarism and/or any
other forms of academic dishonesty.
5. Listening to audio (music) and making use of audio-to-text software is strictly prohibited
during your examination session unless such usage of the software is related to a student’s
assistive device which has been so declared. Failure to do so will be a transgression of
Unisa’s examination rules and the student's marks will be withheld.
6. Non-adherence to the processes for uploading assessment responses will not qualify the
student for any special concessions or future assessments.




Downloaded by Edger Tutora ()

, lOMoARcPSD|53028991




COS1511 OCT/NOV 2025




QUESTION 1 [30]

1.1. based on the program below. This program contains one or more syntax errors.




Which of the options below will rectify the syntax error in line 7?

1. Change line 7 to sentence = 'Hi there, ';
2. Change line 7 to sentence1 = "Hi there, ";
3. Change line 8 to sentence1 = sentence1 + 'Mary!';
4. Change line 8 to sentence1 = sentence + "Mary!"; (3)


1.2. Suppose the following declarations appear in a C++ program:
float amount, forWaiter;

char service;

If the following function header is given:

float tip(float amountP, char serviceP)

which of the options below is a correct calling statement of the function tip?

1. forWaiter = tip(float amount, char service);

2. tip(amountP, serviceP);

3. forWaiter = tip(123.66, 'A');

4. forWaiter = tip(amountP, serviceP); (3)
2


Downloaded by Edger Tutora ()

, lOMoARcPSD|53028991




COS1511 OCT/NOV 2025


1.3. Suppose the following declarations appear in a C++ program:
float afford, amount;

int number;

string name;

If the following function header is given:

void supplyInfo(int nrP, string & nameP, float & amountP)

which of the options below is a correct calling statement of the function
supplyInfo?

1. supplyInfo(4, "Beach Hotel", 789);

2. supplyInfo(4, name, amount);

3. supplyInfo(nrP, nameP, amountP);

4. supplyInfo(number, "Beach Hotel", 789); (3)

1.4. Consider the following C++ code segment:




If the value of i is 5 and the value of j is 6, which of the options below gives the
correct output?
1. 2

2. 1

3. 4

4. 3
(3)



3


Downloaded by Edger Tutora ()

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.
Edge
View profile
Follow You need to be logged in order to follow users or courses
Sold
9796
Member since
2 year
Number of followers
4253
Documents
2731
Last sold
3 hours ago

4,2

1194 reviews

5
671
4
239
3
183
2
28
1
73

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