Code.org Coding Lessons 4-6

Code.org Coding Lessons 4-6

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Know thy Peer-to-Peer

Know thy Peer-to-Peer

12th Grade

10 Qs

TCP/IP & other protocols [A Level]

TCP/IP & other protocols [A Level]

12th Grade

14 Qs

MIL March 8, 2023

MIL March 8, 2023

12th Grade

10 Qs

UNIT 1.8 ELCE

UNIT 1.8 ELCE

10th Grade

14 Qs

Access - Lesson 14

Access - Lesson 14

9th - 12th Grade

10 Qs

ICT 10 : Introduction to Adobe Illustrator(CS5)

ICT 10 : Introduction to Adobe Illustrator(CS5)

10th Grade

10 Qs

4.6.4 Logic Gates

4.6.4 Logic Gates

10th Grade - Professional Development

15 Qs

Wee Word Intro

Wee Word Intro

7th - 12th Grade

12 Qs

Code.org Coding Lessons 4-6

Code.org Coding Lessons 4-6

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Mr. Saint-Germain

Used 42+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Two different functions in a program could contain the same code (accomplish the same task)

True
False

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is true regarding naming functions? 

Function names can be reused multiple times
A function name should be as descriptive as possible to indicate what the function does.
Function names should be organized alphabetically
The function name should begin with a number that indicates the order in which it should be executed.

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the correct format to define a function?

Note: The name of the Function is "multiplyBy2"

multiplyBy2();

function multiplyBy2(){

//steps to execute function

}

function multiplyBy2

multiplyBy2{5}{

//steps of function

}

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the correct way to call the function called "doMath" with a parameter of 5?

doMath(5);
function doMath(5);
doMath();
doMath{5};

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following commands will move the turtle forward one unit?

move
move;
move();
move()

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What makes the following command invalid: turnleft();

It should end in a colon rather than a semicolon

The letter l should be capitalized - L

It should start with a capital T

The command is correct

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Why do we use functions in programs?

A. Make the program easier to read

B. Avoid retyping the same lines of code

C. Both A and B are correct

D. Neither A nor B are correct

Create a free account and access millions of resources

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?