Getting Started with Python

Chapter 1 (Quiz Answers) | Week-3 | Programming for Everybody (Getting Started with Python) By Coursera

Chapter 1 (Quiz Answers) | Week-3 | Programming for Everybody (Getting Started with Python) By Coursera

Programming for Everybody (Getting Started with Python)
Week 3
Chapter 1
Graded Quiz • 30 min

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 is the next machine language instruction to run?
  • What Python statement would you like me to run?
  • What is your favourite color?

2. What will the following program print out:
>>> x = 15
>>> x = x + 5
>>> print(x)
  • 20
  • 5
  • 15
  • “print x”
  • x + 5

3. Python scripts (files) have names that end with:
  •  .exe
  • .py
  • .doc
  • .png

4. Which of these words are reserved words in Python ?
  • if
  • make
  • todo
  • break
  • concat
  • While

5. What is the proper way to say “good-bye” to Python?
  • quit()
  • // stop
  • while
  • #EXIT

6. Which of the parts of a computer actually executes the program instructions?
  • Input/Output Devices
  • Central Processing Unit
  • Main Memory
  • Secondary Memory

7. What is “code” in the context of this course?
  • A password we use to unlock Python features
  • A set of rules that govern the style of programs
  • A way to encrypt data during World War II
  • A sequence of instructions in a programming language

8. A USB memory stick is an example of which of the following components of computer architecture?
  • Secondary Memory
  • Main Memory
  • Output Device
  • Central Processing Unit
9. What is the best way to think about a “Syntax Error” while programming?
  • The computer is overheating and just wants you to stop to let it cool down
  • The computer needs to have its software upgraded
  • The computer has used GPS to find your location and hates everyone from your town
  • The computer did not understand the statement that you entered

10. Which of the following is not one of the programming patterns covered in Chapter 1?
  • Repeated Steps
  • Conditional Steps
  • Sequential Steps
  • Random steps
 These above questions are from “Programming for Everybody (Getting Started with Python)” You can discover all the refreshed questions and answers related to this on the “Programming for Everybody (Getting Started with Python) By Coursera” page. If you find the updated questions or answers, do comment on this page and let us know. We will update the answers as soon as possible.

Do Not Only Use These Quizzes For Getting Certificates.You Can Take Help From These Quizzes Answer. All Quizzes & Contents Are Free Of Charge. ✅

If You Want Any Quiz Answers Then Please Contact Us

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *