
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
7 questions
AP Exam Rubric Changes Overview

Interactive video
•
10th - 12th Grade
11 questions
Psychology Research and Exam Strategies

Interactive video
•
10th - 12th Grade
11 questions
Probability and Statistics Concepts

Interactive video
•
10th - 12th Grade
11 questions
Introduction to Computer Science Principles

Interactive video
•
9th - 12th Grade
8 questions
Dijkstra's Algorithm Concepts and Applications

Interactive video
•
9th - 12th Grade
11 questions
Urban Art and Community Engagement

Interactive video
•
9th - 12th Grade
6 questions
Understanding Algorithms

Interactive video
•
9th - 10th Grade
11 questions
AP Psychology: Classical Conditioning and Related Concepts

Interactive video
•
10th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
17 questions
[AP CSP] Binary Number System

Lesson
•
9th - 12th Grade
15 questions
1.1 Network Fundamentals Quiz

Quiz
•
10th Grade
20 questions
Understanding Information Processing Cycle

Quiz
•
10th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade