Lec3 - Part2

Lec3 - Part2

University

10 Qs

quiz-placeholder

Similar activities

W4 session 1 knowledge check

W4 session 1 knowledge check

University

10 Qs

Kuis 2 - A Quality Focus & Software Process

Kuis 2 - A Quality Focus & Software Process

University

10 Qs

CHAPTER 4: SYSTEM ANALYSIS AND DESIGN

CHAPTER 4: SYSTEM ANALYSIS AND DESIGN

University

7 Qs

QUIZ

QUIZ

University

10 Qs

G12-Computational Thinking & Problem Solving

G12-Computational Thinking & Problem Solving

12th Grade - University

7 Qs

Diploma in IT - Computer Savvy Quiz

Diploma in IT - Computer Savvy Quiz

University

15 Qs

Data Mining Methodologies and Applications

Data Mining Methodologies and Applications

University

10 Qs

Lec3_Part1

Lec3_Part1

University

10 Qs

Lec3 - Part2

Lec3 - Part2

Assessment

Quiz

Information Technology (IT)

University

Easy

Created by

Malak Ahmed

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 mins • 1 pt

Why does Android allow services to run in the background, while early iOS did not?

Android services are pre-installed by the system

Android uses less battery than iOS

Android supports more flexible multitasking using services

iOS didn’t support memory allocation

2.

MULTIPLE CHOICE QUESTION

30 mins • 1 pt

Which of the following best describes a zombie process?

A process that was suspended and never resumed

A child process that is still running without its parent

A terminated process that hasn't been collected by its parent

A process without access to memory

3.

MULTIPLE CHOICE QUESTION

30 mins • 1 pt

What happens if a parent terminates without calling wait() for its child process?

The child is forced to terminate immediately

The child becomes an orphan and may be adopted by the init/system process

The child remains blocked forever

The OS restarts the parent automatically

4.

MULTIPLE CHOICE QUESTION

30 mins • 1 pt

Which best describes the role of a service in Android?

A graphical interface for background apps

A special type of process that controls CPU scheduling

A component that performs background tasks without a UI

A class used to stop processes on exit

5.

MULTIPLE CHOICE QUESTION

30 mins • 1 pt

If a child process finishes execution and the parent is not waiting, what happens to the PID and exit status?

They are reused by the system immediately

They remain in the process table as a zombie

They are discarded silently

The kernel blocks the parent until it collects the child

6.

MULTIPLE CHOICE QUESTION

30 mins • 1 pt

Which of the following best defines cascading termination?

Termination of parent causes suspension of child

Termination of parent causes all children to be terminated

Child kills parent and takes over PID

Processes terminate one after another in round robin

7.

MULTIPLE CHOICE QUESTION

30 mins • 1 pt

What is the difference between a zombie and an orphan process?

Zombie: running; Orphan: terminated

Zombie: no parent; Orphan: parent doesn’t wait

Zombie: terminated but not collected; Orphan: alive but parentless

Both mean the same

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?