P1 Unit 3 Lessons 5 - 8

P1 Unit 3 Lessons 5 - 8

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

UNIT 1.8 ELCE

UNIT 1.8 ELCE

10th Grade

14 Qs

Q1 M3 PRE-TEST

Q1 M3 PRE-TEST

10th Grade

20 Qs

Access - Lesson 14

Access - Lesson 14

9th - 12th Grade

10 Qs

ICT 10 : Introduction to Adobe Illustrator(CS5)

ICT 10 : Introduction to Adobe Illustrator(CS5)

10th Grade

10 Qs

Latihan Pilihan Ganda - Sketchup

Latihan Pilihan Ganda - Sketchup

9th Grade

15 Qs

مراجعة حاسب2 ثلاث وحدات

مراجعة حاسب2 ثلاث وحدات

11th Grade

16 Qs

Computer Science - X

Computer Science - X

8th - 10th Grade

20 Qs

Unit Test 1 Class 8 Computer

Unit Test 1 Class 8 Computer

8th - 9th Grade

20 Qs

P1 Unit 3 Lessons 5 - 8

P1 Unit 3 Lessons 5 - 8

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Amber Blu

Used 4+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Choose the two (2) statements that are true about functions

Meaningful function names help people better understand programs.

Functions in programming are named groupings of programming instructions.

Meaningful function names help computers better understand programs.

Functions in programming are useful mathematical tools for doing complex computations.

2.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Select the two true statements about functions with parameters:

Functions with parameters can be used to prevent the creation of duplicated code.

Parameters help generalize the solution of a specific problem.

Values do not need to be provided to a function with parameters in any particular order.

Parameters can only be used once within the body of a function

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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

Functions cannot make calls to other functions written by the same programmer.

Once defined, a function can be called many times from different parts of a program.

Functions help break a problem into logical chunks.

Functions help reduce the complexity of writing and maintaining programs.

Functions are reusable programming abstractions.

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following statements about writing functions and Top-Down Design is NOT true?

Two programmers solving the same problem using Top-Down Design should arrive at identical programs.

Top-Down Design relies upon identifying sub-problems of a larger problem.

Top-Down Design assists in identifying the layers of functions that will be used to solve a programming problem.

Top-Down Design leads to programs which feature multiple layers of abstraction.4

Writing functions helps manage complexity in a program.

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is a function parameter?

A way to give input to a function that controls how the function runs.

Para-meter: a measure of the distance between a function's conception and implementation.

A collection of commands that can be used in a programming language.

Another name for the purpose of a function.

A named memory location

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is an API?

Application Program Interface

Artificial Parameter Intelligence

Abstract Programming Inheritance

Applied Power Implementation

Abstract Parameter Interface

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT part of defining a function?

Giving the parameters a value

Adding code to the body of the function

Identifying the parameters of the function

Giving the function a name

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?