wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Quiz tentang Google Colab

Total questions: 20

Worksheet time: 15mins

Name
Class
Date
1.

What is the main function of Google Colab?

a)

Edit images

b)

Run Python scripts in the cloud

c)

Create websites

d)

Manage emails

2.

Google Colab is a service from...

a)

Microsoft

b)

Amazon

c)

IBM

d)

Google

3.

The default file of Google Colab has the extension...

a)

.ipynb

b)

.py

c)

.colab

d)

.txt

4.

To run a single code cell in Google Colab, the key combination is...

a)

Ctrl + Enter

b)

Alt + Enter

c)

Shift + Enter

d)

Esc + Enter

5.

The following is an example of the addition arithmetic operator in Python:

a)

*

b)

+

c)

-

d)

%

6.

Which one is the modulus operator in Python?

a)

//

b)

**

c)

%

d)

/

7.

The function of the ** operator in Python is...

a)

Division

b)

Exponentiation

c)

Modulus

d)

Square root

8.

The output of 3 + 2 * 2 in Python is...

a)

10

b)

7

c)

12

d)

8

9.

The output of 10 // 3 in Python is...

a)

3.33

b)

3

c)

4

d)

3.0

10.

In Google Colab, external libraries can be installed with the command...

a)

apt install

b)

pip install

c)

import

d)

open

11.

The programming language commonly used in Google Colab is...

a)

Java

b)

C++

c)

Python

d)

PHP

12.

Case sensitive means...

a)

Does not distinguish between uppercase and lowercase

b)

Makes the program faster

c)

Requires additional code

d)

Distinguishes between uppercase and lowercase

13.

Variables Name and name in Python are considered...

a)

The same

b)

Not the same

c)

Depends on the content

d)

Depends on the data type

14.

What is the result of 4 ** 2 in Python?

a)

6

b)

8

c)

16

d)

12

15.

Google Colab can access files in Google Drive with the command...

a)

import drive

b)

mount drive

c)

from google.colab import drive

d)

run drive

16.

What does 5 % 2 mean in Python?

a)

2.5

b)

1

c)

3

d)

0

17.

The function of the # sign in Python is...

a)

Looping

b)

Addition

c)

Comment

d)

Variable

18.

The command print("Hello") in Google Colab will...

a)

Save the file

b)

Display "Hello"

c)

Close the program

d)

Run an error

19.

To calculate the square root of 16 using the exponent operator, the correct syntax is:

a)

16 * 0.5

b)

16 / 2

c)

16 ** 0.5

d)

16 ^ 0.5

20.

If the variable A = 10, then A += 5 means...

a)

A remains 10

b)

A becomes 5

c)

A becomes 15

d)

A becomes 50