Variable
A named storage location in memory that holds data which can be changed during program execution.
Example: x = 5
Data Types
Categories of data that determine what kind of value a variable can hold, such as integers, floats, strings, and booleans.
Example: int, float, string, bool
Control Structures
Constructs that control the flow of execution in a program, including conditionals and loops.
Example: if, for, while
Function
A reusable block of code designed to perform a specific task, which can accept inputs (parameters) and return outputs.
Example: def add(a, b): return a + b
Syntax
The set of rules that define the combinations of symbols considered to be correctly structured code in a programming language.
Algorithm
A step-by-step procedure for solving a problem or performing a task, fundamental to programming logic.
1. Which programming language is explicitly mentioned as being dynamically typed, meaning variables do not need explicit type declarations?
2. What is the primary purpose of a variable in programming?
3. What is the primary role of control structures in programming?
Variable β definition?
Named storage in memory for data.
Variable β definition?
Named storage for data in memory.
Data Types β role?
Specify kind of data variables can hold.
Data Types β role?
Define kind of data stored by variables.
Control Structures β function?
Direct program flow via decisions and loops.
Control Structures β examples?
if, for, while.
The revision sheet covers the essential concepts of Fundamentals of Programming and Software Design. It is organized by topic to facilitate learning and memorization, with key definitions, explanations and summaries.
Read the full sheet βThe quiz contains 7 multiple-choice questions with detailed corrections and explanations for each answer. Ideal for testing your knowledge and identifying gaps.
Take the quiz (7 questions) βRevizly offers 10 interactive flashcards on Fundamentals of Programming and Software Design. Each card presents a question on the front and the answer on the back, enabling active and effective revision based on spaced repetition.
See all 10 flashcards βImport your PDF or paste your course, AI generates sheets, quizzes and flashcards in 30 seconds.