Fun with Python Basics

Fun with Python Basics

1st Grade

20 Qs

quiz-placeholder

Similar activities

Day 1 - test

Day 1 - test

1st - 5th Grade

19 Qs

Riddles

Riddles

1st - 5th Grade

19 Qs

Star Wars Quotes

Star Wars Quotes

1st Grade

15 Qs

Unit (9),Revision-"All about Matter"

Unit (9),Revision-"All about Matter"

1st Grade

15 Qs

Biología BGU refuerzo

Biología BGU refuerzo

1st Grade

16 Qs

guess the logo

guess the logo

1st - 5th Grade

16 Qs

Paulo Freire

Paulo Freire

1st - 5th Grade

15 Qs

Fun with Python Basics

Fun with Python Basics

Assessment

Quiz

Others

1st Grade

Hard

Created by

Kaustubh Pandey

FREE Resource

AI

Enhance your content

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do we call a name that stores a value?

Parameter

Function

Variable

Constant

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of data is '5' in Python?

string

boolean

integer

float

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbol is used to assign a value to a variable?

+=

<>

=

==

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do we use to make decisions in Python?

Conditional statements

Functions

Variables

Loops

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of 3 + 2?

4

5

6

7

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a list in Python?

A list in Python is an immutable, unordered collection of items.

A list in Python is a mutable, ordered collection of items defined by square brackets.

A list in Python is a type of function that returns values.

A list in Python is a collection of items defined by curly braces.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a tuple?

You create a tuple by using square brackets, e.g., [1, 2, 3].

You create a tuple by using parentheses, e.g., (1, 2, 3).

You create a tuple by using curly braces, e.g., {1, 2, 3}.

You create a tuple by using angle brackets, e.g., <1, 2, 3>.

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?