Skip to main content

Posts

Showing posts from October, 2021

Main Memory

Computer's CPU contains necessary circuitry for data processing and controlling other components of the computer. However, one thing it does not have built into it the to store programs and data needed during data processing. The CPU contains several registers for storing data and instructions but they can store only a few bytes at a time. They are just sufficient to hold one two instructions with corresponding data. If instructions and data of an executing program were to reside in secondary storage like a disk, and fetched and loaded one by one into CPU registers as the program execution proceeded, this would load the CPU being idle most of the time. This is because there is a large speed mismatch between the rate at which CPU can process data and the rate at which the system can transfer data from disk to CPU registers. For example, a CPU can process data at a rate of above 5 nanoseconds/byte and a disk reader can read data at a speed of about 5 microseconds/byte. Hence, within

Database Management System

 Database oriented approach of Organising data provides a set of programs to facilitate users to organise, create, delete, update and manipulate data in a database. All these programs together form a Database management system ( DBMS). Features found commonly in database management system are described below : Database models: We saw that database integrates together multiple related files. A database model defines the manner in which a database links it's various data elements tougher. Four database models used commonly are, hierarchical, network, relational, and object oriented. Also known as database structure techniques, they are described below.   1. Hierarchical Database: A hierarchical database links it's data elements as an inverted tree structure ( root at the top with branches formed below). Below the single root database element are subordinate elements, each of which, in turn has its own subordinate elements and so on, the can grow to multiple levels. Database eleme

File Management System

 File oriented approach of Organising data provides a set of facilitate users to organise, create, delete, update, and manipulate their files. All these programs together form a File management system (FMS). Features found commonly in file management system are described below: File types We categorize data files according to the way an application uses them. A file management system typically supports following types of files: 1. Transaction file: A transaction file stores input data until the application uses it during next Processing cycle. For example, in a payroll application for generating monthly pay slips of employees, current month transaction file contains this month's data of each employee, such as details of hours worked, normal and overtime hours, and if peace work is involved, quantity of goods made. 2. Master file: A master file contains all current data relevant to an application. For example, in payroll application mentioned above, master files contains payment det

Spreadsheet Package

  Spreadsheet with is a numerical data analysis tool that allows us to create computerized ledger. A manual ledger is a book having rows and columns that accountants use for keeping record of financial transactions and preparing financial statements. Accountants use pencil, erasure, and hand calculator to prepare financial statements using manual ledger. This is a tedious task and often takes a long time to come out with an acceptable and satisfactory financial statement, due to several  iterations of formula calculations, and making it easier to change certain numerical values and seeing the effect of these change across the worksheet (ledger) immediately. With the availability of spreadsheet Packages, we are no longer required to use pencil, erasure, and hand calculators for dealing with tasks that require numerical data analysis.

Machine Language

 Although we can design a computer to make it understand many different computer languages, every computer understands only one language without using translation program. This language is called machine language of the computer. normally, the machine language of the computer is written as the strings of binary 1s or 0s. The circuitry of a computer can recognize the machine language instructions immediately. It converts them into electricals signals to execute them. A  machine language instruction has the two part format. The first part is operation code that tells the computer what function to perform, and the second part is operand that tells where to find or store the data on which the computer has to perform the function. hence, each instruction tells the computer what operation to perform and the length and locations of the data fields involved in the operation. every computer has a set of operation codes called its instruction set. Each operation code in the instruction set is me

Computer Languages - introduction

  This chapter continues with the discussion of development of computer programs. Once a programmer has finished planning of a computer program, he/she is now ready to write the steps of the corresponding algorithm in a programming language.  Computer language or programming language is a language acceptable to a computer system, and the process of writing instructions in such a language is called programming or coding.   The goal of this post is to introduce some popular programming languages.  Analogy with natural languages:   Language is a mans of communication. We use a natural language such as English, to communicate our emotions and ideas to others. Similarly a programmer uses a computer language to instruct computer what he/she want to do.  All natural languages (English, French, German, etc.) use a standard set of words and symbols for communication. Everyone uses that language understands these words and symbols. The set of words allowed in a language is called its vocabulary.

Word-processing Package

The term word processing describes use of hardware and software to create, edit, view, format, store, retrieve and print documents (written materials such as letters, reports, books, etc.). A word processing package enables us to do all these on computer system. Commonly supported features: Today's word processing packages normally support the features described below: 1. Entering Text : This feature allows a user to enter text with computer's keyboard. Every character typed on keyboard is displayed immediately on computer's screen. Word wrap feature of word processing software determines when current line is full, and it automatically moves the text that follows to the next line. Hence, only time the user has to press Enter key is at the end of the paragraph. This feature is very useful to those having fast typing speed because they can enter text at their speed, without the need to keep track of where to end a line. 2. Editing Text : This feature allows a user to make cha

Data Organizing Methods

Two standard methods of organising data for data processing applications are file oriented approach and database oriented approach. File oriented approach was traditional method used in early days of data processing. It has been replaced today largely by database oriented approach. However, several applications, dealing with simple and small data sets, use file oriented approach, even today. Hence, both these methods are described below. File oriented approach: This method organizes an application's data into one or more files and the application program processes the data stored in these files to generate desired output. For example, it is customary to use a master file of permanent ( and, usually, the latest) data, and transaction files containing data of temporary nature. For instance, in a pay roll application, in additional to containing all permanent details of each employee ( name, address, employee code, pay rate, income tax rate, etc.) master payroll file also contains cur

Data Processing and Data Storage Hierarchy

  Data Processing  -  Data is collection of facts - unorganized, but able to organized into useful information. A collection of sells orders, employee time sheets, and class attendance cards are a few examples. We can manipulate data to produce output, such as bills, employee salary slip, and student attendance reports. This output, called information, is organized facts that help people to make decisions. Hence, information is data arranged in an order and from that is useful to people who receive it. Processing, in general terms, is a series of actions or operations that coverts some input into useful output. In data processing, input is data, and useful output is information. Hence, Data processing is a series of actions or operations that converts data into information.   It consists of three sub activities -  Capturing input data. Manipulating input data. Producing output information. Data processing system consists of  resources such as people, procedures, and devices, which is u

Processor of computer

Processor :  A processor is an integrated electronic circuit that performs the calculations that run a computer. A processor performs arithmetical, logical, input/output (I/O) and other basic instructions that are passed from an operating system (OS). Most other processes are dependent on the operations of a processor. The terms processor, central processing unit (CPU) and microprocessor are commonly linked as synonyms. Most people use the word “processor” interchangeably with the term “CPU” nowadays, it is technically not correct since the CPU is just one of the processors inside a personal computer (PC). Types of processor : 1. CISC Processor 2. RISC Processor 3. EPIC Processor 4. Multicore Processor 1. CISC :  A complex instruction set computer is a computer in which single instructions can execute several low-level operations (such as a load from memory, an arithmetic operation, and a memory store) or are capable of multi-step operations or addressing modes within single instructio

Central Processing Unit

  Central Processing Unit (CPU) A Central Processing Unit is also called a processor, central processor, or microprocessor. It carries out all the important functions of a computer. It receives instructions from both the hardware and active software and produces output accordingly. It stores all important programs like operating systems and application software. CPU also helps Input and output devices to communicate with each other. Owing to these features of CPU, it is often referred to as the brain of the computer. Central Processing Unit CPU is installed or inserted into a CPU socket located on the motherboard. Furthermore, it is provided with a heat sink to absorb and dissipate heat to keep the CPU cool and functioning smoothly. Generally, a CPU has three components: 1. Control Unit 2. Arithmetic Logic Unit 3. Memory or Storage Unit 1. Control Unit : It is the circuitry in the control unit, which makes use of electrical signals to instruct the computer system for executing already

Computer system architecture

  Computer Architecture  A computer system is basically a machine that simplifies complicated tasks. It should maximize performance and reduce costs as well as power consumption.The different components in the Computer System Architecture are Input Unit, Output Unit, Storage Unit, Arithmetic Logic Unit, Control Unit etc. A diagram that shows the flow of data between these units is as follows − The input data travels from input unit to ALU. Similarly, the computed data travels from ALU to output unit. The data constantly moves from storage unit to ALU and back again. This is because stored data is computed on before being stored again. The control unit controls all the other units as well as their data. Details about all the computer units are − Input Unit The input unit provides data to the computer system from the outside. So, basically it links the external environment with the computer. It takes data from the input devices, converts it into machine language and then loads it into t

Computer Generations

"Generation" in computer talk provides a framework for the growth of computer industry based on key technologies developed. Originally it was used to distinguish between hardware technologies but was later expended to include both hardware and software technologies. First Generation: (1940-1956) The first computer systems used vacuum tubes for circuitry and magnetic drums for memory, and were often enormous, taking up entire rooms. These computers were very expensive to operate and in addition to using a great deal of electricity, the first computers generated a lot of heat, which was often the cause of malfunctions. First generation computers relied on machine language, the lowest-level programming language understood by computers, to perform operations, and they could only solve one problem at a time. It would take operators days or even weeks to set-up a new problem. Input was based on punched cards and paper tape, and output was displayed on printouts. The UNIVAC and ENIA

Evolution of Computers

  Blaise Pascal invented the first mechanical adding machine in 1642. First mechanical adding machine Later, in the year 1671, Baron Gottfried Wilhelm von Leibniz of Germany invented the first calculator for multiplication. First calculator for multiplication Keyboard machines originated in the United states around 1880 and we use them even today. Around the same period, Herman Hollerith came up with the concept of punched cards that computers used extensively a input medium even in late 1970s. Business machines and calculators made their appearance in Europe and America towards the end of the nineteenth century. Charles Babbage , a nineteenth century professor at Cambridge University, is considered the Father of modern digital programmable computers. He had employed a group of clerks for preparing mathematical statistical tables. Babbage had to spend several hours checking these tables because even utmost care and precautions could not eliminate human errors. Soon he became dissat