Flashcards in Coding Test Deck (23):
Why design a programming language?
To give a machine instructions
What is wrong with our language?
Words with multiple meanings
How to remove ambiguities?
Specific and limited syntax
Not many words
What happens when you reduce the number of commands?
Makes harder to use
Functions and abstraction
Functions take a list of commands and call it one thing
Are functions reusable?
Functions and the user
Functions allow the user to clean up the code
visually more pleasing and helpful
Function or loop? Repetition
Function or loop? Parameters
Function or loop? Call
Abstraction and teams
I can use Ferris's code without knowing how it works
Can get blocks of code online
A precise sequence of instructions and processes that can be executed by the computer
is the application of each step of an algorithm in the order in which the statements are given.
uses a Boolean condition (a TRUE/FALSE condition) to determine which of two parts of an algorithm is used.
the repetition of part of an algorithm until a condition is met for a specified number of times
A piece of code that you can easily call over and over again
Giving functionality to higher level protocols without needing to know how the lower level protocols work
A collection of commands that are available to the coder
A description of the behavior of the functions
An extra piece of information that you pass to the function to customize it for a specific need.
A programming construct that repeats a group of commands
Iteration (other def)
"loop" by another name - the repetition of a statement, process, or procedure.