Phone

+919997782184

Email

support@roboticswithpython.com

Geeks of Coding

Join us on Telegram

Home Forums Assignment courserra Python for Everybody – Specialization Programming for Everybody (Getting started with Python) Week 3 Chapter 1, Programming for Everybody (Getting started with Python)

Viewing 0 reply threads
  • Author
    Posts
    • #857
      Abhishek TyagiAbhishek Tyagi
      Keymaster

      1. When Python is running in the interactive mode and displaying the chevron prompt (>>>) – what question is Python asking you?

        Answer-

      What Python statement would you like me to run?

      2. What will the following program print out:

       x = 15
       x = x + 5
       print(x)
        Answer-

      20

      3. Python scripts (files) have names that end with:

        Answer-

      .py

      4. Which of these words are reserved words in Python?

        Answer-
      — break
      — if

      5. What is the proper way to say “good-bye” to Python?

        Answer-

      quit()

      6.Which of the parts of a computer actually executes the program instructions?

        Answer-

      Central Processing Unit

      7. What is “code” in the context of this course?

        Answer-

      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?

        Answer-

      Secondary Memory

      9. What is the best way to think about a “Syntax Error” while programming?

        Answer-

      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?

        Answer-

      Random steps

Viewing 0 reply threads
  • You must be logged in to reply to this topic.