Fun with Python Basics

Fun with Python Basics

1st Grade

20 Qs

quiz-placeholder

Similar activities

PE theory test

PE theory test

1st Grade

16 Qs

teacher day

teacher day

1st Grade

15 Qs

Scope IT Information Year 1 Quiz

Scope IT Information Year 1 Quiz

1st Grade

20 Qs

Tallest Buildings Around the World

Tallest Buildings Around the World

1st - 5th Grade

16 Qs

C Programming Challenge for Students

C Programming Challenge for Students

1st Grade

16 Qs

PSF Body Parts and Senses in English

PSF Body Parts and Senses in English

1st Grade

19 Qs

LINGUISTIC VARIETIES & MULTILINGUAL NATIONS & CREOLES & PIDGINS

LINGUISTIC VARIETIES & MULTILINGUAL NATIONS & CREOLES & PIDGINS

1st Grade

20 Qs

Nursing Theory and Practice Quiz

Nursing Theory and Practice Quiz

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

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?