Basic Functions

Basic Functions

Assessment

Flashcard

Computers

6th - 8th Grade

Hard

Created by

Quizizz 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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?