Print(), Input() and Variables in Python3

Print(), Input() and Variables in Python3

6th - 8th Grade

15 Qs

quiz-placeholder

Similar activities

Keys

Keys

6th - 7th Grade

13 Qs

Contact Center Sevices

Contact Center Sevices

7th - 10th Grade

10 Qs

SOFTWARE 7I

SOFTWARE 7I

7th Grade - University

20 Qs

Đường lên đỉnh Olympia- Vòng Khởi Động

Đường lên đỉnh Olympia- Vòng Khởi Động

5th - 6th Grade

20 Qs

Play with Scratch - 1

Play with Scratch - 1

5th - 6th Grade

15 Qs

Coding Karel 2

Coding Karel 2

KG - University

20 Qs

Digcit 5-6

Digcit 5-6

5th - 6th Grade

10 Qs

Visual Basic 2010

Visual Basic 2010

8th Grade - University

10 Qs

Print(), Input() and Variables in Python3

Print(), Input() and Variables in Python3

Assessment

Quiz

Computers

6th - 8th Grade

Practice Problem

Medium

CCSS
L.2.2C, 6.EE.A.2B, 6.EE.B.6

Standards-aligned

Created by

Priyanka Joshi

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

What does the following code do? myAge = int (myAge)

Converts the var (variable) myAge to a string

Converts the var (variable) myAge to a integer

Converts the var (variable) myAge from a integer to a string

Converts the var (variable) myAge to if statement

2.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

What will the output be from the following code?
print(Hello world!)

Hello world!
SyntaxError
Hello world
print(Hello world!)

Tags

CCSS.L.2.2C

3.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Joining elements together to make a string is called what?

Combining
Connecting
Concatenation
Stringing

4.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

In python the ' INTEGER data type' can be defined as...?

holds alphanumeric data as text
holds whole numbers
holds numbers with a decimal point
holds either ‘true’ or ‘false’

5.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

In python the ' STRING data type' can be defined as...?

holds alphanumeric text
hold whole numbers
holds numbers with a decimal point
holds either a true or false value

6.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

What is the correct definition for a VARIABLE?

a changeable value, such as a score in a computer game.
a value that cannot be changed

Tags

CCSS.6.EE.A.2B

7.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

What is the output from the following code?print ("hello world")

Hello World
hello world
print hello world

Access all questions and much more by creating a free account

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?