| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Deadline: January 25, 2026, 11:59 PM
| Field | Details |
|---|---|
| Course Code | SWEN101 |
| Course Title | Introduction to Computer Systems |
| Assignment Type | Group Assignment |
| Total Marks | 100 |
| Deadline | January 25, 2026, 11:59 PM |
| Submission Format | PDF (Single File) |
| Group Size | 3 Members |
READ CAREFULLY BEFORE STARTING
Some questions in this assignment may not have been fully addressed in the lectures so far. They are intentionally included to:
- Prepare you for upcoming topics
- Encourage further study in Computer Systems
- Develop critical thinking skills
These questions require original analysis and cannot be answered by simply copying from AI tools or textbooks. Submissions that appear to be AI-generated without proper analysis will receive zero marks.
These definitions apply to ALL scheduling questions in this assignment.
| Term | Full Name | Formula/Definition |
|---|---|---|
| AT | Arrival Time | Time when process enters the ready queue |
| BT | Burst Time | Total CPU time required by the process |
| CT | Completion Time | Time when process finishes execution |
| TAT | Turnaround Time | CT - AT |
| WT | Waiting Time | TAT - BT |
| RT | Response Time | Time of first CPU allocation - AT |
Apply these rules to ALL scheduling questions unless otherwise specified:
| Priority | Rule | Description |
|---|---|---|
| 1st | FCFS | Earlier arrival time executes first |
| 2nd | Process ID | Lower Process ID first (P1 before P2) |
| 3rd | Round Robin Queue | Arriving process joins queue before process completing quantum |
Suppose the following processes arrive for execution on a single CPU:
| Process | Arrival Time | Burst Time | Priority |
|---|---|---|---|
| P1 | 0 | 8 | 2 |
| P2 | 1 | 4 | 1 |
| P3 | 2 | 9 | 3 |
| P4 | 3 | 5 | 4 |
| P5 | 4 | 2 | 5 |
📌 Lower number = Higher priority
Solve using the following scheduling algorithms:
Where:
Seven switches (S1, S2, S3, S4, S5, S6, S7) operate a lamp under the following conditions:
Compare Von Neumann and Harvard Architectures in terms of:
Simplify the following Boolean function using a 4-variable Karnaugh Map:
$$\Large F(A, B, C, D) = \prod M(0, 2, 5, 7, 8, 10, 13, 15)$$
📌 Notation:
- Π M denotes Product of Sums (POS) form
- The numbers represent maxterms (combinations where F = 0)
- Variable order: A is MSB, D is LSB
Maxterm Reference Table:
| Decimal | A | B | C | D | F (0 = maxterm) |
|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 | 0 |
| 1 | 0 | 0 | 0 | 1 | 1 |
| 2 | 0 | 0 | 1 | 0 | 0 |
| 3 | 0 | 0 | 1 | 1 | 1 |
| 4 | 0 | 1 | 0 | 0 | 1 |
| 5 | 0 | 1 | 0 | 1 | 0 |
| 6 | 0 | 1 | 1 | 0 | 1 |
| 7 | 0 | 1 | 1 | 1 | 0 |
| 8 | 1 | 0 | 0 | 0 | 0 |
| 9 | 1 | 0 | 0 | 1 | 1 |
| 10 | 1 | 0 | 1 | 0 | 0 |
| 11 | 1 | 0 | 1 | 1 | 1 |
| 12 | 1 | 1 | 0 | 0 | 1 |
| 13 | 1 | 1 | 0 | 1 | 0 |
| 14 | 1 | 1 | 1 | 0 | 1 |
| 15 | 1 | 1 | 1 | 1 | 0 |
Answer the following questions concisely but completely:
Why is CPU scheduling required in a multiprogramming system?
Differentiate between preemptive and non-preemptive scheduling. Provide one example of each.
Why does Shortest Job First (SJF) minimize average waiting time? Explain with a simple example.
How does time quantum affect the performance of Round Robin scheduling? Discuss what happens with very small and very large quantum values.
List the main components of the CPU and explain the function of each:
Explain the function of the following CPU registers:
Describe the instruction execution cycle (Fetch–Decode–Execute) with a diagram. What happens at each stage?
Explain the Von Neumann bottleneck. Why is it a limitation and how do modern systems address it?
These questions require original thinking and analysis. Show your reasoning process clearly.
You are designing a scheduling algorithm for a hospital emergency room system where patients arrive with different severity levels:
a) Which scheduling algorithm would you choose and why? Justify your selection over other alternatives.
b) How would you modify the algorithm to prevent starvation of normal patients who might wait indefinitely?
c) What happens if two critical patients arrive simultaneously? Design a tie-breaking mechanism.
d) Draw a flowchart showing your complete scheduling decision process.
Design a parking lot management system with 4 floors where:
a) Write the Boolean expression for the main entrance "FULL" indicator
b) Design the floor selection logic that outputs which floor a car should go to (prefer lower floors when multiple are available)
c) Create a truth table for 4 floors showing all 16 combinations
d) Draw the complete logic circuit
e) What modifications would you make if the system needed to track the NUMBER of available spaces on each floor?
Design a CPU scheduling system for a self-driving car that must handle the following processes:
| Process | Response Required | Priority |
|---|---|---|
| 🚨 Obstacle Detection | Within 10ms | CRITICAL |
| 🧭 Navigation Updates | Every 100ms | HIGH |
| 🎮 Entertainment | Best effort | LOW |
| 🌡️ Climate Control | Every 5 seconds | LOW |
a) Classify which processes are real-time vs non-real-time. Explain why.
b) What scheduling algorithm(s) would you use? Can a single algorithm handle all requirements?
c) How do you ensure critical processes NEVER miss their deadlines?
d) What happens if the system becomes overloaded? Design a graceful degradation strategy.
e) Draw a timeline showing how your scheduler would handle all four processes over a 1-second period.
Explain the complete journey of pressing the letter 'A' on your keyboard until it appears on your screen. Your explanation must include:
Draw a diagram showing this complete flow.
Your company is designing a new IoT device with these requirements:
Which architecture would you choose: Von Neumann, Harvard, or Modified Harvard?
a) Power consumption implications
b) Performance requirements
c) Cost constraints
d) Memory efficiency
Compare at least TWO architectures before making your final recommendation.
CPU scheduling decisions can have life-or-death implications in medical devices like pacemakers and insulin pumps.
a) Who should be held responsible if a scheduling bug causes patient harm: the programmer, the company, the hospital, or the regulatory body?
b) How would you test a pacemaker's scheduling algorithm before deployment? What testing strategies would you use?
c) What redundancy measures would you implement to prevent scheduling failures in a life-critical medical device?
Compare how the following four systems would implement process scheduling differently:
You have unlimited NAND gates only.
a) Show step-by-step how you would implement a 2-input XOR gate using only NAND gates. Draw the circuit.
b) Explain why NAND is called a "universal gate"
c) What is the minimum number of NAND gates required to implement XOR?
d) What is the propagation delay of your XOR circuit if each NAND gate has a 2ns delay?
Content Completeness:
Formatting:
Quality Checks:
Technical:
| Criteria | Excellent (90-100%) | Good (70-89%) | Satisfactory (50-69%) | Needs Improvement (<50%) |
|---|---|---|---|---|
| Correctness | All solutions mathematically/logically correct | Minor calculation or logical errors | Some significant errors | Major conceptual errors |
| Working Shown | Complete, clear, logical steps for all problems | Most steps shown clearly | Some steps missing or unclear | Little or no working shown |
| Diagrams/Charts | Professional, clear, properly labeled, accurate | Clear and labeled with minor issues | Basic but understandable | Missing, unclear, or incorrect |
| Critical Thinking | Original, insightful, well-reasoned analysis | Good analysis with evidence | Basic analysis attempted | No analysis or copied content |
| Completeness | All questions fully answered | Most questions fully answered | Some questions incomplete | Many questions missing |
| Presentation | Professional, well-organized, easy to follow | Good organization | Acceptable formatting | Poor organization |
| Item | Details |
|---|---|
| Submission Deadline | January 25, 2026, 11:59 PM (Local Time) |
| Submission Portal | College's LMS → SWEN101 → Assignments or Email |
| Late Penalty | -10% per day (including weekends and holidays) |
| Maximum Late Period | 5 days |
| After 5 Days Late | Automatic 0% |
| Technical Issues | Email instructor BEFORE deadline with evidence |
| Extension Requests | Submit in writing at least 48 hours before deadline |
Late Submission Calculation:
| Days Late | Maximum Possible Score |
|---|---|
| 0 (On time) | 100% |
| 1 | 90% |
| 2 | 80% |
| 3 | 70% |
| 4 | 60% |
| 5 | 50% |
| 6+ | 0% |
| Violation | First Offense | Repeat Offense |
|---|---|---|
| Plagiarism | 0% for assignment + warning | Course failure + disciplinary hearing |
| AI-Generated Content (without analysis) | 0% for that question | 0% for assignment |
| Copying from Other Groups | 0% for BOTH groups | Course failure for all involved |
| Contract Cheating | Course failure | Expulsion proceedings |
| Unauthorized Collaboration | 0% for assignment | Course failure |
What is Allowed:
What is NOT Allowed:
Group Number: _______________
| # | Full Name | Student ID | Email Address | Contribution (%) | Signature |
|---|---|---|---|---|---|
| 1 | |||||
| 2 | |||||
| 3 |
Total Contribution Must Equal 100%
We, the undersigned members of this group, solemnly declare that:
- This assignment represents our own original work
- We have not copied solutions from any unauthorized source
- We have not shared our solutions with any other group
- We have not used AI tools to generate answers without proper analysis
- All external sources have been properly cited
- We have contributed fairly to this assignment as indicated above
- We understand and accept the academic integrity policy
- We accept responsibility for any violations discovered
We acknowledge that any violation of academic integrity will result in disciplinary action as outlined in the College's academic integrity policy.
Signatures:
| Member | Signature | Date |
|---|---|---|
| Member 1 | ||
| Member 2 | ||
| Member 3 |
| Back | FazBrowse Home | New Git URL |