Question
Offered Price $14.00

devry COMP 230 week 5 quiz

Question # 00433484
Subject: Computer Science
Due on: 12/01/2016
Posted On: 11/30/2016 10:51 PM

Rating:
4.1/5
Expert tutors with experiences and qualities
Posted By
Best Tutors for school students, college students
Questions:
4662
Tutorials:
6258
Feedback Score:

Purchase it
Report this Question as Inappropriate
Question

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“)

Tags quiz week comp devry question global local displayresults wscriptstdoutwritelineresults constants case program letters comments points subroutine constant variables scope code named taxrate overtime programs received function module represent likely followingwould vbscriptstatements identifiernames isfinished

Tutorials for this Question
Available for
$14.00

devry COMP 230 week 5 quiz

Tutorial # 00429122
Posted On: 11/30/2016 10:51 PM
Posted By:
Best Tutors for school students, college students mac123
Expert tutors with experiences and qualities
Questions:
4662
Tutorials:
6258
Feedback Score:
Report this Tutorial as Inappropriate
Tutorial Preview …230…
Attachments
COMP_230_-_Quiz_-_Week_-_5.docx (160.97 KB)
Preview:  modules       xxxxxxxxxxxx Explanation:Instructor xxxxxxxxxxxx See the xxxx 5 Lecture, xxx Sharing xxxxxx xxx textbook xxxxxxxxxx to Chapters xx 5, and xx  Points xxxxxxxxxx xx 2 xxxxxxxxxxxxxxxxxxxxxx Question :(TCO xx Variables declared xxxxxx a xxxxxx xxxx what xxxxxxxxxxxxxxx Answer:Local  Global              xxxxxxxxxxxxxxxxxxxxxxxxxxxx  Local and xxxxxxxxxxxxxxxxxxxxxxxxxxxx                xxxxxxxxxxxxxxx xxxxxxxxxxxx Explanation:Instructor xxxxxxxxxxxx See the xxxx 5 Lecture, xxx Sharing xxxxxx xxx textbook xxxxxxxxxx to Chapters xx 5, and xx  Points xxxxxxxxxx xx 2 xxxxxxxxxxxxxxxxxxxxxx Question :(TCO xx In VBScript, xxxxxxxxx defined xx xxx main xxxx sequence of x program have xxxxx scope? Student xxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxx  global            xx  local and xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx                 nonvisible xxxxxxxxxxxx Explanation:Instructor xxxxxxxxxxxx xxx the xxxx 5 Lecture, xxx Sharing files, xxx textbook xxxxxxxxxx xx Chapters.....
Purchase this Tutorial @ $14.00 *
* - Additional Paypal / Transaction Handling Fee (3.9% of Tutorial price + $0.30) applicable
Loading...