Search Header Logo

Extended Quiz: Functions, Machines, and EVTOLs

Authored by Arturo Velasco

Information Technology (IT)

6th Grade

Extended Quiz: Functions, Machines, and EVTOLs
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 5 pts

In CodeHS, why do we create functions like turnRight()?

To make our code longer

To repeat the same code over and over

To create shortcuts and reuse steps easily

To make the computer run slower

2.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Which of the following is the correct way to define a function in CodeHS?

Media Image
Media Image
Media Image
Media Image

3.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Which of the following is the correct way to define a function in CodeHS?

Media Image
Media Image
Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

What is one advantage of using functions in your programs?

They make your code confusing.

You only write the steps once, then you can call the function many times.

Functions erase your old code.

Functions make your computer louder.

5.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Machines and coding both use inputs and outputs. Which example shows this correctly?

Input: Press on button → Output: TV screen turns on

Input: pressing a keyboard key → Output: nothing happens

Input: eating food → Output: the lights in your house turn on

Input: CodeHS program → Output: the computer deletes itself

6.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

EVTOLs (electric vertical takeoff and landing vehicles) are being developed to…

Replace bicycles in schools

Fly like drones but carry people like cars

Replace trains underground

Make LEGO machines work automatically

7.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Which of these is an example of input and output in an EVTOL?

Input: pilot presses joystick → Output: vehicle tilts forward and moves

Input: car horn honks → Output: the sky turns blue

Input: wheels spin → Output: the vehicle eats fuel

Input: program crashes → Output: EVTOL disappears

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?