week 8 Flashcards
program
is just a sequence of instructions for your computer to perform.
Programming languages can also be divided into a of broad categories:.
◦ Compiled.
◦ Interpreted
◦ Query languages
When you write a program using a compiled programming language, you must transform the code to an ……………………. before it can run.
executable binary
Interpreted Programming Languages
you do not need to compile the program.
you can run the program on any platform for which you have an interpreter.
(JavaScript, Perl, and Python)
Query Languages
is designed to retrieve specific records from a dataset.
does not need to be compiled
Assembly Language
represents machine code in human-readable text.
Markup Languages
it is not a programming language , it makes data in a document accessible to a program.
(HyperText Markup Language (HTML))
(eXtensible Markup Language (XML))
Programming Concepts
Identifiers:
Containers
Branches
Loops
Operators
Procedures and Functions
Comments
Identifiers:
label for something
either a variable or a
constant.
variable
value that can change
constant
value that cannot be changed
Container
a special type of identifier that can reference multiple values (or elements).
branches
Your program runs from the start to the end unless you instruct it to deviate from this path.
You use branches to control the flow within your program
loops
you instruct your computer to perform, or repeat, a task until a condition is met.
operators
A logical test is one that resolves to a TRUE or FALSE value. You need to be familiar with basic
comparison operators: