Python Quiz

Python Quiz

6th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

6. Booleans and selections 4

6. Booleans and selections 4

8th Grade

9 Qs

Homework 2- Python Data Types

Homework 2- Python Data Types

8th Grade

10 Qs

Python Basics

Python Basics

6th - 8th Grade

15 Qs

Review Python

Review Python

8th Grade

15 Qs

Python

Python

8th Grade

13 Qs

python selection

python selection

8th Grade

11 Qs

Microbits

Microbits

7th Grade

15 Qs

Python Introduction

Python Introduction

6th - 8th Grade

10 Qs

Python Quiz

Python Quiz

Assessment

Quiz

Computers

6th - 8th Grade

Medium

Created by

Ridhaan Mishra

Used 10+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many spaces is an indentation?

2 spaces

3 spaces

4 spaces

5 spaces

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will it print?

num 8

num8

8

nothing

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many errors are there in this code?

1

2

3

4

4.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Where can a global var be used? Select all that apply.

They can be used inside a loop

They can be used in a function

They can be used in a conditional

They can be used only in a function.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why is an indentation used in functions?

to make it look cool

to indicate the name of the function

to indicate the block of code in a function

to make it indented

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the result?

3

256

512

256

1

512

1

512

256

512

256

3

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the answer?

23 89

112

xy

x + y

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?