forked from open-education-hub/operating-systems
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
general/drills: Add "Network Configurations Manager" written task as …
…exam Add Markdown file storing the question scenario and the questions Modify config.yaml to render the new task Signed-off-by: Petru-Vlad Ionescu <[email protected]>
- Loading branch information
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
45 changes: 45 additions & 0 deletions
45
chapters/general/drills/tasks/network-configurations-manager.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Network Configurations Manager | ||
|
||
## Scenario | ||
|
||
We aim to implement an application to run on a home router (Wi-Fi router) to manage network configurations: routing, port forwarding, firewall, Wi-Fi security, etc. | ||
The router runs a modern operating system - rich OS, like Linux. | ||
Other applications, such as a web service providing a user web interface, will interact with the configuration application through IPC mechanisms to query the state of network configurations and/or modify them. | ||
|
||
Answer the following questions with "True" or "False" and justify the answer. | ||
Justification should be simple, 2-3 sentences for each answer. | ||
|
||
## Questions | ||
|
||
1. The application must be written entirely in a compiled language like C/C++/Rust. | ||
Answer: False | ||
|
||
1. The application can be multi-threaded. | ||
Answer: True | ||
|
||
1. The application is portable to other operating systems. | ||
Answer: False | ||
|
||
1. The application must run in privileged mode. | ||
Answer: True | ||
|
||
1. For security reasons, the application cannot use demand paging. | ||
Answer: False | ||
|
||
1. The application does not have a file descriptor table. | ||
Answer: False | ||
|
||
1. Interaction between the application and other services (such as the web) can be achieved through anonymous pipes. | ||
Answer: False | ||
|
||
1. The application is CPU intensive. | ||
Answer: False | ||
|
||
1. Two instances of the application can be started on the system. | ||
Answer: True | ||
|
||
1. In the application's address space, there are memory areas without write permissions. | ||
Answer: True | ||
|
||
1. The application process will consistently have the highest priority. | ||
Answer: False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters