C949 WGU - PYTHON SECTION -
EXAMS WITH CORRECT SOLUTIONS
/GUARANTEED PASS
1. Python interpreter - ANSWER-is a computer program that
executes code written in the Python programming language
2. interactive interpreter - ANSWER-is a program that allows the
user to execute one line of code at a time.
3. Is Python case sensitive? - ANSWER-Yes. Python is a case
sensitive language.
4. Phython Comments symbol - ANSWER-# this is a comment
5. print() - ANSWER-function displays variables or expression
values.
6. print('Hello there')
7. end=' ' inside of print() - ANSWER-keep the output of a
subsequent print statement on the same line separated by a
single space
8. input() - ANSWER-will read text entered by the user
9. int() function - ANSWER-can be used to convert that string to
the integer 123
, 10. 3 defining Properties of Python objects - ANSWER-Value
11. Type
12. Identity
13. Mutability - ANSWER-indicates whether the object's
value is allowed to be changed.
14. id() - ANSWER-gives the value of an object's identity.
15. floating-point number
16. and
17. floating-point literal - ANSWER-real number, like 98.6
18. and
19. fractional part even if that fraction is 0, as in 1.0
20. scientific notation - ANSWER-1.0e-3.
21. The "e" stands for exponent
22. Overflow occurs when.... - ANSWER-a value is too large
to be stored in the memory
23. ** is - ANSWER-exponent operator is **, as in x ** y
24. module - ANSWER-a file containing Python code
25. string concatenation - ANSWER-"New" + "York"
EXAMS WITH CORRECT SOLUTIONS
/GUARANTEED PASS
1. Python interpreter - ANSWER-is a computer program that
executes code written in the Python programming language
2. interactive interpreter - ANSWER-is a program that allows the
user to execute one line of code at a time.
3. Is Python case sensitive? - ANSWER-Yes. Python is a case
sensitive language.
4. Phython Comments symbol - ANSWER-# this is a comment
5. print() - ANSWER-function displays variables or expression
values.
6. print('Hello there')
7. end=' ' inside of print() - ANSWER-keep the output of a
subsequent print statement on the same line separated by a
single space
8. input() - ANSWER-will read text entered by the user
9. int() function - ANSWER-can be used to convert that string to
the integer 123
, 10. 3 defining Properties of Python objects - ANSWER-Value
11. Type
12. Identity
13. Mutability - ANSWER-indicates whether the object's
value is allowed to be changed.
14. id() - ANSWER-gives the value of an object's identity.
15. floating-point number
16. and
17. floating-point literal - ANSWER-real number, like 98.6
18. and
19. fractional part even if that fraction is 0, as in 1.0
20. scientific notation - ANSWER-1.0e-3.
21. The "e" stands for exponent
22. Overflow occurs when.... - ANSWER-a value is too large
to be stored in the memory
23. ** is - ANSWER-exponent operator is **, as in x ** y
24. module - ANSWER-a file containing Python code
25. string concatenation - ANSWER-"New" + "York"