15 Jul Devry COMP 230 Week 5 Quiz
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“)
Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.
About Writedemy
We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.
How It Works
To make an Order you only need to click on “Order Now” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Are there Discounts?
All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.