Basics Python

Basics Python

8th - 10th Grade

20 Qs

quiz-placeholder

Similar activities

Technology trends

Technology trends

7th - 12th Grade

15 Qs

Trắc nghiệm excel - 1

Trắc nghiệm excel - 1

KG - University

20 Qs

[RB3-Ch9] Application of Computers

[RB3-Ch9] Application of Computers

8th Grade

15 Qs

Quiz on Misinformation and Bias

Quiz on Misinformation and Bias

10th Grade - University

18 Qs

Math and IT - Elimination Round

Math and IT - Elimination Round

10th - 12th Grade

20 Qs

IT Quiz Computer Club

IT Quiz Computer Club

6th - 8th Grade

20 Qs

Python Year 9 Quiz

Python Year 9 Quiz

8th - 10th Grade

19 Qs

Basics Python

Basics Python

Assessment

Quiz

Computers

8th - 10th Grade

Practice Problem

Hard

Created by

Elif Sulun

Used 920+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which commands might be correct? (Multiple answers)

random. random(1, 10)

print(random.random( ))

print(random. randint(1,10))

import.random(2.7)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you define(assign) variables?

var="String"

func==Hello

var : 123

word= Hello

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one does take you to next line?

\t

\n

/n

\\

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the word (command) used to display numbers and text on the screen?

Input

Output

Print

Command

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol is used in python to assign values to a variable?

:

*

=

==

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these would work as a piece of code?

if string="Dove"

if string=="Dove"

IF string="Dove":

if string=="Dove":

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the end after if statements?

if

Elif

Else

While

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?