0% found this document useful (0 votes)
24 views2 pages

Unit 3 Theory Self-Assessment Attempt Review - 1

1. The document is a self-assessment quiz completed by the user on unit 3 theory in their INF1511-23-Y course at UNISA. 2. The quiz consisted of 5 multiple choice questions covering topics about range functions, while loops, continue statements, and code indentation. 3. The user answered all 5 questions correctly.

Uploaded by

Monde Mngoma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views2 pages

Unit 3 Theory Self-Assessment Attempt Review - 1

1. The document is a self-assessment quiz completed by the user on unit 3 theory in their INF1511-23-Y course at UNISA. 2. The quiz consisted of 5 multiple choice questions covering topics about range functions, while loops, continue statements, and code indentation. 3. The user answered all 5 questions correctly.

Uploaded by

Monde Mngoma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Unit 3 Theory Self-Assessment: Attempt review https://mymodules.dtls.unisa.ac.za/mod/quiz/review.php?attempt=1409...

UNISA  2023  INF1511-23-Y  Welcome Message  Unit 3 Theory Self-Assessment

QUIZ

Started on Tuesday, 10 October 2023, 9:00 PM


State Finished
Completed on Tuesday, 10 October 2023, 9:03 PM
Time taken 3 mins 2 secs

Question 1

Correct

Marked out of 1.00

The range (x, y) returns a list of items that are consecutive integers from _______.

a. x (included) to y (excluded). 
b. x (excluded) to y (excluded)
c. x (excluded) to y (included)
d. x (included) to y (included)

The correct answer is: x (included) to y (excluded).

Question 2

Correct

Marked out of 1.00

A WHILE structure is used to program a programming ____________

a. sequence
b. pickling
c. decision
d. repetition 

The correct answer is: repetition

1 of 2 2023/10/10, 21:03
Unit 3 Theory Self-Assessment: Attempt review https://mymodules.dtls.unisa.ac.za/mod/quiz/review.php?attempt=1409...

Question 3

Correct

Marked out of 1.00

The ______ statement stops execution of the current iteration by skipping the rest
of the loop and continuing to execute the loop with the next iterative value.

a. continue 
b. halt
c. break
d. go

The correct answer is: continue

Question 4

Correct

Marked out of 1.00

The ____ function generates and returns a sequence of integers, and is used in
looping statements.

a. ranger()
b. arrange()
c. ranges()
d. range() 

The correct answer is: range()

Question 5

Correct

Marked out of 1.00

To indent code, _______ can be used to indent code.

a. hashtags
b. only spaces
c. tabs or spaces 
d. commas

The correct answer is: tabs or spaces

2 of 2 2023/10/10, 21:03

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy