Fun with Python Basics

Fun with Python Basics

1st Grade

20 Qs

quiz-placeholder

Similar activities

asdfgh

asdfgh

1st - 5th Grade

15 Qs

Ulangan ke 3 PENDIDIKAN AGAMA ISLAM DAN BUDI PEKERTI

Ulangan ke 3 PENDIDIKAN AGAMA ISLAM DAN BUDI PEKERTI

1st Grade

20 Qs

1.sinif 1.sinav

1.sinif 1.sinav

1st - 5th Grade

20 Qs

Ensayo Argumentativo: Evaluación

Ensayo Argumentativo: Evaluación

1st Grade

17 Qs

Cuestionario sobre Cuaresma y Semana Santa 2025

Cuestionario sobre Cuaresma y Semana Santa 2025

1st Grade

15 Qs

Sistema Musculoesquelético e Sensorial

Sistema Musculoesquelético e Sensorial

1st Grade

16 Qs

Quiz passato prossimo vacanza in Austria

Quiz passato prossimo vacanza in Austria

1st - 5th Grade

15 Qs

Shops

Shops

1st - 5th Grade

18 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?