chatbot python

chatbot python

6th Grade

20 Qs

quiz-placeholder

Similar activities

Intro to Python

Intro to Python

6th - 8th Grade

20 Qs

Python Basics

Python Basics

6th - 7th Grade

15 Qs

Selection in Python

Selection in Python

1st - 9th Grade

15 Qs

Python basics

Python basics

2nd - 9th Grade

20 Qs

Python Quiz

Python Quiz

6th - 10th Grade

20 Qs

python_1

python_1

5th - 12th Grade

22 Qs

python hhs

python hhs

5th - 9th Grade

15 Qs

Introduction to Python programming

Introduction to Python programming

6th - 8th Grade

20 Qs

chatbot python

chatbot python

Assessment

Quiz

Computers

6th Grade

Medium

Created by

BPS School

Used 92+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Which keyword is used to define a function in Python?

define

function

def

execute

2.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What is the purpose of variables in Python?

Store values

Execute tasks

Make decisions

Create dictionaries

3.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What is the purpose of a dictionary in Python?

Make decisions

Create key-value pairs

Store values

Execute tasks

4.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What is the keyword used to create an infinite loop in Python?

for

break

while True

if

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Which of the following statements will assign the value 5 to the variable Z in Python?

z < 5

Z - 5

Z = 5

Z==5

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Which Python keyword is used to check multiple conditional statements?

if

elif

else

for

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image

output of this code

1

5

6

any one of the value

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?