Python - Variables and Input

Python - Variables and Input

1st - 10th Grade

16 Qs

quiz-placeholder

Similar activities

ASK T2 3.2 STRUKTUR KOD ARAHAN

ASK T2 3.2 STRUKTUR KOD ARAHAN

1st - 3rd Grade

20 Qs

Trình bày và in trang tính

Trình bày và in trang tính

7th Grade

18 Qs

Mengenal Jendela dan Ikon Microsoft Excel

Mengenal Jendela dan Ikon Microsoft Excel

7th Grade - University

15 Qs

[RB3-Ch7] Data Verification & Validation

[RB3-Ch7] Data Verification & Validation

6th - 8th Grade

15 Qs

The Internet and the Web

The Internet and the Web

5th - 6th Grade

20 Qs

Year 8 Lists

Year 8 Lists

8th Grade

20 Qs

DT G5 Revision_2

DT G5 Revision_2

5th Grade

20 Qs

TEST1.PY

TEST1.PY

10th Grade - University

20 Qs

Python - Variables and Input

Python - Variables and Input

Assessment

Quiz

Computers

1st - 10th Grade

Practice Problem

Medium

Created by

Tezel Asena

Used 78+ 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

Already have an account?