stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Selection, data types, logic, athematic and Algorithms Flashcards | StudBud
Explore
/
Selection, data types, logic, athematic and Algorithms
Selection, data types, logic, athematic and Algorithms
38 terms
·
StudBud Administration
·
30 plays
Imported from external platform
Flashcards
38 cards
F
Practice quiz
P
Host live
L
Questions
38
Answers
1
An assignment statement creates new variables and gives them values
True
False
2
which of the following data types contain ONLY whole numbers
Variable
String
Float
Integer
3
Name this flowchart symbol.
Input/Output
Decision
Process
Terminator
4
What is a flowchart?
A way of describing a set of instructions
Pseudo code
A diagram that represents a set of instructions
A high-level language
5
What is selection
Choosing a value for a variable
Choosing the name of a variable
Deciding which piece of code to execute based on variable(s)
Selecting which path to follow
6
A flowchart is
syntax
a series of steps
diagram representing an algorithm
software
7
Variables have specific rules.
False
True
8
What are all of the Python arithmetic operators?
+ - * / % ** ~
+ - * / ^ %
+ - x / % ** //
+ - * / % ** //
9
Which of the following are valid data types? (click either)
Text
String
Digits
Integer
10
Which of the following are valid data types? (click either)
Iteration
Float
Function
Boolean
11
Name this flowchart symbol.
Terminator
Decision
Input/Output
Process
12
This flowchart symbol indicates a ....
Input/Output
Decision
Process
Termination
13
definition of a arithmetic in python?
compares the values of two operands and returns True or False
operators that are used to perform mathematical operations like addition
statement that can either be true or false
is the operator that is used to assign values to variables
14
What is wrong with this flowchart logic?
The air will only turn on when it is to cold
The user can not enter the desire tempuature
The air will not turn on at all
nothing
15
Which arithmetic operators cannot be used with strings
+
*
-
All of the above
16
Boolean logic can be used to represent true/false
False
True
17
Name this flowchart symbol.
Terminator
Decision
Input/Output
Process
18
A _____ sometimes called logic operators, they allow us to compare data in a program.
Comparative Operator
Escape Sequence
Modulus
Fundamentals
19
Comparison operators: Is greater than?
>=
<
>
<=
20
What types of numbers will be printed in the following Python function?
evens only
negative numbers
odds only
odds and evens
21
Name this flowchart symbol.
Input/Output
Process
Decision
Terminator
22
This flowchart symbol indicates a ....
Input/Output
Process
Termination
Decision
23
Which best describes the types of data a string variable can hold?
Either true or false.
A whole number.
A set of letters and/or numbers.
A number that has a decimal.
24
This flowchart symbol indicates a ....
Decision
Termination
Process
Input/Output
25
A flowchart is
a series of steps
software
diagram representing an algorithm
syntax
26
A selection is...
A linear set of instructions, one after the other
A decision, do this if true, do something else if not
A loop, instructions that keep repeating
27
Comparison operators: is not equal to?
<>
><
>>
<><>
28
Which of these would represent the pesudocode Sub?
1
5
3
7
29
Which of these would represent the pesudocode IF?
5
7
1
3
30
Which best describes the types of data a string variable can hold?
A number that has a decimal.
A set of letters and/or numbers.
A whole number.
Either true or false.
31
A _____ sometimes called logic operators, they allow us to compare data in a program.
Data Type
Comparative Operator
Subroutine
Arithmetic Operator
32
This flowchart symbol indicates a ....
Input/Output
Decision
Termination
Process
33
Name this flowchart symbol.
Process
Terminator
Decision
Input/Output
34
What would be the Assignment Operator?
1
X
=
All other answers
35
what is pesudocode?
It is a code consists of short and readable
approach to solve a problem and step by step procedure
graphical or diagrammatic representation
36
Variables can contain spaces?
True
False
37
What arithmetic operators cannot be used with strings in Python?
*
_
+
all
38
From the image, what word in Python would Selection be?
ON
NOT
FOR
IF