COSC 1436 final Exam with
complete solutions latest version
source code (.cpp file for C++) - CORRECT ANSWER-the actual code that the
programmer writes
object code - CORRECT ANSWER-the code created by the compiler
secondary storage (disk drive) - CORRECT ANSWER-when a program is not running,
the program is stored here
CPU - CORRECT ANSWER-the part of the computer that carries out the instructions
(retrieves and decodes the instructions)
main memory - CORRECT ANSWER-when a program is running, it is stored here
algorithm - CORRECT ANSWER-set of well-defined steps
syntax - CORRECT ANSWER-the rules of grammar that must be followed when writing
a program
portability - CORRECT ANSWER-the ability of a language to let a programmer develop
a program on a computer system that can be run on other systems ( you can run a
program on more than one system )
SynLang - CORRECT ANSWER-Which of the following is NOT a programming
language?
C#
Ruby
BASIC
FORTRAN
Swift
Python
BRAINSCAPE1
, BRAINSCAPE1
SynLang
Java
True - CORRECT ANSWER-Programmer-defined Identifiers are names made up by the
programmer
False - CORRECT ANSWER-Machine language code can be moved and run on any
machine.
bit - CORRECT ANSWER-0 or 1
byte - CORRECT ANSWER-8 bits
variable - CORRECT ANSWER-named storage location in the computer's memory
key word - CORRECT ANSWER-reserved word in a program
operators - CORRECT ANSWER-+, -, *, = are all examples of this
system software (ex. operating system) - CORRECT ANSWER-programs that manage
the computer hardware and the programs that run on them
application software (ex. word processor or game) - CORRECT ANSWER-programs
that provide services to the user
program - CORRECT ANSWER-the instructions in a computer memory to make it do
something
True - CORRECT ANSWER-A programmer writes source code and then the
compiler/linker converts the source code into machine instructions or executable code.
run-time error - CORRECT ANSWER-logic errors
compile-time error (remember syntax mistakes are found by the compiler) - CORRECT
ANSWER-syntax-type errors
True - CORRECT ANSWER-Each byte in memory is identified by a unique number
known as an address.
// - CORRECT ANSWER-single line comment
/* */ - CORRECT ANSWER-block comment
# - CORRECT ANSWER-beginning of preprocessor
; - CORRECT ANSWER-end of a complete statement
BRAINSCAPE1