Intro to Python & Variables

Intro to Python & Variables

5th Grade

9 Qs

quiz-placeholder

Similar activities

How Computers Work

How Computers Work

2nd - 8th Grade

6 Qs

ICT EXAM PRACTICAL

ICT EXAM PRACTICAL

1st - 5th Grade

10 Qs

Computer Science

Computer Science

1st - 12th Grade

10 Qs

Python Basics

Python Basics

1st Grade - University

9 Qs

Fungsi Input dan Output Python

Fungsi Input dan Output Python

2nd Grade - University

10 Qs

Arduino Lever 3 - Đề 2

Arduino Lever 3 - Đề 2

5th Grade

10 Qs

Python Quiz - 4

Python Quiz - 4

4th - 11th Grade

10 Qs

COMPUTER REVISION

COMPUTER REVISION

5th - 9th Grade

10 Qs

Intro to Python & Variables

Intro to Python & Variables

Assessment

Quiz

Computers

5th Grade

Hard

Created by

Diliara Khalikova

Used 4+ times

FREE Resource

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

what is the print() function used for?

input data from the keyboard

output data on the screen

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How are the items inside the print() function called?

text

symbol

parameter / argument

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will this code output:

print("I'm", 'Just', 'Ken', "!")

I'mJustKen!

Im Just Ken !

ImJustKen!

I'm Just Ken !

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will this code output:

print('Hello, it's me!')

Hello, it's me!

'Hello, it's me!'

Hello, it

there will be an error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will this code output:

print(NayPyiTaw, - , is, the, capital, of, Myanmar)

NayPyiTaw, - , is, the, capital, of, Myanmar

NayPyiTaw - is the capital of Myanmar

NayPyiTaw-is thecapitalofMyanmar

error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

what is the input() function used for?

input data from the keyboard

output data on the screen

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following code output?

a = input()

b = input()

c = input()

print(a, b, c)

if the input will be the following stings:

Moscow

Tokio

Yangon

Moscow

Tokio

Yangon

a b c

MoscowTokioYangon

Moscow Tokio Yangon

abc

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following code output?

a = "Don't worry"

b = 'Be happy'

print('a')

print('b')

Don't worry
Be happy

'a'
'b'

Don't worry Be happy

a
b

Error

Answer explanation

Look at the quotes inside the print() function!

It will output text 'a' and 'b' not the variables a and b.

print('a')

print('b')

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following code output?

a = 'Leave me alone'

b = "I'm coding"

print(a)

print(b)

a
b

'Leave me alone'
"I'm coding"

Leave me alone
I'm coding

'a'
'b'

error