Quiz 1
Quiz 2
Test 1
Test 2
PCEP
100

What is IDE?

Integrated Development Environment

100

Is python compiled or interpreted? 

Interpreted

100

Print("15" * 5). What will the output of this code be?

The number 15, 5 times

100

The ___ is a set of words the language offers its users.

Lexis

100

What is required for a language to work? (State all that apply)

An Alphabet, Lexis, Syntax, or Semantics

200

Created by Guido Van Rossum, what was Pythons named inspired by?

Monty Python's Flying Circus

200

Dividing numbers in python will always result in a float. True/False

True

200

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

200

What would the output of this code be?

 number = 22 number = str(number) print(number + "8")

"228"

200

Python 3 has many different sub coding sources, but which one(s) are in C langauge?

CPython and Cython

300

Python is a _______ Language?

Interpreted

300

Python is a ___ level programming language?

A high programming language

300

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?')

300

What is the output from the following code? print("Hello!")

Hello!

300

True or False: The PyPy and Jython Programing languages both convert python 2 to Java

False

400

A _____ is a file containing the original, high-level code?

Source (File)

400

The default implementation of Pythons' programming language is?

Cython

400

What is an example of a properly formatted variable name in Python? 

A: ProperlyFormatted B: properly_formatted C: properly Formatted D: properly-formatted

B

400

Is interpretation faster than Compilation?

No. Compilation is faster than interpretation.

400

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

500

______ is the progarm that executes written comands in a programming language?

Compiler

500

A ___ lets you run each step of the program, allowing you to analyze each execution of the code.

A debugger

500

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

500

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. 

500

Python is most like what programming language(s)? Select all that apply: 

Ruby, C, Pearl, HTML, Java

Ruby and Pearl