Which of the following is NOT a building block of algorithms?
Compilation
What is the main benefit of using functions?
Increase procedural abstraction and reusability
Which tool allows developers to track changes in code?
Git
HTML5 and CSS3 are used to:
Structure and style webpages
Which is NOT a common programming language?
HTML
Iteration in programming refers to:
Repeating a set of instructions multiple times
Which improves code readability?
Proper naming conventions and comments
Name three debugging methods.
Print statements, breakpoints, runtime tracing
Which HTML tag inserts images?
<img>
Name four common programming languages and a feature of each.
Examples: Python–easy syntax; Java–OOP; JavaScript–web interactivity; C++–high performance
Selection in programming allows a program to:
Make decisions based on conditions
Procedural abstraction allows programmers to create _______.
Functions that can be reused multiple times
What is the purpose of an IDE?
Provide tools like debugging, code completion, and syntax highlighting
Responsive design ensures:
Webpages adjust for different devices and screen sizes
A CMS like Git helps programmers _______ and _______ code collaboratively.
Track and manage
Breakpoints in debugging are used to:
Pause program execution at a specific line
Using meaningful variable names and comments results in _______ code.
Readable/self-documenting
A _______ is a text-based environment, while an IDE provides debugging tools.
Text editor
WCAG stands for _______ and provides guidelines for _______.
Web Content Accessibility Guidelines; accessibility on the web
An API allows a program to _______ with other software.
Communicate/interact
Define sequence, selection, and iteration.
Sequence = steps in order; Selection = decision-making (if/else); Iteration = repeating steps in a loop.
What is procedural abstraction and why does it improve reusability?
Breaking code into reusable functions, which reduces repetition and simplifies changes.
Explain the difference between a text editor and an IDE.
Text editor = basic writing tool; IDE = includes debugging, running, and testing features.
Describe how JavaScript manipulates the DOM.
By selecting elements and changing content, style, or structure dynamically.
Explain the difference between a code library and an API.
Library = reusable code; API = rules for interacting with software/services.