ENAE 380 — Fall 2025 Midterm 1 Review

0.0(0)
Studied 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

A set of vocabulary flashcards covering key concepts from ENAE 380 Fall 2025 Midterm 1, including Python syntax, Boolean logic gates, number systems, object-oriented concepts, sorting algorithms, and binary arithmetic representations.

Last updated 2:31 PM on 10/17/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

27 Terms

1
New cards

variable_1

A valid variable name in Python that conforms to naming rules by using alphanumeric characters and underscores without starting with a digit or containing hyphens and spaces.

2
New cards

def

The reserved keyword used to define a function in Python.

3
New cards

Class

A programming construct in Python that is not considered a core built-in data type, unlike lists, dictionaries, and tuples.

4
New cards

String Repetition Operator

The multiplication operator (*) used with a string and an integer, such as "Hello" * 3, producing "HelloHelloHello".

5
New cards

Tuple

An immutable Python core sequence data type created using parentheses, such as (1, 2, 3).

6
New cards

==

The relational comparison operator used to check value equality in Python.

7
New cards

lower()

The built-in Python string method used to return a copy of a string converted into lowercase characters.

8
New cards

input()

A built-in Python function that accepts user input and always returns it as a string (str) data type.

9
New cards

complex

The Python numerical data type assigned to values that include a real component and an imaginary component denoted with a j, such as 2+3j2 + 3j.

10
New cards

dict

The core built-in Python collection type used to represent associative mappings of key-value pairs.

11
New cards

2-input XOR Gate

A digital logic gate that outputs 00 when both of its inputs are set to 11.

12
New cards

A or not A

A Boolean logic expression that always evaluates to True regardless of the Boolean value of A.

13
New cards

2-input NOR Gate

A digital logic gate that produces an output of 00 when one input is 11 and the other input is 00.

14
New cards

hex()

A built-in Python function that converts an integer to a lowercase hexadecimal string; for example, evaluating the expression for 255255 yields 0xFF.

15
New cards

Hexadecimal Digit B

A base-16 numeral equivalent to decimal 1111, with a 4-bit binary representation of 1011.

16
New cards

0xAB + 0x5

A hexadecimal addition operation evaluating to the sum 0xB0.

17
New cards

0x100 - 0x1

A hexadecimal subtraction operation evaluating to the difference 0xFF.

18
New cards

self

The parameter conventionally used as the first argument in an instance method within a Python class to reference the instance itself.

19
New cards

Private Attribute Notation (Python)

The convention of starting an attribute or method name with two underscores (e.g., __attribute) to designate it as private.

20
New cards

Merge Sort Worst-Case Time Complexity

The upper-bound computational performance for Merge Sort, given as O(n×log(n))O(n \times \text{log}(n)).

21
New cards

Bubble Sort Best-Case Time Complexity

The optimal performance for Bubble Sort when an array is already sorted, given as O(n)O(n).

22
New cards

Insertion Sort

An algorithm that builds the final sorted array one item at a time by inserting the current element into its correct position within the sorted portion.

23
New cards

Two's Complement

A signed integer representation method that simplifies addition and subtraction by utilizing the same circuitry for both operations and treating the sign bit like any other bit.

24
New cards

Sign-Magnitude Format

A signed binary representation system where the most significant bit designates the sign while the remaining bits designate the absolute magnitude.

25
New cards

Difference Between Two's Complement and Sign-Magnitude (10110101)

An arithmetic evaluation of the 8-bit binary string 10110101 yielding an absolute difference of 2222 between its two's complement value (−75-75) and its sign-magnitude value (−53-53).

26
New cards

8-bit Floating-Point (00101011)

A floating-point representation with a 1-bit sign, 3-bit exponent, and 4-bit mantissa that evaluates to the decimal value 0.843750.84375.

27
New cards

8-bit Floating-Point (11101000)

A floating-point representation with a negative sign bit that evaluates to the decimal value -12.0\text{-}12.0.