Wednesday 29 March 2017

OPERATING SYSTEM

An operating system (OS) is system software that manages computer hardware and software resources and provides common services for computer programs. All computer programs, excluding firmware, require an operating system to function.
Time-sharing operating systems schedule tasks for efficient use of the system and may also include accounting software for cost allocation of processor time, mass storage, printing, and other resources.
For hardware functions such as input and output and memory allocation, the operating system acts as an intermediary between programs and the computer hardware, although the application code is usually executed directly by the hardware and frequently makes system calls to an OS function or is interrupted by it. Operating systems are found on many devices that contain a computer – from cellular phones and video game consoles to web servers and supercomputers.
The dominant desktop operating system is Microsoft Windows with a market share of around 83.3%. macOS by Apple Inc. is in second place (11.2%), and the varieties of Linux is in third position (1.55%). In the mobile (smartphone and tablet combined) sector, according to third quarter 2016 data, Android by Google is dominant with 87.5 percent and a growth rate 10.3 percent per year, followed by iOS by Apple with 12.1 percent and a per year decrease in market share of 5.2 percent, while other operating systems amount to just 0.3 percent. Linux distributions are dominant in the server and supercomputing sectors. Other specialized classes of operating systems, such as embedded and real-time systems, exist for many applications.

Image result for operating system

Types Of Operating Systems

Single- and multi-tasking

A single-tasking system can only run one program at a time, while a multi-tasking operating system allows more than one program to be running in concurrency. This is achieved by time-sharing, dividing the available processor time between multiple processes that are each interrupted repeatedly in time slices by a task-scheduling subsystem of the operating system. Multi-tasking may be characterized in preemptive and co-operative types. In preemptive multitasking, the operating system slices the CPU time and dedicates a slot to each of the programs. Unix-like operating systems, e.g., Solaris, Linux, as well as AmigaOS support preemptive multitasking. Cooperative multitasking is achieved by relying on each process to provide time to the other processes in a defined manner. 16-bit versions of Microsoft Windows used cooperative multi-tasking. 32-bit versions of both Windows NT and Win9x, used preemptive multi-tasking.

Single- and multi-user

Single-user operating systems have no facilities to distinguish users, but may allow multiple programs to run in tandem. A multi-user operating system extends the basic concept of multi-tasking with facilities that identify processes and resources, such as disk space, belonging to multiple users, and the system permits multiple users to interact with the system at the same time. Time-sharing operating systems schedule tasks for efficient use of the system and may also include accounting software for cost allocation of processor time, mass storage, printing, and other resources to multiple users.


HISTORY OF COMPUTER 

 The history of computer began long before the modern discipline of computer science that emerged in the 20th century, and was hinted at in the centuries prior. The progression, from mechanical inventions and mathematical theories towards modern computer concepts and machines, led to a major academic field and the basis of a massive worldwide industry.

The earliest known tool for use in computation was the abacus, developed in the period between 2700–2300 BCE in Sumer. The Sumerians' abacus consisted of a table of successive columns which delimited the successive orders of magnitude of their sexagesimal number system. Its original style of usage was by lines drawn in sand with pebbles . Abaci of a more modern design are still used as calculation tools today. 

The Antikythera mechanism is believed to be the earliest known mechanical analogue computer. It was designed to calculate astronomical positions. It was discovered in 1901 in the Antikythera wreck off the Greek island of Antikythera, between Kythera and Crete, and has been dated to c. 100 BCE. Technological artifacts of similar complexity did not reappear until the 14th century, when mechanical astronomical clocks appeared in Europe.

When John Napier discovered logarithms for computational purposes in the early 17th century, there followed a period of considerable progress by inventors and scientists in making calculating tools. In 1623 Wilhelm Schickard designed a calculating machine, but abandoned the project, when the prototype he had started building was destroyed by a fire in 1624 . Around 1640, Blaise Pascal, a leading French mathematician, constructed a mechanical adding device based on a design described by Greek mathematician Hero of Alexandria. Then in 1672 Gottfried Wilhelm Leibniz invented the Stepped Reckoner which he completed in 1694. 

In 1837 Charles Babbage first described his Analytical Engine which is accepted as the first design for a modern computer. The analytical engine had expandable memory, an arithmetic unit, and logic processing capabilities able to interpret a programming language with loops and conditional branching. Although never built, the design has been studied extensively and is understood to be Turing equivalent. The analytical engine would have had a memory capacity of less than 1 kilobyte of memory and a clock speed of less than 10 Hertz .

FIRST COMPUTERS 

 The first substantial computer was the giant ENIAC machine by John W. Mauchly and J. Presper Eckert at the University of Pennsylvania. ENIAC (Electrical Numerical Integrator and Calculator) used a word of 10 decimal digits instead of binary ones like previous automated calculators/computers. ENIAC was also the first machine to use more than 2,000 vacuum tubes, using nearly 18,000 vacuum tubes. Storage of all those vacuum tubes and the machinery required to keep the cool took up over 167 square meters (1800 square feet) of floor space. Nonetheless, it had punched-card input and output and arithmetically had 1 multiplier, 1 divider-square rooter, and 20 adders employing decimal "ring counters," which served as adders and also as quick-access (0.0002 seconds) read-write register storage. 

Eniac: The executable instructions composing a program were embodied in the separate units of ENIAC, which were plugged together to form a route through the machine for the flow of computations. These connections had to be redone for each different problem, together with presetting function tables and switches. This "wire-your-own" instruction technique was inconvenient, and only with some license could ENIAC be considered programmable; it was, however, efficient in handling the particular programs for which it had been designed. ENIAC is generally acknowledged to be the first successful high-speed electronic digital computer (EDC) and was productively used from 1946 to 1955. A controversy developed in 1971, however, over the patentability of ENIAC's basic digital concepts, the claim being made that another U.S. physicist, John V. Atanasoff, had already used the same ideas in a simpler vacuum-tube device he built in the 1930s while at Iowa State College. In 1973, the court found in favor of the company using Atanasoff claim and Atanasoff received the acclaim he rightly deserved.

Tuesday 21 February 2017

PROCESSOR (CPU)

        Unit pemprosesan pusat (CPU) adalah litar elektronik dalam komputer yang melaksanakan arahan program komputer dengan melakukan aritmetik asas, operasi yang ditentukan oleh arahan logik, kawalan dan input / output (I / O). Industri komputer telah menggunakan istilah "unit pemprosesan pusat" sekurang-kurangnya sejak awal 1960-an.  Secara tradisinya, istilah "CPU" merujuk kepada pemproses, lebih khusus kepada unit unit pemprosesan dan kawalan (CU), membezakan unsur-unsur teras komputer dari komponen luaran seperti ingatan utama dan saya litar / O. 
        Bentuk, reka bentuk dan pelaksanaan CPU telah berubah sepanjang sejarah mereka, tetapi operasi asas mereka kekal hampir tidak berubah. komponen utama CPU yang termasuk unit logik aritmetik (ALU) yang melakukan operasi aritmetik dan logik, pemproses mendaftar yang operan bekalan kepada ALU dan menyimpan keputusan operasi ALU, dan unit kawalan yang orchestrates semasa mengambil (daripada memori) dan pelaksanaan arahan dengan mengarahkan operasi diselaraskan ALU, daftar dan komponen lain.

        Kebanyakan CPU moden mikropemproses, bermakna mereka yang terkandung di litar bersepadu (IC) cip tunggal. KP yang mengandungi CPU juga mengandungi ingatan, antara muka persisian, dan lain-lain komponen komputer; peranti bersepadu tersebut pelbagai dipanggil pengawal mikro atau sistem pada cip (SoC). Sesetengah komputer menggunakan pemproses berbilang teras, yang merupakan cip tunggal yang mengandungi dua atau lebih CPU dipanggil "teras"; dalam konteks itu, kita boleh bercakap seperti cip tunggal sebagai "soket". Pemproses Array atau pemproses vektor mempunyai beberapa pemproses yang beroperasi secara selari, tanpa unit dianggap pusat. Terdapat juga wujud konsep CPU maya yang merupakan abstraksi dinamik sumber pengiraan agregat.


Tuesday 7 February 2017

Basic Computer

Introduction

The basic parts of a desktop computer are the computer casemonitorkeyboardmouse, and power cord. Each part plays an important role whenever you use a computer.

Computer case

a computer tower case
The computer case is the metal and plastic box that contains the main components of the computer, including the motherboard, central processing unit (CPU), and power supply. The front of the case usually has an On/Off button and one or more optical drives.
Computer cases come in different shapes and sizes. A desktop case lies flat on a desk, and the monitor usually sits on top of it. A tower case is tall and sits next to the monitor or on the floor. All-in-one computers come with the internal components built into the monitor, which eliminates the need for a separate case.

Monitor

a monitor
The monitor works with a video card, located inside the computer case, to display images and text on the screen. Most monitors have control buttons that allow you to change your monitor's display settings, and some monitors also have built-in speakers.
Newer monitors usually have LCD (liquid crystal display) or LED (light-emitting diode) displays. These can be made very thin, and they are often called flat-panel displays. Older monitors use CRT (cathode ray tube) displays. CRT monitors are much larger and heavier, and they take up more desk space.

Keyboard

The keyboard is one of the main ways to communicate with a computer. There are many different types of keyboards, but most are very similar and allow you to accomplish the same basic tasks.
Click the buttons in the interactive below to learn about the different parts of the keyboard.
keyboard
If you want to learn how to type or improve your touch-typing skills, check out our free Typing Tutorial.

Mouse

a computer mouse
The mouse is another important tool for communicating with computers. Commonly known as a pointing device, it lets you point to objects on the screen, click on them, and move them.
There are two main mouse types: optical and mechanical. The optical mouse uses an electronic eye to detect movement and is easier to clean. The mechanical mouse uses a rolling ball to detect movement and requires regular cleaning to work properly.
To learn the basics of using a mouse, check out our interactive Mouse Tutorial.

Mouse alternatives

There are other devices that can do the same thing as a mouse. Many people find them easier to use, and they also require less desk space than a traditional mouse. The most common mouse alternatives are below.
  • Trackball: A trackball has a ball that can rotate freely. Instead of moving the device like a mouse, you can roll the ball with your thumb to move the pointer.
    a rollerball mouse
  • Touchpad: A touchpad—also called a trackpad—is a touch-sensitive pad that lets you control the pointer by making a drawing motion with your finger. Touchpads are common on laptop computers.
    a laptop touchpad