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