Unit 7

Unit 7

9th - 12th Grade

13 Qs

quiz-placeholder

Similar activities

Fundamentals of Algorithms

Fundamentals of Algorithms

10th Grade

10 Qs

Midterm Review

Midterm Review

10th Grade

16 Qs

RPMS - IPCRF by Jenelou John Israel

RPMS - IPCRF by Jenelou John Israel

12th Grade

10 Qs

ICT Service Solutions 2

ICT Service Solutions 2

8th - 12th Grade

17 Qs

Typography

Typography

11th Grade

10 Qs

Recording Software Button Identification Quiz

Recording Software Button Identification Quiz

8th Grade - University

10 Qs

10 CS // Pseudocode

10 CS // Pseudocode

9th - 11th Grade

10 Qs

Istilah-istilah Internet

Istilah-istilah Internet

9th Grade

10 Qs

Unit 7

Unit 7

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Thomas Martinez

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is an example of abstraction?
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

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Why are parameters useful when programming?
Parameters determine the number of times the function will run. 
Parameters allow for more flexible, generalized behaviors in functions.
Parameters are useful for teams of programmers because they help define the boundaries of the problem they are trying to solve. 
Parameters change the order of operations within a function. 

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Multiple functions within a program can have the same name
True
False

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the correct way to call the function called "doMath" with a parameter of 5?
doMath(5);
function doMath(5);
doMath();
doMath{5};

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why do we use functions in programs?
A.  Make the program easier to read
B.  Avoid retyping the same lines of code
C.  Both A and B are correct
D. Neither A nor B are correct

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
What is wrong with this program?

The "go" function is called twice

The "go" function has a syntax error

The "go" function has been defined twice

"go" is not a command that can be used

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A benefit of using well-named functions and parameters in a computer program is
The program will run faster
The program will be easier for people to read
The program will have a greater data storage capacity
The program will not need parameters

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?