All Coursera Quiz Answers

Python for everybody Week 1 Quiz Answer

Hello Friends in this article i am gone to share Coursera Course: Python Data Structures Week 1 Quiz Answers with you..

Python Data Structures

Go to this Course: Python Data Structures


Also visit this link: Python Data Structures Week 10 Quiz Answers


 

Python Data Structures Week 1 Quiz Answers

Question 1)
When Python is running in the interactive mode and displaying the chevron prompt (>>>) –ย 
what question is Python asking you?
  • What Python script would you like me to run?
  • What Python statement would you like me to run?
  • What is the air-speed velocity of an unladen swallow?
  • What is the next machine language instruction to run?
Question 2)
What will the following program print out:
>>> x = 15
>>> x = x + 5
>>> print x
  • 15
  • 20
  • x + 5
  • “print x”
  • 5
Question 3)
Python scripts (files) have names that end with:
  • .png
  • .exe
  • .py
  • .doc
Question 4)
Which of these words is a reserved word in Python ?
  • if
  • copy
  • make
  • names
ย 
Question 5)
What is the proper way to say โ€œgood-byeโ€ to Python?
  • while
  • quit()
  • #EXIT
  • // stop
Question 6)
Which of the parts of a computer actually execute the program instructions?
  • Main Memory
  • Secondary Memory
  • Input/Output Devices
  • Central Processing Unit
ย 
Question 7)
What is “code” in the context of this course?
  • A way to encrypt data during World War II
  • A password we use to unlock Python features
  • A set of rules that govern the style of programs
  • A sequence of instructions in a programming language
ย 
Question 8)
A USB memory stick is an example of which of the following components of computer architecture?
  • Main Memory
  • Output Device
  • Secondary Memory
  • Central Processing Unit
ย 
Question 9)
What is the best way to think about a “Syntax Error” while programming?
  • You will never learn how to program
  • The computer is overheating and just wants you to stop to let it cool down
  • The computer did not understand the statement that you entered
  • The computer has used GPS to find your location and hates everyone from your town
ย 
Question 10)
Which of the following is not one of the programming patterns covered in Chapter 1?
  • Random steps
  • Repeated Steps
  • Sequential Steps
  • Conditional Steps

Week 1ย Assignment

python code

print ("Hello World")