100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

INF1511 Assignment 7 2024|Due 23 September 2024

Beoordeling
3,0
(1)
Verkocht
1
Pagina's
6
Cijfer
A+
Geüpload op
29-07-2024
Geschreven in
2023/2024

Exam of 6 pages for the course Visual Programming I at Unisa (Due 23 September)

Instelling
Vak









Oeps! We kunnen je document nu niet laden. Probeer het nog eens of neem contact op met support.

Geschreven voor

Instelling
Vak

Documentinformatie

Geüpload op
29 juli 2024
Aantal pagina's
6
Geschreven in
2023/2024
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

Voorbeeld van de inhoud

INF1511-24-¥: Assessment7 X +

; mymodules.dtls.unisa.ac.za/mod/quiz/view.php?id=853222




USA.2: '5° myAdmin




Attempts allowed: 1

ditional Resources Time limit: 30 mins

sessment 1
Summary of your previous attempts
sessment 2
State Marks/15.00 Grade /100.00 Review
sessment 3

Finished 14.00 93.33
3essment 4
Submitted Monday, 29 July 2024, 9.45 PM

sessment 5

3essment 6 Your final grade for this quiz is 93.33/100.00.
sessment 7 ) No more attempts are allowed
3essment 8
Back to the course
IT 0- Discussion Class

It 1 Python Environment


t 2 Decisions in Python

t 3 Looping in Python Previous activity Next activity
[ )
t 4 Strings < Assessment 6
Jumpto ...
Assessment 8


it 5 Functons and Proce.

, +

isa.ac.za/mod/quiz/attempt.php?attempt=20420645&cmid=853222


.@
2. o....g9 myAdmin



lLi Assessment7
I Qu
Back



Time left 0.21.51

Question 1 The purpose of this code is to _
Not yet
answered
myFile=input('Enter the name of your file : ')
Marked out of f=open(myFile, 'w) Fin
1.00
n=int(input('How many?'))
print('Enter input : ')
for i in range(O,n):
m=input()
f.write("%s\n %m)
f.close0)


0 a. to write to n files
@ b. to write input to a file
0 C. to count the letters in the name of the file
0 d. to count the lines in a file
Clear my choice

X +

rmodules.dtls.unisa.ac.za/mod/quiz/attempt.php?attempt =20420645&cmid = 853222 A Erro
*
myAdmin



]Time left 02145]
Question Z There are three types of files in Python, namely: fles.
Not yet
answered

Marked out of
100

Flag question
@ a
Ob
O c.
text, binary and pickled
encrypted, binary and pickled
text, binary and compressed
I Quiz navigation




O d. encrypted, binary and compressed
ar my .ho



Finish attempt
Question What is the output from the execution of the following code?




-
Not yet
answered
myFile='testfile.txt
Marked out of f= open(myFile, 'r)
1 00
print ('What is the opening mode of file '+ myFile + :', f.mode)
Ela q stion

O a. What is the opening mode of fle testfile.txt: reading
Class
Ob. What is the opening mode of fle testfile.txt: read

nment @ c. What is the opening mode of file testfile.txt: r
Od What is the opening mode of file testfile.txt: ready
Python
ar my .ho

thon

Beoordelingen van geverifieerde kopers

Alle reviews worden weergegeven
1 jaar geleden

3,0

1 beoordelingen

5
0
4
0
3
1
2
0
1
0
Betrouwbare reviews op Stuvia

Alle beoordelingen zijn geschreven door echte Stuvia-gebruikers na geverifieerde aankopen.

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
Falconntutors Teachme2-tutor
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
1581
Lid sinds
1 jaar
Aantal volgers
272
Documenten
376
Laatst verkocht
1 week geleden
Falconn Academy

Falconn Tutors is dedicated to providing comprehensive and personalized tutoring services to students enrolled at the University of South Africa (UNISA). Recognizing the unique challenges faced by distance learners, Falconn Tutors tailors its approach to ensure that UNISA students receive the support and guidance they need to excel academically.

4,2

239 beoordelingen

5
146
4
38
3
33
2
7
1
15

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via Bancontact, iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo eenvoudig kan het zijn.”

Alisha Student

Veelgestelde vragen