Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Question 1 This term relates to the repetition of a statement, process, or proce

ID: 3840888 • Letter: Q

Question

Question 1

This term relates to the repetition of a statement, process, or procedure.

a. Random

b. Abstraction

c. Key

d. No answer is correct

e. Library

Question 2

This term relates to a collection of commands made available to a programmer.

a. API

b. No answer is correct

c. Function

d. Operations

e. Top-Down

Question 3

Computers are much better at _________ than humans.

a. Solving problems

b. Seeing patterns

c. A.I.

d. - No answer is correct

e. Heuristics

Question 4

What is one important naming convention of functions?

a. Function names should be organized alphabetically.

b. A function name should indicate how long the function takes to run.

c. The function name should begin with a number that indicates the order in which it should be executed.

d. Two functions with similar behavior should be given identical names to indicate the relationship between them.

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

Question 5

Which one of the following statements about functions is TRUE

a. Two functions in a single program can have different names but contain identical code.

b. A function can change names over the course of a program.

c. Code can be added or removed dynamically from a function while the program is running.

d. Two functions can be given identical names as long as their code is identical.

e. Functions can be called using different names depending on where in the program they are called.

Explanation / Answer

1. d. No answer is correct.

Iteration is the term relates to the repetition of a statement, process, or procedure.

2. a. API

API is a collection of commands made available to a programmer.

3.a. Solving problems

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

5. a. Two functions in a single program can have different names but contain identical code.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote