Computer Science > EXAM > SCI 228 COMP 230 WK 5 QUESTIONS AND ANSWERS 100% (All)

SCI 228 COMP 230 WK 5 QUESTIONS AND ANSWERS 100%

Document Content and Description Below

SCI 228 COMP 230 WK 5 QUESTIONS AND ANSWERS 100% COMP 230 WK 5 QUESTIONS AND ANSWERS 20 out of 20 Score for this attempt: 20 out of 20 Submitted Apr 5 at 9:13am This attempt took 28 minutes. ... Question 1 2 / 2 pts (TCO 5) A program or module that uses another module to perform a task or function is referred to as the _____ program or module. called director Correct! calling parent I Question 2 2 / 2 pts (TCO 5) What name is best suited to a module that calculates overtime pay? Correct! calculateOvertime( ) cO( ) calculate overtime( ) calcO( ) . Question 3 2 / 2 pts (TCO 5) In VBScript, the proper keyword/s to end a function is/are _____. Return End Sub End Correct! End Function Question 4 2 / 2 pts (TCO 5) In VBScript, argument variable names in the calling module _____ in the subroutine or function. must always match must match only when arguments are passed by reference Correct! do not have to match must not match Question 5 2 / 2 pts (TCO 5) What statement is not an advantage of using modularization? Programs are longer and more complex. Programs to be worked on by separate programmers Correct! Easier to debug programs Code is reusable. Question 6 2 / 2 pts (TCO 5) Variables declared within a module have what scope? Nonvisibility Global Correct! Local Local and global Question 7 2 / 2 pts (TCO 5) Programmers should strive to eliminate all _____ scoped variables from their code in modules. local and global implicit Correct! global local Question 8 2 / 2 pts (TCO 5) Variables that are not specifically used for user-input or to hold or display calculated values are referred to as _____ variables. work extemporaneous unnamed Correct! intermediate Question 9 2 / 2 pts (TCO 5) When writing named constant identifiers it is a common convention to _____. named constants do not have identifier names use mixed case letters Correct! use only upper case letters use only lower case letters Question 10 2 / 2 pts (TCO 5) Which VBScript statements below represent an acceptable definition for the subroutine displayResults( )? Call displayResults( ) WScript.StdOut.WriteLine(“RESULTS“) End Call Function displayResults( ) WScript.StdOut.WriteLine(“RESULTS“) End Function Subroutine displayResults( ) WScript.StdOut.WriteLine(“RESULTS“) End Subroutine Correct! Sub displayResults( ) WScript.StdOut.WriteLine(“RESULTS“) End Sub Quiz Score: 20 out of 20 [Show More]

Last updated: 2 years ago

Preview 1 out of 6 pages

Buy Now

Instant download

We Accept:

We Accept
document-preview

Buy this document to get the full access instantly

Instant Download Access after purchase

Buy Now

Instant download

We Accept:

We Accept

Reviews( 0 )

$8.00

Buy Now

We Accept:

We Accept

Instant download

Can't find what you want? Try our AI powered Search

61
0

Document information


Connected school, study & course


About the document


Uploaded On

Jan 09, 2021

Number of pages

6

Written in

Seller


seller-icon
alvin

Member since 4 years

62 Documents Sold

Reviews Received
6
6
3
0
3
Additional information

This document has been written for:

Uploaded

Jan 09, 2021

Downloads

 0

Views

 61

Document Keyword Tags

Recommended For You

Get more on EXAM »

$8.00
What is Scholarfriends

In Scholarfriends, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.

We are here to help

We're available through e-mail, Twitter, Facebook, and live chat.
 FAQ
 Questions? Leave a message!

Follow us on
 Twitter

Copyright © Scholarfriends · High quality services·