Computer Architecture
Computer Architecture
Learner declaration
I, Masith Shanelka Daniru, CL/HDNET/CMU/43/11, certify that the work submitted for this assignment is
my own and that research sources are fully acknowledged.
Marks Awarded
First assessor
IV marks
Agreed grade
Marks Awarded:
1
Computer Architecture - CSE4001
2
Acknowledgment
I would like to sincerely express my heartfelt gratitude to Mr. Priyanga, our exceptional course
instructor, for his unwavering dedication to providing us. Furthermore, I want to take a moment
to deeply appreciate the remarkable efforts made by my colleagues in engaging in discussions
and forming fruitful collaborations that undeniably enriched my comprehension of the subject
matter. Equally important, I must extend my heartfelt thanks to my dear family and supportive
friends for their continuous encouragement and remarkable patience they have been pillars of
strength throughout my academic journey. Their unwavering belief in me has been a constant
source of motivation and support, and for that, I am sincerely grateful.
3
Summary
Task 1 was completed by me, utilizing various critical concepts such as 2's complement
representation for numerical operations, adept number system conversions for versatile
calculations, effective application of Boolean laws for logical evaluations, and the
implementation of logic gates for precise decision-making processes. Following a meticulous
analysis of the distinct roles and responsibilities within each department, Task 2 was executed
with precision. This involved the meticulous assignment of suitable computer types and
software requirements, giving due consideration to the specific needs of the system.
Additionally, expert recommendations for computer models were made, aligning with the
exact system specifications to optimize performance. A comprehensive evaluation was
undertaken towards the conclusion of Task 2, where I provided a detailed overview of the
strengths and weaknesses apparent in the proposed computer systems. Furthermore, insights
into potential future enhancements for each system were outlined, ensuring a forward-thinking
approach toward improvement and innovation.
4
Table of Content
Cover Sheet…………………………………………………………………….2
Acknowledgment………………………………………………………………3
Summary……………………………………………………………………….4
Table of Contents……………………………………………………………....5
Table of Figures…………………………………………….………………….6
Introduction ……………………………………………………………………7
Part 01 Tasks
No 1…………………………………………………………….8
No 2…………………………………………………………….13
No 3…………………………………………………………….17
No 4…………………………………………………………….21
No 5…………………………………………………………….23
5
Table of Figures
Figure 1.........................................................................................17
Figure 2.........................................................................................18
Figure 3.........................................................................................19
Figure 4.........................................................................................20
Figure 5.........................................................................................21
Figure 6.........................................................................................21
Figure 7.........................................................................................22
6
• Introduction for Part 1
7
Part 01 Task
1)
a)
i) 5348
5 3 4
2 1 0
82 81 80
320 24 4
320 + 24 + 4
3488
ii) 43548
4 3 5 4
3 2 1 0
83 82 81 80
2048 192 40 4
2048 + 192 + 40 + 4
228410
8
b)
i) 1110112
1 1 1 0 1 1
5 4 3 2 1 0
25 24 23 22 21 20
32 16 8 0 2 1
32 + 16 + 8 + 0 + 2 + 1
5910
ii) 00110012
0 0 1 1 0 0 1
6 5 4 3 2 1 0
26 25 24 23 22 21 20
0 0 16 8 0 0 1
0 + 0 + 16 + 8 + 1
2510
9
c)
i) -74
8 Bit binary representation of 74 = 010010102 74
1’s Complement of 74 = 101101012 2/74 = 0
2’s Complement of 74 = (1’s Complement + 1) 2/37 = 1
10110101 2/18 = 0
00000001+ 2/9 = 1
10110110 2/4 = 0
2/2 = 0
-74 2’s Complement is 101101102 2/1 = 1
ii) 142
10
d)
i) 1014
12 Bit binary representation of 1014 = 0011111101102 1014
2’s Complement of 1014 = 0011111101102 2/1014=0
⸫0011111101102 2/507=1
2/253=1
2/126=0
2/63=1
2/31=1
2/15=1
2/7=1
126 2/3=1
ii) -126
2/126=0 2/1=1
12 Bit binary representation of 126 = 0000011111102 2/63=1
2/31=1
1’s Complement of 126 = 1111100000012 2/15=1
2/7=1
2’s Complement of 126 = (1’s Complement + 1)
2/3=1
111110000001 2/1=1
000000000001+
111110000010
1111100000102
11
e)
i) -1684
12
2)
a) Sum of -7 and 25 25 7
2/25=1 2/7=1
-7 = 00111 2/12=0 2/3=1
2/6=0 2/1=1
11000 (1’s Complement)
2/3=1
00001+
2/1=1
11001 (2’s Complement)
25 11001
-7 11001+ ⸫100102
110010
Carry
11 = 010112
10100 (1’s Complement)
00001+
101012 (2’s Complement)
14 100102 001112
11 101012 + 1-
Over bit
⸫ 110012
13
c) Multiplication of -3 by -8
3 8
3 = 00112
2/3=1 2/8=0
1100 (1’s Complement)
2/1=1 2/4=0
0001+
11012 (2’s Complement) 2/2=0
2/1=1
8 = 10002
0111 (1’s Complement)
0001+
10002 (2’s Complement)
1 0 0 02
Sign bit 1 1 0 12 *
1 1 1 1 1 0 0 0 11111000
00000000 +
+ 0 0 0 0 0 0 0 X 11111000
1 1 1 1 1 0 0 0
11111000
+ 1 1 1 0 0 0 X X 11100000 +
011011000
0 1 1 0 1 1 0 0 0
011011000
- 1 1 0 0 0 X X X 11000000 –
110011000
1 1 0 0 1 1 0 0 02
Over Bits
⸫ 110002
14
d) Multiplication of -12 by -5 12 5
12 = 011002 2/12=0 2/5=1
100112 (1’s Complement) 2/6=0 2/2=0
00001+ 2/1=1
2/3=1
101002 (2’ Complement)
2/1=1
5 = 001012
110102 (1’s Complement)
00001+
110112 (2’ Complement)
1 1 0 1 12
1 0 1 0 02 *
0 0 0 0 0 0 0 0
+ 0 0 0 0 0 0 0 x
0 0 0 0 0 0 0 0
+ 1 1 1 0 1 1 x x
1 1 1 0 1 1 0 0
+ 0 0 0 0 0 x x x
1 1 1 0 1 1 0 0 11101100
- 1 0 1 1 x x x x 10110000 –
0 0 1 1 1 1 0 02 00111100
Over bit
⸫ 1111002
15
e) Division of -40 by -2
40 = 00101000 40
2/40=0
11010111 (1’s Compliment)
2/20=0
1+
2/10=0
110110002 2/5=1
2/2=0
2 = 10 2/1=1
01 (1’s Complement)
1+
102
1101100
10 11011000
10
10
10
01
00
11
10
10
10
00
00
0
1101100
0 0 1 0 0 1 1 (Invert)
1+ ⸫ 000101002
0010100
16
3)
a)
The microprocessor is the wisdom of the computer. It contains the arithmetic, logic,
and control parts. it will be described below.
►Arithmetic and logic unit - The ALU performs all arithmetic and logic
operations on instruction words, such as addition, subtraction, multiplication,
and division, without directly dealing with memory.
Figure 1
17
b)
We can identify four key functions of the processor. It is described as follows:
Register (discourse):
That is the location of the written instruction. From then on, the
control unit duplicates the material to complete the instruction cycle.
Figure 2
18
c)
A computer is made more efficient and powerful overall by some different components.
The primary CPU parts listed below affect the computer's speed and performance.
►Multiple Cores - Older CPUs had a single core and limited built-in
memory, while modern ones have multiple cores (2-48), enhancing performance.
Hyper-threading allows for virtual core creation within each core, further increasing
efficiency. This combination of hyper-threading and additional cores makes current
processors significantly faster than single-core counterparts.
Figure 3
►Higher Clock Speed - The CPU's cycle count, measured in GHz, indicates
its ability to perform one cycle per second, influencing overall performance. Higher
clock speeds are linked to faster data processing, and improved CPU cooling can
reduce heat production for more demanding operations.
19
►Ample Cache memory - The CPU uses cache memory as a quick notepad,
keeping frequently used information and instructions near for faster access. It examines
the cache before accessing slower memory or storage, reducing processing times and
increasing system efficiency. There are three layers of cache memory (L1, L2, L3)
Figure 4
20
4)
a)
The purpose of this operating system's development was to power servers. This
extremely complex operating system can service multiple users at once. Server
operating systems facilitate and enable basic server functions like Microsoft
Windows, file and database servers, Web servers, and mail servers.
b)
Multiple operating systems are supported by the majority of servers. Every server
operating system has benefits and drawbacks.
Figure 5
• Linux Server - The Linux operating system is designed to handle larger enterprises'
demanding operational and storage needs, and its servers are more reliable, secure,
and flexible than Windows servers. Being free and open-source, Linux offers a
significant advantage over closed-source programs like Windows.
Figure 6
21
• UNIX Server - Unix is a versatile multiuser operating system with scalability,
configurable capabilities, and extreme security. It is suitable for various computer
systems, including powerful computers and single-user workstations, and for various
tasks in various contexts.
Figure 7
c)
Hardware protection in an operating system ensures the safety, integrity, and isolation
of computer parts, preventing unwanted access, alteration, or interference with vital
resources and data.in general, there are three types of hardware protection.
▪ CPU Protection - A timer interrupts the CPU after a predetermined
time to prevent user programs from executing indefinitely. It uses a
counter and a fixed-rate clock, initialized with a positive value, to pass
control from the running process to the next scheduled process.
22
5)
d)
x y z Access
Assumption
0 0 0 0 X = Bank manager
0 0 1 0
Y = Senior Bank Teller
0 1 0 0 Z = Trainee Bank Teller
0 1 1 0
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 1
e)
X Y Z Q
XY’Z
1 0 1 1
XYZ’
1 1 0 1
XYZ
1 1 1 1
f)
XY’Z + XYZ’ + XYZ
XY’Z + XY (Z’ + Z) >> [Distributive Law]
XY’Z + XY (1) >> [Compliment Law]
XY’Z + XY >> [Identity Law]
X (Y’Z + Y) >> [Distributive Law]
X (Z + Y) >> [Redundancy Law]
⸫ X (Z + Y)
23
g)
X (Z + Y)
24
• Introduction for Part 2
My suggestions for the specifications of computer systems for all departments are laid out in
this paper. In addition to addressing the unique duties and obligations of your personnel, these
recommendations offer an overview of the entire computer system with an emphasis on
performance optimization for overall operational efficiency.
Part 02 Task
1. For every department, this section will offer comprehensive computer system
recommendations. these recommendations will take into account the distinct roles
played by the staff members in each department.
Pc Laptop
CPU Intel-Core i5 Intel-Core i5
The setup with strong hardware effectively manages office operations, including multitasking
and document handling. It features a high-speed SSD for faster performance and is an ideal
partner for PCs, supporting remote work and producing powerful presentations
25
Lecturers – 12 Desktop Computer
CPU – Intel-Core i5
The SSD addition enhances the system's performance and reduces waiting times, making it
ideal for presentations, instructional applications, and video editing tasks, resulting in a smooth
and efficient learning environment.
CPU – Intel-Core i3
For productive interactions with students and guests, responsiveness, ease of use, and
effective multitasking are the main priorities in the suggested specs for the Front Office
workstations.
26
Counselors - 04 Desktop Computers
CPU – Intel-Core i5
The Counsellor PCs feature selection aims to enhance data management, facilitate
multitasking, and ensure secure access to private student data, thereby enhancing efficiency
and protecting private information.
02 Desktop Computers
CPU – Intel-Core i7
27
03 Servers
These powerful CPUs enable multitasking in various virtual machines and apps, making them
suitable for educational settings like file sharing, email correspondence, and student
administration. The motherboard supports future upgrades and current RAM configurations,
ensuring flexibility.
CPU – Intel-Core i3
The system is suitable for routine administrative tasks like document generation, email
correspondence, and data entry, with a fast, responsive system that maintains performance even
with an SSD installed.
28
Library - 04 Desktop Computers
CPU – Intel-Core i3
The Library desktop computers have been designed with high-performance features to
provide quick access to library resources and a seamless browsing experience for staff and
students.
CPU – Intel-Core i5
CPU – Intel-Core i3
29
2.
This extensive analysis offers in-depth insights into the particular requirements of users,
highlighting critical demands according to functional domains and individual job positions,
and then suggests appropriate software solutions designed to satisfy these unique
requirements.
Branch Manager
The Branch Manager is responsible for managing staff, resources,
daily operations, and client satisfaction, utilizing various tasks like
marketing, employee training, and financial management, and
employing software to enhance efficiency and facilitate
communication.
▪ Student Information System (SIS): The comprehensive Student
Information System (SIS) platform enables authorized users to handle
various student-related tasks effectively.
▪ Communication Suite: These include email and video conferencing
platforms, which are effective means of communication, and document
management systems, which allow for easy exchange of information.
(Microsoft Teams, ZOOM, Google meet)
▪ Office Suite: To create reports, budgets, and presentations for meetings
using basic tools like word processing, spreadsheets, and presentations.
Lecturers
30
▪ Communication Suite: makes email, announcements, and discussion
forums possible for interaction with students. (Microsoft Teams,
ZOOM, Google meet)
▪ Additional Software: Software for design is used to create
assignments or visual aids in design professions. Interactive science and
engineering classes can benefit from simulation software. Platforms for
online programming classes that use code.
Front Office
The front office is the primary contact point for visitors, parents, and
students at an institution, handling student admissions, registration,
enrollment, ID card issuance, access management, communication,
and customer service
▪ Student Information System (SIS): They can handle fees and
accounts for students, as well as obtain student information.
▪ Communication & Collaboration Suite: Facilitates email, phone
calls, and instant messaging correspondence with students, parents,
and other staff officials. (Microsoft Teams, ZOOM, Google meet)
▪ Payment Processing Software: enables convenient and safe fee
collecting via a range of payment options.
Counselors
The institute's counselors play a crucial role in the intellectual, social,
and personal growth of its students, providing guidance, support,
academic advising, career counseling, and social development.
▪ Student Information System (SIS): It is beneficial to have a thorough
grasp of every student's circumstances.
▪ Appointment Scheduling Software: helps arrange for students to have
individual counseling sessions. (Calendly)
▪ Communication Suite: Allows email, phone calls, and video
conferences with kids, parents, and other staff members. (Microsoft
Teams)
31
IT Administrators
IT administrators are crucial in maintaining the security, functionality, and
upkeep of the institute's technology infrastructure, including network
management, system administration, help desk support, data security, backup,
and software licensing.
32
Administration
Library
The institute's library is a vital resource for instructors, staff, and students, promoting
learning and academic success through collection management, circulation,
borrowing, and research support
33
Lecture Halls
Lecture halls serve as physical spaces for lectures and presentations, limiting software
usage due to face-to-face communication. However, some technologies can enhance
lecture hall learning.
Recreational Area
The Recreational Area provides a space for students, teachers, and staff to relax,
exercise, and promote mental and physical health, utilizing certain technologies for its
functionality
34
3.
Branch Manager
o Input Devices
▪ Keyboard
▪ Mouse
▪ Touchpad
▪ Webcam
o Output Devices
▪ 24” LED Monitor
▪ Printer
▪ Projector
▪ Speaker
o Other Devices
▪ Wi-Fi Adapter
▪ UPS
Lecturers
o Input Devices
▪ Keyboard
▪ Mouse
▪ Webcam
o Output Devices
▪ 22” LED Monitor
▪ Speaker
▪ Projector
o Other Devices
▪ Headset
35
Front Office
o Input Devices
▪ Keyboard
▪ Mouse
▪ Barcode Scanner
o Output Devices
▪ 22” LED Monitor
▪ Receipt Printer
o Other Devices
▪ Headset
▪ Cash Drawer
Counselors
o Input Devices
▪ Keyboard
▪ Mouse
▪ Printer
o Output Devices
▪ 22” LED Monitor
▪ Printer
o Other Devices
▪ Headset
▪ Document Camera
36
IT Administrators
o Input Devices
▪ Keyboard
▪ Mouse
▪ Printer
o Output Devices
▪ 24” LED Monitor
▪ Printer
▪ Speaker
o Other Devices
▪ Headset
▪ Network Switches
▪ UPS
▪ External HDD
Administration
o Input Devices
▪ Keyboard
▪ Mouse
▪ Webcam
o Output Devices
▪ 22” LED Monitor
▪ Printer
▪ Fax Machine
▪ Speaker
o Other Devices
▪ Telephones
▪ Headset
37
Library
o Input Devices
▪ Keyboard
▪ Mouse
▪ Barcode Scanner
o Output Devices
▪ 22” LED Monitor
▪ Printer
▪ Speaker
o Other Devices
▪ Headset
Lecture Halls
o Input Devices
▪ Keyboard
▪ Mouse
▪ Microphone
o Output Devices
▪ Screen
▪ Projector
▪ Speaker
o Other Devices
▪ Cloud Storage
▪ Whiteboard
Recreational Area
o Input Devices
▪ Keyboard
▪ Mouse
o Output Devices
▪ 22” LED Monitor
▪ Speaker
38
4.
Strengths
For the demands of every department, appropriate hardware and software are
provided by this user-centric design. It permits future expansion through the
addition of more users and gadgets. With server administration and data backup,
it strongly emphasizes data protection. Training and maintenance are made
easier by standardization.
Weaknesses
It's critical to comprehend usage needs before installation for optional elements
such as learning management systems and webcams. A safe and affordable
approach would be to use a guest checkout system on a dedicated terminal.
Assure appropriate software licensing for all uses within the company.
Enhancement Recommendations
Upkeep and part replacement are made easier when desktop and laptop models
are standardized among user groups. Single desktop installations are reduced
and updates are made easier with centralized management that leverages cloud-
based solutions. Slender clients provide a safe, controllable solution; they are
appropriate for lecture halls and parks.
39
References
Admin (2022) Alu (arithmetic logic unit): Gate Notes, BYJUS. Available at:
https://byjus.com/gate/alu-notes/ (Accessed: 04 March 2024).
Asset Panda. (n.d.). Easy and Flexible Asset Tracking Software. [online] Available at:
https://www.assetpanda.com/.
EBSCO (2000). Home Page | EBSCO. [online] EBSCO Information Services, Inc. |
www.ebsco.com. Available at: https://www.ebsco.com/.
Explain how cache memory can improve system performance. (2023) Study Mind. Available
at: https://studymind.co.uk/questions/explain-how-cache-memory-can-improve-system-
performance/ (Accessed: 05 March 2024).
Figure 1000 logos - the famous logos and popular company logos in the world (2024) 1000
Logos - The Famous logos and Popular company logos in the World. Available at:
https://1000logos.net/ (Accessed: 05 March 2024).
Figure unix (No date) PNGWING - exclusive PNG Design images. Available at:
https://www.pngwing.com/ (Accessed: 05 March 2024).
40
Harding, S. (2018) What is a CPU’s clock speed? A basic definition, Tom’s Hardware.
Available at: https://www.tomshardware.com/news/clock-speed-definition,37657.html
(Accessed: 05 March 2024).
Harding, S. (2022) What is a CPU core? A basic definition, Tom’s Hardware. Available at:
https://www.tomshardware.com/news/cpu-core-definition,37658.html (Accessed: 05 March
2024).
Harper, C. (2022) How many CPU cores do I need? [workloads explored], CGDirector.
Available at: https://www.cgdirector.com/how-many-cpu-cores-do-i-need/ (Accessed: 05
March 2024).
Hopkins, J. (2023). What is a Register in a CPU and How Does it Work? [online] Total
Phase Blog. Available at: https://www.totalphase.com/blog/2023/05/what-is-register-in-cpu-
how-does-it-work/#:~:text=Registers%20are%20a%20type%20of.
Instruction cycle: Fetch, decode and execute cycle (2023) Unacademy. Available at:
https://unacademy.com/content/nta-ugc/study-material/computer-science/instruction-cycle-
fetch-decode-and-execute-cycle/ (Accessed: 05 March 2024).
Intel. (n.d.). Intel® Products: Processors, Intel® NUC, Memory and Storage, Chipsets.
[online] Available at: https://www.intel.com/content/www/us/en/products/sku/214805/intel-
xeon-e2388g-processor-16m-cache-3-20-ghz/specifications.html.
41
Open science community (no date) ResearchHub. Available at:
https://www.researchhub.com/post/370/what-is-the-function-of-the-processor (Accessed: 05
March 2024).
Steave et al. (2022) What is windows server and it’s history + what is windows server used
for?, N6 Host Blog. Available at: https://n6host.com/blog/what-is-a-windows-server/
(Accessed: 05 March 2024).
42
www.lenovo.com. (n.d.). Understanding How the Control Unit Executes Instructions |
Lenovo US. [online] Available at: https://www.lenovo.com/us/en/glossary/control-
unit/?orgRef=https%253A%252F%252Fwww.google.com%252F.
www.solarwinds.com. (n.d.). What are Computer and Server Operating Systems? - IT
Glossary | SolarWinds. [online] Available at: https://www.solarwinds.com/resources/it-
glossary/operating-system.
Zoho. (n.d.). HR Software Solutions | Cloud based HRMS | HR System | Zoho People.
[online] Available at: https://www.zoho.com/people/.
43
44
45