Coding Workshop

Coding Workshop

7th Grade

20 Qs

quiz-placeholder

Similar activities

Loop in Scratch

Loop in Scratch

7th - 9th Grade

15 Qs

Q4_Quiz1 in CompSci7_AY2024-25

Q4_Quiz1 in CompSci7_AY2024-25

7th Grade

15 Qs

Code.org

Code.org

6th - 8th Grade

20 Qs

End of term coding revision

End of term coding revision

5th - 9th Grade

25 Qs

Word and Icon Block Coding

Word and Icon Block Coding

6th - 8th Grade

15 Qs

1A Quiz on Game Design with Scratch

1A Quiz on Game Design with Scratch

5th - 9th Grade

24 Qs

App Lab Variables

App Lab Variables

7th - 8th Grade

15 Qs

Code.org CSD Unit 3 Lessons 1-12

Code.org CSD Unit 3 Lessons 1-12

3rd - 12th 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?