Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Input, Processing, and Output Review Questions Multiple Choice 100 Chapter 2 to 1. A_ error does not prevent the program from rusning, but causes it

image text in transcribed
image text in transcribed
image text in transcribed
Input, Processing, and Output Review Questions Multiple Choice 100 Chapter 2 to 1. A_ error does not prevent the program from rusning, but causes it produce incorrect results a. syntax b. hardware c. logic d. fatal 2 Ais a single function that the program must perform in order to sar the customer. a. task b. software requirement d. predicate 3. A/a)is a set of well-defined logical steps that must be taken to perform a task. a. logarithm b. plan of action c. logic schedule d. algorithm 4. An informal language that has no syntax rules and is not meant to be compiled or executed is called a. faux code b. pseudocode c. Python d. a flowchart 5. A is a diagram that graphically depicts the steps that take place in a program. a. flowchart b. step chart c. code graph d. program graph 6. A is a sequence of characters. a. char sequence b. character collection c. string d. text block 7. A_is a name that references a value in the computer's memory. a. variable b. register c. RAM slot d. byte 8. A is any hypothetical person using a program and providing input for it. a. designer b. user c. guinea pig d. test subject Chapter 2 Input, Processing, and Output 99.0. After this 18. Suppose the following statement is in a program: price executes, the price variable will reference a value of which data type? a. int b. float e. currency d. str rda 19. Which buit-in function can be used to read input that has been typed on the keybo a. input() b. get input() c. read input () d. keyboard() 20. Which built-in function can be used to convert an int value to a float? a. int to float() b. float) c. convert() d. int() 21. A magic number is a. a number that is mathematically undefined b. an unexplained value that appears in a program's code c. a number that cannot be divided by 1 d. a number that causes computers to crash Ais a name that represents a value that does not change during the pro gram's execution. a. named literal b. named constant c. variable signature d. key term True or False 1. Programmers must be careful not to make syntax errors when writing pseudocode programs. 2. In a math expression, multiplication and division take place before addition and subtraction. 3. Variable names can have spaces in them. 4. In Python, the first character of a variable name cannot be a number. S. If you print a variable that has not been assigned a value, the number 0 will be displayed. Short Answer 1. What does a professional programmer usually do first to gain an understanding of a problem? 2. What is pseudocode? 3. Computer programs typically perform what three steps? 4. If a math expression adds a float to an int, what will the data type of the result be? 5. What is the difference between floating-point division and integer division? 6. What is a magic number? Why are magic numbers problematic

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions