0
0
Operating Systemsknowledge~10 mins

Process vs thread in Operating Systems - Interactive Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the sentence to describe a process.

Operating Systems
A process is an instance of a program in execution that has its own [1] and resources.
Drag options to blanks, or click blank then click option'
Anetwork
Bthread
Cinstruction
Dmemory space
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing a process with a thread.
Thinking a process shares memory space with others.
2fill in blank
medium

Complete the sentence to describe a thread.

Operating Systems
A thread is the smallest unit of execution within a [1] and shares its memory.
Drag options to blanks, or click blank then click option'
Anetwork
Bprocess
Cfile
Ddevice
Attempts:
3 left
💡 Hint
Common Mistakes
Thinking a thread is independent like a process.
Confusing threads with processes.
3fill in blank
hard

Fix the error in the statement about processes and threads.

Operating Systems
Processes [1] memory space, while threads [2] memory space.
Drag options to blanks, or click blank then click option'
Ahave separate
Bshare
Cignore
Dduplicate
Attempts:
3 left
💡 Hint
Common Mistakes
Saying processes share memory space.
Saying threads have separate memory space.
4fill in blank
hard

Fill both blanks to complete the comparison between processes and threads.

Operating Systems
Processes are [1] to create and manage, while threads are [2] to create and manage.
Drag options to blanks, or click blank then click option'
Aheavier
Blighter
Cslower
Dfaster
Attempts:
3 left
💡 Hint
Common Mistakes
Saying threads are heavier than processes.
Confusing speed and resource use.
5fill in blank
hard

Fill all three blanks to complete the dictionary comprehension about processes and threads.

Operating Systems
info = [1]: [2] for [3] in ['process', 'thread']
Drag options to blanks, or click blank then click option'
Atype
Blen(type)
Ditem
Attempts:
3 left
💡 Hint
Common Mistakes
Using the wrong variable names.
Mixing keys and values.