What is IDE?
Integrated Development Environment
Is python compiled or interpreted?
Interpreted
Print("15" * 5). What will the output of this code be?
The number 15, 5 times
The ___ is a set of words the language offers its users.
Lexis
What is required for a language to work? (State all that apply)
An Alphabet, Lexis, Syntax, or Semantics
Created by Guido Van Rossum, what was Pythons named inspired by?
Monty Python's Flying Circus
Dividing numbers in python will always result in a float. True/False
True
Which of these statements about python is true?
A. Machine language using binary digits. B. Python uses multiple high-level programming languages. C. Python is a medium level programming language, using hexadecimals. D. Python is a high level programming language consisting of instruction lists.
B. Python is not backwards compatable with python 3
What would the output of this code be?
number = 22 number = str(number) print(number + "8")
"228"
Python 3 has many different sub coding sources, but which one(s) are in C langauge?
CPython and Cython
Python is a _______ Language?
Interpreted
Python is a ___ level programming language?
A high programming language
Write a call to a function called "ask_question" in a library called "test", with the argument "How are you?"
test.ask_question("How are you?')
What is the output from the following code? print("Hello!")
Hello!
True or False: The PyPy and Jython Programing languages both convert python 2 to Java
False
A _____ is a file containing the original, high-level code?
Source (File)
The default implementation of Pythons' programming language is?
Cython
What is an example of a properly formatted variable name in Python?
A: ProperlyFormatted B: properly_formatted C: properly Formatted D: properly-formatted
B
Is interpretation faster than Compilation?
No. Compilation is faster than interpretation.
What are some characteristics of a compiler?
(Select All That Apply)
A: Compiled languages are faster than interpereted languages B: Code is translated into machine code by the compiler to be read directly by the computer C: Both the consumer and the coder must have the compiler to execute the code D: Compilation is slower than interperetation
A&B
______ is the progarm that executes written comands in a programming language?
Compiler
A ___ lets you run each step of the program, allowing you to analyze each execution of the code.
A debugger
Which statements below are true?
Python 3 is backwards compatible with Python 2 Python is free, open source, and multiplatform Python is good for low-level programming Python is a good choice for creating and executing tests for apps
Python is free, open source, and multiplatform Python is a good choice for creating and executing tests for apps
What change can be made to this code? :
number = int(input("Enter a number: "))
double = number * 2
print(double)
Getting rid of the 'double' variable and incrementation to double the number.
Python is most like what programming language(s)? Select all that apply:
Ruby, C, Pearl, HTML, Java
Ruby and Pearl