
Number Guessing Game
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Hard
Luke McGinty
Used 1+ times
FREE Resource
Enhance your content in a minute
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
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
Already have an account?
Similar Resources on Wayground
10 questions
LATIHAN SOAL
Quiz
•
10th Grade
11 questions
Programming basics
Quiz
•
10th - 11th Grade
10 questions
แบบทดสอบเรื่องระบบคอมพิวเตอร์และการสื่อสาร
Quiz
•
9th - 12th Grade
17 questions
Grade 4 Computer Science Quiz
Quiz
•
4th Grade - University
20 questions
Operator Aritmetika dan Perbandingan
Quiz
•
10th Grade
10 questions
Visual Basic 2010
Quiz
•
8th Grade - University
20 questions
Perangkat Lunak dan Struktur Pemrograman (UH 2)
Quiz
•
10th Grade
20 questions
Skill Competition Quiz 2024
Quiz
•
10th Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
