Search Header Logo

Python syntax quiz

Authored by sara adam

Computers

1st - 4th Grade

Used 22+ times

Python syntax quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Syntax is ..

Rules for programming language

Type of loops

Condition

Logical operator

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Output of Print("Hello world") appears in

stage

console

workspace

all of these

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

to create a new function what is the first word you should type?

fun

func

def

function

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

function called add how i can define it in python

add()

add def()

def add():

def add

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

how many types of loops in python

6.

MULTIPLE SELECT QUESTION

1 min • 3 pts

there is a colon ( : ) in 4 things in python what are these thing

for

function

if

while

syntax

7.

MULTIPLE CHOICE QUESTION

2 mins • 5 pts

num = 5

def fun():

num = 6

fun()

print(num)

5

6

11

1

Access all questions and much more by creating a free account

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?