Coding Workshop

Coding Workshop

7th Grade

20 Qs

quiz-placeholder

Similar activities

L3 Scratch 6-8

L3 Scratch 6-8

6th - 8th Grade

17 Qs

Coding Pre-Assessment

Coding Pre-Assessment

5th - 9th Grade

20 Qs

Scratch Loops and patterns

Scratch Loops and patterns

7th - 9th Grade

16 Qs

Express Course: Unit Two

Express Course: Unit Two

5th - 12th Grade

18 Qs

Game Design and Scratch

Game Design and Scratch

6th - 8th Grade

20 Qs

Scratch

Scratch

5th - 9th Grade

20 Qs

Mine craft

Mine craft

5th - 9th Grade

20 Qs

Lesson 8-23 Vocabulary

Lesson 8-23 Vocabulary

5th - 8th Grade

20 Qs

Coding Workshop

Coding Workshop

Assessment

Quiz

Computers

7th Grade

Hard

Created by

Zul Arif

Used 6+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the purpose of an if-else statement in coding?

To repeat a block of code multiple times

To define a function or method

To make a decision based on a condition

To create a loop

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How do you write an if-else statement in Python?

if [condition]:
# code block if the condition is true
else:
# code block if the condition is false

if [condition] then:
# code block if the condition is true
else:
# code block if the condition is false

if [condition]
# code block if the condition is true
else
# code block if the condition is false

if [condition]:
# code block if the condition is false
else:
# code block if the condition is true

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

(10 > 9)

True

False

Invalid

0

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

x is 4

y is 3

x + y < 11

True

False

Yes

No

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How is AND used in Boolean Logic?

To search all the words together

To search one or other words

To search nothing

To search for the opposite of the words

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The "NOT" used in Boolean Logic to produce the opposite of the input

True

1

0

False

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output of this code?

True

Different color...

False

Same color!

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?