PythonL4

PythonL4

6th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

FINAL CHECKPOINT

FINAL CHECKPOINT

1st Grade - University

15 Qs

Perangkat Keras Komputer dan Fungsinya

Perangkat Keras Komputer dan Fungsinya

7th Grade

6 Qs

Cybersecurity Awareness Quiz PART 1

Cybersecurity Awareness Quiz PART 1

6th - 8th Grade

10 Qs

Soal Latihan 2

Soal Latihan 2

7th Grade

13 Qs

Gestion des Utilisateurs de la BD

Gestion des Utilisateurs de la BD

2nd Grade - University

12 Qs

Computer Basics Quiz

Computer Basics Quiz

4th Grade - University

15 Qs

Cuestionario sobre la Metodología RAD

Cuestionario sobre la Metodología RAD

8th Grade

10 Qs

Relationships and Boundaries Review Questions

Relationships and Boundaries Review Questions

7th Grade

5 Qs

PythonL4

PythonL4

Assessment

Quiz

Information Technology (IT)

6th - 8th Grade

Practice Problem

Easy

Created by

Yusuf Harby

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If we want to make a choice between 0 and 16 but only pick even numbers ?

random.randrange(0,16,2)

random.randint(0,16)

random.random()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following functions can make a selection of many values without repetition ?

choice()

choices()

sample()

randint()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which mode resets all the content of the file and writes in it ?

"a"

"x"

"w"

"r"

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which functions writes in the file ?

open()

write()

close()

append()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the key function in working with files in Python?

open()

write()

close()

append()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which mode create a new file?

"a"

"x"

"w"

"r"

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which functions changes the direction of your turtle?

right()

forward()

backward()

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?