Variables, Input and Output

Variables, Input and Output

9th - 11th Grade

32 Qs

quiz-placeholder

Similar activities

Comprog - (Predefined Methods) November 8, 2022

Comprog - (Predefined Methods) November 8, 2022

11th Grade

27 Qs

Scratch Review

Scratch Review

KG - University

28 Qs

Computer Quiz الصف الثاني الثانوي التحرير الرسميه لغات

Computer Quiz الصف الثاني الثانوي التحرير الرسميه لغات

11th Grade

27 Qs

TIN 9 ÔN TẬP CUỐI KỲ 1

TIN 9 ÔN TẬP CUỐI KỲ 1

9th Grade - University

28 Qs

Part A all chapters quiz

Part A all chapters quiz

10th Grade

27 Qs

C++ Array

C++ Array

9th - 12th Grade

28 Qs

Principles of IT-Chapter 5 Test

Principles of IT-Chapter 5 Test

7th - 12th Grade

30 Qs

Variables, Input and Output

Variables, Input and Output

Assessment

Quiz

Computers

9th - 11th Grade

Medium

Created by

Patrick Bryar

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

32 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to accept data as input at run time?

output()

print()

int()

input()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which character is used to give comments in python program?

&

@

&

#

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type than can have one of two values: True or False?

boolean

variable

modulo

interpreter

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which example is the correct way to write a variable in Python and and assign it a value?

my_variable = 10

my variable = 10

my_variable is 10

my_variable: 10

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which data type is the most suitable to store a whole number?

String

Integer

Boolean

Float

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the print function do in python?

It's a variable.
It can input data.
It displays something like a string or integer
It loops the code.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

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