
Algorithm Efficiency and Documentation

Interactive Video
•
Computers, Education, Instructional Technology
•
9th - 12th Grade
•
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
Similar Resources on Wayground
11 questions
Program Development Life Cycle Concepts

Interactive video
•
9th - 12th Grade
11 questions
Java Variables and Booleans Concepts

Interactive video
•
9th - 12th Grade
11 questions
Understanding Algorithms and Pseudocode

Interactive video
•
10th - 12th Grade
11 questions
Understanding Linear Search Algorithm

Interactive video
•
9th - 12th Grade
11 questions
Understanding Computer Science Concepts

Interactive video
•
9th - 12th Grade
11 questions
Citing Resources in Projects

Interactive video
•
9th - 12th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade