Wednesday, 26 August 2020

Computer Concepts - Introduction to Computer

Computer Concepts - Introduction to Computer

 


In today's world, we use computers for all our tasks. Our day-to-day activities: paying bills, buying groceries, using social media, seeking entertainment, working from home, communicating with a friend, etc., can all be done using a computer. So it is important not only to know how to use a computer, but also to understand the components of a computer and what they do.

This topic explains all concepts related to computer in detail, from origin to end. The idea of computer literacy is also discussed, which includes the definition and functions of a computer. You learn about the components of a computer, the concept of hardware and software, representation of data/information, the concept of data processing and applications of IECT.

What is a Computer?

A computer is an electronic device that accepts data from the user, processes it, produces results, displays them to the users, and stores the results for future usage.

Data is a collection of unorganized facts & figures and does not provide any further information regarding patterns, context, etc. Hence data means "unstructured facts and figures".

Information is a structured data i.e. organized meaningful and processed data. To process the data and convert into information, a computer is used.

Functions of Computers

A computer performs the following functions −

Receiving Input

Data is fed into computer through various input devices like keyboard, mouse, digital pens, etc. Input can also be fed through devices like CD-ROM, pen drive, scanner, etc.

Processing the information

Operations on the input data are carried out based on the instructions provided in the programs.

Storing the information

After processing, the information gets stored in the primary or secondary storage area.

Producing output

The processed information and other details are communicated to the outside world through output devices like monitor, printer, etc.

Sr.No. Computer Concepts & Description
1 History of Computers

The history of the computer dates back to several years. There are five prominent generations of computers. Each generation has witnessed several technological advances which change the functionality of the computers.

2 Characteristics of Computer System

Characteristics of Computer System involve Speed, Accuracy, Diligence, Versatility, Reliability, Automation, Memory.

3 Basic Applications of Computer

Computers play a role in every field of life. They are used in homes, business, educational institutions, research organizations, medical field, government offices, entertainment, etc.

4 Components of Computer System

Computer systems consist of three components as shown in below image: Central Processing Unit, Input devices and Output devices.

5

Input devices help to get input or data from user.

6 Other Input Devices

There are few other input devices which help to feed data to the computer.

7

Output devices help to display output to user

8 Computer Memory

Computer memory refers to storage area where data is stored. It is of two types Primary Memory & Secondary Memory.

9 Concept of Hardware and Software

The term hardware refers to mechanical device that makes up computer.

Software can be categorized into two types - System software & Application software

10 Programming Languages

The languages that are used to write a program or set of instructions are called "Programming languages". Programming languages are broadly categorized into three types - Machine level language, Assembly level language, High-level language.

11 Representation of Data/Information

Computer does not understand human language. Any data, viz., letters, symbols, pictures, audio, videos, etc., fed to computer should be converted to machine language first. Computers represent that data into different forms.

12 Data Processing & Data Processing Stages

Data processing is a process of converting raw facts or data into a meaningful information.

13 Applications of IECT

IECT stands for Information Electronics and Communication Technology.

Summary

In this chapter, we discussed different components of a computer, and familiarized ourselves with concept of hardware and software, representation of data/information, concept of data processing, and applications of IECT.

Sunday, 5 April 2020

Basics of Computers - System S/W

Basics of Computers - System S/W

As you know, system software acts as an interface for the underlying hardware system. Here we will discuss some important system software in detail.
Operating System
Operating system (OS) is the lifeline of computer. You connect all the basic devices like CPU, monitor, keyboard and mouse; plug in the power supply and switch it on thinking you have everything in place. But the computer will not start or come to life unless it has an operating system installed in it because OS −
  • Keeps all hardware parts in a state of readiness to follow user instructions
  • Co-ordinates between different devices
  • Schedules multiple tasks as per priority
  • Allocates resource to each task
  • Enables computer to access network
  • Enables users to access and use application software
Besides initial booting, these are some of the functions of an operating system −
  • Managing computer resources like hardware, software, shared resources, etc.
  • Allocating resources
  • Prevent error during software use
  • Control improper use of computer
One of the earliest operating systems was MS-DOS, developed by Microsoft for IBM PC. It was a Command Line Interface (CLI) OS that revolutionized the PC market. DOS was difficult to use because of its interface. The users needed to remember instructions to do their tasks. To make computers more accessible and user-friendly, Microsoft developed Graphical User Interface (GUI) based OS called Windows, which transformed the way people used computers.
Assembler
Assembler is a system software that converts assembly level programs to machine level code.
These are the advantages provided by assembly level programming −
  • Increases efficiency of the programmer as remembering mnemonics is easier
  • Productivity increases as number of errors decreases and hence debugging time
  • Programmer has access to hardware resources and hence has flexibility in writing programs customized to the specific computer
Interpreter
The major advantage of assembly level language was its ability to optimize memory usage and hardware utilization. However, with technological advancements computers had more memory and better hardware components. So ease of writing programs became more important than optimizing memory and other hardware resources.
In addition, a need was felt to take programming out of a handful of trained scientists and computer programmers, so that computers could be used in more areas. This led to development of high level languages that were easy to understand due to resemblance of commands to English language.
The system software used to translate high level language source code into machine level language object code line by line is called an interpreter. An interpreter takes each line of code and converts it into machine code and stores it into the object file.
The advantage of using an interpreter is that they are very easy to write and they do not require a large memory space. However, there is a major disadvantage in using interpreters, i.e., interpreted programs take a long time in executing. To overcome this disadvantage, especially for large programs, compilers were developed.
Compiler
System software that store the complete program, scan it, translate the complete program into object code and then creates an executable code is called a compiler. On the face of it compilers compare unfavorably with interpreters because they −
  • are more complex than interpreters
  • need more memory space
  • take more time in compiling source code
However, compiled programs execute very fast on computers. The following image shows the step-by-step process of how a source code is transformed into an executable code −
These are the steps in compiling source code into executable code −
·        Pre-processing − In this stage pre-processor instructions, typically used by languages like C and C++ are interpreted, i.e. converted to assembly level language.
·        Lexical analysis − Here all instructions are converted to lexical units like constants, variables, arithmetic symbols, etc.
·        Parsing − Here all instructions are checked to see if they conform to grammar rules of the language. If there are errors, compiler will ask you to fix them before you can proceed.
·        Compiling − At this stage the source code is converted into object code.
·        Linking − If there are any links to external files or libraries, addresses of their executable will be added to the program. Also, if the code needs to be rearranged for actual execution, they will be rearranged. The final output is the executable code that is ready to be executed.

Basics of Computers - Classification

Basics of Computers - Classification

Basics of Computers - Classification
Historically computers were classified according to processor types because development in processor and processing speeds were the developmental benchmarks. Earliest computers used vacuum tubes for processing, were huge and broke down frequently. However, as vacuum tubes were replaced by transistors and then chips, their size decreased and processing speeds increased manifold.
All modern computers and computing devices use microprocessors whose speeds and storage capacities are skyrocketing day by day. The developmental benchmark for computers is now their size. Computers are now classified on the basis of their use or size −
  • Desktop
  • Laptop
  • Tablet
  • Server
  • Mainframe
  • Supercomputer
Let us look at all these types of computers in detail.
Desktop
Desktop computers are personal computers (PCs) designed for use by an individual at a fixed location. IBM was the first computer to introduce and popularize use of desktops. A desktop unit typically has a CPU (Central Processing Unit), monitor, keyboard and mouse. Introduction of desktops popularized use of computers among common people as it was compact and affordable.

Riding on the wave of desktop’s popularity many software and hardware devices were developed specially for the home or office user. The foremost design consideration here was user friendliness.
Laptop
Despite its huge popularity, desktops gave way to a more compact and portable personal computer called laptop in 2000s. Laptops are also called notebook computers or simply notebooks. Laptops run using batteries and connect to networks using Wi-Fi (Wireless Fidelity) chips. They also have chips for energy efficiency so that they can conserve power whenever possible and have a longer life.

Modern laptops have enough processing power and storage capacity to be used for all office work, website designing, software development and even audio/video editing.
Tablet
After laptops computers were further miniaturized to develop machines that have processing power of a desktop but are small enough to be held in one’s palm. Tablets have touch sensitive screen of typically 5 to 10 inches where one finger is used to touch icons and invoke applications.

Keyboard is also displayed virtually whenever required and used with touch strokes. Applications that run on tablets are called apps. They use operating systems by Microsoft (Windows 8 and later versions) or Google (Android). Apple computers have developed their own tablet called iPad which uses a proprietary OS called iOS.
Server
Servers are computers with high processing speeds that provide one or more services to other systems on the network. They may or may not have screens attached to them. A group of computers or digital devices connected together to share resources is called a network.

Servers have high processing powers and can handle multiple requests simultaneously. Most commonly found servers on networks include −
  • File or storage server
  • Game server
  • Application server
  • Database server
  • Mail server
  • Print server
Mainframe
Mainframes are computers used by organizations like banks, airlines and railways to handle millions and trillions of online transactions per second. Important features of mainframes are −
  • Big in size
  • Hundreds times Faster than servers, typically hundred megabytes per second
  • Very expensive
  • Use proprietary OS provided by the manufacturers
  • In-built hardware, software and firmware security features
Supercomputer
Supercomputers are the fastest computers on Earth. They are used for carrying out complex, fast and time intensive calculations for scientific and engineering applications. Supercomputer speed or performance is measured in teraflops, i.e. 1012 floating point operations per second.

Chinese supercomputer Sunway TaihuLight is the world’s fastest supercomputer with a rating of 93 petaflops per second, i.e. 93 quadrillion floating point operations per second.
Most common uses of supercomputers include −
  • Molecular mapping and research
  • Weather forecasting
  • Environmental research
  • Oil and gas exploration


Basics of Computers - Introduction

Basics of Computers - Introduction

Basics of Computers - Introduction
Being a modern-day kid you must have used, seen, or read about computers. This is because they are an integral part of our everyday existence. Be it school, banks, shops, railway stations, hospital or your own home, computers are present everywhere, making our work easier and faster for us. As they are such integral parts of our lives, we must know what they are and how they function. Let us start with defining the term computer formally.
The literal meaning of computer is a device that can calculate. However, modern computers can do a lot more than calculate. Computer is an electronic device that receives input, stores or processes the input as per user instructions and provides output in desired format.
Input-Process-Output Model
Computer input is called data and the output obtained after processing it, based on user’s instructions is called information. Raw facts and figures which can be processed using arithmetic and logical operations to obtain information are called data.

The processes that can be applied to data are of two types −
·        Arithmetic operations − Examples include calculations like addition, subtraction, differentials, square root, etc.
  • Logical operations − Examples include comparison operations like greater than, less than, equal to, opposite, etc.
The corresponding figure for an actual computer looks something like this −

The basic parts of a computer are as follows −
·        Input Unit − Devices like keyboard and mouse that are used to input data and instructions to the computer are called input unit.
·        Output Unit − Devices like printer and visual display unit that are used to provide information to the user in desired format are called output unit.
·        Control Unit − As the name suggests, this unit controls all the functions of the computer. All devices or parts of computer interact through the control unit.
·        Arithmetic Logic Unit − This is the brain of the computer where all arithmetic operations and logical operations take place.
·        Memory − All input data, instructions and data interim to the processes are stored in the memory. Memory is of two types – primary memory and secondary memory. Primary memory resides within the CPU whereas secondary memory is external to it.
Control unit, arithmetic logic unit and memory are together called the central processing unit or CPU. Computer devices like keyboard, mouse, printer, etc. that we can see and touch are the hardware components of a computer. The set of instructions or programs that make the computer function using these hardware parts are called software. We cannot see or touch software. Both hardware and software are necessary for working of a computer.
Characteristics of Computer
To understand why computers are such an important part of our lives, let us look at some of its characteristics −
·        Speed − Typically, a computer can carry out 3-4 million instructions per second.
·        Accuracy − Computers exhibit a very high degree of accuracy. Errors that may occur are usually due to inaccurate data, wrong instructions or bug in chips – all human errors.
·        Reliability − Computers can carry out same type of work repeatedly without throwing up errors due to tiredness or boredom, which are very common among humans.
·        Versatility − Computers can carry out a wide range of work from data entry and ticket booking to complex mathematical calculations and continuous astronomical observations. If you can input the necessary data with correct instructions, computer will do the processing.
·        Storage Capacity − Computers can store a very large amount of data at a fraction of cost of traditional storage of files. Also, data is safe from normal wear and tear associated with paper.
Advantages of Using Computer
Now that we know the characteristics of computers, we can see the advantages that computers offer−
·        Computers can do the same task repetitively with same accuracy.
·        Computers do not get tired or bored.
·        Computers can take up routine tasks while releasing human resource for more intelligent functions.
Disadvantages of Using Computer
Despite so many advantages, computers have some disadvantages of their own −
·        Computers have no intelligence; they follow the instructions blindly without considering the outcome.
·        Regular electric supply is necessary to make computers work, which could prove difficult everywhere especially in developing nations.
Booting
Starting a computer or a computer-embedded device is called booting. Booting takes place in two steps −
  • Switching on power supply
  • Loading operating system into computer’s main memory
  • Keeping all applications in a state of readiness in case needed by the user
The first program or set of instructions that run when the computer is switched on is called BIOS or Basic Input Output System. BIOS is a firmware, i.e. a piece of software permanently programmed into the hardware.
If a system is already running but needs to be restarted, it is called rebooting. Rebooting may be required if a software or hardware has been installed or system is unusually slow.
There are two types of booting −
·        Cold Booting − When the system is started by switching on the power supply it is called cold booting. The next step in cold booting is loading of BIOS.
·        Warm Booting − When the system is already running and needs to be restarted or rebooted, it is called warm booting. Warm booting is faster than cold booting because BIOS is not reloaded.