Hangman Game - Programming Questions

Quiz
•
Computers
•
7th - 11th Grade
•
Hard
Miss Flewitt
Used 595+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a IF statement a type of?
Iteration
Sequence
Selection
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a WHILE loop a type of?
Iteration
Sequence
Selection
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does this code do?
x = random.randint(0,4)
x is set to 0,4
x is set to a random number between 0 and 4
this code does not work
x is set to 0, then 1, then 2, then 3, then 4
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you wanted to use anything such as time.sleep() from another library, what must you first do?
import the library
use the function from the library
create a new function
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you get the user to type their name in?
name = "Tom"
name = ("What is your name?")
print("What is your name?")
name = input("What is your name?")
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you find out how many letters are in a variable called word?
wordLength = length(word)
wordLength = len(word)
wordLength = 5
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which line correctly displays a users name?
name = input("What is your name?")
print("Welcome", name)
name = ("What is your name?")
print("Welcome", name)
name = input("What is your name?")
print("Welcome name")
name = input("What is your name?")
print("Welcome" name)
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Python Programming Basics

Quiz
•
7th - 11th Grade
16 questions
Python Recap

Quiz
•
8th Grade
13 questions
Python Recap Challenge

Quiz
•
10th Grade
10 questions
Python list and tuple

Quiz
•
6th - 8th Grade
12 questions
Lesson 9 - The internet

Quiz
•
8th Grade
20 questions
SST Yr 8 - NCCE - Algorithmic Thinking 2

Quiz
•
9th Grade
17 questions
GCSE J277 - Boolean Logic Keyword Quiz

Quiz
•
7th Grade
20 questions
GCSE J277 - 2.3.2 - Syntax and Logic Errors

Quiz
•
7th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade