Lec3 - Part2

Lec3 - Part2

University

10 Qs

quiz-placeholder

Similar activities

SECURITY (LO1)

SECURITY (LO1)

University

10 Qs

Formative 6 - Software Quality

Formative 6 - Software Quality

University

10 Qs

Bài kiểm tra lần 2 (sample)

Bài kiểm tra lần 2 (sample)

University

11 Qs

CS10337 - Lecture #3

CS10337 - Lecture #3

University

10 Qs

Animation Techniques Quiz

Animation Techniques Quiz

10th Grade - University

10 Qs

Quiz1 MOR - IS3B

Quiz1 MOR - IS3B

University

15 Qs

Huawei Security

Huawei Security

University

15 Qs

Information Management

Information Management

University

10 Qs

Lec3 - Part2

Lec3 - Part2

Assessment

Quiz

Information Technology (IT)

University

Practice Problem

Easy

Created by

Malak Ahmed

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?