Introduction To Coding Flashcards
7 cards from real Amazon practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 7 Introduction To Coding flashcards as text
What is the purpose of 'indentation' in many programming languages?
Answer: To show code structure and, in some languages, define blocks
Indentation improves readability and, in languages like Python, defines code blocks.
What does a 'return' statement do in a function?
Answer: Sends a value back to the caller and exits the function
A return statement passes a result back and ends the function's execution.
Which of these best describes 'pseudocode'?
Answer: A plain-language outline of a program's logic
Pseudocode expresses an algorithm in readable terms without strict syntax.
What is a 'parameter' in a function?
Answer: An input value the function receives to work with
Parameters are named inputs that a function uses when it runs.
Which logical operator returns true only if BOTH conditions are true?
Answer: AND
The AND operator requires all conditions to be true to return true.
What is 'source code'?
Answer: The human-written instructions that make up a program
Source code is the set of human-readable instructions written by programmers.
Why is 'version control' (like Git) useful for coders?
Answer: It tracks changes and lets teams collaborate on code
Version control records changes over time and helps multiple developers work together.