Comp 230 Final Exam Answers Essay

983 Words Sep 21st, 2015 4 Pages
COMP 230 Final Exam Answers http://www.homework-bank.com/downloads/comp-230-final-exam-answers/ COMP 230 Final Exam Answers

1. (TCO 2) What is an example of a string constant?

2. (TCO 2) What is the assignment operator?

3. (TCO 2) The symbols used to describe the logic of a program are known as _____.

4. (TCO 2) If a variable holds the value 12345, what is its data type?

5. (TCO 3) The logical AND operator can replace ____ in how it behaves.

6. (TCO 3) Which pseudocode produces the same result as the following? if customerAge > 65 OR customerAge = 65 then discount = 0.10 else discount = 0 end if?

7. (TCO 3) What logic operator could be used to replace the nested selection structure in this
…show more content…
3. (TCO 1) From a 32-bit Windows CLI, the command used to open a new CLI window is _____.

4. (TCO 1) Which one of the following Windows NET commands will allow other computers to access the C:\Data directory under the share name UserData?

5. (TCO 5) What statement is used to indicate the end of a function?

6. (TCO 5) What variable scope is preferable?

7. (TCO 5) When writing named constant identifiers, it is a common convention to ______.

8. (TCO 5) What of the following would most likely be a named constant?

9. (TCO 6) The following command opens a text file in VBScript.
Set file = fso.OpenTextFile("C:\Data\CustData.txt", ?, ??, ???)
To open a file for writing, the value of? Must be _____.

10. (TCO 6) Once you have a file selected with file = fso.GetFile("C:\DataFile.dat"), what command will allow you to access the file attributes?

11. (TCO 6) The following command opens a text file in VBScript.
Set file = fso.OpenTextFile("C:\Data\CustData.txt", ?, ??, ???)
To ensure that the file is formatted as ASCII instead of as Unicode, the value of ??? must be _____.

12. (TCO 6) The following command opens a text file in VBScript.
Set file = fso.OpenTextFile("C:\Data\CustData.txt", ?, ??, ???)
To open a file for reading, the value of ? must be _____.

13. (TCO 7) The general syntax of an SQL select statement is _____.

Related Documents