100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Insy 3300 practice quizzes with correct answers $11.49   Add to cart

Exam (elaborations)

Insy 3300 practice quizzes with correct answers

 1 view  0 purchase
  • Course
  • MEM 3300
  • Institution
  • MEM 3300

Insy 3300 practice quizzes with correct answers

Preview 3 out of 17  pages

  • August 8, 2024
  • 17
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • MEM 3300
  • MEM 3300
avatar-seller
cracker
Insy 3300 practice quizzes with correct answers
RAM is a volatile memory used for temporary storage while a program
is running. Correct Answer-true


The Python language uses a compiler which is a program that both
translates and executes the instructions in a high-level language. Correct
Answer-False


IDLE is an alternative method to using a text editor to write, execute,
and test a Python program Correct Answer-true


In Python, print statements written on separate lines do not necessarily
output on separate lines Correct Answer-true


Python formats all floating-point numbers to two decimal places when
outputting with the print statement Correct Answer-False


Computer programs typically perform three steps: input is received,
some process is performed on the input, and output is produced. Correct
Answer-True


Which type of error prevents the program from running?
a. syntax
b. human
c. grammatical

,d. logical Correct Answer-Syntax


Select all that apply. To create a Python program you can use
a. a text editor
b. a word processor if you save your file as a .docx
c. IDLE
d. Excel Correct Answer-a. a text editor and c. IDLE


Which mathematical operator is used to raise 5 to the second power in
Python?
a. /
b. **
c. ^
d. ~ Correct Answer-b. **


In a print statement, you can set the __________ argument to a space or
empty string to stop the output from advancing to a new line.
a. stop
b. end
c. separator
d. newLine Correct Answer-b. end

, The __________ function reads a piece of data that has been entered at
the keyboard and returns that piece of data, as a string, back to the
program.
a. input()
b. output()
c. eval_input()
d. str_input() Correct Answer-a. input()


What is the output of the following statement? print('One' 'Two' 'Three')
a. One Two Three
b. One Two Three
c. OneTwoThree
d. Nothing—This statement contains an error. Correct Answer-C.
OneTwoThree


What is the output of the following statement, given that value1 = 2.0
and value2 = 12?
print(value1 * value2)
a. 24
b. value1 * value2
c. 24.0
d. 2.0 * 12 Correct Answer-c. 24.0


Python allows you to compare strings, but it is not case sensitive Correct
Answer-False

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 cracker. 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)

78112 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