by BlastRoom
Students work with Python strings, collect text with input(), join strings with + and convert between text and numbers with int() and str().
#computing#ict#cambridge_computing#cambridge_computing_stage_7
20 questions
One question set, multiple game modes. Tap any game to see it in action. Not sure which to pick?
What is a string in Python?
Which quotation marks can be used to make a string in Python?
What is joining two strings together with + called?
first = "ice" and second = "cream". What does print(first + second) show?
Which line stores the user's name in a variable called name?
What does the text inside the brackets of input("Your name? ") do?
Why is there a space after the question mark in input("Name? ")?
num = input("Number? ") and the user types 5. What does print(num + num) show?
num = int(input("Number? ")) and the user types 5. What does print(num + num) show?
Which line asks for an age and stores it as an integer?
What does str(25) give?
score = 9. Which line prints You scored 9 without an error?
name = "Priya". What does print(name[0]) show?
message = "Good" + " " + "luck". What is stored in message?
first and last hold a person's names. Which line joins them with a space between?
What does print("Hello", "Sam") show?
A quiz checks if answer.lower() == "paris". Players type Paris, PARIS and paris. Which count as correct?
What does print("Ha" * 3) show?
name = "sam". What does print(name.upper()) show?
What does len("Hi there") give?
Outrun the horde and crack the passcode.
Pick a tile, answer, hit bonuses and steals.
Physical Computing and Sensors
20 questions
Python Basics
20 questions
Python Errors and Debugging
20 questions
Python Selection
20 questions
Software Development
20 questions
Spreadsheet Modelling
20 questions
Stage 7 Review 1
40 questions
Stage 7 Review 2
40 questions
Copyright and Online Content
20 questions
AI and Robotics
20 questions