COMPUTER PARTS Flashcards

1
Q

PERIPHERALS

A
  • mouse
  • keyboard
  • webcam
  • microphone
  • monitor
  • speakers
  • projector
  • printer
  • USB Flash Drive
  • External Hard Drive
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

COMMAND-LINE is

A
  • gives more control over a computer
  • allows me to navigate & run programs directly from OS
  • is text-based only
  • interact is keyboard only
  • great for batching & automating tasks
  • perfect for tasks I need to do quickly & efficiently
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

command-line PROMPTS

A
  • ls
    • list
  • ls -1
    • list + 1 level
  • pwd
    • where am I? i.e what directory am I in?
  • cd
    • change directory
  • mkdir
    • make directory
  • rmdir
    • remove directory
  • clear
    • clear terminal window
  • nano index.html
    • create an html file ie website
  • cd ../
    • change directory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

a PROGRAM is

A

a set of instructions written in higher-level computer languages

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

BINARY is

A

machine code

zeros & ones

has to be loaded into the memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

a PROCESS is

A

a program in execution

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

a THREAD is

A

a unit of execution within a process

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

5 PROCESS STATES

A
  • New: the process is being created
  • Running: instructions being executed
  • Waiting: waiting for an event to occur like I\O
    completion, waiting for a signal to be received
  • Ready: the process is waiting to be assigned to a processor
  • Terminated: process has finished execution
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

BATCH SYSTEM is

A

is a method of production

batch processing is where the end-user cannot interact with the process

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

SCHEDULER is

A

schedules the algorithms

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

scheduler PRINCIPLES

A
fairness
efficiency
throughput
turnaround
waiting time
predictability
response time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

scheduler METHODS

A

FCFS: the task that’s created the first get’s done

SJF: algo chooses the job that requires the least time first

PS: the importance of the task governs the choice

RR:

MLQ:

MLF:

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

scheduler TECHNIQUES

A
  • preemptive: CPU allocated for limited time
  • non-preemptive: CPU allocated until the process terminates, so it runs uninterrupted

it’s allowed to hold the CPU until its execution is complete

the CPU will not be taken away from it until it is complete or goes into waiting state

How well did you know this?
1
Not at all
2
3
4
5
Perfectly