logo

Crowdly

Browser

Add to Chrome

MC 2025 COMP100 Introduction to Computer Science Tests W/P 1

Looking for MC 2025 COMP100 Introduction to Computer Science Tests W/P 1 test answers and solutions? Browse our comprehensive collection of verified answers for MC 2025 COMP100 Introduction to Computer Science Tests W/P 1 at learn2025.ukzn.ac.za.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

View this question

What will be the output (or result) of running the following code?

mark = 75

if mark > 75 and mark < 75:

print("A")

0%
0%
0%
0%
0%
0%
View this question
View this question

Which of the following statements (i to v) will print the following string exactly as shown? Note that it must print the statement as shown below, including punctuation and quotations. Choose all that apply.

"Stop!" he yelled, "That’s my cat’s toy!"

print("Stop!" he yelled, "That's my cat's toy!")            # i  

print('"Stop!" he yelled, "That\'s my cat\'s toy!"') # ii

print(''''Stop!' he yelled, "That's my cat's toy!"''') # iii

print(""" "Stop!" he yelled, "That's my cat's toy!" """) # iv

print("Stop! he yelled, That's my cat's toy!") # v

0%
0%
0%
0%
0%
View this question
View this question

Each of the following expressions will produce a value (or result in an error) when it is evaluated. Match the expression to the type of the value it will produce. Choose “error” if the expression cannot be evaluated because of an error.

View this question
View this question
View this question

Which of the following are NOT valid numeric literals in Python? Choose all that apply.

0%
0%
100%
100%
100%
100%
View this question

Want instant access to all verified answers on learn2025.ukzn.ac.za?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome