N5 SDD - Input and output (Python)

Quiz
•
Computers
•
7th - 11th Grade
•
Hard
G Alexander-Doyle
Used 89+ times
FREE Resource
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
output
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Python Quiz for 10s

Quiz
•
10th Grade
15 questions
Python Algorithm

Quiz
•
4th Grade - University
11 questions
Python Ifs, Lists, and Loops

Quiz
•
7th - 8th Grade
8 questions
The Components of Hardware - Keyboard & Pointing Entry

Quiz
•
8th Grade
8 questions
Computer System

Quiz
•
1st - 12th Grade
13 questions
Y9 Homework 1: Python Revisited 1

Quiz
•
9th Grade
10 questions
Intro to Python

Quiz
•
8th Grade
14 questions
Python Basics

Quiz
•
7th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade