Coding:
how alphanumeric data and control characters are represented by sequences of bits
American Standard Code for Information Interchange (ASCII)
- commonly used in desktop computers
Extended Binary Coded Decimal Interchange Code (EBCDIC)
- 8-bit code permitting (2)^8 =256 different characters
program
sequence of computer instructions that perform some function
- designed to implement an algorithm
algorithm
procedure consisting of a finite set of well-defined steps
source code statements:
- translated into machine-readable object code to produce executable program
variable
- can be known or unknown
declaration
assignment
give values to variable
command:
instructs the program to take specific action
function:
specific operation grouped into a unit that can be called within the program
flowchart
machine language instructions:
assembly language
macros
assembler
linker
loader
places the program in the computer’s memory in order to run it
A portion of computer code contains the instructions LR, SC and JL. Most likely these are A) machine language B) assembly language C) object code D) interpreted code
B) assembly language
–> assembly language usually consists of short commands such as LR for loading a value into the register, SC for storing a result in location C, and JL for jumping if the result is less than a given number. Assembly language is translated into binary machine language (also known as “object code”) by an interpreter or compiler program
relative computational speed languages
slower faster
<——————————————————————————————————————————————————————————–>
interpreted program pseudo-compiled compiled assembly language
structure:
in a structural language, each subroutine and other procedure has one specific entry point and one specific return point.
strong data typing
weak data typing
portability
a portable language can be implemented on different machines