What is a IF statement a type of?
Hangman Game - Programming Questions

Quiz
•
Computers
•
7th - 11th Grade
•
Hard
Miss Flewitt
Used 591+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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 Quizizz
11 questions
J277 Programming - Data Types

Quiz
•
9th - 11th Grade
15 questions
ASK F2 -KOD ARAHAN (PYTHON)

Quiz
•
1st Grade - University
16 questions
Flow charts and pseudo code

Quiz
•
9th - 11th Grade
15 questions
10 min test 18

Quiz
•
9th - 12th Grade
15 questions
Programming Quiz

Quiz
•
7th - 8th Grade
10 questions
Python Programming

Quiz
•
7th - 9th Grade
16 questions
Variables, Inputs and Concatenation

Quiz
•
9th Grade
11 questions
Python for Class 7

Quiz
•
7th - 8th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
11 questions
Decimal/fraction conversions quick check

Quiz
•
5th - 7th Grade