Last Updated on October 5, 2021 by Admin
Python Essentials 1: BASICS _ PE1 — Module 1 Test Exam Answers: Python 2.0 _ 2021 2022
Python Essentials 1: BASICS | |
Answers | Online Test |
Module 1 Test | Online |
Module 2 Test | Online |
Module 3 Test | Online |
Module 4 Test | Online |
Part 1 Summary Test | Online |
Python Essentials 2: INTERMEDIATE | |
Answers | Online Test |
Module 1 Test | Online |
Module 2 Test | Online |
Module 3 Test | Online |
Module 4 Test | Online |
Part 2 Summary Test | Online |
Final Test | Online |
-
What is CPython?
- It’s a programming language that is a superset of the C language, designed to produce Python-like performance with code written in C
- It’s a programming language that is a superset of Python, designed to produce C-like performance with code written in Python
- it’s the default, reference implementation of Python, written in the C language
- It’s the default reference implementation of the C language, written in Python
-
What is the expected behavior of the following program?
print ("Hello!")
- The program will output (“Hello!”) to the screen
- The program will output Hello! to the screen
- The program will output “Hello!” to the screen
- The program will generate an error message on the screen
-
What is true about compilation? (Select two answers)
- It tends to be slower than interpretation
- The code is converted directly into machine code executable by the processor
- Both you and the end user must have the compiler to run your code
- It tends to be faster than interpretation
-
What do you call a file containing a program written in a high-level programming language?
- A source file
- A machine file
- A code file
- A target file
-
What is machine code?
- A low-level programming language consisting of binary digits/bits that the computer reads and understands
- A high-level programming language consisting of instruction lists that human can read and understands
- A medium-level programming language consisting of the assembly code designed for the computer processor
- A low-level programming language consisting of hexadecimal digits that make up high-level language instructions
-
What is the best definition of a script?
- It’s a text file that contains instructions which make up a Python program
- It’s an error message generated by the interpreter
- It’s an error message generated by the compiler
- It’s a text file that contains sequences of zeroes and ones
-
What do you call a command-line interpreter which lets you interact with your OS and execute Python commands and scripts?
- A console
- A compiler
- An editor
- Jython
-
Select the true statements? (Select two answers)
- Python 3 is backwards compatible with Python 2
- Python is a good choice for creating and executing tests for applications
- Python is free, open-source, and multiplatform
- Python is a good choice for low-level programming, e.g., when you want to implement an effective driver
-
What is the expected behavior of the following program?
Prin("Goodbye!")
- The program will output (“Goodby!”)
- The program will output Goodbye! to the screen
- The program will generate an error message on the screen
- The program will output “Goodbye!”
-
What are the four fundamental elements that make a language?
- An alphabet a lexis, phonetics, and semantics
- An alphabet, a lexis, a syntax, and semantics
- An alphabet, morphology, phonetics, and semantics
- An alphabet phonetics phonology and semantics
Python Essentials 1: BASICS | |
Answers | Online Test |
Module 1 Test | Online |
Module 2 Test | Online |
Module 3 Test | Online |
Module 4 Test | Online |
Part 1 Summary Test | Online |
Python Essentials 2: INTERMEDIATE | |
Answers | Online Test |
Module 1 Test | Online |
Module 2 Test | Online |
Module 3 Test | Online |
Module 4 Test | Online |
Part 2 Summary Test | Online |
Final Test | Online |