Unit 3 Functions and Parameters

Unit 3 Functions and Parameters

Assessment

Flashcard

Computers

7th Grade - University

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

22 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Multiple functions within a program can have the same name

Back

False

2.

FLASHCARD QUESTION

Front

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

Back

True

3.

FLASHCARD QUESTION

Front

Which of the following is true regarding naming functions? Options: 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.

Back

A function name should be as descriptive as possible to indicate what the function does.

4.

FLASHCARD QUESTION

Front

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

Back

doMath(5)

5.

FLASHCARD QUESTION

Front

Which are true regarding high-level and low-level programming languages?
I. High-level can be more abstract
II. Low-level is harder to find errors
III. High-level is more easily understood by humans.

Back

I, II, and III

6.

FLASHCARD QUESTION

Front

Which of the following is an example of abstraction? Options: Writing a function for code you repeat often, Using logic symbols like < and >, Numbers are converted from one base to another, There is an error in the code

Back

Writing a function for code you repeat often

7.

FLASHCARD QUESTION

Front

Regarding programming documentation (use of comments, notations, etc.)

Back

It helps during initial program development and also when modifications are made.

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?