100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

INSY 3300 EXAM WITH CORRECT ANSWERS 2024

Rating
-
Sold
-
Pages
6
Grade
A+
Uploaded on
26-11-2024
Written in
2024/2025

What are the data types in Python Correct answers integer, float, and 2 others What are the logical operators? Correct answers and, or, not what are the conditional operators Correct answers equal, not equal to, greater than, etc. what are the mathematical operators Correct answers + Addition, - Subtraction, * Multiplication, / Division, % Modulus, ** Exponent, // what are the conditional operators? Correct answers ==, !=, <>, >, <, >=, <= counter while loop Correct answers count is known sentinel while loop Correct answers count is not known int(item) Correct answers integer float(item) Correct answers decimal number n Correct answers new line t Correct answers tab sequence of characters Correct answers string A _____ is a name that references a value in the computer's memory. Correct answers variable A string literal in Python must be enclosed in Correct answers either single-quotes or double-quotes Short notes placed in different parts of a program explaining how those parts of the program work are called __________. Correct answers comments A(n) _______ makes a variable reference a value in the computer's memory. Correct answers assignment statement This symbol marks the beginning of a comment in Python. Correct answers # Which of the following statements will cause an error?

Show more Read less
Institution
INSY 3300 EX
Course
INSY 3300 EX









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
INSY 3300 EX
Course
INSY 3300 EX

Document information

Uploaded on
November 26, 2024
Number of pages
6
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Content preview

INSY 3300 EXAM 1

What are the data types in Python Correct answers integer, float,
and 2 others
What are the logical operators? Correct answers and,
or, not
what are the conditional operators Correct answers equal, not equal to,
greater than,
etc
.
what are the mathematical operators Correct answers + Addition, -
Subtraction, * / Division, % Modulus, **
Multiplication,
Exponent, //
what are the conditional operators? Correct answers ==, !=, <>,
>, <, >=, <=
counter while loop Correct answers count is
known
sentinel while loop Correct answers count is not
known
int(item) Correct answers
integer
float(item) Correct answers decimal
number
\n Correct answers new
line
\t Correct answers
tab
sequence of characters Correct answers
string
A is a name that references a value in the computer's memory.
Correct answers
variabl
e
A string literal in Python must be enclosed in Correct answers either
single-quotes or
double-
quotes
Short notes placed in different parts of a program explaining how those
parts of the
program work are called . Correct answers
comments
A(n) makes a variable reference a value in the computer's
memory. assignment
answers Correct
statement
This symbol marks the beginning of a comment in Python. Correct
answers #
Which of the following statements will cause an
error?

, a. x =
17
b. 17 =
X
C. X =
99999
d. X = '17' Correct answers
17 = X
In the expression 12 + 7, the values on the right and left of the +
symbol are
Correct called
answers
operands
This operator performs integer division. Correct
answers //
This is an operator that raises a number to a power. Correct
answers **
This operator performs division, but instead of returning the quotient it
returns theCorrect
remainder
answers %
Suppose the following statement is in a program: price = 99. 0. After this
statement
executes, the price variable will reference a value of this data type.
Correct answers
floa
t
This built-in function can be used to read input that has been typed on the
keyboard.
Correct answers
input()
This built-in function can be used to convert an int value to a float.
Correct answers
float(
)
A(n) expression has a value of either true or false. Correct answers
Boolean
The symbols >, <, and == are all operators. Correct answers
relational
You use a(n) statement in pseudocode to write a single alternative
structure. Correct answers If-
decision
Then
You use a(n) statement in pseudocode to write a dual alternative
decision
structure. Correct answers If-Then-
Else
A structure allows you to test the value of a variable or an
expression
then use that andvalue to determine which statement or set of statements
to execute.
Correct answers multiple alternative
decision
A(n) section of a Select Case statement is branched to, if none of
the case values match the expression listed after the Select statement.
Correct answers Default
AND, OR, and NOT are operators. Correct answers
logical
A compound Boolean expression created with the operator is true
only ifof its subexpressions are true Correct
both
answers and
$12.99
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
compassionellison

Get to know the seller

Seller avatar
compassionellison Chamberlain College Of Nursng
View profile
Follow You need to be logged in order to follow users or courses
Sold
1
Member since
1 year
Number of followers
0
Documents
216
Last sold
6 months ago
Macellen Education Agencies

On this page, you find all documents, package deals, and flashcards offered by seller Compassion Ellison

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions