DS Unit 4 Quiz (coding)

DS Unit 4 Quiz (coding)

6th - 9th Grade

8 Qs

quiz-placeholder

Similar activities

Microbit lesson 2

Microbit lesson 2

6th Grade

10 Qs

Full forms

Full forms

1st - 12th Grade

10 Qs

SCRATCH

SCRATCH

4th - 8th Grade

10 Qs

Micro:bit Keywords

Micro:bit Keywords

9th Grade

10 Qs

A.P. Computer Science Principles Snap! Unit 1 Q1

A.P. Computer Science Principles Snap! Unit 1 Q1

9th - 12th Grade

6 Qs

Y7 End of Term 1 Quizz

Y7 End of Term 1 Quizz

7th Grade

10 Qs

Be a Perfect Programmer with Scratch

Be a Perfect Programmer with Scratch

7th Grade

10 Qs

Sequence,Variable,Selection,Iteration

Sequence,Variable,Selection,Iteration

7th Grade

10 Qs

DS Unit 4 Quiz (coding)

DS Unit 4 Quiz (coding)

Assessment

Quiz

Computers

6th - 9th Grade

Hard

Created by

Chaudra Wood

FREE Resource

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

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be displayed on the screen when

computerNumber = 10

and

userNumber = 10

10

SNAP

20

no snap