Search Header Logo

Creating Functions

Authored by Bruce Darkis

Computers

9th - 12th Grade

Used 7+ times

Creating Functions
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is not the proper naming convention for a function

HelloWorld()
helloWorld()
drawCircle()
none of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This is the proper structure naming a function:
myFunction{
 //code goes here
}

True
False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

TurnAround is a proper way of naming a function

True
False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Functions can help you create more precise code

True
False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a true statement about functions?

Functions are reusable programming abstractions.
Functions help reduce the complexity of writing and maintaining programs.
Functions cannot make calls to other functions written by the same programmer.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Programmers have functions because:
Enables programmers to write code in larger, more logical chunks.
Enable programmers to focus on what something does rather than how it does it.
Streamlines code into shorter, but more readable (understandable) sequences.
Enables programmers to reuse code segments.

True 
False

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?