1/19
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
C
What is true about compilation?
A. Both you and user must have the compiler to run your code
B. The code is not converted directly into machine code executable by the processor
C. It tends to be faster than interpretation
D. It tends to be slower than interpretation
B
What is true about compilation?
A. Both you and user must have the compiler to run your code
B. The code is converted directly into machine code executable by the processor
C. It tends to be slower than interpretation
D. Interpretation is faster than compilation
C
What is CPython?
A. It’s the default, reference implementation of the C language, written in Python
B. It’s a programming language that is a superset of the Python, designed to produce C-like performance with code written in Python
C. It’s the default, reference implementation of Python, written in the C language
D. It’s a programming that is a superset of the C language, designed to produce Python-like performance with code written in C
B
What are the four fundamental elements that make a language?
A. An alphabet, morphology, phonetics, and semantics
B. An alphabet, a lexis, a syntax, and semantics
C. An alphabet, a lexis, phonetics, and semantics
D. An alphabet, phonetics, phonology, and semantics
D
What do you call a file containing a program written in a high-level programming language?
A. A machine file
B. A code file
C. A target file
D. A source file
B
What do you call a command-line interpreter which lets you interact with your OS and execute Python commands and scripts?
A. An editor
B. A console
C. A compiler
D. Jython
C
What is the expected behavior of the following program?
print("Hello!")
A. The program will output ("Hello!") to the screen
B. The program will generate an error message on the screen
C. The program will output Hello! to the screen
D. The program will output "Hello!" to the screen
C
What is the best definition of a script?
A. It’s an error message generated by the interpreter
B. It’s an error message generated by the compiler
C. It’s a text file that contains which make up a Python program
D. It’s a text file that contains sequences of zeroes and ones
B
What is the expected behavior of the following program?
prin("Goodbye!")
A. The program will output Goodbye! to the screen
B. The program will generate an error message on the screen
C. The program will output("Goodbye!")
D. The program will output "Goodbye!"
C
What is machine code?
A. A high-level programming language consisting of instruction lists that humans can read and understand
B. A medium-level programming language consisting of the assembly code designed for the computer processor
C. A low-level programming language consisting of binary digits/bits that the computer reads and understands
D. A low-level programming language consisting of hexadecimal digits that make up high-level language instructions
A
Select the true statements. (Select two answers)
A. Python is a good choice for creating and executing tests for applications
B. Python 3 is backwards compatible with Python 2
C. Python is a good choice for low-level programming e.g., when you want to implement an effective driver
C
Select the true statements. (Select two answers)
A. Python 3 is backwards compatible with Python 2
B. Python is a good choice for low-level programming e.g., when you want to implement an effective driver
C. Python is free, open-source, and multiplatform
B
What do you call a tool that lets you launch your code step by step and inspect it at each moment of execution?
A. a console
B. a debugger
C. an editor
A
What is IDLE?
A. it's an acronym that stands for Integrated Development and Learning Environment for Python
B. it's a python version
C. it's an acronym that stands for Interactive Development and Learning Extension
A
Python is an example of:
A. a high-level programming language
B. a natural language
C. a machine language
A
A complete set of known commands is called:
A. an instruction list
B. a low-level list
C. a machine list
C
What do you call a computer program which directly executes instructions written in a programming language?
A. a translator
B. a compiler
C. an interpreter
B
What python version is covered in this course?
A. python 1
B. python 3
C. python 2
C
How did Python, the programming language, get its name?
A. Guido van Rossum named it after the Pythonidae - a family of large, nonvenomous snakes
B. Guido van Rossum named it to honor Python of Catana, a dramatic poet of the time of Alexander the Great
C. Guido van Rossum named it to honor Monty Python's Flying Circus, a BBC comedy series popular in 1970s
B
What is an example of a Python file extension?
A. pi
B. py
C. p