Skip to main content

Back to the full dot-point answer

United StatesComputer Science PrinciplesQuick questions

Big Idea 1: Creative Development

Quick questions on Identifying and correcting errors - AP Computer Science Principles Big Idea 1

3short Q&A pairs drawn directly from our worked dot-point answer. For full context and worked exam questions, read the parent dot-point page.

What is q1?
Show answer
A program crashes when it tries to access the 10th element of a list that has only 8 elements. What type of error is this? [1 point]
What is q2?
Show answer
Why is it important to test a program with edge cases such as an empty list? [2 points]
What is vague testing descriptions in the Create task?
Show answer
"I tested it" earns nothing. You must name specific inputs and the expected output for each, including at least one edge case.

Have a question we have not covered?

This dot-point answer is short enough that we have not extracted many short questions yet. Read the full dot-point answer or ask Mo, our study assistant, in the chat for follow ups.

All Computer Science PrinciplesQ&A pages