100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4,6 TrustPilot
logo-home
Examen

INF1511 EXAM PACK 2026

Puntuación
-
Vendido
1
Páginas
200
Grado
A+
Subido en
16-12-2024
Escrito en
2024/2025

Visual Programming I - INF1511 Latest exam pack questions and answers and summarized notes for exam preparation. Updated for 2025. For assistance call or W.h.a.t.s.a.p.p us on +/ 2/ 5/ 4 /7 /7 /9 /5 /4 /0 /1 /3 /2 .

Institución
Grado








Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Libro relacionado

Escuela, estudio y materia

Institución
Grado

Información del documento

Subido en
16 de diciembre de 2024
Número de páginas
200
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

Vista previa del contenido

INF1511
EXAM PACK

, lOMoARcPSD|21997160




Assessment 1

Question 1




Question text

The command line is used to execute Python code ____ .

a.

each line dynamically

b.

one line at a time

c.

multiple lines simultaneously

d.

multiple lines sequentially

Question 2




Question text

If the data type of a value in a variables does not match the format code,
then ____ will occur.

a.

an exception

b.

an event handler

, lOMoARcPSD|21997160




c.

an auto conversion

d.

an error message

Question 3




Question text

For the provided input, what is the output?


#This is the input
a=int(input('Please enter the number of masks issued to the school : '))
b=int(input('Please enter the number of learners in the school: '))
#this is the processing
thetotal=a//b
theremain=a%b
#this is the output
print('Each learner receives : ', thetotal)
print('The remainder is:', theremain)

a.

Please enter the number of masks issued to the school : 300
Please enter the number of learners in the school: 900
Each learner receives : 0
The remainder is: 300

b.

Please enter the number of masks issued to the school : 300
Please enter the number of learners in the school: 900
Each learner receives : 30
The remainder is: 3

c.

Please enter the number of masks issued to the school : 300
Please enter the number of learners in the school: 900




Downloaded by Thomas Mboya ()

, lOMoARcPSD|21997160




Each learner receives : 3
The remainder is: 0

d.

Please enter the number of masks issued to the school : 300
Please enter the number of learners in the school: 900
Each learner receives : 300
The remainder is: 0

Question 4




Question text

The print() function prints a new line. Which one of the following print()
commands includes characters that will supress the printing of a new line?

a.

print (‘Good luck’, end == ‘ ’ )

b.

print (‘Good luck’, end = ‘ ’ )

c.

print (‘Good luck’, nl/// )

d.

print (‘Good luck’, end )

Question 5




Question text

What is the output from the code executed?


#add 2 numbers and show the result
$2.71
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada

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.
LIBRARYpro University of South Africa (Unisa)
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
10599
Miembro desde
2 año
Número de seguidores
4904
Documentos
4857
Última venta
23 horas hace
LIBRARY

On this page, you find all documents, Package Deals, and Flashcards offered by seller LIBRARYpro (LIBRARY). Knowledge is Power. #You already got my attention!

3.7

1469 reseñas

5
690
4
237
3
243
2
79
1
220

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