Search Header Logo

RL Junior Python Basics Quiz 2

Authored by Aahnik Daw

Computers

6th - 8th Grade

Used 1+ times

RL Junior Python Basics Quiz 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

A dictionary in Python consists of

key

value

word meaning

english words

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

string = "Hello"

string[-1]

o

l

H

e

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of them are Python datatypes?

list

str

int

dict

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a = bool( x>10 and y<20)
If I say that x = 12, y = 31, then a = ?

False

False and True

True and False

True

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

The keys of a dictionary can be of the following type

str

int

list

dict

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to define a function in Python?

func

def

define

function

7.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

def add(a,b):

(a)   a+b

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?