Prog 1 Python Q1 Practice

Prog 1 Python Q1 Practice

9th - 12th Grade

23 Qs

quiz-placeholder

Similar activities

Berpikir Komputasional

Berpikir Komputasional

9th - 12th Grade

20 Qs

RDBMS ΒΑΣΕΙΣ ΔΕΔΟΜΕΝΩΝ Γ ΕΠΑΛ

RDBMS ΒΑΣΕΙΣ ΔΕΔΟΜΕΝΩΝ Γ ΕΠΑΛ

11th - 12th Grade

20 Qs

UH 1 Teknologi wan

UH 1 Teknologi wan

12th Grade

20 Qs

Html - язык гипертекстовой разметки

Html - язык гипертекстовой разметки

10th Grade

20 Qs

PTS PWPB Kelas 11 Sem 1

PTS PWPB Kelas 11 Sem 1

11th Grade

21 Qs

SUMATIF MS WORD X E 4 DAN 5

SUMATIF MS WORD X E 4 DAN 5

10th Grade

20 Qs

TEST1.PY

TEST1.PY

10th Grade - University

20 Qs

Access bài 7,8

Access bài 7,8

12th Grade

20 Qs

Prog 1 Python Q1 Practice

Prog 1 Python Q1 Practice

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Easy

Created by

Bonnie Keating

Used 17+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

23 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x = 4.0

y = 2

print(x/y)

2.0

2

9

9.0

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the answer of this expression, 22 % 3 is?

7

1

0

5

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of

4+4//2+2

4

6

8

5

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a # in Python means the user is trying to...

hashtag

ratio

comment

tic-tac-toe

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

random.randrange(6)

0,1,2,3,4,5,6

1,2,3,4,5,6

0,1,2,3,4,5

1,2,3,4,5

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

random.random() generates a floating point number between _____ and ______

1 and 2

1 and 0

0 and 1

0 and 10

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function truncates the fractional part of given number and returns only the integer or whole part.

int()

round()

oct()

hex()

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?