{"id":132183,"date":"2023-08-20T01:56:31","date_gmt":"2023-08-20T01:56:31","guid":{"rendered":"https:\/\/assignmenttutors.net\/blog\/comp-230-week-1-7-quizzes\/"},"modified":"2023-08-20T01:56:31","modified_gmt":"2023-08-20T01:56:31","slug":"comp-230-week-1-7-quizzes","status":"publish","type":"post","link":"https:\/\/assignmenttutors.net\/blog\/comp-230-week-1-7-quizzes\/","title":{"rendered":"Comp 230 week 1 &#8211; 7 quizzes"},"content":{"rendered":"<div>\n<p><span><strong><span>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<\/span> COMP 230 Introduction to Scripting and Database with Lab &#8211; DeVry<\/strong><\/span><\/p>\n<p><span><strong>\u00a0<\/strong><\/span><\/p>\n<p><span><strong>COMP 230 Week 1 Quiz<\/strong><\/span><\/p>\n<p><span><strong><span>1.\u00a0<\/span><\/strong><\/span><strong><span>Question:<\/span><\/strong><span>\u00a0<\/span><strong>(TCO 1)<\/strong><span> Which one of the following Windows\u00a0net commands are\u00a0NOT used to control services with the\u00a0net ServiceName?<\/span><\/p>\n<p><span><strong><span>2.\u00a0<\/span><\/strong><\/span><strong><span>Question:<\/span><\/strong><span>\u00a0<\/span><strong>(TCO 1)<\/strong><span> Which of the following Windows commands will\u00a0<\/span><strong>shutdown and restart<\/strong><span>\u00a0your computer in 2 minutes?<\/span><\/p>\n<p><span><strong><span>3. Question:<\/span><\/strong><span>\u00a0<strong>(TCO 1)<\/strong> Which of the following Windows commands will\u00a0<strong>shutdown and restart<\/strong>\u00a0the computer<strong>FileServer<\/strong>\u00a0in 2 minutes?<\/span><\/span><\/p>\n<p><span><strong><span>4. Question:<\/span><\/strong><span>\u00a0<strong>(TCO 1)<\/strong> Which Windows\u00a0<strong>shutdown-<\/strong>command switch is used to\u00a0<strong>shutdown and turn off\u00a0<\/strong>a local or remote computer?<\/span><\/span><\/p>\n<p><span><strong><span>5. Question:<\/span><\/strong><span>\u00a0<strong>(TCO 1)<\/strong> From the Start\/Run dialog, the command used to open the 32-bit Windows command prompt is _____.<\/span><\/span><\/p>\n<p><span><strong><span>6. Question:<\/span><\/strong><span>\u00a0<strong>(TCO 1)<\/strong> The Windows CLI shell command used to display all of the environmental variables and their values is _____.<\/span>\u00a0<\/span><\/p>\n<p><span><strong>COMP 230 Week 2 Quiz<\/strong><\/span><\/p>\n<p><span><strong><span>1.<\/span><\/strong><span>\u00a0<strong>Question: (TCO 2)<\/strong> ____ data items may involve displaying numbers or text to the screen.<\/span><\/span><\/p>\n<p><span><strong><span>2.<\/span><\/strong><span>\u00a0<strong>Question: (TCO 2)<\/strong> The process of walking through a program&#8217;s logic on paper before\u00a0actually writing the program is called ____.<\/span><\/span><\/p>\n<p><span><strong><span>3.<\/span><\/strong><span>\u00a0<strong>Question: (TCO 2)<\/strong> What is the problem with the following statement? 60 + 5 = grade<\/span><\/span><\/p>\n<p><span><strong><span>4.<\/span><\/strong><span>\u00a0<strong>Question: (TCO 2)<\/strong> What is the problem with the following statement? lastName = &#8220;smith<\/span><\/span><\/p>\n<p><span><strong><span>5.<\/span><\/strong><span>\u00a0<strong>Question: (TCO 2)<\/strong> What is the assignment operator?<\/span><\/span><\/p>\n<p><span><span><strong>6. Question: (TCO 2)<\/strong> String constants and _____ refer to the same concept.<\/span><\/span><\/p>\n<p><span><span>7.<\/span><span>\u00a0<strong>Question:\u00a0<\/strong><\/span><span><strong>(TCO 2)<\/strong>\u00a0<\/span><span>If a variable holds the value 12345, what\u00a0is its data type?<\/span><\/span><\/p>\n<p><span><strong><span>8.\u00a0<\/span><\/strong><span><strong>Question: (TCO 2)<\/strong> Given the rules of operator precedence, what value would the variable contain after the following statement was executed? distance = 2 + 10 * 2 &#8211; 1<\/span><\/span><\/p>\n<p><span><strong>COMP 230 Week 3 Quiz<\/strong><\/span><\/p>\n<p><span><strong><span>1. Question:<\/span><\/strong><span>\u00a0<strong>(TCO 3)<\/strong> What statement best describes the following pseudocode?<\/span><\/span><\/p>\n<p><span><strong><span>2. Question:<\/span><\/strong><span>\u00a0<strong>(TCO 3)<\/strong> What decision structure is logically equivalent to the following?<\/span><\/span><\/p>\n<p><span><strong><span>3. Question:<\/span><\/strong><span>\u00a0<strong>(TCO 3)<\/strong> What logic operator could be used to replace the nested selection structure in&#8230;.?<\/span><\/span><\/p>\n<p><span><strong><span>4. Question:<\/span><\/strong><span>\u00a0<strong>(TCO 3)<\/strong> Which logical operator has the lowest\u00a0precedence?<\/span><\/span><\/p>\n<p><span><strong><span>5. Question:<\/span><\/strong><span>\u00a0<strong>(TCO 3)<\/strong>\u00a0<em><span>Every Boolean expression<\/span><\/em>\u00a0must be true in order for the entire expression&#8230;____.<\/span><\/span><\/p>\n<p><span><strong><span>6. Question:<\/span><\/strong><span>\u00a0<strong>(TCO 3)<\/strong>\u00a0<em><span>Only one of the Boolean expressions<\/span><\/em>\u00a0must be false in order for the entire&#8230;.___.<\/span><\/span><\/p>\n<p><span><strong><span>7. Question:<\/span><\/strong><span>\u00a0<strong>(TCO 3)<\/strong> Which of the following comparisons is generally most confusing?<\/span><\/span><\/p>\n<p><span><strong><span>8. Question:<\/span><\/strong><span>\u00a0<strong>(TCO 3)<\/strong> Which of the following is a possible value for a Boolean expression?<\/span><\/span><\/p>\n<p><span><strong>COMP 230 Week 4 Quiz<\/strong><\/span><\/p>\n<p><span><strong><span>1.<\/span><\/strong><span>\u00a0<strong>Question:\u00a0<\/strong><\/span><span><strong>(TCO 4)<\/strong> A variable that determines if a loop will continue is known as a ____.<\/span><\/span><\/p>\n<p><span><strong><span>2.<\/span><\/strong><span>\u00a0<strong>Question:\u00a0<\/strong><\/span><span><strong>(TCO 4)<\/strong> What is the name for the statements that are repeated during loop execution?<\/span><\/span><\/p>\n<p><span><strong><span>3.\u00a0<\/span><span>Question:\u00a0<\/span><\/strong><span><strong>(TCO 4)<\/strong> Which piece of pseudocode represents incrementing the loop-control&#8230;..?<\/span><\/span><\/p>\n<p><span><strong><span>4.<\/span><span>\u00a0Question:\u00a0<\/span><\/strong><span><strong>(TCO 4)<\/strong> When a value is incremented by 1, ____.<\/span><\/span><\/p>\n<p><span><strong><span>5.\u00a0<\/span><span>Question:\u00a0<\/span><\/strong><span><strong>(TCO 4)<\/strong> When a loop-control variable is not altered during loop execution, a(n)___&#8230;..<\/span><\/span><\/p>\n<p><span><strong><span>6.\u00a0<\/span><span>Question:\u00a0<\/span><\/strong><span><strong>(TCO 4)<\/strong> Which of the following is NOT automatically handled by the for loop?<\/span><\/span><\/p>\n<p><span><strong><span>7.\u00a0<\/span><span>Question:\u00a0<\/span><\/strong><span><strong>(TCO 4)<\/strong> A do-until loop has a(n) ______ condition.<\/span><\/span><\/p>\n<p><span><strong><span>8.<\/span><\/strong><span>\u00a0<strong>Question:\u00a0<\/strong><\/span><span><strong>(TCO 4)<\/strong> A loop within another loop is known as a(n) _____ loop.<\/span><\/span><\/p>\n<p><strong><span>9.\u00a0<\/span><\/strong><strong><span>Question:<\/span><\/strong><span><span><strong>\u00a0(TCO 4)<\/strong> What is the term for the number used to reference an array element?<\/span><\/span><\/p>\n<p><span><strong><span>10.\u00a0<\/span><span>Question:<\/span><\/strong><span><strong>\u00a0(TCO 4)<\/strong> The number of elements in an array is called the ______ of the array.<\/span><\/span><\/p>\n<p><span><strong><span>11.<\/span><\/strong><span>\u00a0<strong>Question:<\/strong><\/span><span><strong>\u00a0(TCO 4)<\/strong> Arrays are most efficiently processed using ______.<\/span>\u00a0<\/span><\/p>\n<p><span><strong>COMP 230 Week 5 Quiz<\/strong><\/span><\/p>\n<p><span><strong><span>1.<\/span><\/strong><span>\u00a0<strong>Question:\u00a0<\/strong><\/span><span><strong>(TCO 5)<\/strong> Although it is not a requirement of any programming language, it frequently makes sense to use a(n) ____ as all or as part of a module&#8217;s name&#8230;&#8230;.<\/span><\/span><\/p>\n<p><span><strong><span>2.\u00a0<\/span><span>Question:\u00a0<\/span><\/strong><span><strong>(TCO 5)<\/strong> A variable that is used in all program modules is ____.<\/span><\/span><\/p>\n<p><span><strong><span>3.\u00a0<\/span><span>Question:\u00a0<\/span><\/strong><span><strong>(TCO 5)<\/strong> What statement is not an advantage of using modularization?<\/span><\/span><\/p>\n<p><span><strong><span>4.\u00a0<\/span><span>Question:\u00a0<\/span><\/strong><span><strong>(TCO 5)<\/strong> Variables declared within a module have what scope?<\/span><\/span><\/p>\n<p><span><strong><span>5.\u00a0<\/span><span>Question:\u00a0<\/span><\/strong><span><strong>(TCO 5)<\/strong> In what way do named constants differ from variables?<\/span><\/span><\/p>\n<p><span><strong><span>6.<\/span><\/strong><span>\u00a0<\/span><strong><span>Question:\u00a0<\/span><\/strong><span><strong>(TCO 5)<\/strong> What is a feature of good program design?<\/span>\u00a0<\/span><\/p>\n<p><span><strong>COMP 230 Week 6 Quiz<\/strong><\/span><\/p>\n<p><strong><span>1. Question:<\/span><\/strong><span>\u00a0<strong>(TCO 6)<\/strong> When you create a VBScript Scripting.FileSystemObject, you must start the&#8230;..____.<\/span><\/p>\n<p><strong><span>2. Question:<\/span><\/strong><span>\u00a0<strong>(TCO 6)<\/strong> Which one of the following is NOT a Windows file attribute?<\/span><\/p>\n<p><strong><span>3. Question:<\/span><\/strong><span>\u00a0<strong>(TCO 6)<\/strong> To test to see if a file exists before you overwrite it in VBScript, use the following command (assuming that fso is a Scripting.FileSystemObject).<\/span><\/p>\n<p><strong><span>4. Question:<\/span><\/strong><span>\u00a0<strong>(TCO 6)<\/strong> To move the file C:DataCustData.txt to C:BackUpCustData.txt in VBScript, use the following command (assuming that fso is a Scripting.FileSystemObject).<\/span><\/p>\n<p><strong><span>5. Question:<\/span><\/strong><span>\u00a0<strong>(TCO 6)<\/strong> The following command opens a text file in VBScript.\u00a0<strong>Set file = fso.OpenTextFile(\u201cC:DataCustData.txt\u201d, ?, ??, ???)\u00a0<\/strong>To open a file for reading, the value of ?&#8230;.____.<\/span><\/p>\n<p><strong><span>6. Question:<\/span><\/strong><span>\u00a0<strong>(TCO 6)<\/strong> The following command opens a text file in VBScript.\u00a0<strong>Set file = fso.OpenTextFile(\u201cC:DataCustData.txt\u201d, ?, ??, ???)\u00a0<\/strong>To read data from this file, which condition will test to make sure we are not at the end of the line of text?<\/span><\/p>\n<p><span><strong>COMP 230 Week 7 Quiz<\/strong><\/span><\/p>\n<p><strong><span><span>1.<\/span><\/span><\/strong><span><span>\u00a0<\/span><strong><span>Question:\u00a0<\/span><\/strong><span><strong>(TCO 7)<\/strong> What is the most common database query language?<\/span><\/span><\/p>\n<p><strong><span><span>2.<\/span><\/span><\/strong><span><span>\u00a0<\/span><strong><span>Question:\u00a0<\/span><\/strong><span><strong>(TCO 7)<\/strong> What is the name for a column that uniquely identifies a record?<\/span><\/span><\/p>\n<p><strong><span><span>3.\u00a0<\/span><\/span><\/strong><span><strong><span>Question:\u00a0<\/span><\/strong><span><strong>(TCO 7)<\/strong> The ____ in a table is the column that makes each record different from all others.<\/span><\/span><\/p>\n<p><strong><span><span>4.\u00a0<\/span><\/span><\/strong><span><strong><span>Question:\u00a0<\/span><\/strong><span><strong>(TCO 7)<\/strong> Which of the following is not a database-security issue?<\/span><\/span><\/p>\n<p><strong><span><span>5.<\/span><\/span><\/strong><span><span>\u00a0<\/span><strong><span>Question:\u00a0<\/span><\/strong><span><strong>(TCO 7)<\/strong> When two tables in a database contain related data, the data in each table can be connected using a _____.<\/span><\/span><\/p>\n<p><strong><span>6.\u00a0<\/span><span>Question:\u00a0<\/span><\/strong><span><strong>(TCO 7)<\/strong> The general syntax of an SQL select statement is _____.<\/span><span>\u00a0<\/span><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 COMP 230 Introduction to Scripting and Database with Lab &#8211; DeVry \u00a0 COMP 230 Week 1 Quiz 1.\u00a0Question:\u00a0(TCO 1) Which one of the following Windows\u00a0net commands are\u00a0NOT used to control services with the\u00a0net ServiceName? 2.\u00a0Question:\u00a0(TCO [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-132183","post","type-post","status-publish","format-standard","hentry","category-education"],"_links":{"self":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/posts\/132183","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/comments?post=132183"}],"version-history":[{"count":0,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/posts\/132183\/revisions"}],"wp:attachment":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/media?parent=132183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/categories?post=132183"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/tags?post=132183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}