Python - Variables and Input

Python - Variables and Input

1st - 10th Grade

16 Qs

quiz-placeholder

Similar activities

ICT WEBINAR QUIZ

ICT WEBINAR QUIZ

KG - Professional Development

20 Qs

Year 3 Baseline

Year 3 Baseline

1st - 2nd Grade

16 Qs

Phần mềm soạn thảo VB

Phần mềm soạn thảo VB

2nd Grade

20 Qs

9G4 CS Python Programming Sequence and Vocabs

9G4 CS Python Programming Sequence and Vocabs

9th Grade

13 Qs

IT (data, viruses and more)

IT (data, viruses and more)

8th Grade - Professional Development

20 Qs

Python lesson 3

Python lesson 3

8th Grade

11 Qs

Computer Education 7

Computer Education 7

7th Grade

11 Qs

Challenge 3 Fourth grade

Challenge 3 Fourth grade

4th Grade

11 Qs

Python - Variables and Input

Python - Variables and Input

Assessment

Quiz

Computers

1st - 10th Grade

Practice Problem

Medium

Created by

Tezel Asena

Used 77+ times

FREE Resource

AI

Enhance your content in a minute

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

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one is an invalid variable

Score

MyScore

First Score

FScore

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will this code output?

print("confusion")

Confusion

confusion

Syntax Error

print

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will this code output?

a = 5

b = 6

c = 1

b = 4

print(3 - c)

2

1

4

5

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will this code utput:

Mark1 = 50

Mark2 = 50

Total = Mark1 + Mark2

print(total)

Undefined name error

100

0

5050

Answer explanation

Variable names are case-sensitive.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

From the chocies, what is the best variable name to use for storing the following information:

China, Russia, USA, France, Canada, Japan, Mongolia, Turkey, Nigeria

Nations

C

NRUFCJMTN

World_Country_Names

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the correct assignment symbol.

=

==

*

:

Answer explanation

Assignment is when you assign or store data in your variables.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What kind of data is

12.7

integer

float

boolean

string

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?