Basic Functions

Basic Functions

Assessment

Flashcard

Computers

6th - 8th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

10 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is a function?

Back

A function is a block of reusable code that is used to perform a single task.

2.

FLASHCARD QUESTION

Front

How many parts are there in a functions?

Back

3

3.

FLASHCARD QUESTION

Front

Name the three parts of a function.

Back

Function keyword, Function name, Function body

4.

FLASHCARD QUESTION

Front

Write the name of the function keyword.

Back

function

5.

FLASHCARD QUESTION

Front

When do we call the function by its function name?

Back

Whenever the code in the code body is to be executed.

6.

FLASHCARD QUESTION

Front

What is the name of the primary function in a program?

Back

main()

7.

FLASHCARD QUESTION

Front

Which of the following functions is written correctly?

  1. printFirst();
,
  1. printfirst;
,
  1. Printfirst;
,
  1. Printirst;

Back

printFirst();

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?