Questão 1
Questão
The part of the computer that runs programs is called ____
Responda
-
RAM
-
Secondary Storage
-
Main memory
-
CPU
Questão 2
Questão
The computer stores a program while the program is running, as well as the data that the program is working with in, _____
Responda
-
secondary storage
-
CPU
-
main memory
-
the microprocessor
Questão 3
Questão
A type of memory that can hold data for long periods of time- even when there is no power to the computer- is called _____
Responda
-
RAM
-
main memory
-
secondary storage
-
CPU storage
Questão 4
Questão
A computer component that collects data from people or other devices and sends it to the computer is called _____
Questão 5
Questão
Negative numbers are encoded using the ____ technique.
Responda
-
two's complement
-
floating point
-
ASCII
-
Unicode
Questão 6
Questão
Real numbers are encoded using the ____ technique
Responda
-
two's complement
-
floating point
-
ASCII
-
Unicode
Questão 7
Questão
In the ___ part of the fetch-decode-execute cycle, the CPU determines which operation it should perform.
Questão 8
Questão
Computers can only execute programs that are written in ___
Responda
-
Java
-
assembly language
-
machine language
-
C++
Questão 9
Questão
The ___ translates an assembly language program into a machine language program
Responda
-
assembler
-
compiler
-
translator
-
interpreter
Questão 10
Questão
The words that make up a high level programming language are called ____
Responda
-
binary instructions
-
mnemonics
-
commands
-
keys words
Questão 11
Questão
A(n) ___ program translates a high level language program into a separate machine language program
Responda
-
assembler
-
compiler
-
translator
-
utility
Questão 12
Questão
An interpreter is a program that both translates and executes the instructions in a high level language program.
Questão 13
Questão
A syntax error does not prevent a program from being compiled and executed.
Questão 14
Questão
A ___ structure can execute a set of statements only under certain circumstances.
Responda
-
sequence
-
circumstantial
-
decision
-
Boolean
Questão 15
Questão
A ____ structure provides one alternative path of execution.
Questão 16
Questão
In pseudo code, the if-then-else statement is an example of ____
Responda
-
sequence structure
-
decision structure
-
pathway structure
-
class structure
Questão 17
Questão
A(n) ____ expression has a value of either true or flase
Responda
-
binary
-
decision
-
unconditional
-
Boolean
Questão 18
Questão
The symbols >,
Responda
-
relational
-
logical
-
conditional
-
ternary
Questão 19
Questão
A _____ structure allows you to test the value of a variable or an expression and then use that value to determine which statement or set of statements to execute
Responda
-
variable test decision
-
single alternative decision
-
dual alternative decision
-
multiple alternative decsion
Questão 20
Questão
A(n) ___ section of a Select Case statement is branched to if none of the case values match the expression listed after the Select statement
Responda
-
Else
-
Default
-
Case
-
Otherwise
Questão 21
Questão
AND, OR, and NOT are ____ operators.
Responda
-
relational
-
logical
-
conditional
-
ternary
Questão 22
Questão
You can write any program using only sequence structures
Questão 23
Questão
A program can be made of only one type of control structure. You cannot combine structures.
Questão 24
Questão
A decision structure can be nested inside another decision structure.
Questão 25
Questão
A benefit of using modules that helps to reduce the duplication of code within a program is ______.
Responda
-
code reuse
-
divide and conquer
-
debugging
-
facilitation of teamwork
Questão 26
Questão
The first line of a module definition is known as the _____
Responda
-
body
-
introduction
-
initialization
-
header
Questão 27
Questão
A design technique that programmers use to break down an algorithm into modules is known as _____
Responda
-
top-down design
-
code simplification
-
code refactoring
-
hierarchical sub tasking
Questão 28
Questão
A(n) ____ is a piece of data that is sent into a module
Responda
-
argument
-
parameter
-
header
-
packet
Questão 29
Questão
A(n) ___ is a special piece of data when a module is called
Responda
-
argument
-
parameter
-
header
-
packet
Questão 30
Questão
When ____ , only a copy of the argument's value is passed into the parameter variable.
Responda
-
passing an argument by reference
-
passing an argument by name
-
passing an argument by value
-
passing an argument by data type
Questão 31
Questão
When ____, the module can modify the argument in the calling part of the program.
Responda
-
passing an argument by reference
-
passing an argument by name
-
passing an argument by value
-
passing an argument by data type
Questão 32
Questão
Module names should be as short as possible.
Questão 33
Questão
Calling a module and defining a module mean the same thing.
Questão 34
Questão
A statement in one module can access a local variable in another module.
Questão 35
Questão
In most programming languages, you cannot have two variables with the same name in the same scope.
Questão 36
Questão
Programming languages typically require the arguments be of the same data type as the parameters they are passed to.
Questão 37
Questão
Most languages do not allow you to write modules that accept multiple arguments.
Questão 38
Questão
When an argument is passed by reference, the module can modify the argument in the calling part of the program.
Questão 39
Questão
Passing an argument by value is a means of establishing two-way communication between modules.