COMP 230 Introduction to Scripting and Database with Lab – DeVry Final Exam: Page 1 1. (TCO 2) What is an example of a string constant? (Points : 5) 2. (TCO 2) What is the assignment operator? (Points : 5) 3. (TCO 2) The symbols used to describe the logic of a program are known as _____. (Points : 5) 4. (TCO 2) If a variable holds the value 12345, what is its data type? (Points : 5) 5. (TCO 3) The logical AND operator can replace ____ in how it behaves. (Points : 5) 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 endif (Points : 5) 7. (TCO 3) What logic operator could be used to replace the nested selection structure in this pseudocode? 8. (TCO 3) In order to have the most efficient program, which question should be asked first when working with an AND decision? (Points : 5) 9. (TCO 3) If you are asked to write a program that prints a list of books that have fewer than 30 pages and more than 100 pages, what type of decision structure would you use? (Points : 5) 10. (TCO 3) A ______ represents only one of two states, usually expressed as true or false. (Points : 5) 11. (TCO 4) How many times will the following loop execute? 12. (TCO 4) Array subscripts are always ____. (Points : 5) 13. (TCO 4) When a loop-control variable is not altered during loop execution, a(n) _____ loop may result. (Points : 5) 14. (TCO 4) A loop-control variable that is incremented a specific number of times is known as a(n)_(Points : 5) 15. (TCO 4) A countdown loop operates by the loop-control variable _____. (Points : 5) 16. (TCO 4) All of the elements in an array have the same ____. (Points : 5) Final Exam: Page 2 1. (TCO 1) Which of the following Windows commands will shut down and restart the computer FileServer in 2 minutes? (Points : 5) 2. (TCO 1) The NETSH command that will set the IP address of the interface name NIC to a DHCP-supplied IP address is _____. (Points : 5) 3. (TCO 1) From a 32-bit Windows CLI, the command used to open a new CLI window is __ (Points : 5) 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? (Points : 5) 5. (TCO 5) What statement is used to indicate the end of a function? (Points : 5) 6. (TCO 5) What variable scope is preferable? (Points : 5) 7. (TCO 5) When writing named constant identifiers, it is a common convention to ______. (Points : 5) 8. (TCO 5) What of the following would most likely be a named constant? (Points : 5) 9. (TCO 6) The following command opens a text file in VBScript. Set file = fso.OpenTextFile(“C:DataCustData.txt”, ?, ??, ???) To open a file for writing, the value of ? must be_(Points : 5) 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? (Points : 5 11. (TCO 6) The following command opens a text file in VBScript. Set file = fso.OpenTextFile(“C:DataCustData.txt”, ?, ??, ???) To ensure that the file is formatted as ASCII instead of as Unicode, the value of ??? must be _____. (Points : 5) 12. (TCO 6) The following command opens a text file in VBScript. Set file = fso.OpenTextFile(“C:DataCustData.txt”, ?, ??, ???) To open a file for reading, the value of ? must be _____. (Points : 5) 13. (TCO 7) The general syntax of an SQL select statement is _____. (Points : 5) 14. (TCO 7) The questions that cause the database software to extract the appropriate records from a table and specify the fields to be viewed are called ____. (Points : 5) 15. (TCO 7) What is the name for a column that uniquely identifies a record? (Points : 5) 16. (TCO 7) What is the name for a unique key that is constructed from multiple columns? (Points : 5) Final Exam: Page 3 1 . (TCO 1) Write the Windows CLI commands thatwill clear the screen; turn off command echo;and display the current IPaddress,subnet mask, and defaultgateway…

Looking for solution of this Assignment?

WHY CHOOSE US?

We deliver quality original papers

Our experts write quality original papers using academic databases.  

Free revisions

We offer our clients multiple free revisions just to ensure you get what you want.

Discounted prices

All our prices are discounted which makes it affordable to you. Use code FIRST15 to get your discount

100% originality

We deliver papers that are written from scratch to deliver 100% originality. Our papers are free from plagiarism and NO similarity

On-time delivery

We will deliver your paper on time even on short notice or  short deadline, overnight essay or even an urgent essay