Professional Documents
Culture Documents
Module Week 2
Module Week 2
● Number computation
● Placing a data from a memory to one more location.
● Interpretation of a piece of data from the key memory
● Defining if the value is equal to one the other value.
It achieves modest operations on pieces of data from the list that the
CPU can do. On its own, it doesn’t do anything. The purpose of it is it needed
be told what to do. The cause that the CPU is functioning in operations is
because of the program, in which it is list of command and instructions. Every
instruction in the computer program is a command in which it connects and
communicates in the CPU to do or perform a task. This is an example of
instruction in a computer program, 111001011, in a CPU’s interpretation it is
a series of 1s and 0s. Though, this series will tell the computer what to do.
Course Module
It is written in 1s and 0s because the CPU can only understand a set of
instruction in a machine language and it is always in binary form.
A procedure that is also called the fetch-decode-execute cycle is
involved when the CPU does an instruction in a computer program. This cycle
covers of three essential steps that is repeated in every instruction in the
program:
1. Fetch –Fetch is the primary step in the cycle and it delivers
the following instruction needed in a memory to the Central
processing unit.
2. Decode – In this second part of the cycle, a binary language
instruction that implies an action that communicates to the CPU
to execute a command. The delivered instruction will translate
by the central processing unit from the memory. And it controls
what command will be executed.
3. Execute - The final cycle is to perform or execute the given
task.
Figure 1
Computing Fundamentals (Programming Logic and Design) 3
High-Level Languages
As innovation enters the generation of computer programming
languages, the high-level languages began to give the impression in the early
1950s. Without studying how does the central processing unit works, these
high-level languages let us to create useful programs in a low-level instruction
without writing a large number. Mostly these languages have a set of words
that are easy to understand for designing a program.
Course Module
COBOL - Common Business-Oriented Language. It was created for the use of
commercially related applications in the 1950s.
Pascal – It was made for training computer programming in the 1970s. It was
named after Blaise Pascal.
C and C++ pronounced as “c plus plus” – The powerful C language was designed
at Bell Laboratories in 1972 while C++ was designed in early 1980s.
C# pronounced as “c sharp.” – Its purpose is for creating and developing
applications based on the Microsoft .NET platform in the year 2000.
Java – In 1990s, Sun Microsystems created Java. It was made for program
development that runs in one computer or over from the Web Server to the
Internet.
JavaScript™ - It is used in Web pages in 1990s. Always remember that
JavaScript and Java are not correlated.
Python – It become famous for enterprises and commercially applications use.
It was created in 1990s.
Ruby – Ruby was progressively popular language for applications running in
the Web servers. It was designed in the early 1990s.
Visual Basic – Also known as VB and it is under the Microsoft software
development environment created in the early 1990s. It allows users to create
Windows®-based applications fast.
Respectively, every high-level language was made with personal set of
words that the user should study in able to run the language. The set of words
called key words or reserved words. Each of it has a precise denotation and
cannot be used for any other purpose.
Computing Fundamentals (Programming Logic and Design) 5
Course Module