KS3-Yr8-Python Inputs and Outputs Quiz
Quiz
•
Computers
•
9th Grade
•
Practice Problem
•
Medium
Mr McCallion
Used 8+ times
FREE Resource
Enhance your content in a minute
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
1.1 - System Architecture - CPU [OCR] [GCSE]
Quiz
•
9th - 12th Grade
10 questions
Паскаль. Основные команды
Quiz
•
8th - 11th Grade
10 questions
Year 8 - Unit 2: Small Basic Programming Terminology
Quiz
•
9th Grade
9 questions
KS3 - Selection, Iteration or Sequence
Quiz
•
KG - 12th Grade
10 questions
INTERNET AND INTRANET
Quiz
•
9th - 11th Grade
10 questions
Year 8 - Progress Check 1 (Python Turtle Shapes)
Quiz
•
8th - 9th Grade
10 questions
Social media influencers
Quiz
•
6th - 12th Grade
10 questions
ICT Java programming workshop
Quiz
•
9th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
