Python ultimate reviewer

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

1/26

flashcard set

Earn XP

Description and Tags

adding terms to this when starting a new session.

Last updated 5:11 PM on 1/14/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

27 Terms

1
New cards

What is a program?

makes a dependent computer machine usable

2
New cards

What is an Instructions List?

a predetermined set of known commands

3
New cards

what are the 4 components of a language?

Alphabet, Lexis, Syntax, and Semantics?

4
New cards

What is the “alphabet” component supposed to mean?

symbols to build words

5
New cards

What is the “lexis” component supposed to mean?

set of words the language offers

6
New cards

What is the “syntax” component supposed to mean?

set of rules determining the validity of a sentence

7
New cards

What is the “semantics” component supposed to mean?

set of rules that determines if a phrase makes sense

8
New cards

what is a high level programming language?

language that can be understood by both humans and computers

9
New cards

What is “source code”?

program written in high programming language

10
New cards

what is “source file”?

file containing the source code

11
New cards

what is “low level programming language”?

language that directly instructs the computer; often used for designing computer systems

12
New cards
13
New cards

what is “compilation”?

Uses a compiler or a translator
The source program is translated once by getting a file containing the machine code.

Each modification must be translated and processed.

Can be distributed worldwide

14
New cards

what is “interpretation”?

Uses an interpreter

“read-check-execute” process

Translates the source program each time it has to be run

Program built using interpreters need its end user to have an interpreter to use it

Slower than compilation

15
New cards

what is a “bytecode”?

a low-level set of instructions that is portable across different platforms

16
New cards

what is “parsing”?

A technique used to analyze and interpret the syntax of a text or program to extract relevant information.

17
New cards

what are “scripts”?

source programs encoded using scripting language

18
New cards

What is “Python”?

a scripting language that is designed to be utilized in the interpretation manner

Requires a Python interpreter

19
New cards

what is the standard Python application that comes with its installation?

Integrated

Development &

Learning

Environment

20
New cards

what is the common Python file extension?

.py

21
New cards

what are functions?

actions the language already knows how to perform. It causes some effects or evaluates the value and return it as a function’s result.

Accepts arguments

Demands the presence of a “()” parentheses

22
New cards

whats is “function invocation”?

the act of executing a defined function

23
New cards

what are arguments?

value that are sent to the function when it is called

24
New cards

different types of arguments

positional arguments

keyword arguments

25
New cards

what are positional arguments?

values passed into a function during a function call that are assigned to parameters based solely on their position or order in the argument list. The order of the arguments must match the order of the parameters defined in the function signature.

<p>values passed into a function during a function call that are <mark data-color="yellow" style="background-color: yellow; color: inherit;">assigned to parameters </mark><u><mark data-color="yellow" style="background-color: yellow; color: inherit;">based solely on their position</mark></u><mark data-color="yellow" style="background-color: yellow; color: inherit;"> or order in the argument list.</mark> The order of the arguments must match the order of the parameters defined in the function signature. </p>
26
New cards

what are keyword arguments?

consists of a keyword identifying the argument, an equal sign, and a value

27
New cards

what are parameters?

variables listed inside the parentheses in the function definition

Explore top flashcards

Module 9
Updated 705d ago
flashcards Flashcards (56)
Unit 6 + 7 History
Updated 663d ago
flashcards Flashcards (133)
gd (prefi2)
Updated 102d ago
flashcards Flashcards (26)
Unit 5: Kinetics
Updated 68d ago
flashcards Flashcards (21)
Module 9
Updated 705d ago
flashcards Flashcards (56)
Unit 6 + 7 History
Updated 663d ago
flashcards Flashcards (133)
gd (prefi2)
Updated 102d ago
flashcards Flashcards (26)
Unit 5: Kinetics
Updated 68d ago
flashcards Flashcards (21)