CECS 326 EXAM 3 STUDY

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/47

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 12:00 AM on 4/28/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

48 Terms

1
New cards

Which algorithm minimizes average waiting time?

FCFS

RR

SJF

Priority

SJF

2
New cards

Round Robin with a very large time quantum behaves like

SJF

FCFS

Priority

SRTF

FCFS

3
New cards

Which scheduling algorithm is preemptive

FCFS

SJF

SRTF

Non-preemptive priority

SRTF

4
New cards

What is the main issue with priority scheduling

Starvation

Deadlock

Fragmentation

Thrashing

Starvation

5
New cards

In multilevel queue scheduling, processes

stay in one queue

share CPU equally

Move between queues

Are random

stay in one queue

6
New cards

Which is directly accessed by CPU

Disk

Cache Only

Virtual Memory

Registers and Main memory

Registers and Main Memory

7
New cards

MMU is responsible for

Disk allocation

Scheduling

Address Translation

Paging

address translation

8
New cards

Best-fit Allocation chooses

First hole

Largest Hole

Smallest suitable hole

Random hole

Smallest suitable hole

9
New cards

External Fragmentation occurs when

Memory too small

Memory not contiguous

CPU overload

Cache Miss

Memory not contiguous

10
New cards

Paging Eliminates

External Fragmentation

Internal Fragmentation

Both

None

External Fragmentation

11
New cards

Virtual memory allows

Programs larger than RAM

only physical memory usage

no disk usage

faster CPU

Programs larger than RAM

12
New cards

Demand Paging loads pages

at compile time

at load time

when needed

after execution

When needed

13
New cards

A page fault occurs when

CPU error

disk failure

Page is missing

Page is in memory

Page is missing

14
New cards

FIFO replaces

random page

least used page

newest page

oldest page

15
New cards

Optimal Algorithm replaces

least used page

most recent page

page not used longest in future

random page

page not used longest in future

16
New cards

Thrashing happens when

Too many page faults

too few process

CPU idle

disk full

too many page faults

17
New cards

a file is

random memory

disk sector

cache unit

logical address space

logical address space

18
New cards

Which attribute is human-readable

name

ID

location

size

Name

19
New cards

Sequential access processes data

randomly

backwards

in order

once

in order

20
New cards

Tree directory structure provides

Unique Paths

One file

No organization

No hierarchy

Unique Paths

21
New cards

Contiguous allocation stores files

Randomly

in linked blocks

continuously

in cache

continuously

22
New cards

Linked Allocation drawback

fast access

slow random access

fragmentation

large memory

slow random access

23
New cards

Big data grows

slower than Moore’s law

same rate

faster than Moore’s law

not growing

faster than Moore’s law

24
New cards

Which is not a Big Data V

Volume

Velocity

Variety

Value

Value

25
New cards

Map function outputs

files

key-value pairs

processes

memory blocks

key-value pairs

26
New cards

Reduce function

splits data

combines values

deletes data

stores data

combine values

27
New cards

MapReduce works by:

Sequential processing

single CPU

cache only

parallel chunks

parallel chunks

28
New cards

Hadoop is designed for

distributed systems

local computing

cache management

CPU scheduling

distributed systems

29
New cards

SJF is always practical in real systems

false

30
New cards

SRTF is preemptive SJF

true

31
New cards

Round Robin always gives best turnaround time

false

32
New cards

Logical and physical addresses are always the sae

false

33
New cards

Paging removes external fragmentation

true

34
New cards

Paging removes internal fragmentation

false

35
New cards

TLB speeds up address translation

true

36
New cards

Swapping moves processes between memory and disk.

true

37
New cards

Virtual memory requires entire program in RAM.

False

38
New cards

Page faults are expensive operations.

true

39
New cards

FIFO can suffer from Belady’s anomaly.

True

40
New cards

LRU uses future knowledge.

False

41
New cards

Single-level directory is scalable.

False

42
New cards

Tree directories are most common.

true

43
New cards

Linked allocation supports fast random access.

false

44
New cards

Contiguous allocation has good performance.

true

45
New cards

Big data includes structured and unstructured data.

True

46
New cards

MapReduce is sequential.

false

47
New cards

Failures are common in distributed systems.

true

48
New cards

Each worker processes the entire dataset.

false