CC3 MIDTERM REVIEWER

0.0(0)
studied byStudied by 1 person
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/27

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.

28 Terms

1
New cards

Selection Structure

Provides a choice between two alternatives

2
New cards

single alternative selection structure

is a type of decision-making control structure in programming.

3
New cards

Iteration

Most useful and powerful structure and Allows the repetition of instructions or statements in the loop body

4
New cards

for loop

is generally used for traversing and manipulating arrays

5
New cards

while loop

Loops that are dependent on a sentinel value (or indicator) are better coded using a ________

6
New cards

accumulator

is a variable that “sums up” or accumulates values

7
New cards

sentinel value

It is a special type of value that allows a different number of inputs by the user each time.

8
New cards

Break Statement

Force immediate termination of a loop, bypassing the conditional expression and any remaining code in the body of the loop.

9
New cards

else keyword

The ________ in a for loop specifies a block of code to be executed when the loop is finished:

10
New cards

continue statement

cause control to be transferred directly to the conditional expression that controls the loop.

11
New cards

pass statement

is a null operation; nothing happens when it executes.

12
New cards

Exceptions

Events or errors that disrupt the normal flow of execution of a program. 

13
New cards

Checked Exception 

they are subject to the Catch or Specify Requirement. Otherwise, the program code will not compile, are errors that the program can deal with. 

14
New cards


Errors

are generally beyond the control of the program.

15
New cards

Runtime Exception

are not subject to the Catch or Specify Requirement and are, also, unchecked exceptions. These exceptions are the result of programming flaws

16
New cards

try and except block

is used to catch and handle exceptions. Python executes code following the try statement as a “normal” part of the program.

17
New cards

try block

lets you test a block of code for errors. 

18
New cards

Except block

will be executed if the try block raises an error. 

19
New cards


finally block

if specified, will be executed regardless if the try block raises an error or not. 

20
New cards

Raised Keyword 

Use to execute an exception depending on the condition 

21
New cards

Matlab

is not considered a real programming language

22
New cards

SciPy

Numerical integration and optimization.

23
New cards

NumPy

Provides N-dimensional array objects, linear algebra, Fourier transforms.

24
New cards

Jupyter

Changes how programming is done in Python.

25
New cards

Requests library:

Simplifies HTTP operations, supports verbs like GET, POST, PUT, DELETE.

26
New cards

MACHINE LEARNING

Effective and adaptive tool to learn from experience and it originates from Computer Science and Statistics.

27
New cards

Scikit-Learn

Well-known Machine Learning tool built on top of other
Python scientific tools like NumPy, SciPy, and Matplotlib

28
New cards

OBJECT RELATIONAL MAPPING (ORM)

Connects object-oriented programming to relational databases.