
Number Guessing Game

Quiz
•
Computers
•
10th Grade
•
Hard
Luke McGinty
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
OPEN ENDED QUESTION
3 mins • 1 pt
Define a constant NUMBER_OF_ATTEMPTS = 10
Evaluate responses using AI:
OFF
2.
OPEN ENDED QUESTION
3 mins • 1 pt
Define a constant SECRET_NUMBER
Evaluate responses using AI:
OFF
3.
OPEN ENDED QUESTION
3 mins • 1 pt
Initialize a variable guesses = 0
Evaluate responses using AI:
OFF
4.
OPEN ENDED QUESTION
3 mins • 1 pt
while guesses < NUMBER_OF_ATTEMPTS:
Evaluate responses using AI:
OFF
5.
OPEN ENDED QUESTION
3 mins • 1 pt
Ask the user to input a guess
Evaluate responses using AI:
OFF
6.
OPEN ENDED QUESTION
3 mins • 1 pt
Increment guesses by 1
Evaluate responses using AI:
OFF
7.
OPEN ENDED QUESTION
3 mins • 1 pt
if guess equals SECRET_NUMBER:
Evaluate responses using AI:
OFF
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
Python Projects Quiz

Quiz
•
6th Grade - University
15 questions
Cryptology

Quiz
•
9th Grade - University
13 questions
design concepts

Quiz
•
9th - 10th Grade
10 questions
CyberCrime

Quiz
•
5th Grade - Professio...
20 questions
DCD3533 PROJECT MANAGEMENT

Quiz
•
9th - 12th Grade
20 questions
GCSE Computer Science - 1.3 Storage

Quiz
•
9th - 10th Grade
12 questions
Data representation - Sound

Quiz
•
9th - 11th Grade
10 questions
POCS-Ch2.1 (Vocab)

Quiz
•
7th - 12th 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
Appointment Passes Review

Quiz
•
6th - 8th 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
20 questions
Grammar Review

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

Interactive video
•
6th - 10th Grade
17 questions
[AP CSP] Binary Number System

Lesson
•
9th - 12th Grade
15 questions
1.1 Network Fundamentals Quiz

Quiz
•
10th Grade
20 questions
Understanding Information Processing Cycle

Quiz
•
10th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade