Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

COS1511 – Introduction to Programming I | January/February 2026 Supplementary Exam Memo (UNISA South Africa)

Rating
-
Sold
-
Pages
29
Grade
A+
Uploaded on
23-01-2026
Written in
2025/2026

This COS1511 Introduction to Programming I Supplementary Exam Memo is fully updated for the January/February 2026 UNISA examination period and aligned with University of South Africa first-year assessment standards. It covers all core examinable topics including programming fundamentals, problem-solving techniques, algorithms, variables and data types, control structures (selection and iteration), functions/methods, basic input/output, debugging, and introductory program design concepts, with a strong focus on exam-style application and logic. The memo provides clear, structured, and exam-focused answers, making it an ideal revision resource for first-year UNISA Computer Science students preparing for the COS1511 supplementary examination.

Show more Read less
Institution
Course

Content preview

COS1511 – Introduction to Programming I | January/February 2026 Exam
Memo (UNISA South Africa)

,Question 1:
What is the primary purpose of a programming language?
A) To communicate with hardware
B) To allow users to create software applications
C) To translate human commands into machine-readable code
D) To facilitate the creation of algorithms
Correct Option: D
Rationale: The primary purpose of a programming language is to facilitate the creation
of algorithms. Programming languages provide the syntax and structure necessary to
define algorithms in a way that is understandable and executable by computers.


Question 2:
Which of the following is NOT a fundamental concept in programming?
A) Variables
B) Loops
C) Data structures
D) Formatting
Correct Option: D
Rationale: While formatting is important for code readability, it is not a fundamental
concept in programming. Variables, loops, and data structures are core elements that
form the backbone of programming logic and functionality.


Question 3:
In which of the following programming constructs would you most likely use a
conditional statement?
A) If-else statement
B) For loop
C) Function declaration
D) Variable assignment
Correct Option: A
Rationale: Conditional statements, such as if-else statements, are used to perform
different actions based on whether a specified condition evaluates to true or false. This
is a fundamental construct in programming for decision-making.


Question 4:
Which of the following data types would be best suited for storing a person's age?

, A) String
B) Float
C) Integer
D) Boolean
Correct Option: C
Rationale: An integer data type is best suited for representing whole numbers, such as
a person's age, which does not require decimal places. Using a string or float for this
purpose would be inappropriate and inefficient.


Question 5:
What is the output of the following code snippet?
python
x = 10
y=5
print(x + y)
Run
A) 15
B) 15
C) 105
D) Error
Correct Option: B
Rationale: The code snippet adds two integers, x and y, resulting in 15. The print
function outputs the result of the addition, confirming that option B is the correct
answer.
Question 1:
What is the primary purpose of a programming language?
A) To communicate with hardware
B) To allow users to create software applications
C) To translate human commands into machine-readable code
D) To facilitate the creation of algorithms
Correct Option: D
Rationale: The primary purpose of a programming language is to facilitate the creation
of algorithms. Programming languages provide the syntax and structure necessary to
define algorithms in a way that is understandable and executable by computers.

Written for

Institution
Course

Document information

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

Subjects

$3.17
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

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.
palbright University of South Africa (Unisa)
Follow You need to be logged in order to follow users or courses
Sold
336
Member since
8 months
Number of followers
0
Documents
300
Last sold
3 weeks ago

1.7

3 reviews

5
0
4
0
3
1
2
0
1
2

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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions