zuai-logo
zuai-logo
  1. AP Computer Science Principles
FlashcardFlashcard
Study GuideStudy GuideQuestion BankQuestion BankGlossaryGlossary

What is the purpose of the '#' symbol in Python code?

It indicates a comment, which is ignored by the interpreter.

Flip to see [answer/question]
Flip to see [answer/question]
Revise later
SpaceTo flip
If confident

All Flashcards

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.

What does the following code output?

#This is a comment

print('This will print')

'This will print'

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 definition of 'Waterfall Model'?

A linear, sequential software development approach where each stage must be completed before moving to the next.

What is the definition of 'Agile Development'?

A flexible, iterative approach to software development that emphasizes collaboration and adaptation to change.

What is the definition of 'DevOps'?

A software development methodology that combines development and operations to enable faster and more reliable software releases.

What is the definition of 'Iterative Development'?

A development process where a prototype is developed and refined through repeated cycles.

What is the definition of 'Incremental Development'?

A development process where a program is built in small parts, ensuring each part works before combining them.

What is the definition of 'Program Specifications'?

Descriptions of a program's goals and functions, agreed upon by programmers and clients.

What is the definition of 'Program Requirements'?

Describe how the program works. What can the user do? What does the program need from the user?

What is the definition of 'Program Documentation'?

Notes and summaries that explain how a program works, acting as a user manual for the code.

What are 'Comments' in programming?

Explanatory notes written directly into the code, ignored by the computer when running the program.

What is 'Sourcing' in the context of code?

Acknowledging and citing any code or work that is not originally yours.