AP CSP Creative Development

Last updated 3 months ago
25 questions
1

Collaboration can provide which of the following?

1

What is the benefit of using a software development design process?

1

Which of the following is not a common step in many software development process?

1

What do using surveys, interviews, and observations identify

1

Which of the following is an example of event-driven programming?

1

Which of the following best explains the role of an event handler in a program?

1

Which scenario best illustrates event-driven programming in a mobile app?

1

Which of the following scenarios does NOT represent event-driven programming?

1

A smart home system automatically turns on the lights when it detects motion. What triggers the event in this system?

1

Assume below uses python syntax

num1 = 22;
print(num1 + num2)

the two lines of code will cause a specific kind of error, what is it called?

1

I created a program that calculates the number of leap years between two possible years, the code runs perfectly but I am certain the result is inaccurate. What is this kind of error called?

1

Describe the difference between syntax and reference/Name error

1

Which method of finding errors is most useful to identify logic error?

1

Grammatical error is to ENGLISH LANGUAGE as ________________ is to PROGRAMMING LANGUAGE

1

A student writes a program that calculates the average of test scores (no error message), but the output is always incorrect. What is the best way to debug this issue?

1

Variable names should have logical meaning that others can easily understand eg firstName instead of fn

1

A program accepts an integer between 1 and 100 (inclusive) as input. Which of the following are invalid test cases?

1

A program accepts an integer between 1 and 100 (inclusive) as input. Which of the following are valid test cases?

1

A system allows users to set a password between 8 and 16 characters long. Which of the following are boundary test case?

1

A form field only accepts letters (A-Z, a-z). Which of these is a robust invalid test case? pick 2

1

What is the primary goal of the investigation phase in software development?

1

A development team receives user feedback after testing a prototype. What should they do next?

1

Which statement best describes the role of prototyping in the design phase?

1

Why is documentation important in your program?

1

Whats a synonym for the word iterative