logo

Crowdly

Browser

Add to Chrome

2025 COMP100P1 Introduction to Computer Science

Looking for 2025 COMP100P1 Introduction to Computer Science test answers and solutions? Browse our comprehensive collection of verified answers for 2025 COMP100P1 Introduction to Computer Science 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!

1.     

Use

the following code in answering the questions that follow:

             def is_divisible(x,y):

               return x%y==0

print(is_divisible(4,2))

What

is the output of the code above?

0%
0%
0%
0%
0%
View this question
Assume that the 'random' module is imported, and the following code does not produce an error. Which usage of random will produce a number strictly in the range of 13 to 17 both inclusive?
0%
0%
0%
0%
0%
View this question
Which of the following conditions will be true if b is not a multiple of a?
View this question
What will be the output of the following code?

print('a'+'3')
0%
0%
0%
0%
0%
View this question
To multiply var1 and var2 and store result in var1, you may write

(Select all correct options)

0%
0%
0%
0%
0%
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