Log in
Sign up for FREE
arrow_back
Library

APCSP Unit 1 Extreme

star
star
star
star
star
Last updated 5 months ago
50 questions
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
Question 1
1.

Which of the following is the best example of a computing innovation that is primarily non-physical?

Question 2
2.

A robot vacuum cleaner uses sensors to detect obstacles and avoid them. The sensors provides?

Question 3
3.

Pair programming is most effective because it:

Question 4
4.

Which of these best describes a code segment?

Question 5
5.

You write a program that plays a sound when the space bar is pressed. What is the event in this program?

Question 6
6.

You notice your program runs but returns the wrong answer. This is an example of:

Question 7
7.

A student describes their app but forgets to mention the function of a key variable. What’s missing?

Question 8
8.

What is an advantage of incremental development?

Question 9
9.

When using hand tracing to find an error, the developer is:

Question 10
10.

Which of these is an example of program output?

Question 11
11.

A student writes Print("Hello) and the program crashes. What kind of error is this, assuming we are using a python IDE?

Question 12
12.

A program crashes when it tries to divide a number by zero. What kind of error is this?

Question 13
13.

Why is binary used in computing?

Question 14
14.

A student uses an if statement to decide whether to display a red light or green light. What programming concept is this?

Question 15
15.

Which is an example of metadata?

Question 16
16.

While testing her program, Elizabeth adds print() statements at key points in the code to see the values of variables as they change. Which debugging method is she using?

Question 17
17.

Jordan writes out each step of his algorithm on paper and manually updates each variable’s value as if the program were running. What is this debugging technique called?

Question 18
18.

Which of the following is the best reason to use multiple test cases when debugging a program?

Question 19
19.

Which of the following tools is most helpful for identifying run-time errors such as trying to access an index that doesn't exist in a list?

Question 20
20.

What is most likely to cause an overflow error in a program that stores numbers using 8 bits?

Question 21
21.

Which of the following best defines an overflow error?

Question 22
22.

Which of the following best represents an activity during the design phase of program development?

Question 23
23.

During the design phase, a team decides to divide their app into three main modules: User Authentication, Shopping Cart, and Product Search. What design principle are they applying?

Question 24
24.

Why is developing a testing strategy during the design phase important, even before writing any code?

Question 25
25.

Which of the following diagrams would most likely be created during the design phase of a program meant to help students learn math?

Question 26
26.

A student designs a mobile app to help classmates track homework. Before writing any code, she surveys classmates about their needs. What development phase is she in?

Question 27
27.

In which phase would a programmer be most likely to use flowcharts, wireframes, or pseudocode?

Question 28
28.

Why is the prototyping phase important in the development process?

Question 29
29.

Which of these best shows an exploratory development process?

Question 30
30.

During which phase is a developer most likely to create a simple working model of their software?

Question 31
31.

In an exploratory process, which of the following is most likely true?

Question 32
32.

Which of the following shows a developer using reflection during the development process?

Question 33
33.

A group of students is building a quiz app. They create a basic working version, then keep improving it by adding features like a timer, score tracking, and leaderboards after getting user feedback. What development approach are they using?

Question 34
34.

Which of the following best describes the incremental development process?

Question 35
35.

A development team designs a game. They first develop the character movement and test it. Then they add levels, then scoring, testing each before moving on. Which best describes their approach?

Question 36
36.

Why is the iterative development process useful when designing a user interface?

Question 37
37.

In an iterative process, a developer...

Question 38
38.

A cooking app is developed by first building the login system. Once it works, they add a recipe search feature. After that, they add a pantry tracking system. What type of development process does this represent?

Question 39
39.

Which development approach is MOST likely to help catch small errors before they become major problems in a program?

Question 40
40.

Which of the following is true about iterative development?

Question 41
41.

If a student writes code to draw a circle, tests it, then writes code to draw a square, tests it, and then combines the two to draw a pattern, what approach are they using?

Question 42
42.

Which of these BEST highlights a key difference between iterative and incremental processes?

1
1
1
1
1
1
Question 49
49.

Which of the following is an example of boundary testing for an input that accepts values from 1 to 100 (inclusive)?

Question 50
50.

A form field accepts a password with a minimum of 8 and a maximum of 16 characters. Which of the following set of inputs best represents boundary testing?

Question 43
43.

What is the primary purpose of the investigate phase in the software development process?

Question 44
44.

During which phase do developers usually create wireframes, flowcharts, or algorithms before writing any code?

Question 45
45.

Which of the following activities is MOST likely to occur during the prototype phase?

Question 46
46.

Which best describes the purpose of the test phase in software development?

Question 47
47.

What happens in the reflection phase of the development process?

Question 48
48.

After completing and testing a project, a team meets to discuss what went well and what could be improved next time. What is this phase called?