N5 SDD - Input and output (Python)

N5 SDD - Input and output (Python)

7th - 11th Grade

12 Qs

quiz-placeholder

Similar activities

Serial Communication - Sensors

Serial Communication - Sensors

9th Grade

16 Qs

Technology Basics

Technology Basics

6th - 8th Grade

10 Qs

HTML Quiz

HTML Quiz

11th Grade - University

15 Qs

KOMPUTER DAN JARINGAN DASAR

KOMPUTER DAN JARINGAN DASAR

10th Grade

10 Qs

bài 7. Phần mềm máy tính-tin10

bài 7. Phần mềm máy tính-tin10

10th Grade

10 Qs

3rd week g9 summative

3rd week g9 summative

7th - 12th Grade

15 Qs

ÔN TẬP 2

ÔN TẬP 2

10th Grade

11 Qs

SISTEM KOMPUTER KLS 9

SISTEM KOMPUTER KLS 9

9th Grade

10 Qs

N5 SDD - Input and output (Python)

N5 SDD - Input and output (Python)

Assessment

Quiz

Computers

7th - 11th Grade

Practice Problem

Hard

Created by

G Alexander-Doyle

Used 92+ times

FREE Resource

AI

Enhance your content in a minute

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

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following input commands would allow the user to receive and store a character from the keyboard?

character = input("Please enter a character:")

character = int(input("Please enter a character:"))

character = float(input("Please enter a character:"))

character = bool(input("Please enter a character:"))

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following input commands would allow the user to receive and store an integer from the keyboard?

integer = input("Please enter an integer:")

integer = int(input("Please enter an integer:"))

integer = float(input("Please enter an integer:"))

integer = bool(input("Please enter an integer:"))

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following input commands would allow the user to receive and store a real number from the keyboard?

real_number = input("Please enter a real number:")

real_number = int(input("Please enter a real number:"))

real_number = float(input("Please enter a real number:"))

real_number = bool(input("Please enter a real number:"))

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following input commands would allow the user to receive and store a string from the keyboard?

string = input("Please enter a string:")

string = int(input("Please enter a string:"))

string = float(input("Please enter a string:"))

string = bool(input("Please enter a string:"))

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following input commands would allow the user to receive and store a boolean value from the keyboard?

boolean_value = input("Please enter a boolean value:")

boolean_value = int(input("Please enter a boolean value:"))

boolean_value = float(input("Please enter a boolean value:"))

boolean_value = bool(input("Please enter a boolean value:"))

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which would be the correct way to display a concatenated message indicating a pupil's final score in an exam?

print ("Your final score is" + str(final_score))

print ("Your final score is" + int(final_score))

print ("Your final score is" + final_score)

display ("Your final score is" + str(final_score))

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which python command allows the program to display a value on the screen?

display

show

print

output

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?