100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada
logo-home
INF1511 EXAM PACK 2023 2,40 €   Añadir al carrito

Examen

INF1511 EXAM PACK 2023

 29 vistas  1 veces vendidas
  • Grado
  • Institución

latest questions and answers

Vista previa 4 fuera de 100  páginas

  • 16 de marzo de 2023
  • 100
  • 2022/2023
  • Examen
  • Preguntas y respuestas
avatar-seller
INF1511
Exam Pack
2023
LATEST
QUESTIONS
AND ANSWERS

, Stuvia.com - The study-notes marketplace




INF1511

EXAM PACK




Downloaded by: tebzamabalane | phamphi@webmail.co.za
Distribution of this document is illegal

,! I
Stuvia.com - The 'study-notes marketplace
I



I
I >


I
I : .
I
I




UNIVERSITY EXAMINATIONS UNIVERSITEITSEKSAMENS


UNlSAI~

INF1511 October/November 2019

Visual Programming I
Duration 2 Hours 70 Marks

EXAMINERS
FIRST MRSPMGOUWS
SECOND DRVZMZAZI

Closed book exammation
This examination question paper remains the property of the University of South Africa and may not be
removed from the exammatton venue




This exarrunatton question paper consists of 5 pages

Instructions
• Answer all the questions in the answer book
• Answers m pencil will not be marked.
• The marks are provided m brackets next to the questions
• Good luck!

Duration 2 hours
Marks 70




Downloaded by: tebzamabalane | phamphi@webmail.co.za
Distribution of this document is illegal

, Stuvia.com - The study-notes marketplace




2
INF1S11
OCTOBER/NOVEMBER 2019

Question 1 Multiple-choice questions [10]
.
INSTRUCTION· Select the correct OPTION
Question Options Answers
a) Comments m Python begin with a 1 #
2 II
3 *
4 &&&
b) What format code rs used to display 1 %a
ASCII code? 2 %s
3 %1
4 %c
c) The function which returns the data 1 datatype()
type of an object rs 2 type_()
3 obJect_O
4 data()
d) An example of an immutable 1 lists
sequence m Python rs 2 integers
3 stnngs
4 floats
e) The index value of the last element m 1 z
a hst rs 2 -1
3 0
4 1
f) rs a special method that rs 1 1mt
automatically invoked right after a 2 pnnt
new mstance of a class rs created 3 str
4 class
g) Which file access mode option 1 a+
opens a file for reading and 2 A
appends contents to the end of the 3 a
file? 4 r+
h) What will be the content of file 1 Tea Coffee Espresso
snackorder txt after the following 2 T eaCoffeeEsoresso
code has been executed? 3 TEA COFFEE ESPRESSO
4 Tea
f open (" snackordertxt", "w+")
=
Coffee
lst~['Tea', 'Coffee', 'Espresso' l
Espresso
f w£Ltelines(lst)
f close ()
1) A class that implements only the 1 data descriptor
_get_ method for an object rs 2 getter class
called a 3 fetch class
4 non-data-descriptor
J) What rs the output of 1 Tea
pr1nt(snack.get("Tea"))? 2 Tea 1
3 TEA
snack={ "Tea" .1,"Coffee" 2, 4 1
"Espresso" 3}
-




[Please Tum Over]

Downloaded by: tebzamabalane | phamphi@webmail.co.za
Distribution of this document is illegal

Los beneficios de comprar resúmenes en Stuvia estan en línea:

Garantiza la calidad de los comentarios

Garantiza la calidad de los comentarios

Compradores de Stuvia evaluaron más de 700.000 resúmenes. Así estas seguro que compras los mejores documentos!

Compra fácil y rápido

Compra fácil y rápido

Puedes pagar rápidamente y en una vez con iDeal, tarjeta de crédito o con tu crédito de Stuvia. Sin tener que hacerte miembro.

Enfócate en lo más importante

Enfócate en lo más importante

Tus compañeros escriben los resúmenes. Por eso tienes la seguridad que tienes un resumen actual y confiable. Así llegas a la conclusión rapidamente!

Preguntas frecuentes

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

100% de satisfacción garantizada: ¿Cómo funciona?

Nuestra garantía de satisfacción le asegura que siempre encontrará un documento de estudio a tu medida. Tu rellenas un formulario y nuestro equipo de atención al cliente se encarga del resto.

Who am I buying this summary from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller smillanih. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy this summary for 2,40 €. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

45,681 summaries were sold in the last 30 days

Founded in 2010, the go-to place to buy summaries for 14 years now

Empieza a vender
2,40 €  1x  vendido
  • (0)
  Añadir