100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
INSY 3300 EXAM 1 REVIEW QUESTIONS AND ANSWERS 100% PASS $11.49   Add to cart

Exam (elaborations)

INSY 3300 EXAM 1 REVIEW QUESTIONS AND ANSWERS 100% PASS

 3 views  0 purchase
  • Course
  • INSY 3300
  • Institution
  • INSY 3300

INSY 3300 EXAM 1 REVIEW QUESTIONS AND ANSWERS 100% PASS What are the data types in Python - Answer- integer, float, and 2 others What are the logical operators? - Answer- and, or, not what are the conditional operators - Answer- equal, not equal to, greater than, etc. what are the mathematical...

[Show more]

Preview 2 out of 7  pages

  • May 14, 2024
  • 7
  • 2023/2024
  • Exam (elaborations)
  • Questions & answers
  • INSY 3300
  • INSY 3300
avatar-seller
GraceAmelia
INSY 3300 EXAM 1 REVIEW QUESTIONS AND ANSWERS 100% PASS What are the data types in Python - Answer - integer, float, and 2 others What are the logical operators? - Answer - and, or, not what are the conditional operators - Answer - equal, not equal to, greater than, etc. what are the mathematical operators - Answer - + Addition, - Subtraction, * Multiplication, / Division, % Modulus, ** Exponent, // what are the conditional operators? - Answer - ==, !=, <>, >, <, >=, <= counter while loop - Answer - count is known sentinel while loop - Answer - count is not known int(item) - Answer - integer float(item) - Answer - decimal number \n - Answer - new line \t - Answer - tab sequence of characters - Answer - string A _____ is a name that references a value in the computer's memory. - Answer - variable A string literal in Python must be enclosed in - Answer - 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 __________. - Answer - comments A(n) _______ makes a variable reference a value in the computer's memory. - Answer - assignment statement This symbol marks the beginning of a comment in Python. - Answer - # Which of the following statements will cause an error? a. x = 17 b. 17 = X C. X = 99999 d. X = '17' - Answer - 17 = X In the expression 12 + 7, the values on the right and left of the + symbol are called - Answer - operands This operator performs integer division. - Answer - // This is an operator that raises a number to a power. - Answer - ** This operator performs division, but instead of returning the quotient it returns the remainder - Answer - % 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. - Answer - float This built -in function can be used to read input that has been typed on the keyboard. - Answer - input() This built -in function can be used to convert an int value to a float. - Answer - float() A(n) _________ expression has a value of either true or false. - Answer - Boolean The symbols >, <, and == are all _________ operators. - Answer - relational

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller GraceAmelia. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $11.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

75323 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$11.49
  • (0)
  Add to cart