Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

CS111

ASSIGNMENT: 1
REPORT
WRITING

NAME: Monesh Padyachi


STUDENT ID#: S11170442
COURSE UNIT: CS111
2.1 Hardware and software fundamentals
Solution
Modern computer functions through the control center, called central processing unit (CPU), is
exceptionally perplexing, board arrangement of electronic hardware (electronic circuit board) that
executes stored program instructions. The central processing comes in two parts: arithmetic unit
and logic unit. These parts have their own role or functions that they carry out in the computer
system. Before we discuss how central processing unit works, we need to know how data storage
works in relation to the CPU. There are styles of storage; Primary storage and Secondary storage.
The CPU closely works with the number one storage for relating to commands and statistics.
CPU uses electrical signals to direct the complete computer system to carry out or execute, keep
software commands, it should communicate with each arithmetic or good judgment and memory.
Arithmetic and common-sense unit consists of electronic circuitry that executes all mathematics
and logic operations. Arithmetic performs four sorts of operations which includes addition,
subtraction, multiplication and division. Logical unit/ operations deal with comparison. The unit
compares numbers, letter and special characters. A logical operation can test for three conditions;
Equal-to circumstance, Less- than circumstance, Greater- than condition. Registers are transient
storage areas for information. It works under the path of control unit to accept, maintain, and
transfer guidance and perform mathematics or logical comparisons. Central processing unit
executes program instructions by following four most important steps but before these, data
needs to be placed into the memory through input devices or secondary storage device. The four
steps that needs to be followed for each instruction are; firstly, CPU gets the instructions from
the memory. Secondly, CPU decrypts the instruction. Thirdly, arithmetic/ logical instructions
are executed through arithmetic/ logic unit, and the last step is where the arithmetic/ logic unit
stores the result of the operations in the register or memory. The first two steps together are
known as instruction time whereas step 3 and step 4 are known as execution time.

(Words= 321)
2.2 Societal Issues/Legal issues/Privacy
Solution
No, this is not an ethical to do according to the ACS codes of Ethics and with basic programing
Ethics. This is because the ACS code of Ethics outlines, firstly primary interest of public which
means you put your personal interest aside and place a public interest. Secondly professionalism
this is to bring integrity of the society and the respect of its members for each other. According to
the Basic Programming Ethics, firstly Honor confidentiality, must keep secret any additional
information. Secondly now not have interaction in misleading financial practices together with
bribery, double billing, or different wrong financial practices.

As a programmer we should work with high level of integrity, professionalism and honesty.
Therefore, as programmers we should never do things that will have a personal benefit towards the
program. Abiding the ACS ethics will allow deception and fraud amongst companies and
workmates.
(Words=142)

You might also like