Description
DeVry COMP 230 Week 5 Quiz Latest
Question Type: # Of Questions:# Correct:
Multiple Choice10 5
Grade Details – All Questions
Question 1. Question : (TCO 5) Source code documentation includes _____.
: data dictionary
program comments
print chart
syntax diagrams
Question 2. Question : (TCO 5) What name is best suited to a module that calculates overtime pay?
: calcO( )
calculate overtime( )
cO( )
calculateOvertime( )
Points Received: 2 of 2
Comments:
Question 3. Question : (TCO 5) If a subroutine or function is useful and well-written, you may want to use it more than once within a program or in other programs. This is known as _____.
: reliability
abstraction
scalability
reusability
Question 4. Question : (TCO 5) Programs are easier to understand if you break their logic down into a few major code blocks called _____.
: segments
directories
objects
modules
Points Received: 2 of 2
Comments:
Question 5. Question : (TCO 5) Variables declared within a module have what scope?
: Local
Global
Local and global
Nonvisibility
Question 6. Question : (TCO 5) In VBScript, variables defined in the main code sequence of a program have _____ scope?
: local
global
local and global
nonvisible
Question 7. Question : (TCO 5) Which of the following would most likely be a named constant?
: x
taxRate
isFinished
TAX_RATE
Question 8. Question : (TCO 5) In what way do named constants differ from variables?
: There is no difference.
The value of a constant does not change.
Constants do not have identifier names.
Constants are not used in modern programming.
Question 9. Question : (TCO 5) When writing named constant identifiers it is a common convention to _____.
: use mixed case letters
use only lower case letters
named constants do not have identifier names
use only upper case letters
:
Question 10. Question : (TCO 5) Which VBScript statements below represent an acceptable definition for the subroutine displayResults( )?
: Sub displayResults( )
WScript.StdOut.WriteLine(“RESULTS“)
End Sub
Function displayResults( )
WScript.StdOut.WriteLine(“RESULTS“)
End Function
Subroutine displayResults( )
WScript.StdOut.WriteLine(“RESULTS“)
End Subroutine
Call displayResults( )
WScript.StdOut.WriteLine(“RESULTS“)
DeVry Courses helps in providing the best essay writing service. If you need 100% original papers for DeVry COMP 230 Week 5 Quiz Latest, then contact us through call or live chat.
DeVry COMP 230 Week 5 Quiz Latest
Reviews
There are no reviews yet.