Question 1 1 points Question 2

advertisement
Question 1
1 points Save
The CPU is considered the "brain" of the computer.
True
False
Question 2
1 points Save
The bus is a group of parallel wires that carry control signals and data between
the other components.
True
False
Question 3
1 points Save
Main memory is often referred to as RAM.
True
False
Question 4
1 points Save
All computers store values using the decimal number system.
True
False
Question 5
1 points Save
Only one program can be stored in memory at a time.
True
False
Question 6
1 points Save
Putting data into a particular memory address is known as a READ.
True
False
Question 7
1 points Save
Main memory is considered volatile because
it may change at any time without warning.
the contents of memory are lost when the computer is turned off.
the contents of memory are the same each time the computer is turned
on.
the memory may be easily removed from the computer.
Question 8
1 points Save
Secondary storage is considered persistent because
it may change at any time without warning.
the contents of memory are lost when the computer is turned off.
unless problems occur, the information isn't corrupted when the
computer is turned off.
the memory may be easily removed from the computer.
Question 9
1 points Save
Each cell of memory is numbered and that number is referred to as the cell's
block.
identity.
address.
size.
Question 10
1 points Save
A byte is composed of
2 bits.
4 bits.
8 bits.
16 bits.
Question 11
1 points Save
Secondary storage refers to:
swap or virtual memory, which creates the illusion of more RAM on the
system.
RAM.
ROM.
devices such as hard disks, tapes, or floppy disks.
Question 12
1 points Save
For logical operations, we consider a 1 to be
0 to be
__________ and a
________________.
Question 13
1 points Save
The operating system gives the illusion of several jobs executing
simultaneously through the use of time sharing.
True
False
Question 14
1 points Save
The operating system is considered applications software.
True
False
Question 15
1 points Save
UNIX filenames are case sensitive.
True
False
Question 16
1 points Save
The UNIX command to copy a file is 'copy' .
True
False
Question 17
1 points Save
It is possible to have more than one operating system available to run on a
single machine.
True
False
Question 18
1 points Save
In UNIX we can combine commands using the pipe, | .
True
False
Question 19
1 points Save
Directories and subdirectories are hierarchical in nature.
True
False
Question 20
1 points Save
The UNIX command to list the files in a directory is 'lst'.
True
False
Question 21
1 points Save
The UNIX command to create a new directory is 'mkdir' .
True
False
Question 22
1 points Save
The UNIX command to delete a directory is 'del' .
True
False
Question 23
1 points Save
The UNIX command to display the contents of a file is 'cat' .
True
False
Question 24
1 points Save
The coordination of a computer's activities is handled by
the operating system.
peripheral devices.
the computer operator.
the keyboard.
Question 25
1 points Save
Which of the following is an operating system?
pico
emacs
UNIX
pine
Question 26
1 points Save
pine is an example of a(n)
text editor.
operating system.
e-mail utility.
word processor.
Question 27
1 points Save
UNIX is an example of a(n)
text editor.
operating system.
e-mail utility.
word processor.
Question 28
1 points Save
emacs and pico are examples of
text editors.
operating systems.
e-mail utilities.
word processors.
Question 29
1 points Save
The UNIX command to delete a file is
mv
del
rm
pwd
Question 30
1 points Save
The notation .. (dot-dot) refers to the
parent directory.
current directory.
child directory.
home directory.
Question 31
1 points Save
The notation . (dot) refers to the
parent directory.
current directory.
child directory
home directory.
Question 32
1 points Save
The computer's start-up procedure is called ____________________.
Question 33
1 points Save
Explain what the following UNIX command does. cd
_________________________________________
Question 34
1 points Save
The interface between the operating system and the user is called the
__________________.
Question 35
1 points Save
The UNIX command that when typed will return what directory you are
currently in is ______________________.
Question 36
1 points Save
An example of a wildcard character used by UNIX commands is
_____________________ .
Question 37
1 points Save
The study of algorithms began in the 1900's when electronic computers began
to be used.
True
False
Question 38
1 points Save
The best definition of an algorithm is
a step by step solution to a problem.
a finite set of unambiguous executable instructions that directs a
terminating activity.
a general solution to a problem.
a finite set of steps that solve a problem.
Question 39
1 points Save
The study of algorithms began
when the first computer was invented.
as a subject in mathematics.
in the 1800's.
in the 1940's.
Question 40
1 points Save
The concept or meaning represented by an algorithm is known as its
control structure.
sequence.
semantics.
syntax.
Question 41
1 points Save
Pseudocode
is English phrases or formulas used to express each step of a problem.
could include code structures such as If/Else or While.
is a notation used to express an algorithm.
is all of the above.
is none of the above.
Question 42
1 points Save
'int' is a keyword in C.
True
False
Question 43
1 points Save
In the C programming language, variable names can have at most 8
characters.
True
False
Question 44
1 points Save
A function with return type 'void' always returns the value '0'.
True
False
Question 45
1 points Save
The preprocessor directive '#include ' instructs the preprocessor to place the
contents of the file 'foo.h' into the code at that point.
True
False
Question 46
1 points Save
The '#include' preprocessor directive is used to insert one file into another.
True
False
Question 47
1 points Save
The preprocessor directive #define RING 1 tells the C preprocessor to replace
each occurrence of the constant RING with 1.
True
False
Question 48
1 points Save
All variables must be declared and given a type before they are used
True
False
Question 49
1 points Save
You must use the newline ('\n') character to start printing at the beginning of
the next line.
True
False
Question 50
1 points Save
A C program that prints three lines of output must contain three 'printf'
statements.
True
False
Question 51
1 points Save
'3d' is a legal identifier in C
True
False
Question 52
1 points Save
'__yes' is NOT a legal identifier in C
True
False
Question 53
1 points Save
'me_to-2' is a legal identifier in C.
True
False
Question 54
1 points Save
'XyYzZx' is a legal identifier in C.
True
False
Question 55
1 points Save
'star*it' is a NOT legal identifier in C.
True
False
Question 56
1 points Save
'main' is a legal identifier in C.
True
False
Question 57
1 points Save
'ABC123' is a legal identifier in C.
True
False
Question 58
1 points Save
'm' is NOT a legal identifier in C.
True
False
Question 59
1 points Save
'money$' is a legal identifier in C.
True
False
Question 60
1 points Save
If a is a variable of type int, the statement a = 17.76 is an expression with type
int and value 17.
True
False
Question 61
1 points Save
If a is a variable of type int, the statement a = 17.76 is an expression with type
double and value 17.76.
True
False
Question 62
1 points Save
If a is a variable of type int, the statement a = 17.76 is an expression with type
double and value 17.
True
False
Question 63
1 points Save
The statement printf("%d\n", 3, 5); prints the number 3 five times.
True
False
Question 64
1 points Save
'1more' is a legal identifier in C
True
False
Question 65
1 points Save
'to_dec' is a legal identifier in C
True
False
Question 66
1 points Save
'forget-it' is a legal identifier in C
True
False
Question 67
1 points Save
'hex2dec' is a legal identifier in C.
True
False
Question 68
1 points Save
'floater' is a legal identifier in C.
True
False
Question 69
1 points Save
'horrendous' is a legal identifier in C.
True
False
Question 70
1 points Save
'rub-a-dub-dub' is not a legal identifier in C.
True
False
Question 71
1 points Save
'Let_it_be_me' is not a legal identifier in C.
True
False
Question 72
1 points Save
'two+four' is not a legal identifier in C.
True
False
Question 73
1 points Save
'UPPER' is not a legal identifier in C.
True
False
Question 74
1 points Save
'l_o_n_g' is not a legal identifier in C.
True
False
Question 75
1 points Save
'_3angle' is not a legal identifier in C.
True
False
Download