{"id":5480,"date":"2018-02-20T23:50:30","date_gmt":"2018-02-20T23:50:30","guid":{"rendered":"http:\/\/essaysparlor.com\/step-to-creating-a-computer-solution-is-to-analyze-the-problem\/"},"modified":"2017-02-20T19:20:52","modified_gmt":"2017-02-20T19:20:52","slug":"step-to-creating-a-computer-solution-is-to-analyze-the-problem","status":"publish","type":"post","link":"https:\/\/www.benedictsol.com\/blogs\/step-to-creating-a-computer-solution-is-to-analyze-the-problem\/","title":{"rendered":"step to creating a COMPUTER solution is to analyze the problem."},"content":{"rendered":"<p>QuestionQuestion 1 (4 points) Question 1 Unsaved<\/p>\n<p>The __________ step to creating a COMPUTER solution is to analyze the problem.<\/p>\n<p>Question 1 options:<\/p>\n<p>third<\/p>\n<p>first<\/p>\n<p>second<\/p>\n<p>fourth<\/p>\n<p>Save<\/p>\n<p>Question 2 (4 points) Question 2 Unsaved<\/p>\n<p>Between the switch statement\ufffd\ufffd\ufffds opening and closing braces are the individual __________ clauses.<\/p>\n<p>Question 2 OPTIONS:<\/p>\n<p>if<\/p>\n<p>else<\/p>\n<p>case<\/p>\n<p>if\/else<\/p>\n<p>Save<\/p>\n<p>Question 3 (4 points) Question 3 Unsaved<\/p>\n<p>You can use a(n) __________ to help you desk-check an algorithm.<\/p>\n<p>Question 3 options:<\/p>\n<p>flowchart<\/p>\n<p>pseudocode<\/p>\n<p>IPO chart<\/p>\n<p>desk-check TABLE<br \/>\nSave<\/p>\n<p>Question 4 (4 points) Question 4 Unsaved<\/p>\n<p>If the default clause is not the last clause in the switch statement, you will need to include a __________ statement at the end of the clause to stop the computer from processing the instructions in the next case clause.<\/p>\n<p>Question 4 options:<\/p>\n<p>stop<\/p>\n<p>break<\/p>\n<p>continue<\/p>\n<p>switch<\/p>\n<p>Save<\/p>\n<p>Question 5 (4 points) Question 5 Unsaved<\/p>\n<p>The evaluation of the condition in a __________ loop occurs before the instructions within the loop are processed.<\/p>\n<p>Question 5 options:<\/p>\n<p>for<\/p>\n<p>pretest<\/p>\n<p>while<\/p>\n<p>posttest<\/p>\n<p>Save<\/p>\n<p>Question 6 (4 points) Question 6 Unsaved<\/p>\n<p>The do while statement must end with a(n) __________.<\/p>\n<p>Question 6 options:<\/p>\n<p>;<\/p>\n<p>.<\/p>\n<p>,<\/p>\n<p>\/\/end do while comment<\/p>\n<p>Save<\/p>\n<p>Question 7 (4 points) Question 7 Unsaved<\/p>\n<p>The __________ step to creating a COMPUTER solution is to code the algorithm into a program.<\/p>\n<p>Question 7 options:<\/p>\n<p>third<\/p>\n<p>second<\/p>\n<p>fourth<\/p>\n<p>fifth<\/p>\n<p>Save<\/p>\n<p>Question 8 (4 points) Question 8 Unsaved<\/p>\n<p>A program that displays a message based on a letter grade that the user enters would require a(n) __________ selection structure.<\/p>\n<p>Question 8 options:<\/p>\n<p>nested<\/p>\n<p>multiple-alternative<\/p>\n<p>if<\/p>\n<p>else<\/p>\n<p>Save<\/p>\n<p>Question 9 (4 points) Question 9 Unsaved<\/p>\n<p>The __________ condition tells the computer when to stop looping through the instructions.<\/p>\n<p>Question 9 options:<\/p>\n<p>repeat<\/p>\n<p>continue<\/p>\n<p>loop exit<\/p>\n<p>looping<\/p>\n<p>Save<\/p>\n<p>Question 10 (4 points) Question 10 Unsaved<\/p>\n<p>In the code shown below, the computer continues processing the inner loop\ufffd\ufffd\ufffds instructions until the user enters __________, at which time the inner loop ends.<\/p>\n<p>int sales = 0;<\/p>\n<p>int region = 1;<\/p>\n<p>int totRegSales = 0;<\/p>\n<p>while (region < 3)\n\n{\n\ncout << \"First sales amount for Region \"\n\n<< region << \": \";\n\ncin >> sales;<\/p>\n<p>while (sales > 0)<\/p>\n<p>{<\/p>\n<p>totRegSales = totRegSales + sales;<\/p>\n<p>cout << \"Next sales amount for Region \"\n\n<< region << \": \";\n\ncin >> sales;<\/p>\n<p>} \/\/end while<\/p>\n<p>cout << endl << \"Region \" << region << \" sales: $\"\n\n<< totRegSales << endl << endl;\n\nregion = region + 1;\n\ntotRegSales = 0;\n\n} \/\/end while\n\ncout << \"End of program\" << endl;\n\nQuestion 10 options:\n\na negative number\n\na number greater or equal than 3\n\nthe number 0\n\neither the number 0 or a negative number\n\nSave\n\nPrevious PageNext Page\n\nQuestion 11 (4 points)\n\n__________ means to assign a beginning value to a counter or accumulator variable.\n\nQuestion 11 options:\n\nFlushing\n\nIterating\n\nAccumulating\n\nInitializing\n\nSave\n\nQuestion 12 (4 points)\n\nThe __________ combines the object file with other machine code necessary for your C++ program to run correctly.\n\nQuestion 12 options:\n\ninterpreter\n\nassembler\n\nlinker\n\ncompiler\n\nSave\n\nQuestion 13 (4 points)\n\nThe linker produces a(n) __________ file, which is a file that contains all of the machine code necessary to run your C++ program as many times as desired without the need for translating the program again.\n\nQuestion 13 options:\n\nsource\n\nexecutable\n\nobject\n\ninclude\n\nSave\n\nQuestion 14 (4 points)\n\nIn the code shown below, the __________ clause begins the inner loop.\n\nint sales = 0;\n\nint region = 1;\n\nint totRegSales = 0;\n\nwhile (region < 3)\n\n{\n\ncout << \"First sales amount for Region \"\n\n<< region << \": \";\n\ncin >> sales;<\/p>\n<p>while (sales > 0)<\/p>\n<p>{<\/p>\n<p>totRegSales = totRegSales + sales;<\/p>\n<p>cout << \"Next sales amount for Region \"\n\n<< region << \": \";\n\ncin >> sales;<\/p>\n<p>} \/\/end while<\/p>\n<p>cout << endl << \"Region \" << region << \" sales: $\"\n\n<< totRegSales << endl << endl;\n\nregion = region + 1;\n\ntotRegSales = 0;\n\n} \/\/end while\n\ncout << \"End of program\" << endl;\n\nQuestion 14 options:\n\nint totRegSales = 0;\n\nwhile (region < 3)\n\ncin >> sales;<\/p>\n<p>while (sales > 0)<\/p>\n<p>Save<\/p>\n<p>Question 15 (4 points)<\/p>\n<p>An assignment statement __________ create(s) a variable in memory.<\/p>\n<p>Question 15 options:<\/p>\n<p>does not<\/p>\n<p>always<\/p>\n<p>may not<\/p>\n<p>may<\/p>\n<p>Save<\/p>\n<p>Question 16 (4 points)<\/p>\n<p>In a for clause, the __________ argument specifies the condition that must be true for the loop to continue processing the loop body instructions.<\/p>\n<p>Question 16 options:<\/p>\n<p>last<\/p>\n<p>first<\/p>\n<p>second<\/p>\n<p>third<\/p>\n<p>Save<\/p>\n<p>Question 17 (4 points)<\/p>\n<p>A __________ is a C++ instruction that causes the COMPUTER to perform some action after it is executed, or processed, by the computer.<\/p>\n<p>Question 17 options:<\/p>\n<p>directive<\/p>\n<p>processing item<\/p>\n<p>statement<\/p>\n<p>keyword<\/p>\n<p>Save<\/p>\n<p>Question 18 (4 points)<\/p>\n<p>Consider the following pseudocode:<\/p>\n<p>1. enter the code and sales amount<\/p>\n<p>2. calculate the bonus amount by multiplying the sales amount by .08<\/p>\n<p>3. if (the code is X)<\/p>\n<p>if (the sales are greater than or equal to 10000)<\/p>\n<p>add 150 to the bonus amount<\/p>\n<p>else<\/p>\n<p>add 125 to the bonus amount<\/p>\n<p>end if<\/p>\n<p>end if<\/p>\n<p>4. display the bonus amount<\/p>\n<p>If the code is X and the sales amount is 15000, the value of the bonus amount at the end of the algorithm in the accompanying figure will be __________.<\/p>\n<p>Question 18 options:<\/p>\n<p>1200<\/p>\n<p>845<\/p>\n<p>1350<\/p>\n<p>720<\/p>\n<p>Save<\/p>\n<p>Question 19 (4 points)<\/p>\n<p>Logical operators are sometimes referred to as __________ operators.<\/p>\n<p>Question 19 options:<\/p>\n<p>Relational<\/p>\n<p>Comparison<\/p>\n<p>Conditional<\/p>\n<p>Boolean<\/p>\n<p>Save<\/p>\n<p>Question 20 (4 points)<\/p>\n<p>The first of two DIAMONDS encountered along a path in a flowchart represents the condition of the __________ selection structure of a nested selection structure.<\/p>\n<p>Question 20 options:<\/p>\n<p>switch<\/p>\n<p>inner<\/p>\n<p>nested<\/p>\n<p>outer<\/p>\n<p>Save<\/p>\n<p>Previous PageNext PagePage 2 of 3<\/p>\n<p>________________________________________<\/p>\n<p>Question 21 (4 points)<\/p>\n<p>In a flowchart, the oval symbol is called the __________ symbol.<\/p>\n<p>Question 21 options:<\/p>\n<p>process<\/p>\n<p>selection<\/p>\n<p>start\/stop<\/p>\n<p>input\/output<\/p>\n<p>Save<\/p>\n<p>Question 22 (4 points)<\/p>\n<p>The And operator in C++ is __________.<\/p>\n<p>Question 22 options:<\/p>\n<p>!<\/p>\n<p>||<\/p>\n<p>&#038;&#038;<\/p>\n<p>&#038;<\/p>\n<p>Save<\/p>\n<p>Question 23 (4 points)<\/p>\n<p>The selection structure is also called the __________ structure.<\/p>\n<p>Question 23 options:<\/p>\n<p>DIAMOND<br \/>\nswitch<\/p>\n<p>decision<\/p>\n<p>case<\/p>\n<p>Save<\/p>\n<p>Question 24 (4 points)<\/p>\n<p>__________ an algorithm refers to the process of translating the algorithm into a language that the COMPUTER can understand.<\/p>\n<p>Question 24 options:<\/p>\n<p>Assembling<\/p>\n<p>Translating<\/p>\n<p>Coding<\/p>\n<p>Tracing<\/p>\n<p>Save<\/p>\n<p>Question 25 (4 points)<\/p>\n<p>The processing portion of an IPO chart might include a __________.<\/p>\n<p>Question 25 options:<\/p>\n<p>statement about the input data<\/p>\n<p>statement about the output data<\/p>\n<p>notation to the user of the program<\/p>\n<p>flowchart<\/p>\n","protected":false},"excerpt":{"rendered":"<p>QuestionQuestion 1 (4 points) Question 1 Unsaved The __________ step to creating a COMPUTER solution is to analyze the problem. Question 1 options: third first second fourth Save Question 2 (4 points) Question 2 Unsaved Between the switch statement\ufffd\ufffd\ufffds opening <a href=\"https:\/\/www.benedictsol.com\/blogs\/step-to-creating-a-computer-solution-is-to-analyze-the-problem\/\" class=\"read-more\">Read More &#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-5480","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts\/5480","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/comments?post=5480"}],"version-history":[{"count":0,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts\/5480\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/media?parent=5480"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/categories?post=5480"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/tags?post=5480"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}