All Flashcards
What are the differences between Iterative and Incremental Development?
Iterative: Refines a prototype through repeated cycles. | Incremental: Builds a program in small, working parts.
What are the differences between Program Requirements and Program Specifications?
Requirements: Describe how the program works. | Specifications: Define the what - the goals and functions.
What are the differences between Agile and Waterfall development?
Agile: Flexible, adaptive, collaborative. | Waterfall: Rigid, sequential, less collaborative.
What is the purpose of the '#' symbol in Python code?
It indicates a comment, which is ignored by the interpreter.
Identify the error in the following code: print('Hello, World!')
There is no error. This code will print 'Hello, World!' to the console.
'This will print'
What is the main goal of program development?
To create software, starting from initial ideas and ending with a final, functional product, using a structured process.
What is the key characteristic of the Waterfall Model?
It is a linear, step-by-step process where each stage must be fully completed before moving on.
What is the benefit of using Agile or DevOps methodologies?
They allow for flexibility and adaptation during the development process, enabling changes and collaboration.
Why are program specifications important?
They ensure clear communication between programmers and clients, avoiding misunderstandings about the program's goals.
What methods can be used for investigation in program development?
Surveys, user testing, interviews, and direct observation.
What are the key activities in the 'Designing Code' phase?
Brainstorming, planning, storyboarding, organizing into modules, creating UI diagrams, and developing a testing strategy.
Why is program documentation important?
It helps break down the complexity of programs, facilitates collaboration, and allows for code reusability.
What is the purpose of comments in code?
To explain what the code is doing, making it easier for others (and yourself) to understand the program later.
Why is it important to cite sources in your code?
To acknowledge any work that isn't yours and to maintain academic integrity.
What are the key phases of program development?
Investigation and Reflection, Designing Code, Building, Prototyping, and Testing.