Print(), Input() and Variables in Python3

Print(), Input() and Variables in Python3

6th - 8th Grade

15 Qs

quiz-placeholder

Similar activities

Networking Quiz

Networking Quiz

8th - 9th Grade

15 Qs

Arduino

Arduino

7th - 9th Grade

15 Qs

New Scratch

New Scratch

6th - 8th Grade

20 Qs

HARDWARE AND SOFTWARE

HARDWARE AND SOFTWARE

2nd - 10th Grade

10 Qs

Revision Quiz 2 - Information Technology

Revision Quiz 2 - Information Technology

7th - 8th Grade

10 Qs

Y10M2A2 - Selection

Y10M2A2 - Selection

6th - 10th Grade

15 Qs

EVOLUTION OF COMPUTERS

EVOLUTION OF COMPUTERS

4th - 8th Grade

16 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?