
Algorithm Efficiency and Documentation
Interactive Video
•
Computers, Education, Instructional Technology
•
9th - 12th Grade
•
Practice Problem
•
Easy
Jackson Turner
Used 3+ times
FREE Resource
Read more
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why is program documentation important even after the program is completed?
It is only needed during the development phase.
It should not be changed after it is first written.
It helps in understanding and updating the program later.
It is useful only when programmers collaborate.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement about program documentation is true?
It is useful when programmers collaborate but not individually.
It is only needed during the development phase.
It should not be changed after it is first written.
It is useful during initial development and for future modifications.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the procedure to find the index in a list of names?
To display the index of a target name if found, otherwise display zero.
To sort the list of names alphabetically.
To count the number of names in the list.
To remove duplicate names from the list.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which procedure call demonstrates that the procedure does not work as intended?
find_name(['Andrea', 'Ben'], 'Diane')
find_name(['Andrea', 'Ben'], 'Ben')
find_name(['Andrea', 'Ben', 'Chris'], 'Ben')
find_name(['Andrea', 'Diane', 'Chris'], 'Ben')
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why is it incorrect to conclude that a program works as intended after testing it with only one test case?
The program works only for lists with non-negative numbers.
The program works only for lists in increasing order.
One test case is not sufficient to conclude the program is correct.
The program does not display the correct value for the test case.
6.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which condition simulates 20% of voters voting for candidate A?
random(1, 10) == 2
random(1, 10) <= 2
random(1, 5) <= 2
random(1, 5) == 1
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of using a computer simulation for the bank's customer wait times?
To determine the average wait time without inconveniencing customers.
To increase the number of customers visiting the bank.
To inconvenience customers during the testing phase.
To reduce the number of tellers in the bank.
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade