Python Hangman v.1 Quiz

Python Hangman v.1 Quiz

12th Grade

19 Qs

quiz-placeholder

Similar activities

Unreal Blueprint

Unreal Blueprint

9th - 12th Grade

15 Qs

Unity Game Mechanics

Unity Game Mechanics

10th - 12th Grade

15 Qs

Super smash bros (right after Steve was released)

Super smash bros (right after Steve was released)

KG - Professional Development

18 Qs

AP CSP Unit 4

AP CSP Unit 4

11th - 12th Grade

21 Qs

Javascript Conditional Statements

Javascript Conditional Statements

9th - 12th Grade

20 Qs

Mobile Devices

Mobile Devices

9th - 12th Grade

14 Qs

Unity Programming Certification

Unity Programming Certification

12th Grade

23 Qs

Computer Ethics

Computer Ethics

10th - 12th Grade

15 Qs

Python Hangman v.1 Quiz

Python Hangman v.1 Quiz

Assessment

Quiz

Computers

12th Grade

Easy

Created by

Ivan NEKIĆ

Used 5+ times

FREE Resource

19 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

What is the purpose of the import random statement in the code?

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

3 mins • 1 pt

How many hangman picture representations are stored in the HANGMAN_PICS list?

Evaluate responses using AI:

OFF

3.

OPEN ENDED QUESTION

3 mins • 1 pt

Describe the role of the displayBoard() function in the game.

Evaluate responses using AI:

OFF

4.

OPEN ENDED QUESTION

3 mins • 1 pt

What does the getGuess() function ensure before returning a letter?

Evaluate responses using AI:

OFF

5.

OPEN ENDED QUESTION

3 mins • 1 pt

Explain the significance of the playAgain() function in the code.

Evaluate responses using AI:

OFF

6.

OPEN ENDED QUESTION

3 mins • 1 pt

How is the secret word initially chosen in the game?

Evaluate responses using AI:

OFF

7.

OPEN ENDED QUESTION

3 mins • 1 pt

What happens if the player enters a letter that has already been guessed? What's the code that handles that?

Evaluate responses using AI:

OFF

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?