Component 1.4: Data Types, Data Structures and Algorithms

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

1/45

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.

46 Terms

1
New cards

AND (∧)

A logical operator that returns TRUE only if all inputs are TRUE

2
New cards

ASCII

A character set used to represent alphanumeric characters and symbols as a set of 8 bits

3
New cards

Binary

A number system that uses ones and zeros to represent numbers (base 2 system)

4
New cards

Bitwise Manipulation

Operations performed on a set of bits

5
New cards

Boolean

A data type that can only store one of two possible values: 1 or 0, TRUE or FALSE

6
New cards

Character

A data type for storing a letter, number, or special character

7
New cards

Denary

A number system that uses 10 characters (0 to 9) to represent numbers (base 10 system)

8
New cards

Floating Point Arithmetic

Performing arithmetic operations on floating point numbers in binary representation

9
New cards

Hexadecimal

A number system that uses 16 characters (0 to 9 and A to F) to represent numbers (base 16 system)

10
New cards

Integer

A data type for storing whole number values (positive or negative) without decimal parts

11
New cards

OR (∨)

A logical operator that returns TRUE if any one of the inputs is TRUE

12
New cards

Primitive Data Type

A basic built-in data type provided by a programming language

13
New cards

Real/Floating Point

A data type for storing numbers with decimal or fractional parts

14
New cards

Shifts

A bitwise manipulation where a set of bits is moved by one place in a given direction

15
New cards

String

A data type for storing a sequence of alphanumeric characters or symbols

16
New cards

Two's Complement

A method of storing negative numbers in binary by flipping all the bits of the positive number and adding 1

17
New cards

UNICODE

A character set used to represent alphanumeric characters or symbols as an integer code point

18
New cards

XOR

A logical operator that returns TRUE if exactly 1 of the inputs is TRUE

19
New cards

Arrays

A data structure for storing a finite, ordered set of data of the same data type within a single identifier

20
New cards

Binary Search Tree

A tree where each node has at most 2 children, with the right node and its descendants having greater values than the root node

21
New cards

Breadth First Traversal

A method of traversing an entire graph by visiting all the neighbors of the first node before repeating the same with each neighbor

22
New cards

Depth First Traversal

A method of traversing an entire graph by traveling as far as possible along one route before backtracking and trying alternative unexplored routes

23
New cards

Directed Graphs

A graph where the order of the vertices paired in an edge matters and the edges are one way

24
New cards

Graphs

A data structure consisting of a set of vertices/nodes connected by a set of edges/arcs

25
New cards

Hash Table

A data structure where a hashing algorithm calculates a value to determine where a data item is to be stored

26
New cards

Linked Lists

A data structure that stores an ordered sequence of data where each item is stored with a pointer to the next item

27
New cards

Lists

A data structure that stores a sequence of data values, each with a unique index

28
New cards

Queues

A first-in-first-out (FIFO) data structure

29
New cards

Records

A data structure that stores data in elements called fields, organized based on attributes

30
New cards

Stacks

A last-in-first-out (LIFO) data structure

31
New cards

Trees

A data structure that uses a set of linked nodes to form a hierarchical structure starting at a root node

32
New cards

Tuples

A data structure for storing an immutable, ordered set of data of different data types within a single identifier

33
New cards

Undirected Graphs

A graph where the order of the vertices paired in an edge does not matter and the edges are bidirectional

34
New cards

Association Laws

A set of logical laws: A ∧ (B∧C) = (A∧B) ∧ C, A ∨ (B∨C) = (A∨B) ∨ C

35
New cards

Boolean Expressions

Combinations of boolean variables and logical operators that evaluate to either TRUE or FALSE

36
New cards

Boolean Logic

A type of algebra with logical operators where all values and expressions ultimately reduce to TRUE or FALSE

37
New cards

Commutation Laws

A set of logical laws: A∧B = B∧A, A∨B = B∨A

38
New cards

De Morgan's First Law

A logical law: ¬(A∨B) = ¬A ∧ ¬B

39
New cards

De Morgan's Second Law

A logical law: ¬(A∧B) = ¬A ∨ ¬B

40
New cards

Distribution Laws

A set of logical laws: A∧(B∨C) = (A∧B) ∨ (A∧C), (A∨B) ∧ (C∨D) = (A∧C) ∨ (A∧D) ∨ (B∧C) ∨ (B∧D)

41
New cards

Double Negation Law

A logical law: A = ¬¬A

42
New cards

D-Type Flip Flops

Sequential logic circuits used to store a single bit with two stable states

43
New cards

Full Adders

Combination circuits that add two input bits and a carry bit to produce sum and carry output bits

44
New cards

Half Adders

Combinational arithmetic circuits that add two numbers and produce a sum bit and carry bit as output

45
New cards

Karnaugh Maps

A method of simplifying boolean expressions by redrawing the truth table and applying visual rules to obtain minimal logical operators

46
New cards

Logic Gate Diagrams

Graphical representations of boolean expressions using standard symbols for logic gates