Hangman Game - Programming Questions

Hangman Game - Programming Questions

7th - 11th Grade

15 Qs

quiz-placeholder

Similar activities

12AIT - All About W3C <3

12AIT - All About W3C <3

10th Grade - University

18 Qs

WJEC GCSE ICT Unit 1 E-Mail

WJEC GCSE ICT Unit 1 E-Mail

9th - 10th Grade

13 Qs

Kuis Pengayaan (Aplikasi Sehari-hari?

Kuis Pengayaan (Aplikasi Sehari-hari?

9th Grade

10 Qs

Scratch

Scratch

KG - Professional Development

10 Qs

Adventure game project

Adventure game project

7th - 8th Grade

12 Qs

Pre-Test: Search Engine

Pre-Test: Search Engine

7th Grade

10 Qs

Cyber Security KS4

Cyber Security KS4

8th - 12th Grade

15 Qs

Hangman Game - Programming Questions

Hangman Game - Programming Questions

Assessment

Quiz

Computers

7th - 11th Grade

Practice Problem

Hard

Created by

Miss Flewitt

Used 603+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?