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

Unit 2 Theory Self-Assessment Attempt Review - 2

The document is a summary of a student's attempt at a self-assessment quiz on logical expressions and conditional statements for a university course. The student answered all 5 multiple choice questions correctly. The questions covered the evaluation of logical expressions using operators like OR, AND, and NOT. It also covered optional and mandatory components of IF-ELSE statements and the meaning of comparison operators like ==.

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)
14 views2 pages

Unit 2 Theory Self-Assessment Attempt Review - 2

The document is a summary of a student's attempt at a self-assessment quiz on logical expressions and conditional statements for a university course. The student answered all 5 multiple choice questions correctly. The questions covered the evaluation of logical expressions using operators like OR, AND, and NOT. It also covered optional and mandatory components of IF-ELSE statements and the meaning of comparison operators like ==.

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 2 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 2 Theory Self-Assessment

QUIZ

Started on Tuesday, 10 October 2023, 8:51 PM


State Finished
Completed on Tuesday, 10 October 2023, 8:57 PM
Time taken 5 mins 32 secs

Question 1

Correct

Marked out of 1.00

The logical expression connected with the or logical operator returns ____ if any
of the logical expressions evaluates to true.

a. syntax error
b. true 
c. false
d. equal to

The correct answer is: true

Question 2

Correct

Marked out of 1.00

The logical expressions connected with an and logical operator returns _____ if all
logical expressions evaluate to true.

a. a syntax error
b. not equal to
c. true 
d. false

The correct answer is: true

1 of 2 2023/10/10, 20:57
Unit 2 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 logical expression that is evaluated to true and preceded by the not logical
operator results in a ____ value.

a. syntax error
b. true
c. false 
d. greater than

The correct answer is: false

Question 4

Correct

Marked out of 1.00

The ELSE part of the IF.. ELSE statement is ____

a. required.
b. compulsory.
c. optional. 
d. mandatory.

The correct answer is: optional.

Question 5

Correct

Marked out of 1.00

Comparison operators can be used within the logical expression of the IF … ELSE
statement. The == operator reads as ____

a. similar
b. not equal to
c. not greater than
d. equal to 

The correct answer is: equal to

2 of 2 2023/10/10, 20:57

You might also like