1
IS 240 FINAL EXAM A & B LATEST UPDATE
COMPLETE QUESTIONS AND CORRECT ANSWERS
ALREADY GRADED A+
Indentation is not semantically meaningful in Python - (answer)False
In the program development cycle, the first step in writing instructions to carry
out a task is to determine how to process the input to obtain the desired
output - (answer)False
In a hierarchy chart, details on how modules work should be included. -
(answer)False
Which programming tool uses English-like phrases with some Python terms to
outline the task?
Pseudocode
Algorithm
Hierarchy Chart
Flowchart - (answer)Pseudocode
The mechanical and electrical devices of a computer are referred to
as_______________.
hardware
, 2
software
peripherals
programs - (answer)Hardware
A ________________ is any person who runs a program
user
programmer
coder
computer - (answer)User
Pseudocode is typically more compact than a flowchart - (answer)True
Using different inputs and outputs on a flowchart to test an algorithm is called
_______________.
desk checking
interpreting
flow charting
, 3
debugging - (answer)Desk Checking
Flowcharts are time-consuming to write and difficult to update - (answer)True
Instructions in a Python program are called _____________.
Source Code
editor code
debugging code
files - (answer)Source Code
Determine the result:
q=1
while q>0:
q=3*q-1
print(q)
Infinite loop
2
0
, 4
2
5 - (answer)Infinite loop
Determine the output:
age=12
gender="m"
while age>=12 and gender=="f":
print ("Abc")
print("Def")
Def
Abc
Def
AbcDef - (answer)Def
Determine the following output:
total=0
num=1
IS 240 FINAL EXAM A & B LATEST UPDATE
COMPLETE QUESTIONS AND CORRECT ANSWERS
ALREADY GRADED A+
Indentation is not semantically meaningful in Python - (answer)False
In the program development cycle, the first step in writing instructions to carry
out a task is to determine how to process the input to obtain the desired
output - (answer)False
In a hierarchy chart, details on how modules work should be included. -
(answer)False
Which programming tool uses English-like phrases with some Python terms to
outline the task?
Pseudocode
Algorithm
Hierarchy Chart
Flowchart - (answer)Pseudocode
The mechanical and electrical devices of a computer are referred to
as_______________.
hardware
, 2
software
peripherals
programs - (answer)Hardware
A ________________ is any person who runs a program
user
programmer
coder
computer - (answer)User
Pseudocode is typically more compact than a flowchart - (answer)True
Using different inputs and outputs on a flowchart to test an algorithm is called
_______________.
desk checking
interpreting
flow charting
, 3
debugging - (answer)Desk Checking
Flowcharts are time-consuming to write and difficult to update - (answer)True
Instructions in a Python program are called _____________.
Source Code
editor code
debugging code
files - (answer)Source Code
Determine the result:
q=1
while q>0:
q=3*q-1
print(q)
Infinite loop
2
0
, 4
2
5 - (answer)Infinite loop
Determine the output:
age=12
gender="m"
while age>=12 and gender=="f":
print ("Abc")
print("Def")
Def
Abc
Def
AbcDef - (answer)Def
Determine the following output:
total=0
num=1