APCSP Unit 1 Extreme

Last updated 3 months ago
50 questions
1

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

1

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

1

Pair programming is most effective because it:

1

Which of these best describes a code segment?

1

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

1

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

1

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

1

What is an advantage of incremental development?

1

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

1

Which of these is an example of program output?

1

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

1

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

1

Why is binary used in computing?

1

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

1

Which is an example of metadata?

1

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?

1

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?

1

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

1

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?

1

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

1

Which of the following best defines an overflow error?

1

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

1

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?

1

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

1

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

1

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?

1

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

1

Why is the prototyping phase important in the development process?

1

Which of these best shows an exploratory development process?

1

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

1

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

1

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

1

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?

1

Which of the following best describes the incremental development process?

1

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?

1

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

1

In an iterative process, a developer...

1

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?

1

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

1

Which of the following is true about iterative development?

1

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?

1

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

1

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

1

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

1

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

1

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

1

What happens in the reflection phase of the development process?

1

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?

1

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

1

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?