Tools in Program Development Flashcards
(6 cards)
1
Q
What is an Editor in program development?
A
A software where the source code is written in a high-level language. Examples include Integrated Development Environments (IDEs) like Visual Studio or Eclipse.
2
Q
What is a Translator in program development?
A
A tool that converts high-level language into machine code. There are two main types:
- Compilers: Translate the entire code at once
- Interpreters: Translate code line-by-line during execution
3
Q
What is a Debugger in program development?
A
A tool for testing the program and detecting errors. It allows developers to:
* Step through code execution * Set breakpoints * Inspect variable values * Track the program flow
4
Q
What features does an Integrated Development Environment (IDE) typically include?
A
- Pretty Print: Formats code for readability
- Automatic Indentation: Adjusts indentation to reflect logical structure
- Syntax Checking: Identifies syntax errors as code is written
- Highlights Undeclared Variables: Alerts when code refers to undefined variables
- Type Checking: Ensures values assigned to variables are compatible with their declared types
5
Q
A
6
Q
What are the tools used for finding errors in code?
A
- Dry Run/Trace Table: Manually stepping through code logic on paper
- Breakpoint: Halting execution at a specific point to examine the current state
- Variable Watch: Monitoring variable values during execution
- Stepping: Moving through code one line at a time, observing execution flow