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

INF1511 EXAM PACK 2023

Rating
1,0
(1)
Sold
1
Pages
100
Grade
A+
Uploaded on
05-09-2023
Written in
2023/2024

latest questions and elaborate answers












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

Document information

Uploaded on
September 5, 2023
Number of pages
100
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Content preview

INF1511 EXAM PACK 2023



QUESTIONS
AND ANSWERS



For assignment help and inquires
Email:
WhatsApp: +254704997747

, Stuvia.com - The study-notes marketplace




INF1511

EXAM PACK




Downloaded by: tebzamabalane |
Distribution of this document is illegal

,! I I
Stuvia.com - The 'study-notes marketplace
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 |
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 |
Distribution of this document is illegal

Reviews from verified buyers

Showing all reviews
1 year ago

I don't see the importance of buying it..because there are no answers there..useless

1,0

1 reviews

5
0
4
0
3
0
2
0
1
1
Trustworthy reviews on Stuvia

All reviews are made by real Stuvia users after verified purchases.

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.
kymih University of South Africa (Unisa)
View profile
Follow You need to be logged in order to follow users or courses
Sold
72
Member since
2 year
Number of followers
56
Documents
240
Last sold
1 month ago

4,0

6 reviews

5
4
4
0
3
1
2
0
1
1

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