Search Header Logo

CSE 08 Guess2p

Authored by bob bee

others

Used 4+ times

CSE 08 Guess2p
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which code checks that an empty value was not entered?

If(is number? Secret_Txt)
if(is empty? Secret_Txt)
if(is blank? Secret_Txt)
if(not Secret_Txt)

2.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

When did the user guess a value that is too high?

if(get userGuess > get global secretNumber)
if(get userGuess != get global secretNumber)
if(get userGuess < get global secretNumber)
if(get userGuess = get global secretNumber)

3.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

When did the user guess a value that is too low?

if(get userGuess > get global secretNumber)
if(get userGuess != get global secretNumber)
if(get userGuess < get global secretNumber)
if(get userGuess = get global secretNumber)

4.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

When did the user guess a value that is the secret number?

if(get userGuess > get global secretNumber)
if(get userGuess != get global secretNumber)
if(get userGuess < get global secretNumber)
if(get userGuess = get global secretNumber)

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

How do you clear a text box?

use textBox.clear();
set textBox.Text="";
delete textBox
concatenate the textBox

6.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

What part of the code is run by a timer?

countdown
guesses Left
guess Higher
guess Lower

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where should guesses=guesses-1 be placed?

if the user makes a guess
if the user's guess is correct
if the user's guess is too high
if the user's guess is too low

Access all questions and much more by creating a free account

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?