Search Header Logo

Programming and Logic Lessons 5 and 6

Authored by James Hanlon

Computers

6th Grade

Used 64+ times

Programming and Logic Lessons 5 and 6
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Named units of code that perform a task or cause an action to take place are called:

events

functions

classes

objects

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a function used to tell the program what to do when a certain action takes place?

Event

Argument

Event handler

Parameter

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which programming component is used when the mouse is clicked to trigger the execution of a specific action?

Event

Argument

Event handler

Parameter

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the benefits of using functions?

Functions make the program more efficient.

Functions make the program run without errors.

Functions create new lines of code.

Functions find errors in the program.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a common function in Scratch?

Random

Round

Scientific

Formula

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Scratch the shape of a function indicates the type of ___ to be returned.

errors
code
data

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Function blocks with rounded ends return:

string or numeric information.

boolean information.

current values.

past values.

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?