Hangman Game - Programming Questions
Quiz
•
Computers
•
7th - 11th Grade
•
Hard
Miss Flewitt
Used 597+ 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
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
11 questions
Types of Mass Media
Quiz
•
10th Grade - Professi...
13 questions
LENGUAJE C
Quiz
•
11th Grade
20 questions
Browser dan CMS
Quiz
•
7th - 9th Grade
20 questions
Administrasi Sistem jaringan KD1
Quiz
•
1st - 10th Grade
10 questions
BTEC DIT C3 LAA - Using cloud and traditional systems
Quiz
•
10th - 11th Grade
10 questions
Diagnoses and Identification of Faulty Computer and Network
Quiz
•
9th Grade
10 questions
Visual Basic 2010
Quiz
•
8th Grade - University
20 questions
Skill Competition Quiz 2024
Quiz
•
10th Grade - University
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
