Search Header Logo

DS Unit 4 Quiz (coding)

Authored by Chaudra Wood

Computers

6th - 9th Grade

DS Unit 4 Quiz (coding)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

what does this do

Chose a random number

import a library called random

selecting a number between 1 and 13

selecting a number between 1 and 100

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

what is the name of the variable

name

computerNumber

random

randint

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which number could not be generated by this block

1

3

13

0

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the value of computerNumber after this block is run

computerNumber

"0"

0

a random number

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What datatype would userNumber be after this block is run

string

integer

real

a number if they enter a number

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which section in edublocks would you find input()

logic

random

statements

file

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In what section would you find the

if

block

Statement

Files

Logic

Variables

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?