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.
Question 13
13.
Question 14
14.
Question 15
15.
Question 16
16.
Question 17
17.
Question 18
18.
Question 19
19.
Question 20
20.
Question 21
21.
Question 22
22.
Question 23
23.
Question 24
24.
Question 25
25.
Question 26
26.
Question 27
27.
Question 28
28.
Question 29
29.
Question 30
30.
Question 31
31.
Question 32
32.
Question 33
33.
Question 34
34.
Question 35
35.
Question 36
36.
Question 37
37.
Question 38
38.
Question 39
39.
Question 40
40.
Question 41
41.
Question 42
42.
1
1
1
1
1
1
Question 49
49.
Question 50
50.
Which of the following is the best example of a computing innovation that is primarily non-physical?
A) Smart fridge
B) Video game
C) Fitness tracker
D) Self-driving car
A robot vacuum cleaner uses sensors to detect obstacles and avoid them. The sensors provides?
A) Program input
B) Program output
C) Program comment
D) Debugging
Pair programming is most effective because it:
A) Reduces the total code written
B) Eliminates syntax errors
C) Encourages collaboration and diverse thinking
D) Only works for experienced programmers
Which of these best describes a code segment?
A) A full working program
B) A collection of statements within a larger program
C) A comment in code
D) A program’s output
You write a program that plays a sound when the space bar is pressed. What is the event in this program?
A) The sound playing
B) The space bar being pressed
C) The sound file
D) The keyboard
You notice your program runs but returns the wrong answer. This is an example of:
A) Syntax error
B) Run-time error
C) Logic error
D) Overflow error
A student describes their app but forgets to mention the function of a key variable. What’s missing?
A) Abstraction
B) Pseudocode
C) Program documentation
D) Loop
What is an advantage of incremental development?
A) It creates an app all at once
B) It avoids debugging
C) It allows developers to test each part of the program separately
D) It skips the need for collaboration
When using hand tracing to find an error, the developer is:
A) Running the code multiple times
B) Visually tracking the values of variables step-by-step
C) Deleting parts of the code
D) Asking others to debug
Which of these is an example of program output?
A) A button is clicked
B) A character enters a password
C) The app is closed
D) A sound plays after clicking
A program crashes when it tries to divide a number by zero. What kind of error is this?
A) Logic
B) Syntax
C) Overflow
D) Run-time
Why is binary used in computing?
A) It is easier for humans to understand
B) It is the language of color
C) Computers only process on/off signals
D) It allows faster typing
A student uses an if statement to decide whether to display a red light or green light. What programming concept is this?
A) Iteration
B) Selection
C) Debugging
D) Abstraction
Which is an example of metadata?
A) The actual contents of a text file
B) A file's creation date and size
C) A password
D) The name of the programmer
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?
A. Hand tracing
B. Test cases
C. Visualizations
D. Adding extra output statements
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?
A. Debugger tool
B. Visualization
C. Hand tracing
D. Test automation
Which of the following is the best reason to use multiple test cases when debugging a program?
A. To shorten the length of the program'
B. To increase the speed of the code
C. To make the program run without loops
D. To check how the program responds to different inputs
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?
A. Comments in the code
B. A debugger
C. Test case chart
D. Binary search
What is most likely to cause an overflow error in a program that stores numbers using 8 bits?
A) Storing a lowercase letter
B) Multiplying 50 × 10
C) Converting a number to a string
D) Adding two small numbers together
Which of the following best defines an overflow error?
A) An error caused when a number is divided by zero
B) An error caused when a program cannot find a variable
C) An error caused when a number exceeds the maximum value a data type can store
D) An error caused by mismatched data types
Which of the following best represents an activity during the design phase of program development?
A) Typing out and debugging actual code
B) Installing software dependencies
C) Creating a storyboard that shows how users will interact with the app
D) Publishing the app to an online store
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?
A) Abstraction
B) Modular design
C) Binary logic
D) Open source licensing
Why is developing a testing strategy during the design phase important, even before writing any code?
A) It allows programmers to ignore bugs until later.
B) It helps determine the best fonts and color scheme for the UI.
C) It ensures developers can build the entire program without user feedback.
D) It sets clear expectations for how the program should behave and how success will be measured.
Which of the following diagrams would most likely be created during the design phase of a program meant to help students learn math?
A) A wiring diagram of the school’s internet connection
B) A diagram showing how functions call each other
C) A diagram showing the layout of buttons, text boxes, and colors in the app
D) A graph of CPU usage during program execution
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?
A) Prototyping
B) Designing
C) Investigating and reflecting
D) Debugging
In which phase would a programmer be most likely to use flowcharts, wireframes, or pseudocode?
A) Investigating and reflecting
B) Designing
C) Prototyping
D) Evaluating
Why is the prototyping phase important in the development process?
A) It helps avoid all bugs before deployment
B) It gives the final version of the software
C) It allows for early testing and feedback before completing the full program
D) It ensures the program will be visually appealing
Which of these best shows an exploratory development process?
A) A team sets clear milestones and sticks to a fixed plan.
B) A developer writes experimental code to see what’s possible before deciding on a full design.
C) A student follows an instruction manual step-by-step.
D) A company publishes software without any user testing.
During which phase is a developer most likely to create a simple working model of their software?
A) Investigating and reflecting
B) Designing
C) Prototyping
D) Finalizing
In an exploratory process, which of the following is most likely true?
A) All steps are pre-planned and documented before writing code.
B) The team begins with user needs and fully defines the app’s requirements.
C) The developer experiments with small projects or code samples to find what works.
D) The program is finalized after a single round of development.
Which of the following shows a developer using reflection during the development process?
A) Reviewing user feedback to decide which features to keep
B) Adding as many features as possible
C) Writing final code without testing
D) Publishing the program before checking for errors
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?
A. Waterfall
B. Incremental
C. Linear
D. Iterative
Which of the following best describes the incremental development process?
A. Fixing errors after the whole program is complete
B. Writing all the code at once and testing at the end
C. Improving a working program based on user suggestions
D. Solving a problem piece by piece, testing each part before combining
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?
A. Iterative
B. Incremental
C. Hybrid
D. Spiral
Why is the iterative development process useful when designing a user interface?
A. It reduces the number of lines of code needed
B. It guarantees no bugs
C. It allows for changes based on user feedback and testing
D. It makes the code more colorful
In an iterative process, a developer...
A. Works in complete silence without asking users for input
B. Writes all code before testing anything
C. Builds a prototype, tests it, and refines it through repeated cycles
D. Finishes the whole app before showing it to anyone
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?
A. Waterfall
B. Iterative
C. Incremental
D. Parallel
Which development approach is MOST likely to help catch small errors before they become major problems in a program?
A. Iterative, because you test all parts at once
B. Incremental, because each part is tested before moving on
C. Waterfall, because there is only one big test at the end
D. Agile, because you don’t need to test at all
Which of the following is true about iterative development?
A. It focuses only on efficiency, not usability
B. It is the opposite of incremental development
C. It often involves multiple versions and improvements
D. It only works for hardware, not software
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?
A. Procedural
B. Incremental
C. Iterative
D. Exploratory
Which of these BEST highlights a key difference between iterative and incremental processes?
A. There is no difference; they mean the same thing
B. Iterative focuses on building everything at once; incremental is one-and-done
C. Iterative means you throw away old code; incremental means you reuse it
D. Iterative uses feedback to improve a working version; incremental builds small parts one at a time
Question 43
43.
Question 44
44.
Question 45
45.
Question 46
46.
Question 47
47.
Question 48
48.
Which of the following is an example of boundary testing for an input that accepts values from 1 to 100 (inclusive)?
A) Testing with values 0, 50, 100
B) Testing with values -1, 1, 100, 101
C) Testing with values 25, 50, 75
D) Testing with values 10, 20, 30
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?
A) "password", "mypassword123", "securepass2024"
B) "", "1234567", "12345678", "1234567890123456", "12345678901234567"