Respuesta :
The following image is the basic syntax for a Python function definition. (See image)
A. True
B. False
(cant see image)
def functionName( arguments ):
statement1
statement2
statement3
(that’s the image)
(cant see image)
What is another name for repetition in programming?
A. duplication
B. replication
C. redundancy
D. iteration
All of the following are types of errors in a computer program EXCEPT
A. syntax
B. parameter
C. semantic
D. logic
17.
What is one way that programmers insert explanatory statements in their code?
A. for loops
B. compiling code
C. use comments
D. create variables
18.
Why is readable code important? Choose all that apply.
A. It is more fun to write.
B. It makes the purpose and flow of a program easier to understand and follow.
C. Anyone needing to work with the code in the future will have an easier time.
D. It will save time when it is time to update the program. (MAYBE D AS WELL)
19.
All of the following are true about debugging except
A. debugging is not a necessary process
B. it is a process of identifying and eliminating errors in a software program
C. it is essential to produce high-quality programs
D. eliminating bugs is an important part of the program development cycle
20.
The type of conditional statement that tests if a condition is true or false
A. if
B. not
C. or
D. and
21.
The admission booth at the show requires each person to enter their age. Then the following program executes (See image.): When age = 16, what action would the program execute?
A. print “16”
B. print “Student price is $8.”
C. print “14”
D. print “Student price is $14.”
(cant see image)
22.
A program reads as follows (See image). If the age of the ticket buyer is entered as 13, how many steps would the program run through before executing?
A. 1
B. 2
C. 3
D. 4
(cant see image)