Lec1: Programming Process Flashcards
What is the difference between an algorithm and a program?
An algorithm is a conceptual idea, a program is a concrete instantiation of an algorithm.
A computational mode of thinking means that everything can be viewed as a math problem involving numbers and formulas.
True
In the 5-step Programming process which is NOT involved in defining what the program is to do?
Compile code
One of the design tools used by programmers when creating a model of a program is:
Psuedocode
Finish the following statement: Distinguished gentleman drinking a beer: I don’t always make web applications, but when I do, _____”
I use assembly language
The purpose of validating the results of the program is
to determine whether the program solves the original problem.
Two truths and a lie: Identify the false statement.
Logic errors are fairly easy to find because the software that translates a program finds all the logic errors for you.
Declarative knowledge refers to statements of facts.
True
Imperative knowledge refers to ‘how to’ methods.
True
Which of the following is considered a low-level language?
Machine Language
Assembly Language
Approximately what percentage of your time will be spent troubleshooting your program?
70%
What kind of error is considered an example of a syntax error?
Omitting a word that a statement requires
Not all computer programs are ultimately converted to machine language.
False
The rules of the programming language constitute its ____.
Syntax
A ____ translate high-level language statements into machine code.
Compiler