CSC 121 – Flashcards

Unlock all answers in this set

Unlock answers
question
When a program runs on a computer, the part of the computer that carries out the instructions is called the
answer
CPU
question
When a program runs on a computer, it is stored in
answer
RAM
question
At each step of its operation, the input to a Central Processing Unit is
answer
an instruction
question
RAM, random-access memory, is called that because
answer
you can pick any two random locations and it will take the same time to access the data
question
When a program is not running, it is stored on a
answer
disk
question
An operating system allocates resources like _____ to _______
answer
memory.....programs that are running
question
Application Software is any software that runs with the
answer
support of the operating system
question
Monitors, printers, and status lights are all examples of ________ devices
answer
output
question
Mice, trackpads, keyboards, scanners, and joysticsks are all examples of _______ devices
answer
input
question
A bit is
answer
a binary digit, like 0 or 1
question
Flash drives, CD's, and external disks are all examples of
answer
external memory
question
A byte in memory is identified by a unique number called its
answer
address
question
A programmable language allows us to express
answer
an algorithm
question
Is HTML a programmable language?
answer
No
question
The ability of a language to let a programmer develop a program on computer system that can be run on other systems is called
answer
portability
question
The code that a programmer writes is called
answer
source code
question
True or False: machine languages can be used to write programs that can run on any macine
answer
false
question
A compiler translates
answer
source code into executable code
question
True or False: An algorithm allows ambiguity
answer
false
question
The rules that govern the correct order and usage of the elements of a language are called the
answer
syntax
question
Words that have a special meaning in a programming language are called
answer
key words
question
True or False: Key words are case sensitive
answer
True
question
True or False: Indentifiers may start with a number
answer
false
question
A location in memory used for storing data and given a name in a computer program that can be changed is called a
answer
variable
question
An identifier that cannot be used as a variable name is known as a
answer
reserved word
question
True or False: int is a reserved word
answer
true
question
True or False: public is a reserved word
answer
true
question
True or False: main is a reserved word
answer
false
question
True or False: static is a reserved word
answer
true
question
True or False: void is a reserved word
answer
true
question
The purpose of running a program with different combinations of data is to expose ______ errors and ______ errors.
answer
run-time......logical
question
In object-oriented programming a class is
answer
a model or template from which objects are created
question
In object-oriented programming a method is
answer
code that allows access to an objects attributes or that carries out some other action for the object
question
Compilers translate the instructions written by the programmer into _____ code.
answer
object
Get an explanation on any task
Get unstuck with the help of our AI assistant in seconds
New