CSC 549 Final 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/54

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 2:19 AM on 4/30/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

55 Terms

1
New cards

Artificial Intelligence

The ability of a computer to perform tasks commonly associated with intelligent beings

2
New cards

Machine Learning

Study of algorithms that learn from examples and experience instead of hard coded rules. They make predictions on new data

3
New cards

Deep Learning

Subfield of machine learning focusing on learning data representations as successive layers of increasing meaningful representations.

4
New cards

Types of Machine Learning

Supervised Learning: Labeled Data
Unsupervised Learning: Unlabeled
Self-Supervised: Can be inferred or automatically labeled
Reinforcement Learning: Reward based

5
New cards

Generalization

The quality of ML model is measured on new unseen data

6
New cards

Regularization

Any method to prevent overfitting in a model

7
New cards

Neuron

Has either a linear classifier or an activation function to determine when it should produce a result

8
New cards

Neural Network

Collection of Neurons organized by layers
Input Layer
One or more hidden layers
Output layer

9
New cards

Output Activation

Typically ReLU between layers
At output we need to determine the type we want
Multi Label Classification → Sigmoid
Multi Class Classification → Softmax
Regression → Linear

10
New cards

Backpropogation

The algorithm for computing the gradients for gradient descent for a neural network

11
New cards

Dropout

Randomly setting a fraction rate of input units to 0 at each update during training
Prevents overfitting

12
New cards

Flatten

Flattens the input into a vector
Used if the input has multiple dimensions such as image data

13
New cards

Computer Vision

Giving computers the ability to understand visual information

14
New cards

Understanding Images

Take an image and create a boundary window we grab a feature map for. Repeat going through all boundaries

15
New cards

Model Parallelism

Training on multiple GPUs

16
New cards

Training Parallelism

Splitting the training data up and training each set on its own GPU

17
New cards

Locks

Used to secure resources to execute a part of a job
Lock requests starts the critical section and unlock request ends it

18
New cards

Resource Conflict

Two jobs have a resource conflict if they share required resourcesRes

19
New cards

Resource Contention

Two jobs contend for a resource when one job requests a resource that the other job already has

20
New cards

Fairness

An infinite execution is fair to a task if the task is executed repeatedly during this execution
If a task is able to be run, it shouldn’t be starved by the scheduler

21
New cards

Weak Fairness

An infinite execution sequence is fair to a task if repeatedly the task is executed or disabled

22
New cards

Consensus

Each process starts with an initial value known only to itself. Each process must come to a decision that agrees with one another

23
New cards

Leader Election

Elect a unique node as a leader. Every other node follows the leader or is one

24
New cards

Mixed Jobs

Scheduler handling both aperiodic and periodic tasks

25
New cards

Optimal Aperiodic Job Scheduling Algorithm

Minimizes either response time of the aperiodic job at the head of the queue or average response time of all aperiodic jobs

26
New cards

Background Scheduling

Having the aperiodic jobs execute only when there is no periodic job ready to execute

27
New cards

Simple Periodic Server

Tp = (ps, es)
es - Execution budget of the server
us = es / ps - The size of the server
Runs the task until the aperiodic queue us empty or until Tp has executed es time
Cannot be run again until the next period which replenishes the execution budget

28
New cards

Backlogged

Whenever the aperiodic job queue is nonempty or the server is executing a job

29
New cards

Idle

Whenever the server is not backlogged

30
New cards

Eligible

It is backlogged and has an execution budget greater than 0

31
New cards

Consuming

Server consumes the execution budget at the rate of one time unit per unit of execution

32
New cards

Bandwidth Preserving Servers

Scheduler tracks consumption of servers execution budget and suspends the server when the budget is exhausted or the server becomes idle
Replenishes execution budget at the appropriate replenishment times
Only eligible for execution when it is backlogged and execution budget is non zero

33
New cards

Deferrable Servers

The execution budget is consumed at the rate of one time unit per unit of execution
Execution budget is set to es at time instants kps for k>=0
Unused execution cannot be carried over

34
New cards

Total Bandwidth Server (TBS)

Allocate a fixed maximum percentage Us of the processor to server aperiodic jobs

35
New cards

RM vs EDF

RM is rate monotonic so use whichever one has the shortest execution time as priority
EDF is earliest deadline first so use task that is closer to deadline

36
New cards

Constant Bandwidth Server

Slots scheduled servers using EDF nots jobs
Good for tasks with probabilistic resource requirements

37
New cards

Greedy Reclamation of Used Bandwidth

A round robin scheduling that combines EDF + CBS
If a server is inactive another server can use it to expand the utilization

38
New cards

Bandwidth Inheritance

A task inside a critical section inherits the bandwidth for another task. Stealing resources from another server

39
New cards

G-EDF Bound

Us=Qs/Ts<=M
Utilization is the execution / period
Must be less than the number of cores

40
New cards

M-CBS (Multi CBS)

Send highest utilization jobs to specific processors, use EDF for the rest
This is because EDF not great on multiprocessors

41
New cards

Multiprocessor System

Tightly coupled and usually has shared memory

42
New cards

Distributed System

Loosely coupled. Costly to keep global status. One scheduler per processor

43
New cards

Partitioning

Ensuring that each task runs on the same processor. Use uniprocessor algorithms

44
New cards

Degree of Migration

No Migration (Partitioned Scheduling)
Restriction Migration
Full Migration
P, R, F

45
New cards

Priority Schemes

Static → RM
Job Level Dynamic → EDF
Unrestricted Dynamic → LLF
S, J, U

46
New cards

Multiprocessor Priority Ceiling Protocol (MCPC)

Assumes that tasks and resources are statically bound to processors
The host processor is called the synchronization processor for that resource
Use RPC like calls to get access to the resource

47
New cards

Blocking Time

Local Blocking Time: Due to contention for resources on local processor
Local preemption Delay: Due to preemption of a task by global critical sections that belong to remote tasks but execute on the tasks processor
Remote blocking time: Due to contention with some lower priority tasks for remote resources on the synchronization processor
Remote preemption delay: Due to preemptions by higher priority global critical sections on synchronization processors
Deferred blocking time: Due to the suspended execution of local higher priority tasks

48
New cards

End to End Scheduling

Assume that each subtask only accesses local resources
Turns into a set of uniprocessor scheduling problems

Guarantee that this total meets a deadline

49
New cards

Direct Synchronization Protocol

As soon as a subtask finishes executing, it sends a signal down stream in the task chain
Pros:
Global clock synchronization not needed
Yields shortest average end to end response times
Cons:
Often results in bursty release times of downstream subtasks
Difficult to assign priorities to subtasks on different processors

50
New cards

Phase Modification Protocol

Maintains a minimum temporal distance between the release times of jobs in sibling sub stacks of a task chain
Pros:
Easy to implement when clocks are synchronized
End to end response time is the sum of all subtasks
Cons:
Requires global synchronization
Difficult to get tight boudns on maximum response times

51
New cards

Modified PM Protocol

Combines synchronization messages of DS with phase modification of PM
Pros:
Do not need synchronized clocks
Cons:
Successor task may no longer behave like a periodic task when an upstream job overruns its wcet

52
New cards

Release Guard Protocol

Sends a signal as soon as the job completes. Releases the next subtasks as soon as it receives the first signal. Inter release time of any two consecutive jobs are never less than the period of the subtask unless releasing a job early doesn’t effect anything
Pros:
Work conserving
No global clock
Cons:
None

53
New cards

Worst Case Executing Time

Uses measurements
Experimental
Doesn’t have verification

54
New cards

Bounding Execution Time

Static and uses analysis tools
Determines cycles automatically
Guaranteed WCET

55
New cards

Implicit Path Enumeration (IPET)

Uses integer linear programming which is slow but easy to implement
Goes through the path of the code