Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

COMP 230 Week 5 Quiz (LATEST UPDATE)/ 100% Guaranteed Pass

Rating
-
Sold
-
Pages
4
Uploaded on
05-05-2022
Written in
2021/2022

WEEK 5 QUIZ: 1. Question : (TCO 5) What name is best suited to a module that calculates overtime pay? Student Answer: calcO( ) calculate overtime( ) cO( ) calculateOvert ime( ) Instructor Explanation: See the Week 5 Lecture, Doc Sharing files, and textbook references to Chapters 3, 5, and 13. Question 2. Question : (TCO 5) In VBScript, the proper keyword/s to end a function is/are . Student Answer: End Return End Function End Sub Instructor Explanation: See the Week 5 Lecture, Doc Sharing files, and textbook references to Chapters 3, 5, and 13. Question 3. Question : (TCO 5) What statement is not an advantage of using modularization? Student Answer: Easier to debug programs Programs to be worked on by separate programmers Code is reusable. Programs are longer and more complex. Instructor Explanation: See the Week 5 Lecture, Doc Sharing files, and textbook references to Chapters 3, 5, and 13. Question 4. Question : (TCO 5) Programmers should strive to eliminate all scoped variables from their code in modules. Student Answer: implicit local global local and global Instructor Explanation: See the Week 5 Lecture, Doc Sharing files, and textbook references to Chapters 3, 5, and 13. Question 5. Question : (TCO 5) What is a feature of good program design? Student Answer: Short identifiers are preferred over descriptive identifiers. Literal constants are preferred over named constants. There should never be empty lines between blocks of related statements. Subroutines and Functions should be used to modularize major programming tasks. Instructor Explanation: See the Week 5 Lecture, Doc Sharing files, and textbook references to Chapters 3, 5, and 13. Question 6. Question : (TCO 5) Which VBScript statements below represent an acceptable definition for the subroutine displayResults( )? Student Answer: 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“) End Call Instructor Explanation: See the Week 5 Lecture, Doc Sharing files, and textbook references to Chapters 3, 5, and 13. Show Less

Show more Read less
Institution
Course

Content preview

WEEK 5 QUIZ:




1. Question : (TCO 5) What name is best suited to a module that calculates
overtime pay?

Student Answer: calcO( )



calculate overtime( )



cO( )



calculateOvertime( )



Instructor See the Week 5 Lecture, Doc Sharing files, and textbook references to
Explanation: Chapters 3, 5, and 13.




Question 2. Question : (TCO 5) In VBScript, the proper keyword/s to end a function
is/are .

Student End
Answer:


Return



End Function




This study source was downloaded by 100000845689434 from CourseHero.com on 05 -05-2022 11:11:52 GMT -05:00


https://www.coursehero.com/file/12241705/WEEK-5-QUIZ/

Written for

Institution
Course

Document information

Uploaded on
May 5, 2022
Number of pages
4
Written in
2021/2022
Type
Exam (elaborations)
Contains
Unknown

Subjects

$11.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF


Also available in package deal

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
EliteStudyDocs Rasmussen College
Follow You need to be logged in order to follow users or courses
Sold
3529
Member since
5 year
Number of followers
2869
Documents
8969
Last sold
1 day ago
High Quality Exams, Study guides, Reviews, Notes, Case Studies

Welcome to EliteStudyDocs, your ultimate destination for high-quality, verified study materials trusted by students, educators, and professionals across the globe. I specialize in providing A+ graded exam files, practice questions, complete study guides, and certification prep tailored to a wide range of academic and professional fields. Whether you're preparing for nursing licensure (NCLEX, ATI, HESI, ANCC, AANP), healthcare certifications (ACLS, BLS, PALS, PMHNP, AGNP), standardized tests (TEAS, HESI, PAX, NLN), or university-specific exams (WGU, Portage Learning, Chamberlain, and more), our documents are 100% correct, up-to-date and reviewed for accuracy. What makes my documents stand out: ✔ Latest 2026/2027 Updates ✔ Verified Questions & Correct Answers ✔ Clean, Professional Exam Format ✔ Designed for High Grades (A/A+) P/S: CHECK OUT THE PACKAGE DEALS

Read more Read less
4.0

696 reviews

5
382
4
127
3
77
2
39
1
71

Trending documents

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions