Chapter Review Questions#
Note
Source: Adapted from the C# edition context review questions. Questions specific to Python (dynamic typing, REPL) are original additions.
What is an algorithm?
Give a one-sentence definition.
Name three properties every algorithm must have.
Python is called dynamically typed.
Explain what that means in your own words.
How does this differ from a statically-typed language like C# or Java?
What is the Python interactive shell (REPL)?
What does REPL stand for?
Give one situation where using the REPL is more convenient than writing a script.
What is abstraction in computer science?
Define the term.
Give one example of an abstraction you already use without thinking about it.
A friend argues that computer science is really just programming. How would you respond?