0% found this document useful (0 votes)
835 views3 pages

Programming For Everybody (Getting Started With Python) - Home - Coursera - 2 PDF

The document summarizes a quiz on Chapter 2 of the Coursera course "Programming for Everybody (Getting Started with Python)". It shows that the user passed the 10 question quiz with a score of 100%. The quiz covered topics like Python comments, variables, operators, and functions.

Uploaded by

DeezNuts
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
835 views3 pages

Programming For Everybody (Getting Started With Python) - Home - Coursera - 2 PDF

The document summarizes a quiz on Chapter 2 of the Coursera course "Programming for Everybody (Getting Started with Python)". It shows that the user passed the 10 question quiz with a score of 100%. The quiz covered topics like Python comments, variables, operators, and functions.

Uploaded by

DeezNuts
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 3

03/05/2019 Programming for Everybody (Getting Started with Python) - Home | Coursera

Chapter 2 10/10 points (100%)


Quiz, 10 questions

Congratulations! You passed! Next Item

1/1
 point

1. 
Which of the following is a comment in Python?

1/1
 point

2. 
In the following code,

1 x = 42

What is "x"?

1/1
 point

3. 
Which of the following variables is the "most mnemonic"?

1/1
 point

4. 
Which of the following is not a Python reserved word?

1/1
 point

5. 
https://www.coursera.org/learn/python/exam/TlsQ7/chapter-2 1/3
03/05/2019 Programming for Everybody (Getting Started with Python) - Home | Coursera

Assume the variable x has been initialized to an integer value (e.g., x = 3). What does the following
Chapter 2 do?
statement
10/10 points (100%)
Quiz, 10 questions
1 x = x + 2

1/1
 point

6. 
Which of the following elements of a mathematical expression in Python is evaluated rst?

1/1
 point

7. 
What is the value of the following expression

1 42 % 10

Hint - the "%" is the remainder operator

1/1
 point

8. 
What will be the value of x after the following statement executes:

1 x = 1 + 2 * 3 - 8 / 4

1/1
 point

9. 
What will be the value of x when the following statement is executed:

1 x = int(98.6)

https://www.coursera.org/learn/python/exam/TlsQ7/chapter-2 2/3
03/05/2019 Programming for Everybody (Getting Started with Python) - Home | Coursera

1/1

Chapter 2
Quiz, 10 questions
point 10/10 points (100%)

10. 
What does the Python input() function do?

https://www.coursera.org/learn/python/exam/TlsQ7/chapter-2 3/3

You might also like