Python Basics for Grade 5

Python Basics for Grade 5

1st Grade

10 Qs

quiz-placeholder

Similar activities

PT 2 - Pre Beginner 1

PT 2 - Pre Beginner 1

1st - 5th Grade

15 Qs

Loud House Sisters

Loud House Sisters

1st - 5th Grade

10 Qs

Fallout Game

Fallout Game

1st Grade

15 Qs

Blooms Taxonomy

Blooms Taxonomy

1st - 5th Grade

15 Qs

Jaka to bajka po emoji

Jaka to bajka po emoji

1st - 5th Grade

12 Qs

Quiz về Anh Hai

Quiz về Anh Hai

1st Grade

14 Qs

⛱️ Summer Term Test (Y1)

⛱️ Summer Term Test (Y1)

1st Grade

10 Qs

Memory Quiz

Memory Quiz

1st - 5th Grade

10 Qs

Python Basics for Grade 5

Python Basics for Grade 5

Assessment

Quiz

Others

1st Grade

Practice Problem

Easy

Created by

um gaith alawneh

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the input function in Python?

To execute a function and return a value.

To store data in a variable.

To display output to the user.

To take input from the user and return it as a string.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you calculate the sum of three numbers in Python?

sum = num1 * num2 * num3

sum = num1 + num2 - num3

sum = num1 / num2 / num3

sum = num1 + num2 + num3

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What operator is used for addition in Python?

*

+

/

-

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you print output to the console in Python?

Display output with the output() function.

Use the print() function.

Print to the console using console.log()

Use the echo() function.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the formula to calculate the average of three numbers?

(a - b - c) / 3

(a + b + c) / 2

(a + b + c) / 3

(a + b + c) * 3

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you store a number in a variable in Python?

my_number := 5

let my_number = 5

number my_number = 5

my_number = 5

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type is used to store decimal numbers in Python?

string

boolean

float or decimal.Decimal

integer

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

Already have an account?