[ AEEP2301 ] Module 1 - Introduction to Python and Computer Programming

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/19

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 7:44 PM on 9/1/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

20 Terms

1
New cards

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

2
New cards

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

3
New cards

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

4
New cards

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

5
New cards

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

6
New cards

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

7
New cards

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

8
New cards

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

9
New cards

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!"

10
New cards

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

11
New cards

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

12
New cards

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

13
New cards

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

14
New cards

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

15
New cards

A

Python is an example of:

A. a high-level programming language

B. a natural language

C. a machine language

16
New cards

A

A complete set of known commands is called:

A. an instruction list

B. a low-level list

C. a machine list

17
New cards

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

18
New cards

B

What python version is covered in this course?

A. python 1

B. python 3

C. python 2

19
New cards

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

20
New cards

B

What is an example of a Python file extension?

A. pi

B. py

C. p