Accounting | Business | Computer
Science | General
Studies | Math | Sciences | Civics Exam | Help/Support | Join/Cancel | Contact Us | Login/Log Out
Computer Programming: Midterm Exam 1 Exam 1 2 3 4 5 6 7 8 9 10 Midterm 1 2 Final Exam 1 2 Graded Program Assignment 1 2 3 4 5 6 7 8 9 Python Compiler
Free Example!
An assignment statement will: a.) perform a calculation. b.) store the results of a calculation. c.) display the results of a calculation. d.) Both a and b. e.) All of the above. Suppose that you have declared a numeric array named values that has 13 elements. Which of the following must be true? Join Now For Answers & Help!!! The subscripts of any array are always __________. Join Now For Answers & Help!!! The structure that allows you to write one set of instructions that operates on multiple, separate sets of data is the _______________. Join Now For Answers & Help!!! The loop that frequently appears in a program's mainline logic _______________ Join Now For Answers & Help!!! Which of the following is not a step that must occur with every correctly working loop? Join Now For Answers & Help!!! The statements executed within a loop are known collectively as the _______________. Join Now For Answers & Help!!! A counter keeps track of _______________. Join Now For Answers & Help!!! Adding 1 to a variable is also called _______________ it Join Now For Answers & Help!!! Which of the following is a definite loop? a loop that executes 1,000 times Which of the following is an indefinite loop? Join Now For Answers & Help!!! When two loops are nested, the loop that is contained by the other is the _______________loop. Join Now For Answers & Help!!! When loops are nested, _______________. none of the above Most programmers use a for loop _______________. Join Now For Answers & Help!!! A report that lists only totals, with no details about individual records, is a Join Now For Answers & Help!!! A(n) __________ expression has a value of either true or false. Join Now For Answers & Help!!! In a selection. the else clause executes Join Now For Answers & Help!!! The greater-than operator evaluates as true when Join Now For Answers & Help!!! A trivial Boolean expression is one that Join Now For Answers & Help!!! if x < = y is true, then __________ Join Now For Answers & Help!!! if j <> k is true, then __________ Join Now For Answers & Help!!! In an AND condition, the most efficient technique is to first ask the question that ______________. Join Now For Answers & Help!!! If p is true and q is false, then _____________. Join Now For Answers & Help!!! Which of the lettered choice is equivalent to the following decision? Join Now For Answers & Help!!! If conditionA is 30 percent likely to be true and conditionB is 10 percent likely to be true, then it is most efficient to test conditionA first __________ Join Now For Answers & Help!!! Which of the following is a poorly written, trivial Boolean expression? Join Now For Answers & Help!!! Which of the following must always be false? Join Now For Answers & Help!!! Which of the following must always be true? Join Now For Answers & Help!!! If sales = 100, rate = 0.10, and expenses = 50, which of the following expressions is true? Join Now For Answers & Help!!! Typically, the value added to a counter variable is ______ Join Now For Answers & Help!!! Typically, the value added to an accumulator variable is ______ Join Now For Answers & Help!!! When you___________________, you make sure data items are the correct type and fall within the correct range Join Now For Answers & Help!!! Overriding a user's entered value by setting it to a predetermined value is known as ______ Join Now For Answers & Help!!! To ensure that a user's entry is the correct data type, frequently you _________________ Join Now For Answers & Help!!! A do-while loop ________________ Join Now For Answers & Help!!! A subscript is a(n) ____________________ Join Now For Answers & Help!!! Each element in an array must have the same ____________ as the others Join Now For Answers & Help!!! Suppose that you have declared a numeric array named numbers, and two of its elements are numbers[1] and numbers [4] You know that Join Now For Answers & Help!!! Suppose that you have declared a numeric array named numbers, and two of its elements are numbers[1] and numbers[4]. You know that Join Now For Answers & Help!!! Suppose that you want to write a program that inputs customer data including name,zipCode, balance, and regionNum. At the end of the program, a summary of the number of customers in each of 12 sales regions who owe more than $1,000 each is displayed. The most likely statement during the main processing loop would be ________ Join Now For Answers & Help!!! A program contains a seven-element array that holds the names of the days of the week. At the start of the program, you display the day names using a subscript named dayNum. You display the same array values again at the end of the program where you ________ as a subscript to the array Join Now For Answers & Help!!! Suppose that you have declared an array as follows: num values[4] = 0, 0, 0, 0. Which of the following is an allowed operation? Join Now For Answers & Help!!! Filling an array with values during a program's execution is known as _____ the array. Join Now For Answers & Help!!! A ______________ is a variable that can be set to indicate whether some event has occurred. Join Now For Answers & Help!!! Two arrays in which each element in one array is associated with the element the same relative positions are __________ Join Now For Answers & Help!!! In most modern programming languages, the highest subscript you should use with a 12-element array is _____. Join Now For Answers & Help!!! Parallel arrays _____. Join Now For Answers & Help!!! Each element in a seven-element array can hold _____ value(s). Join Now For Answers & Help!!! Suppose that an instructor assigns different letter grades based on points earned on a 10-point quiz, and that all scores have been verified to be between 0 and 10 inclusive. Also suppose that four possible letter grades can be assigned and that 9 or 10 points is an A, 7 or 8 points is a B, 6 points is a C, and 5 or fewer points is an F. To assign letter grades, the most efficient numeric array containing point values would contain _____________ elements. Join Now For Answers & Help!!! When you use a subscript value that is negative or higher than the number of elements in an array, _____. Join Now For Answers & Help!!! In every array, a subscript is out of bounds when it is ________________. Join Now For Answers & Help!!! Computer programs are also known as ___________________ Join Now For Answers & Help!!! What are the instructions listed during step 5 of the problem solving-process? Join Now For Answers & Help!!! The value of a _______________ (identifier) may change during processing Join Now For Answers & Help!!! True or False: A constant is a variable that NEVER changes during the processing of all the instructions in a solution Join Now For Answers & Help!!! Computer programs are used to solve problems. Join Now For Answers & Help!!! Programs are divided into two parts: algorithms and logic. Join Now For Answers & Help!!! A programming language is an example of the syntax used to create a solution to a problem. Join Now For Answers & Help!!! An algorithm is like a recipe used in cooking. Join Now For Answers & Help!!! An information system refers to all of the computers used to collect data for an organization. Join Now For Answers & Help!!! All useful information systems have two parts: Input and Output. Join Now For Answers & Help!!! Processing is an essential part of any information system. Join Now For Answers & Help!!! A flow chart is a graphical representation of a program’s logic. Join Now For Answers & Help!!! All programs have a beginning and an end. Join Now For Answers & Help!!! The flowchart symbol for Output is a rectangle. Join Now For Answers & Help!!! The flowchart symbol for Input is a parallelogram. Join Now For Answers & Help!!! 12. The ampersand symbol (&) is used to link together variables and text. Join Now For Answers & Help!!! An input statement will sometimes store data in a variable. Join Now For Answers & Help!!! The name of a variable is constant. Join Now For Answers & Help!!! A variable has two parts, a name and the data value, both of which can change while the program is running. Join Now For Answers & Help!!! 16. String data and numeric data are the same and can be input into the program the same way. Join Now For Answers & Help!!! Numeric data cannot include symbols such as the percent sign or commas. Join Now For Answers & Help!!! Because a variable can have any name, ‘Sue’ is an acceptable name for a variable. Join Now For Answers & Help!!! In Visual Logic the variable Name is the same as the variable NAME. Join Now For Answers & Help!!! Assignment statements are used to process data. Join Now For Answers & Help!!! Unorganized facts known as ________ enter the program and is returned as output or ________________ Join Now For Answers & Help!!! What are the 3 most common types of data? Join Now For Answers & Help!!! + is a _______________ operator Join Now For Answers & Help!!! / is a _____________ operator Join Now For Answers & Help!!! The major computer operations include ______ Join Now For Answers & Help!!! Visual Basic, C++, and Java are all examples of computer ______ Join Now For Answers & Help!!! A programming language's rules are its ___________ Join Now For Answers & Help!!! The most important task of a compiler or interpreter is to ________________ Join Now For Answers & Help!!! Which of the following is temporary, internal storage? Join Now For Answers & Help!!! Which of the following pairs of steps in the programming process is in the correct order? Join Now For Answers & Help!!! A programmer's most important task before planning the logic of a program is to _______. Join Now For Answers & Help!!! The two most commonly used tools for planning a programs logic are _______ Join Now For Answers & Help!!! Writing a program in a language such as C++ or Java is known as the __________ program. Join Now For Answers & Help!!! An English-like programming language such as Java or Visual Basic is a ______ programming language. Join Now For Answers & Help!!! Which of the following in an example of a syntax error? Join Now For Answers & Help!!! In a flowchart, a rectangle represents ______ Join Now For Answers & Help!!! In flowcharts, the decision symbol is a ______ Join Now For Answers & Help!!! The term eof represents Join Now For Answers & Help!!! When you use an IDE instead of a simple text editor to develop a program Join Now For Answers & Help!!! When you write a program that will run in a GUI environment as opposed to a command-line environment, Join Now For Answers & Help!!! The assignment operator Join Now For Answers & Help!!! Which of the following is not a term used as a synonyms for module? Join Now For Answers & Help!!! Modularization Join Now For Answers & Help!!! What is the name for the process of paying attention to important properties while ignoring nonessential details? Join Now For Answers & Help!!! Every module has all of the following except ______ Join Now For Answers & Help!!! Programmers say that one module can ______ another, meaning that the first module causes the second module to execute. Join Now For Answers & Help!!! The more that a module's statements contribute to the same job, the greater the ______________ of the module. Join Now For Answers & Help!!! In most programming languages, a variable or constant that is declared in a modeul is in that module ________________ Join Now For Answers & Help!!! Which of the following is not a typical house keeping task? Join Now For Answers & Help!!! Which module in a typical program will execute the most times? Join Now For Answers & Help!!! A hierarchy chart tells you Join Now For Answers & Help!!! What are non executing statements that programmers place within code to explain program statements in English? Join Now For Answers & Help!!! Which of the following is valid advice for naming variables? Join Now For Answers & Help!!! A message that asks a user for input is a(n) Join Now For Answers & Help!!! _______ is a combination of all the components required to process and store data using a computer. Join Now For Answers & Help!!! What is the equipment, or the physical devices, associated with a computer? Join Now For Answers & Help!!! ________ is computer instructions that tells the hardware what to do. Join Now For Answers & Help!!! What are sets of instructions for a computer? Join Now For Answers & Help!!! What is the act of developing and writing programs? Join Now For Answers & Help!!! _____________ is all the programs that help users with tasks (in contrast to system software). Join Now For Answers & Help!!! ________ is a piece of application software (term is frequently used for applications on mobile devices). Join Now For Answers & Help!!! What are the programs that manage a computer (contrast to application software)? Join Now For Answers & Help!!! What describes the entry of data items into computer memory using hardware decides such as keyboards and mice? Join Now For Answers & Help!!! _______ is all the text, numbers, and other information processed by the computer. Join Now For Answers & Help!!! What can processing do? Join Now For Answers & Help!!! What piece of computer hardware processes data? Join Now For Answers & Help!!! _________ describes the operation of retrieving information from memory and sending it to a device, so that people can view, interpret, and work with the results. Join Now For Answers & Help!!! __________ is processed data. Join Now For Answers & Help!!! What is a hardware apparatus that holds information for later retrieval? Join Now For Answers & Help!!! What are remote computers that are accessed through the Internet? Join Now For Answers & Help!!! _____________ is a language, such as Visual Basic, C++, C#, Java or COBOL, used to write programs. Programming Languages What is a set of instructions a programmer writes in a programming language? Join Now For Answers & Help!!! What is the act of writing the statements of a program in a programming language? Join Now For Answers & Help!!! ____________ is the rules of a language. Join Now For Answers & Help!!! What is an error in language or grammar? Join Now For Answers & Help!!! ___________ is the temporary, internal storage within a computer. Join Now For Answers & Help!!! Programs that are running and data items that are being used are stored in ____________ for quick access. Join Now For Answers & Help!!! __________ is a characteristic of internal memory in which its contents are lost every time the computer loses power. Join Now For Answers & Help!!! What describes storage that retains its contents when power is lost? Join Now For Answers & Help!!! What are the 6 steps of problem solving? Join Now For Answers & Help!!! Solutions that cannot be reached through a direct set of steps are called ___________ Join Now For Answers & Help!!! As compared to procedural programming, with object oriented programming ______ Join Now For Answers & Help!!! What does a declaration provide for a variable? Join Now For Answers & Help!!! A variable's data type describes all of the following except ______ Join Now For Answers & Help!!! The value stored in an uninitialized variable is Join Now For Answers & Help!!! The value 3 is a Join Now For Answers & Help!!! Solutions that can be reached through a direct set of steps are called _______________ Join Now For Answers & Help!!! The problem-solving process is easy Join Now For Answers & Help!!! A good way to analyze a problem is to separate is into 4 parts. What are those 4 parts? Join Now For Answers & Help!!! An error is called a bug and correcting the error is debugging Join Now For Answers & Help!!! What does UML stand for? Join Now For Answers & Help!!! A case diagram describes the flow of activities Join Now For Answers & Help!!! What are the 3 logic structures? Join Now For Answers & Help!!! True or false: calculation modules do arithmetic calculations, accumulating, counting, or manipulating numerical data in some other way Join Now For Answers & Help!!! ____________ is the ability for a module to work independently from all other modules Join Now For Answers & Help!!! Local variables may be used only by the module itself Join Now For Answers & Help!!! The oval flowchart symbol represents what 3 algorithm instructions? Join Now For Answers & Help!!! Sequential logic structure is the most complex logic structure Join Now For Answers & Help!!! What is the first step in analyzing the problem? Join Now For Answers & Help!!! Why is it important that the programmer or use of the application package write down important details about the program? Join Now For Answers & Help!!! What are the 7 steps to developing a solution to a problem? Join Now For Answers & Help!!! The decision logic structure uses the If/Then/Elseinstrution Join Now For Answers & Help!!! What type of logic means that all of the decisions are processed sequentially? Join Now For Answers & Help!!! What is the difference between negative and positive logic Join Now For Answers & Help!!! What are the 4 parts of a decision table? Join Now For Answers & Help!!! The _______ logic structure enables the computer to select one set of actions from many by selecting an integer or a character from a list of coded choices designed by a programmer Join Now For Answers & Help!!! The loop logic structure does not repeat Join Now For Answers & Help!!! A task that a program must often perform also known as summing a group of numers Join Now For Answers & Help!!! What are the the 3 types of loop structures Join Now For Answers & Help!!! ______________ are logical variables that a programmer sets within a program to change the processing path or to control when the processing of a loop should end Join Now For Answers & Help!!! What are the 3 common tasks associated with the loop logic structure? Join Now For Answers & Help!!! The flowchart element for an assignment statement is a triangle. Join Now For Answers & Help!!! The assignment statement has two parts: an expression and a variable. Join Now For Answers & Help!!! The expression part of the assignment statement goes on the left hand side. Join Now For Answers & Help!!! The variable side of the assignment statement is processed last. Join Now For Answers & Help!!! The expression part of the assignment statement does not have to be a mathematical formula. Join Now For Answers & Help!!! The elements of an assignment statement are processed in order from left to right. Join Now For Answers & Help!!! All mathematical operations are processed in the order of left to right as they appear in the equation. Join Now For Answers & Help!!! The programmer can change the operator precedence by using parentheses. Join Now For Answers & Help!!! The Exponentiation Operation has the highest precedence. Join Now For Answers & Help!!! The operations of Division and Integer Division have the same precedence. Join Now For Answers & Help!!! Integer division and integer remainder are unusual mathematical operations that only have use in specialized situations. Join Now For Answers & Help!!! Types of output can include sending data to the screen, a printer, or a floppy disk. Join Now For Answers & Help!!! A literal string is text enclosed by either single quotes or double quotes. Join Now For Answers & Help!!! The flowchart symbols for Input and Output statements are identical. Join Now For Answers & Help!!! FormatPercent() is an example of an intrinsic function. Join Now For Answers & Help!!! CurrencyFormat() is not an example of an intrinsic function. Join Now For Answers & Help!!! An output statement can only contain literal strings or variables. Join Now For Answers & Help!!! Concatenation is the term used to describe the process of joining literal strings, variables, and expressions. Join Now For Answers & Help!!! The Step Over and Step Into options are used to run one command at a time. Join Now For Answers & Help!!! Visual Logic allows the programmer to debug the program by examining variables in the Variable Watch window. Join Now For Answers & Help!!! A computer program: Join Now For Answers & Help!!! An algorithm is the: Join Now For Answers & Help!!! Which is the correct sequence of steps in an information system? Join Now For Answers & Help!!! Syntax refers to the: Join Now For Answers & Help!!! Which is not a primary component of an information system? Join Now For Answers & Help!!! Which symbol in a flowchart represents Input? Join Now For Answers & Help!!! Which symbol in a flowchart represents Output? Join Now For Answers & Help!!! Which symbol in a flowchart represents an assignment statement? Join Now For Answers & Help!!! An ampersand is used to: Join Now For Answers & Help!!! Which is true about a variable? Join Now For Answers & Help!!!. Which symbol can sometimes be used when using numeric input? Join Now For Answers & Help!!! Which statement takes data from a user and stores it in a variable? Join Now For Answers & Help!!! Which statement takes string literals, variables, and expressions and displays the data on a screen or printer? Join Now For Answers & Help!!! Which statement performs mathematical operations on data and stores the result in a variable? Join Now For Answers & Help!!! Which is not a rule for naming variables? Join Now For Answers & Help!!! Exam
1 2 3 4 5 6 7 8 9 10 Midterm 1
2 Final Exam 1
2
Graded Program Assignment 1 2 3 4 5 6 7 8 9 Python Compiler |
Home |
Accounting & Finance | Business |
Computer Science | General Studies | Math | Sciences |
Civics Exam |
Everything
Else |
Help & Support |
Join/Cancel |
Contact Us |
Login / Log Out |