NOCTI - Computer Programming 6123: Questions
With In-Depth Solutions
Which of the following errors is caused by a calculation error?
A. Logical
B. Arithmetic
C. Truncation
D. Semantic Correct Answer - B. Arithmetic
Which of the following uses three basic control structures to form
highly structured units of code?
A. Structured Programming
B. Circular Connector
C. Modular Construction
D. Loop Structure Correct Answer - A. Structured
Programming
What type of principle is used for configuring preferences that allow
the user to personalize an application?
A. CLI
B. GUI
C. API
D. DOS Correct Answer - B. GUI
All computer instructions are based on four basic logical patterns.
These patterns are simple sequence, selection, loop, and
A. Trailer
B. Modular
C. Top-Down
D. Branch Correct Answer - D. Branch
If the memory speed of the bus is 750Mhz, and the CPU is operating
at twice the speed of the bus, what is the processor speed?
, A. 375 MHz
B. 750 MHz
C. 1.5 GHz
D. 2 GHz Correct Answer - C. 1.5 GHz
Two types of programs that create machine codes are the
interpreter and the
A. Assembler
B. Object
C. Compiler
D. Source Correct Answer - C. Compiler
In the order of calculations in a program
A. Addition precedes Division
B. Parentheses precede exponentiation
C. Subtraction precedes addition
D. Multiplication precedes exponentiation Correct Answer - B.
Parentheses precede exponentiation
When the code below is executed, strAdd will be equal to
strFirst = "123"
srtSecond = "456"
strAdd = strFirst + strSecond
A. "579"
B. "123 + 456"
C. "123456"
D. "strFirst + strSecond" Correct Answer - C. "123456"
If a programmer downloads a copy of Microsoft SQL Server from a
file-sharing website without paying for it, the programmer has
committed an offense called
A. Piracy
With In-Depth Solutions
Which of the following errors is caused by a calculation error?
A. Logical
B. Arithmetic
C. Truncation
D. Semantic Correct Answer - B. Arithmetic
Which of the following uses three basic control structures to form
highly structured units of code?
A. Structured Programming
B. Circular Connector
C. Modular Construction
D. Loop Structure Correct Answer - A. Structured
Programming
What type of principle is used for configuring preferences that allow
the user to personalize an application?
A. CLI
B. GUI
C. API
D. DOS Correct Answer - B. GUI
All computer instructions are based on four basic logical patterns.
These patterns are simple sequence, selection, loop, and
A. Trailer
B. Modular
C. Top-Down
D. Branch Correct Answer - D. Branch
If the memory speed of the bus is 750Mhz, and the CPU is operating
at twice the speed of the bus, what is the processor speed?
, A. 375 MHz
B. 750 MHz
C. 1.5 GHz
D. 2 GHz Correct Answer - C. 1.5 GHz
Two types of programs that create machine codes are the
interpreter and the
A. Assembler
B. Object
C. Compiler
D. Source Correct Answer - C. Compiler
In the order of calculations in a program
A. Addition precedes Division
B. Parentheses precede exponentiation
C. Subtraction precedes addition
D. Multiplication precedes exponentiation Correct Answer - B.
Parentheses precede exponentiation
When the code below is executed, strAdd will be equal to
strFirst = "123"
srtSecond = "456"
strAdd = strFirst + strSecond
A. "579"
B. "123 + 456"
C. "123456"
D. "strFirst + strSecond" Correct Answer - C. "123456"
If a programmer downloads a copy of Microsoft SQL Server from a
file-sharing website without paying for it, the programmer has
committed an offense called
A. Piracy