Question
1: Select the true statements? (Select two answers) A: Python is a good choice for creating and executing tests for applications B: Python 3 is
1: Select the true statements? (Select two answers)
A: Python is a good choice for creating and executing tests for applications
B: Python 3 is backward compatible with Python 2 Python
C: Python is a good choice for low-level programming, eg. when you want to implement an effective driver
D: Python is free, open-source, and multiplatform
2:What is true about compilation? (Select two answers)
A: It tends to be faster than interpretation
B: The code is converted directly into machine code executable by the processor
C: Both you and the end-user must have the compiler to run your code
D: It tends to be slower than interpretation
3: What is the best definition of a script?
A: It's an error message generated by the compiler
B: It's an error message generated by the interpreter
C: Its a text file that contains sequences of zeroes and ones
D: Its a text file that contains instructions that make up a Python program
4: What is machine code?
A: A low-level programming language consisting of hexadecimal digits that make up high-level language instructions
B: A low-level programming language consisting of binary digits/bits that the computer reads and understands
C: A medium-level programming language consisting of the assembly code designed for the computer processor
D: A high-level programming language consisting of instruction lists that the humans can read and understand
5: 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 compiler
C: A console
D: Jython
6: What is the expected behavior of the following program? prin("Goodbye!)
A: The program will output Goodbye ! to the screen
B: The program will output "Goodbye!"
C: The program will generate an error message on the screen
D: The program will output ("Goodbye !")
7: What is CPython?
A: Its a programming language that is a superset of the C language, designed to produce Python-like performance with code written in C
B: It's the default, reference implementation of Python, written in the C language
C: It's the default, reference implementation of the C language, written in Python
D: It's a programming language that is a superset of Python, designed to produce C-like performance with code written in Python
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started