9. Concepts of Mobile Operating Systems (OS) Flashcards

1
Q

Mobile Operating System

A

program that serves as a mediator between user & hardware

  • -> Primary (new) goal: Easy usage of actual hardware
  • -> Secondary (old) goal: Efficient usage of the hardware
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Functions - OS

A

CONTROLLING & SHARING OF RESOURCES (computation time, memory) – SECURITY FUNCTIONS: PROTECTION of data (memory, hard disk), Process protection (computation time, code), Security module support (SIM-Card) – COMMUNICATION: Allocation of I/O-Resources, processing of communication, user interface

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

process management

A

OS has to manage the process (= program in “operation”)
–> uses resources (e.g. CPU-time, memory, files & I/O devices) which are allocated while it’s created or when it’s running

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

Components of a Process

A

PROGRAM COUNTER: indicates on which point in code the process resides –> contents of the process registers:
stack (contains temporary data, e.g. subroutine parameters on return addresses etc.) + data section (contains the global variables) + heap (dynamically allocated memory)

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

States of a Process

A
NEW: process = created
READY: process = waiting to be executed
RUNNING: process is running
WAITING: process is waiting for results (completion of an I/O-operation, an event)
TERMINATED: process = terminated
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Process Control Block (PCB)

A

POINTER(points to parent process)
+ PROCESS STATE
+ PROCESS NUMBER
+ PROGRAM COUNTER (address of the next command to be executed)
+ CPU REGISTERS: accumulator, index register, stack pointer & general registers (for storing)
+ MEMORY LIMITS
+ LIST OF OPEN FILES…

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

multiprogramming

A

several processes are being run in parallel for: maximization of the CPU usage, enabling users to operate several programs simultaneously & enabling several users to work on the same machine simultaneously —> on a CPU only 1 process = running at a time (process switching must be fast -> queues)

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

Scheduling in Queues

A
Ready Queue: processes are 
already in main memory & 
are waiting for their chance to
be executed 
--process = assigned to CPU
--can get terminated 
--can go to I/O request, wait in I/O queue, go to 
I/O, back to ready queue & to CPU
--running through several rounds
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

algorithms

A

if CPU = idle (no process running), scheduler invokes a process from the ready-queue to be run on the CPU –> there are different methods (algorithms) to make the choice which process to invoke

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

criteria -> which process to invoke?

A
CPU-UTILIZATION (goal = maximize CPU usage)
THROUGHPUT (number of finished processed per time unit)
TURNAROUND-TIME (time interval between beginning & end of process)
LATENCY TIME (sum of all waiting time of all processes in queue)
RESPONSE TIME (time span of process to answer user’s request & to generate answer)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

priority systems in scheduling

A

SHORTEST JOB FIRST: processes executed in order of execution time (optimal with regard to latency time BUT complex processes can starve to death)

PRIORITY SCHEDULING: execution in order of assigned priority (starvations with low priority number)

ROUND ROBIN SCHEDULING: assigning time slices of time interval to process in queue & after time slice of a process expired, CPU revoked from process & placed at end of queue (good for time-sharing system BUT efficiency of method depends on time interval)

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

Mapping

A

usage of symbolic addresses during programming that get mapped to physical addresses later on / is done by memory management unit

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

Binding

A

conversion of symbolic addresses to logical addresses in the memory of OS

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

logical addresses vs. physical addresses

A

LOGICAL: generated by CPU (virtual address) / PHYSICAL: sent to memory unit

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

Limit Register

A

(in mapping) Memory of a system contains actual OS
-> access of further processes onto code of OS needs to be prevented & processes need to be protected against each other (limit register as a solution)

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

paging

A

putting process into several separate memory chunks of defined size, instead of putting into memory in one single piece (When process is loaded/removed from memory, the free memory will be fragmented)

17
Q

Segmentation

A

Memory is partitioned into segments of
variable length -> Segment table used to store base address
& limit of segments

18
Q

sandboxing

A

security mechanism provided by all mobile OS (e.g. network-access restrictions)

19
Q

Mobile Device Management

A

software to secure, monitor, manage & support mobile devices