DATA 2100 EXAM 2 QUESTIONS AND
VERIFIED ANSWERS
what is a flow line? - ANSWER an arrow that directs you to where the
flowchart goes next
what is a process - ANSWER a rectangle that tells you when an action
occurs/when the user changes the state of something
how many flow lines can a process have? - ANSWER 1 in
1 out
what s a input/output - ANSWER When items or info are added to the overall
process
how many flowlines can an input/output have? - ANSWER 1 line in
1 line out
what is a decision? - ANSWER diamond that represents a decision/ anytime a
processor needs to decide something
how many flowlines are there? - ANSWER 1 flowline in
2 out
connector - ANSWER circles that helps with loops
how many flowlines does a connector have? - ANSWER 2 lines in
1 out
what is a terminator? - ANSWER pill shaped that tells you when the flowchart
starts/ends
hwo many flowlines does a terminator have? - ANSWER in: 0 (for start) or 1
(for end)
, End: 1 (for start) or 0 (for end)
how do flowcharts flow? - ANSWER Flowcharts go from top-to-bottom
and/or left-to-right
what is a program? - ANSWER a set of instructions that consits of
tokens/commands/operators
T or F is python case sensitive? - ANSWER True it is
when do you use parenthesis in Python? - ANSWER to print a variable or to
include something
what is an IDE? - ANSWER a Program that allows you to code
what are some common IDEs? - ANSWER Spyder, IDLE, Jupyter Notebook,
and PyCharm
what are the different variables? - ANSWER Integers (whole numbers)
Floats(numbers with decimals)
strings(words)
How do you change variables? - ANSWER to covert you can use, int(), str(),
float()
how do you remove white spaces? - ANSWER using the Sep function
what are the python placeholders? - ANSWER %d for integers
%f for floats
%s for strings
what are escape characters? - ANSWER it's python's way of inputting different
characters that you would usually code with
\' - ANSWER Single-quote (')
\" - ANSWER Double-quote (")
VERIFIED ANSWERS
what is a flow line? - ANSWER an arrow that directs you to where the
flowchart goes next
what is a process - ANSWER a rectangle that tells you when an action
occurs/when the user changes the state of something
how many flow lines can a process have? - ANSWER 1 in
1 out
what s a input/output - ANSWER When items or info are added to the overall
process
how many flowlines can an input/output have? - ANSWER 1 line in
1 line out
what is a decision? - ANSWER diamond that represents a decision/ anytime a
processor needs to decide something
how many flowlines are there? - ANSWER 1 flowline in
2 out
connector - ANSWER circles that helps with loops
how many flowlines does a connector have? - ANSWER 2 lines in
1 out
what is a terminator? - ANSWER pill shaped that tells you when the flowchart
starts/ends
hwo many flowlines does a terminator have? - ANSWER in: 0 (for start) or 1
(for end)
, End: 1 (for start) or 0 (for end)
how do flowcharts flow? - ANSWER Flowcharts go from top-to-bottom
and/or left-to-right
what is a program? - ANSWER a set of instructions that consits of
tokens/commands/operators
T or F is python case sensitive? - ANSWER True it is
when do you use parenthesis in Python? - ANSWER to print a variable or to
include something
what is an IDE? - ANSWER a Program that allows you to code
what are some common IDEs? - ANSWER Spyder, IDLE, Jupyter Notebook,
and PyCharm
what are the different variables? - ANSWER Integers (whole numbers)
Floats(numbers with decimals)
strings(words)
How do you change variables? - ANSWER to covert you can use, int(), str(),
float()
how do you remove white spaces? - ANSWER using the Sep function
what are the python placeholders? - ANSWER %d for integers
%f for floats
%s for strings
what are escape characters? - ANSWER it's python's way of inputting different
characters that you would usually code with
\' - ANSWER Single-quote (')
\" - ANSWER Double-quote (")