CS 010

25 July 2022
4.7 (114 reviews)
30 test answers

Unlock all answers in this set

Unlock answers (26)
question
a programming language allows us
answer
to express an algorithm
question
C, C++, Java are all
answer
programming languages
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
When a program is not running, it is stored
answer
on a disk
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 date
question
a bit is
answer
a binary digit like 0 or 1
question
A byte in memory is identified by a unique number called its
answer
address
question
In modern computer systems, a byte consists of
answer
8 bits
question
3K means about 3 thousand bytes. How would you express two hundred million bytes?
answer
200M
question
3K means about 3 thousand bytes. How would you express five billion bytes?
answer
5G
question
3K means about 3 thousand bytes. How would you express four trillion bytes?
answer
4T
question
At each step of its operation, the input to a Central Processing Unit is
answer
an instruction
question
Mice, trackpads, keyboards, scanners, joysticks are all examples of
answer
input devices
question
Monitors, printers, status lights are all examples of
answer
output devices
question
Flash drives, CDs, external disks are all examples of
answer
storage (memory) devices
question
An operating system
answer
allocates resources like memory to programs that are running
question
application software
answer
is any software that runs with the support of an operating system
question
Every C++ program must contain a
answer
main function
question
A comment starts with what characters?
answer
// or /*
question
The text of a comment
answer
can be anything the programmer wants to write
question
Which of the following will not be recognized if iostream is not included in the program?
answer
cout
question
The rules that govern the correct order and usage of the elements of a language are called the
answer
syntax of the language
question
An error in a program that involves a violation of language rules will be detected at
answer
compile time
question
Division by zero when the program is executing is an example of a
answer
runtime error
question
Compilers translate the instructions written by the programmer into
answer
object code
question
A location in memory used for storing data and given a name in a computer program is called a
answer
variable because the data in the location can be changed.
question
Before a variable is used it must be
answer
declared
question
Words that have a special meaning in a programming language are called
answer
keywords
question
identifiers cannot start with
answer
numbers, special characters or capital letters