CED Sample Prompts      

1. Program Design, Function, and Purpose 

Identify an expected user of your program. Describe one way your program's design meets the needs of this user.

Scoring Criteria:

The written response:


Decision Rules:

Consider Written Response 1 and the student's Program Code when scoring this point.

Do NOT award a point if the following is true:

2a. Algorithm Development

Consider the first iteration statement included in the Procedure section of your Personalized Project Reference. Identify the number of times the body of your iteration statement will execute. Describe a condition or error that would cause your iteration statement to not terminate and cause an infinite loop. If no such condition or error exists, explain how the loop could be modified to cause an infinite loop. 

Scoring Criteria:

The written response:

AND one of the following

OR


Decision Rules:

Consider the Personalized Project Reference and Written Response 2a when scoring this point.

Do NOT award a point if the following is true:

2b. Errors and Testing 

Consider the procedure included in part (i) of the Procedure section of your Personalized Project Reference. Describe a change to your procedure that will result in a run-time error. Explain why this change will result in a run-time error.


Scoring Criteria:

The written response:


Decision Rules:

Consider the Personalized Project Reference and Written Response 2b)when scoring this point.

Do NOT award a point if any one or more of the following is true:

2c. Data and Procedural Abstraction 

Suppose you are provided with a procedure called isEqual (value1, value2). The procedure returns true if the two parameters value1 and value2 are equal in value and returns false otherwise. Using the list you identified in the List section of your Personalized Project Reference, explain in detailed steps an algorithm that uses isEqual to count the number of times a certain value appears in your list. Your explanation must be detailed enough for someone else to write the program code.


Scoring Criteria:

The written response:


Decision Rules:

Consider the Personalized Project Reference and Written Response 2c when scoring this point.

Do NOT award a point if the following is true: