KS3-Yr8-Python Inputs and Outputs Quiz

Quiz
•
Computers
•
9th Grade
•
Medium
Mr McCallion
Used 5+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a 'string' in programming?
A type of function
A data type that consists of one of many digits
A data type that consists of one or many alphanumeric characters or symbols
A type of variable
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if quotes are not used when outputting a string in a print() statement?
The program outputs the string
The program crashes with no error
The program looks for a variable with that name
The program outputs "TypeError" with some further information
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can a string and a variable be joined together in a print() statement?
Using the '+' operator
Using the '-' operator
Using the '&' operator
Using the '*' operator
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of using the '+' operator to form sentences in python?
To multiply two strings
To join two strings
To subtract two strings
To divide two strings
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What should be remembered when using the '+' operator to form sentences?
Add commas in the strings
Use the '*' operator instead
Add spaces in the strings in the appropriate positions
Use the '-' operator instead
Similar Resources on Wayground
10 questions
10 CS // Pseudocode

Quiz
•
9th - 11th Grade
9 questions
Comparison operators

Quiz
•
6th - 11th Grade
7 questions
Data Types, Variables and Flowcharts

Quiz
•
9th Grade
10 questions
if/else statements quiz

Quiz
•
9th Grade - University
10 questions
Pseudocode - OCR ERL

Quiz
•
9th - 12th Grade
9 questions
47. Programming 1 : User Input & Display Output

Quiz
•
9th - 12th Grade
8 questions
Visual Basic Basics!

Quiz
•
9th - 12th Grade
10 questions
Basic operator & Maths/Comparisons & assignment

Quiz
•
6th - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd 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
30 questions
Computer Terminology Exercise #1 ( Fill Ins)

Quiz
•
9th Grade
15 questions
MLA Formatting

Quiz
•
9th Grade
20 questions
Typing Practice

Quiz
•
7th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
20 questions
Google Sheets Quiz

Quiz
•
9th Grade