Computer Science  >  EXAM  >  Comp 230 Quiz Week 2 (GRADED A) Questions and Answers | Download To Score An A (All)

Comp 230 Quiz Week 2 (GRADED A) Questions and Answers | Download To Score An A

Document Content and Description Below

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 statemen ... t. lastName 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 Chapters 1, 2, 5, 6, 7, and 8. Points Received: 2 of 2 Comments: Question 5 Question : . (TCO 2) What is the best choice for a variable name representing a hard drive size? Student Answer: hds drive size hardDriveSize 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 6 Question : . (TCO 2) String constants and refer to the same concept. Student Answer: variables string literals numbers numeric identifiers 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 7 Question : . (TCO 2) The value of a string constant will always . Student Answer: change during the execution of a program remain the same until assigned a valid value be on the left side of an assignment operation retain the same value during program execution 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 8 Question : . (TCO 2) If a variable held the value 12345, what would be its data type? Student Answer: Text Integer Floating point String 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 9 Question : . (TCO 2) Which one of the following VBScript Output Methods will keep the cursor on the same line as the displayed text? Student Answer: WScript.StdOut.Write( ) WScript.Write( ) WScript.Echo WScript.StdOut.WriteLine( ) 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 10 Question : . (TCO 2) Which one of the following VBScript Input Methods will allow the user to type data terminated by the <Enter> key into a VBScript program from the Windows CLI when prompted by the program? Student Answer: WScript.StdIn.Read( ) WScript.StdIn.ReadLine( ) WScript.Input( ) WScript.Keyboard.In( ) 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: [Show More]

Last updated: 3 years ago

Preview 1 out of 6 pages

Buy Now

Instant download

We Accept:

Payment methods accepted on Scholarfriends (We Accept)
Preview image of Comp 230 Quiz Week 2 (GRADED A) Questions and Answers | Download To Score An A document

Buy this document to get the full access instantly

Instant Download Access after purchase

Buy Now

Instant download

We Accept:

Payment methods accepted on Scholarfriends (We Accept)

Also available in bundle (1)

Click Below to Access Bundle(s)

COMP 230 Introduction To Scripting And Database With Lab (Coursework Week 1 – 8) BUNDLE | Download To Score An A

COMP 230 Week 1 Lab: Windows CLI Commands Lab Report COMP-230 Week 1 Quiz (View Questions) COMP 230 Week 2 Lab: VBScript IPO Lab Report COMP-230 Week 2 Quiz (View Questions) COMP 230 Week 3 Co...

By Prof. Goodluck 3 years ago

$14.5

19  

Reviews( 0 )

$11.50

Buy Now

We Accept:

Payment methods accepted on Scholarfriends (We Accept)

Instant download

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

109
0

Document information


Connected school, study & course


About the document


Uploaded On

May 04, 2022

Number of pages

6

Written in

All

Seller


Profile illustration for Prof. Goodluck
Prof. Goodluck

Member since 4 years

165 Documents Sold

Reviews Received
46
9
10
4
9
Additional information

This document has been written for:

Uploaded

May 04, 2022

Downloads

 0

Views

 109

Document Keyword Tags

More From Prof. Goodluck

View all Prof. Goodluck's documents »

Recommended For You

Get more on EXAM »

$11.50
What is Scholarfriends

Scholarfriends.com Online Platform by Browsegrades Inc. 651N South Broad St, Middletown DE. United States.

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·