1/18
A compilation of key vocabulary terms and definitions from the course 'Computer Programming for Engineers', covering topics such as I/O operations, operators, NumPy library, loop structures, file operations, and exception handling.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
Input and Output (I/O) operations
Operations that manage the input and display of data in Python, using functions like input() for input and print() for output.
Arithmetic Operators
Operators used to perform mathematical calculations, including +, -, *, /, %, **.
Bitwise Operators
Operators that perform operations on binary representations of integers, including &, |, ^, ~, <
Comparison Operators
Operators that compare values to return Boolean results, including ==, !=,
Logical Operators
Operators that combine Boolean expressions, including and, or, not.
Assignment Operators
Operators used to assign values to variables, including =, +=, -=, *=, /=
NumPy
A fundamental library for scientific computing in Python providing support for large, multi-dimensional arrays and matrices.
numpy.array()
Creates a NumPy array from an iterable, such as a list or tuple.
numpy.arange()
Generates evenly spaced values within a specified range, returning a NumPy array.
numpy.zeros()
Creates a NumPy array filled with zeros.
numpy.ones()
Creates a NumPy array filled with ones.
Functions and Structures
Concepts involving defining functions, using parameters, and understanding variable scope in programming.
if…elif…else statement
Control flow statement used to execute different branches of code based on conditions.
for loop
Loop used to iterate over a sequence or iterable object in Python.
while loop
A control flow statement that repeats a block of code as long as a specified condition is true.
Break Statement
A statement used to terminate a loop prematurely.
Continue Statement
A statement that skips the current iteration of a loop and proceeds to the next iteration.
File Operations
Procedures used to read from or write to files, involving opening, manipulating, and closing files.
Exception Handling
Mechanism for catching and responding to runtime errors in Python using try, except, and finally.