Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Examen

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

Puntuación
-
Vendido
-
Páginas
29
Grado
A+
Subido en
23-01-2026
Escrito en
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.

Mostrar más Leer menos
Institución
Grado

Vista previa del contenido

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.

Escuela, estudio y materia

Institución
Grado

Información del documento

Subido en
23 de enero de 2026
Número de páginas
29
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

$3.17
Accede al documento completo:

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Conoce al vendedor

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
palbright University of South Africa (Unisa)
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
336
Miembro desde
8 meses
Número de seguidores
0
Documentos
300
Última venta
3 semanas hace

1.7

3 reseñas

5
0
4
0
3
1
2
0
1
2

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes