Computer Networking > QUESTIONS & ANSWERS > Comp 230 Quiz Week 2 (All)
Comp 230 Quiz Week 2 1. Question : (TCO 2) What is the problem with the following statement? lastName = "smith Student Answer: There is nothing wrong with this statement. lastNam ... e is not a descriptive variable name. Smith should be in double quotes. The value on the left must be a variable name. Instructor Explanation: See the Week 2 Lecture, Doc Sharing files, and textbook references to Chapters 1, 2, 5, 6, 7, and 8. Points Received: 2 of 2 Comments: Question 2 Question : . (TCO 2) An English-like statement used to describe the logic of a program is known as . Student Answer: desk-checking pseudocode flowchart code map Instructor Explanation: See the Week 2 Lecture, Doc Sharing files, and textbook references to Chapters 1, 2, 5, 6, 7, and 8. Points Received: 2 of 2 Comments: Question 3 Question : . (TCO 2) Variable names should typically be . Student Answer: multiple words with spaces multiple words without spaces only a single letter uppercase letters only Instructor Explanation: See the Week 2 Lecture, Doc Sharing files, and textbook references to Chapters 1, 2, 5, 6, 7, and 8. Points Received: 2 of 2 Comments: Question 4 Question : . (TCO 2) What is the best choice for a variable name representing a bank balance? Student Answer: bankBalance balance bb b Instructor Explanation: See the Week 2 Lecture, Doc Sharing files, and textbook references to ...............................................................CONTINUED.......................................... [Show More]
Last updated: 3 years ago
Preview 1 out of 7 pages
Buy this document to get the full access instantly
Instant Download Access after purchase
Buy NowInstant download
We Accept:
Can't find what you want? Try our AI powered Search
Connected school, study & course
About the document
Uploaded On
Jun 21, 2021
Number of pages
7
Written in
All
This document has been written for:
Uploaded
Jun 21, 2021
Downloads
0
Views
51
Scholarfriends.com Online Platform by Browsegrades Inc. 651N South Broad St, Middletown DE. United States.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Scholarfriends · High quality services·