comp sci

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

1/41

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

42 Terms

1
New cards

method

A predefined set of instructions that can be used to accomplish a task. It is available on a specific object.

2
New cards

Execute

To run a program or a single instruction.

3
New cards

Input

Data that is given to an algorithm during execution that can affect the results of the algorithm.

4
New cards

Code (Program) Statement

A part of a program code that expresses an action to be carried out.

5
New cards

Output

Data or actions produced by an algorithm, including any data sent from a program to a device.

6
New cards

Program Input

Data sent to a computer for processing by a program.

7
New cards

Runtime

The duration of time a program is executing, from start to finish.

8
New cards

Python Terminal

The window that displays textual output generated by a Python program.

9
New cards

Variable

A reference to a memory location that stores some value during the execution of a program.

10
New cards

Assignment Operator

Assigns a value to a variable. In Python, the symbol is =.

11
New cards

Expression

An expression is any word or group of words or symbols that after execution becomes a value.

12
New cards

Data Type

The kind of data being represented, such as a sequence of characters, an integer, or a true or false value, usually limiting the values allowed for the data.

13
New cards

Substring

A subset of characters within a string.

14
New cards

Object Oriented

A programming paradigm in which code defines classes with methods, including a method for creating an object in the class.

15
New cards

Code Segment

A collection of program statements that is part of a program.

16
New cards

Iteration

A repeating portion of an algorithm.

17
New cards

Modulo Operator

Calculates the remainder of division. In Python, the symbol is %.

18
New cards

Relational Operators

Used to test the relationship between two variables, expressions, or values.

19
New cards

Boolean Expression

An expression with relational operators that evaluates to either true or false.

20
New cards

Conditional Expression

A comparison, usually in a while or if statement, that evaluates to a Boolean value of true or false.

21
New cards

Arithmetic Operator

A symbol in code that tells a computer to perform a specific math operation, such as addition, subtraction, multiplication, or division.

22
New cards

Decidable Problem

A problem for which an algorithm can be written to produce correct output for all inputs.

23
New cards

Undecidable Problem

A problem for which no algorithm can be constructed that is capable of always providing a correct Yes-or-No answer.

24
New cards

Function

A block of code which only runs when it is called.

25
New cards

Parameter(s)

Piece(s) of information that you can give to functions when you call them.

26
New cards

Default Parameter

The value of a parameter if a value was not provided.

27
New cards

Return Statement

A special statement inside a function or method used to send the function's result back to the caller.

28
New cards

Return Value

The value that a function returns to the caller.

29
New cards

Namespace

The collection of names that exist at a certain point in your code.

30
New cards

Scope

A variable's scope refers to where the variable exists within a program.

31
New cards

"Out of Scope"

When a variable doesn't exist at a certain place (such as a different namespace).

32
New cards

Built-in Namespace

Contains all the names that come along with Python (such as the print function).

33
New cards

Global Namespace

The namespace that contains all of the global names in a module.

34
New cards

Local Namespace

The namespace that belongs to a function.

35
New cards

Argument(s)

The value of the parameter(s) given when the function is called.

36
New cards

File Extension

The abbreviation that comes after the period in a file name and identifies what the file contains, what programs can open it, and how to display the file.

37
New cards

Zip File

A file that is stored in a compressed format, often containing multiple files.

38
New cards

Compressed File

A file that is stored in a format that makes the file size smaller to save space on the computer.

39
New cards

Property

Characteristic of an object.

40
New cards

Module

A Python file.

41
New cards

Increment

To increase a value by 1 or another specified amount.

42
New cards

Object

An object is an instance of a class.