Lec3 - Part2

Lec3 - Part2

University

10 Qs

quiz-placeholder

Similar activities

Melaka 2024

Melaka 2024

University

10 Qs

CLC Lesson 4&5 Quiz

CLC Lesson 4&5 Quiz

University

12 Qs

ICT G7 Chapter 2.2 Direct Data Entry Devices

ICT G7 Chapter 2.2 Direct Data Entry Devices

7th Grade - University

15 Qs

DFC20283 CHAPTER 5 (5.1.6-5.1.9)

DFC20283 CHAPTER 5 (5.1.6-5.1.9)

University

10 Qs

Fundamentals of HTML and CSS

Fundamentals of HTML and CSS

University

10 Qs

S01-S02 Conceptos

S01-S02 Conceptos

University

11 Qs

Introduction to Programming

Introduction to Programming

University

15 Qs

OOP-Q1

OOP-Q1

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?