What is data sent to a computer for processing?
Input
What is a command or instruction in programming?
Program statement
What is a written description of how a command works?
Documentation
What does it mean to debug a program?
Finding and fixing problems in the program or code
What triggers program statements to run in event-driven programming?
Events such as mouse clicks or key presses
What is data sent from a program to a device?
Output
A collection of program statements
Program
What is the purpose of comments in programming?
To provide explanations for human readers without affecting the execution of the program
What is the goal of the development process?
To create a piece of software effectively and efficiently
Give an example of an event that can affect program execution.
A user clicking a button
Name a form of input that can be tactile and that is commonly used with iPhones and tablets.
Touch-screen interaction
What does it mean to "execute" a program?
To run the program one command at a time
Why is documentation important?
It helps others understand how the program works.
Name one phase of the development process.
Investigating, designing, prototyping, or testing
What is a common event in user interfaces?
A mouse click or keyboard input
What type of output can be audio?
Sound notifications or voice responses
What is sequential programming?
Program statements run in order, from top to bottom.
What type of documentation is written into the program?
Comments
What is an event in programming?
An action that supplies input data to a program
How does event-driven programming differ from sequential programming?
It runs commands based on events rather than in a strict order.
What is a key difference between input and output?
Input is data sent to the computer; output is data sent from the computer.
What is the difference between sequential and event-driven programming?
Sequential runs commands in order; event-driven runs commands based on triggers.
What is pair programming?
A collaborative programming style where two programmers switch roles.
Describe how debugging can improve software.
By identifying and resolving errors, it enhances functionality and user experience.
Why might a programmer choose event-driven programming?
To create responsive user interfaces that react to user actions