comprog Flashcards
see computers as a set of tools
users
learn the computer
programmers
word, spreadsheets, database softwares
application programs
compilers, interpreters, preprocessors
systerm software
pl
prog language
uses binary code, machine dependent, not portable
machine language
uses mnemonics, mcahine dependent, not portable
assembly language
uses english, machine indepen, portable
high-level language
consisting of mnemonics that directly correspond to machine language instructions
low level language
symbolic language that uses enlgish and math words
high level language
read and understood by computer
machine language
compiler langugages
complies languages
interpreter
interpreted langugae
logical system comprising a set of rules
type system
collection of statements, when executed accomplishes something
function
rules that specify which statements are legal
syntax
a set of rules, symbols and special words
prog language
meaning of instruction
semantic rule
int
4 bytes
float
4 bytes
double
8 bytes
define as a portion of memory to store a value
variable
asequence of one or more letters, digits, or underscore characters
identifiers
represent a single character
causes the main function to finish
return statement
set of sequential written human language instruction, usually numbered
pseudocode
one task is performed sequentially after another
sequence
a loop with a simple conditional test at its beginning
while
a counting loop
for
a decision in which a choice us made between two alternative courses of action
if-tehn-else
multiway barch decisions
case
aloop at the bottomq
repeat until