GE COMPUTER PROGRAMMING

Size: px
Start display at page:

Download "GE COMPUTER PROGRAMMING"

Transcription

1 GE COMPUTER PROGRAMMING

2 UNIT I INTRODUCTION

3 What is Computer? Definition Computer System is an electronic data processing device which does the following: 1. Accept and store an input data. 2. Process the data input. 3. And output the processed data in required format. Functionalities of a computer Any digital computer carries out five functions in gross terms: 1. Takes data as input. 2. Stores the data/instructions in its memory and can use them when required. 3. Process the data and convert it into useful information. Output the information. Control all the above four steps.

4 Advantages 4. It can store any type of data such as images, videos, text, audio and any other type. High Speed 1. Computer is a very fast device. 2. It is capable of performing addition of very big data. 3. The computer has units of speed in microsecond, nanosecond and even the picosecond. 4. It can perform millions of calculations in a few seconds as compared to man who can spend many months for doing the same task. Accuracy 1. In addition to being very fast, computer are very accurate. 2. The computer has performed calculations 100% error free. 3. Computers perform all jobs with 100% accuracy. Storage Capability 1. Memory is a very important characteristic of computers. 2. The computer has much more storage capacity than human beings. 3. It can store large amount of data.

5 Diligence 1. Unlike human beings, a computer is free from monotony, tiredness and lack of concentration. 2. It can work continuously without creating any error and boredom. 3. It can do repeated work with same speed and accuracy. Versatility 1. A computer is a very versatile machine. 2. A computer is very flexible in performing the jobs to be done. 3. This machine can be used to solve the problems relating to various different fields. 4. At one instant, it may be solving a complex scientific problem and the very next moment it may be playing a card game. Reliability 1. A computer is a reliable machine. 2. Modern electronic components have failure free long lives. 3. Computers are designed to make maintenance easy.

6 Automation 1. Computer is a automatic machine. 2. Automation means ability to perform the task automatically. 3. Once a program is given to computer i.e stored in computer memory, the program and instruction can control the program execution without human interaction. Reduction in Paper Work 1. The use of computers for data processing in an organization leads to reduction in paper work and speeds up the process. 2. As data in electronic files can be retrieved as and when required,the problem of maintenance of large number of files gets reduced. Reduction in Cost 1. Though the initial investment for installing a computer is high but it substantially reduces the cost of each of its transaction.

7 Disadvantages Following list demonstrates the disadvantages of Computers in today's arena. No I.Q 1. A computer is a machine and has no intelligence of its own to perform any task. 2. Each and every instruction has to be given to computer. 3. A computer can not take any decision on its own. Dependency 1. It can perform function as instructed by user.so it is fully dependent on human being. Environment 2. The operating environment of computer should be dust free and suitable to it. No Feeling 1. Computer has no feeling or emotions. 2. It cannot make Judgement based on feeling, taste, experience and knowledge unlike a human being.

8 Computer - Applications Business The computer's characteristic as high speed of calculation, diligence,accuracy, reliability, or versatility has made it an integerated part in all business organisations. Computer used in business organisation for: 1. Payroll Calculations 2. Budgeting 3. Sales Analysis 4. Financial forcasting 5. Managing employees database Banking 6. Maintenance of stocks etc. 1. Today Banking is almost totally dependent on computer. 2. Banks provide following facilities: 3. Banks on-line accounting facility, which include current balances, deposits, overdrafts, interest charges, shares and trustee records. 4. ATM machines are making it even easier for customers to deal with banks.

9 Insurance Insurance companies are keeping all records up to date with the help of computer.the Insurance Companies, Finance houses and Stock broking firms are widely using computers for their concerns. Insurance Companies are maintaining a database of all clients with information showing 1. how to continue with policies 2. starting date of the policies 3. next due installment of a policy 4. maturity date 5. interests due 6. survival benefits 7. bonus

10 Education 1. The computer has provided a lot of facilities in the Education System. 2. The uses of computer provide a tool in the Education system is known as CBE (Computer Based Education). 3. CBE involves Control, Delivery and Evaluation of learning. 4. The computer education is very familiar and rapidly increasing the graph of computer students. 5. There are number of methods in which educational institutions can use computer to educate the students. 6. It is used for prepare a database about student performance and analysis are carried out. Marketing Advertising: With computers, advertising professionals create art and graphics, write and revise copy, and print and disseminate ads with the goal of selling more products. At Home Shopping: At home shopping has been made possible through use of computerised catalogues that provide access to product information and permit direct entry of orders to be filled by the customers.

11 Health Care Computers have become important part in all Medical Systems. The computers are being used in hospitals to keep the record of patients and medicines. It is also used in scanning and diagnosing different diseases. ECG, EEG, Ultrasounds and CT Scans etc. are also done by computerised machines. Some of major fields of health care in which computer are used: 1. Diagnostic System: Computers are used to collect data and identify cause of illness. 2. Lab-diagnostic System:All tests can be done and reports are prepared by computer. 3. Patient Monitoring System:These are used to check patient's signs for abnormality such as in Cardiac Arrest, ECG etc. 4. Pharma Information System:Computer checks Drug-Labels, Expiry dates, harmful drug side effects etc. Nowadays, computers are also used in performing surgery.

12 Military 5. Video-conferencing Computers are largely used in defence.modern tanks, missiles, weapons etc.employ computerised control systems.some military areas where a computer has been used are: 1. Missile Control 2. Military Communication 3. Military operation and planning 4. Smart Weapons Communication Communication means to convey a message, an idea, a picture or speech that is received and understood clearly and correctly by the person for whom it is meant.some main areas in this category are: Chatting 3. Usenet 4. FTP 5. Telnet

13 Government Applications Computers play an important role in government applications. Some major fields in this category are: 1. Budgets 2. Sales tax department 3. Income tax department 4. Male/Female ratio 5. Computerization of voters lists 6. Computerization of Driving Licensing system 7. Computerization of PAN card 8. Weather Forecasting. Computer Generations Generation in computer terminology is a change in technology a computer is/was being used. Initially, the generation term was used to distinguish between varying hardware technologies. But nowadays, generation includes both hardware and software, which together make up an entire computer system. There are totally five computer generations known till date. Each generation has been discussed in detail along with their time period, characteristics. We've used approximate dates against each generations which are normally accepted.

14 S.N Generation & Description First Generation The period of first generation : Vaccum tube based. Second Generation The period of second generation : Transistor based. Third Generation The period of third generation : Integrated Circuit based. Fourth Generation The period of fourth generation : VLSI microprocessor based. Fifth Generation The period of fifth generation : 1980-onwards.ULSI microprocessor based First Generation The period of first generation was First generation of computer started with using vacuum tubes as the basic components for memory and circuitry for CPU(Central Processing Unit). These tubes like electric bulbs produced a lot of heat and were prone to frequent fusing of the installations, therefore, were very expensive and could be afforded only by very large organisations.

15 In this generation mainly batch processing operating system were used. In this generation Punched cards, Paper tape, Magnetic tape Input & Output device were used. There were Machine code and electric wired board languages used. The main features of First Generation are: 1. Vacuum tube technology 2. Unreliable 3. Supported Machine language only 4. Very costly 5. Generate lot of heat 6. Slow Input/Output device 7. Huge size 8. Need of A.C. 9.Non portable 10. Consumed lot of electricity Some computer of this generation were: 1. ENIAC (ELECTRONIC NUMERICAL INTEGRATOR AND COMPUTER) 2. EDVAC (ELECTRONIC DISCRETE VARIABLE AUTOMATIC COMPUTER) 3. UNIVAC (UNIVERSAL AUTOMATIC COMPUTER) 4. IBM-701 (INTERNATION BUSINESS MACHINE 701) 5. IBM-650 (INTERNATION BUSINESS MACHINE 650)

16 Second Generation The period of second generation was This generation using the transistor were cheaper, consumed less power, more compact in size, more reliable and faster than the first generation machines made of vaccum tubes.in this generation, magnetic cores were used as primary memory and magnetic tape and magnetic disks as secondary storage devices. In this generation assembly language and high level programming language like FORTRAN, COBOL were used. There were Batch processing and Multiprogramming Operating system used. The main features of Second Generation are: 1. Use of transistors 2. Reliable as compared to First generation computers 3. Smaller size as compared to First generation computers 4. Generate less heat as compared to First generation computers 5. Consumed less electricity as compared to First generation computers 6. Faster than first generation computers 7. Still very costly 7. A.C. needed 8. Support machine and assembly languages

17 Some computer of this generation were: 1. IBM 1620 (INTERNATION BUSINESS MACHINE 1620) 2. IBM 7094 (INTERNATION BUSINESS MACHINE 7094) 3. CDC 1604 (CONTROL DATA CORPORATION 1604) 4. CDC 3600 (CONTROL DATA CORPORATION 3600) 5. UNIVAC 1108 (UNIVERSAL AUTOMATIC COMPUTER ) Third Generation The period of third generation was The third generation of computer is marked by the use of Integrated Circuits (IC's) in place of transistors.a single I.C has many transistors, resistors and capacitors along with the associated circuitry.the I.C was invented by Jack Kilby. This development made computers smaller in size, reliable and efficient. In this generation Remote processing, Time-sharing, Real-time, Multi-programming Operating System were used. High level language (FORTRAN-II TO IV, COBOL, PASCAL PL/1, BASIC, ALGOL- 68 etc.) were used during this generation.

18 The main features of Third Generation are: 1. IC used 2. More reliable 3. Smaller size 4. Generate less heat 5. Faster 6. Lesser maintenance 7. Still costly 8. A.C needed 9. Consumed lesser electricity 10. Support high level language Some computer of this generation were: 1. IBM-360 series - (INTERNATIONAL BUSINESS MACHINE 360 SERIES) 2. Honeywell-6000 series 3. PDP - (PERSONAL DATA PROCESSOR) 4. IBM-370/168 - (INTERNATIONAL BUSINESS MACHINE 370/168) 5. TDC-316 (TORPEDO DATA COMPUTER 316) Fourth Generation The period of Fourth Generation was The fourth generation of computers is marked by the use of Very Large Scale Integrated (VLSI) circuits.vlsi circuits having about 5000 transistors and other circuit elements and their

19 5. CRAY-X-MP(Super Computer) associated circuits on a single chip made it possible to have microcomputers of fourth generation. Fourth Generation computers became more powerful, compact, reliable, and affordable. As a result, it gave rise to personal computer (PC) revolution. were used. In this generation Time sharing, Real time, Networks, Distributed Operating System All the Higher level languages like C and C++, DBASE etc. were used in this generation. The main features of Fourth Generation are: 1. VLSI technology used 2. Very cheap 3. Portable and reliable 4. Use of PC's 5. Very small size 6. Pipeline processing 7. No A.C. needed 8. Concept of internet was introduced 9. Great developments in the fields of networks 10.Computers became easily available Some computer of this generation were: 1. DEC 10 - (DIGITAL EQUIPMENT CORPORATION 10) 2. STAR PDP 11 (PROGRAMMED DATA PROCESSOR 11) 4. CRAY-1(Super Computer)

20 Fifth Generation The period of Fifth Generation is 1980-till date. In the fifth generation, the VLSI technology became ULSI (Ultra Large Scale Integration) technology, resulting in the production of microprocessor chips having ten million electronic components. This generation is based on parallel processing hardware and AI (Artificial Intelligence) software. AI is an emerging branch in computer science, which interprets means and method of making computers think like human beings. All the Higher level languages like C and C++, Java,.Net etc. are used in this generation. AI includes: 1.Robotics 2. Neural networks 3. Game Playing 4. Development of expert systems to make decisions in real life situations. 5. Natural language understanding and generation.

21 The main features of Fifth Generation are: 1. ULSI technology 2. Development of true artificial intelligence 3. Development of Natural language processing 4. Advancement in Parallel Processing 5. Advancement in Superconductor technology 6. More user friendly interfaces with multimedia features 7. Availability of very powerful and compact computers at cheaper rates Some computer types of this generation are: 1. Desktop 2. Laptop 3. NoteBook 4. UltraBook 5. ChromeBook

22 CLASSIFICATION OF COMPUTER Computer can be broadly classified by their speed and computing power. Sr. No. 1 Type PC (Personal Computer) 2 WorkStation 3 Mini Computer 4 Main Frame Specifications Single user computer system. Moderately powerful microprocessor. Single user computer system. Similar to Personal Computer but have more powerful microprocessor. Multi-user computer system. Capable of supporting hundreds of users simultaneously. Multi-user computer system. Capable of supporting hundreds of users simultaneously. Software technology is different from minicomputer. An extremely fast computer which can perform hundreds of millions of 5 Supercomputer instructions per second. PC (Personal Computer) A PC can be defined as a small, relatively inexpensive computer designed for an individual user. PCs are based on the microprocessor technology that enables manufacturers to put an entire CPU on one chip. Businesses use personal computers for word processing, accounting, desktop publishing, and for running spreadsheet and database management applications. At home, the most popular use for personal computers is for playing games and surfing the Internet.

23 Although personal computers are designed as single-user systems, these systems are normally linked together to form a network. In terms of power, now-a-days High-end models of the Macintosh and PC offer the same computing power and graphics capability as low-end workstations by Sun Microsystems, Hewlett-Packard, and DELL. WorkStation Workstation is a computer used for engineering applications (CAD/CAM), desktop publishing, software development, and other such types of applications which require a moderate amount of computing power and relatively high quality graphics capabilities. Workstations generally come with a large, high-resolution graphics screen, large amount of RAM, inbuilt network support, and a graphical user interface. Most workstations also have a mass storage device such as a disk drive, but a special type of workstation, called a diskless workstation, comes without a disk drive. Common operating systems for workstations are UNIX and Windows NT. Like PC, Workstations are also single-user computers. However, workstations are typically linked together to form a local-area network, although they can also be used as stand-alone systems.

24 Minicomputer It is a midsize computer. A minicomputer is a multi-processing system capable of supporting from up to 250 users simultaneously. Mainframe Mainframe is a very large in size and is an expensive computer capable of supporting hundreds, or even thousands, of users simultaneously. Mainframe executes many programs concurrently. Mainframes support many simultaneous programs execution. Supercomputer Supercomputers are one of the fastest computers currently available. Supercomputers are very expensive and are employed for specialized applications that require immense amounts of mathematical calculations (number crunching). For example, weather forecasting, scientific simulations, (animated) graphics, fluid dynamic calculations, nuclear energy research, electronic design, and analysis of geological data (e.g. in petrochemical prospecting).

25 Comparison between different types Computers

26 BASIC ORGANIZATION OF COMPUTER All types of computer follows a same basic logical structure and perform the following five basic operations for converting raw input data into information useful to their users Sr. No. Operation Description 1 Take Input The process of entering data and instructions into the computer system. 2 Store Data Saving data and instructions so that they are available for processing as and when required. 3 Processing Data 4 Output Information 5 Control the workflow Performing arithmetic, logical operations on data in order to convert them into useful information. The process of producing useful information or results for the user,such as a printed report or visual display. Direct the manner and sequence in which all of the above operations are performed.

27 Input Unit This unit contains devices with the help of which we enter data into computer. This unit makes link between user and computer. The input devices translate the human being information into the form understandable by computer. Following are few of the important input devices which are used in Computer Systems 1. Keyboard 2. Mouse 3. Joy Stick 4. Light pen 5. Track Ball 6. Scanner 7. Graphic Tablet 8. Microphone 9. Magnetic Ink 10. Card Reader(MICR) 11. Optical Character Reader(OCR) 12. Bar Code Reader 13. Optical Mark Reader CPU Unit 1. Memory Or Storage Unit: 2. Control Unit 3. ALU(Arithmetic Logic Unit)

28 Memory Or Storage Unit: 1. This unit can store instruction, data and intermediate results. This unit supplies information to the other units of the computer when needed. It is also known as internal storage unit or main memory or primary storage or Random access memory(ram). 2. Its size affects speed, power and capability. There are primary memory and secondary memory two types of memories in the computer. Function of Memory Unit are: 3. It stores all the data to be processed and the instructions required for processing. 4. It stores intermediate results of processing. 5. It stores final results of processing before these results are released to an output device. 6. All inputs and outputs are transmitted through main memory. Control Unit This unit controls the operations of all parts of computer. It does not carry out any actual data processing operations. Functions of this unit are 1. It is responsible for controlling the transfer of data and instructions among other units of a computer.

29 2. It manages and coordinates all the units of the computer. 3. It obtains the instructions from the memory, interprets them and directs the operation of the computer. 4. It communicates with Input/Output devices for transfer of data or results from storage. 5. It does not process or store data. ALU(Arithmetic Logic Unit) This unit consists of two subsection namely 1. Arithmetic section 2. Logic Section 1. Arithmetic section Function of Arithmetic section is to perform arithmetic operations like addition, subtraction, multiplication and division. All complex operations are done by making repetitive use of above operations. 2. Logic Section Function of logic section is to perform logic operations such as comparing, selecting, matching and merging of data.

30 Output Unit Output unit consists of devices with the help of which we get the information from computer. This unit is a link between computer and users. Output devices translate the computer's output into the form understandable by users. Following are few of the important output devices which are used in Computer Systems 1. Monitors 2. Graphic Plotter 3. Printer NUMBER SYSTEM When we type some letters or words, the computer translates them in numbers as computers can understand only numbers. A computer can understand positional number system where there are only a few symbols called digits and these symbols represent different values depending on the position they occupy in the number. A value of each digit in a number can be determined using The digit 1. The position of the digit in the number 2. The base of the number system (where base is defined as the total number of digits available in the number system).

31 Common Number Systems System Base Symbols Used by humans? Used in computers? Decimal 10 0, 1, 9 Yes No Binary 2 0, 1 No Yes Octal 8 0, 1, 7 No No Hexadecimal 16 0, 1, 9, A, B, F No No Quantities/Counting Decimal Binary Octal Hexadecimal Decimal Binary Octal Hexadecimal A B C D E F Decimal Binary Octal Hexadecimal

32 Conversion Among Bases Decimal to Decimal Weight Decimal => 5 x 10 0 = 5 2 x 10 1 = 20 1 x 10 2 = Base

33 Binary to Decimal Decimal Binary Octal Hexadecimal Technique 1. Multiply each bit by 2 n, where n is the weight of the bit 2. The weight is the position of the bit, starting from 0 on the right 3. Add the results Example Bit => 1 x 2 0 = 1 1 x 2 1 = 2 0 x 2 2 = 0 1 x 2 3 = 8 0 x 2 4 = 0 1 x 2 5 = Sum of Weights Methods

34 Octal to Decimal Decimal Binary Octal Hexadecimal Example => 4 x 8 0 = 4 2 x 8 1 = 16 7 x 8 2 = Technique 1. Multiply each bit by 8 n, where n is the weight of the bit 2. The weight is the position of the bit, starting from 0 on the right 3. Add the results Sum of Weights Methods Hexa Decimal to Decimal Decimal Binary Octal Hexadecimal Technique 1. Multiply each bit by 16 n, where n is the weight of the bit 2. The weight is the position of the bit, starting from 0 on the right 3. Add the results

35 Example ABC 16 => C x 16 0 = 12 x 1 = 12 B x 16 1 = 11 x 16 = 176 A x 16 2 = 10 x 256= 2560 Sum of Weights Methods Decimal to Binary Decimal Binary Example Octal Hexadecimal Technique 1. Divide by two, keep track of the remainder 2. First remainder is bit 0 (LSB, leastsignificant bit) 3. Second remainder is bit 1 4. Etc. Repeated Division by 2 method

36 Octal to Binary Example Decimal Binary Octal Hexadecimal Technique 1. Convert each octal digit to a 3-bit equivalent binary representation =? Hexa decimal to Binary = Decimal Binary Octal Hexadecimal Technique 1. Convert each hexadecimal digit to a 4-bit equivalent binary representation

37 Example 10AF 16 =? A F Decimal to Octal AF 16 = Example Decimal Binary Octal Hexadecimal Technique 1. Divide by 8 2. Keep track of the remainder Repeated Division by 8 method

38 Decimal to Hexa - decimal Decimal Binary Octal Hexadecimal Technique 1. Divide by Keep track of the remainder Example Repeated Division by 16 method

39 Binary to Octal Decimal Binary Octal Hexadecimal Technique 1. Group bits in threes, starting on right 2. Convert to octal digits Example =? = Binary to Hexa - Decimal Decimal Binary Octal Hexadecimal Technique 1. Group bits in fours, starting on right 2. Convert to hexadecimal digits

40 Example =? Octal to Hexa - Decimal 2 B B = 2BB 16 Decimal Octal Technique Use binary as an intermediary Binary Hexadecimal Example

41 Hexa Decimal to Octal Decimal Binary Octal Hexadecimal Technique Use binary as an intermediary Example

42

43 PROBLEM SOLVING TECHNIQUES 1. ALGORITHM 2. FLOWCHART 3. PSEUDO CODE

44 ALGORITHM a step-by-step method for solving a problem or doing a task. THREE CONSTRUCTS Computer scientists have defined three constructs for a structured program or algorithm. The idea is that a program must be made of a combination of only these three constructs: sequence, decision (selection) and repetition. It has been proven there is no need for any other constructs. Using only these constructs makes a program or an algorithm easy to understand, debug or change.

45 Sequence The first construct is called the sequence. An algorithm, and eventually a program, is a sequence of instructions, which can be a simple instruction or either of the other two constructs. Decision Some problems cannot be solved with only a sequence of simple instructions. Sometimes we need to test a condition. If the result of testing is true, we follow a sequence of instructions: if it is false, we follow a different sequence of instructions. This is called the decision (selection) construct. Repetition In some problems, the same sequence of instructions must be repeated. We handle this with the repetition or loop construct. Finding the largest integer among a set of integers can use a construct of this kind.

46

47 Algorithm Examples Example : 1 (Sequence) To write a algorithm to find the area and circumference of the circle. ALGORITHM: Step-1 Step-2 Step-3 Step-4 Step-5 Start the program. Input the radius of the circle. Find the area and circumference of the circle using the formula Area=3.14*r*r Circumference=2*3.14*r Print the area and the circumference of the circle Stop

48 Example : 2 (Decision) To write a program to find the roots of the quadratic equation. ALGORITHM: Step-1 Step-2 Step-3 Step-4 Step-5 Step-6 Start the program Enter the value of a, b, c Find the value of d by using the formula D=b*b-4*a*c If D is greater then or equal to zero then find the two roots as root1=(-b+sqrt(d))/(2*a); root2=(-b-sqrt(d))/(2*a); Print the two roots If the D is not greater then or equal to zero then print the statement the roots are imaginary. Stop

49 Example : 3 (Iterative) To write a program to find the factorial of the given number ALGORITHM: Step-1 Step-2 Step-3 Step-4 Step-5 Start the program Enter a number Set a loop to find the factorial of the given number using the formula Fact=Fact*I Print the factorial of the given number Stop

50 FLOWCHART 1. The flowchart is a diagram which visually presents the flow of data through processing systems. 2. This means by seeing a flow chart one can know the operations performed and the sequence of these operations in a system. 3. Algorithms are nothing but sequence of steps for solving problems. So a flow chart can be used for representing an algorithm. 4. A flowchart, will describe the operations (and in what sequence) are required to solve a given problem. 5. You can see a flow chart as a blueprint of a design you have made for solving a problem. For example, Suppose you are going for a picnic with your friends then you plan for the activities you will do there. If you have a plan of activities then you know clearly when you will do what activity. Similarly when you have a problem to solve using computer or in other word you need to write a computer program for a problem then it will be good to draw a flowchart prior to writing a computer program. Flowchart is drawn according to defined rules.

51 Flowchart Symbols There are 6 basic symbols commonly used in flowcharting of assembly language Programs: Terminal, Process, input/output, Decision, Connector and Predefined Process. This is not a complete list of all the possible flowcharting symbols, it is the ones used most often in the structure of Assembly language programming.

52 General Rules for flowcharting 1. All boxes of the flowchart are connected with Arrows. (Not lines) 2. Flowchart symbols have an entry point on the top of the symbol with no other entry points. 3. The Decision symbol has two exit points; these can be on the sides or the bottom and one side. 4. Generally a flowchart will flow from top to bottom. However, an upward flow can be shown as long as it does not exceed 3 symbols. 5. Connectors are used to connect breaks in the flowchart. Examples are: From one page to another page. From the bottom of the page to the top of the same page. An upward flow of more then 3 symbols 6. Subroutines and Interrupt programs have their own and independent flowcharts. 7. All flow charts start with a Terminal or Predefined Process (for interrupt programs or subroutines) symbol. 8. All flowcharts end with a terminal or a contentious loop.

53 Some examples of Flowcharts Example 1: Find the area of a circle of radius r.

54 Example 2: Convert temperature Fahrenheit to Celsius.

55 Example 4: Algorithm for find the greater number between two numbers.

56 Example 5: Flowchart for the problem of printing even numbers between 9 and 100:

57 Advantages of using Flowcharts program. Writing code referring the flowchart of the solution become easy. 1) Communication: A Flowchart can be used as a better way of communication of the logic of a system and steps involve in the solution, to all concerned particularly to the client of system. 2) Effective analysis: A flowchart of a problem can be used for effective analysis of the problem. 3) Documentation of Program/System: Program flowcharts are a vital part of a good program documentation. Program document is used for various purposes like knowing the components in the program, complexity of the program etc. 4) Efficient Program Maintenance: Once a program is developed and becomes operational it needs time to time maintenance. With help of flowchart maintenance become easier. 5) Coding of the Program: Any design of solution of a problem is finally converted into computer

58 Flowchart Advantages Standardized Visual Flowchart Disadvantages: Hard to modify Structured design elements not implemented Special software required

59 PSEUDO CODE

60 INTRODUCTION 1. Flowcharts were the first design tool to be widely used, but unfortunately they do not reflect some of the concepts of structured programming very well. 2. Pseudo code, on the other hand, is a newer tool and has features that make it more reflective of the structured concepts. 3. The drawback is that the narrative presentation is not as easy to understand and/or follow. Rules for Pseudo Code 1. Write only one statement per line 2. Capitalize initial keyword 3. Indent to show hierarchy 4. End multiline structures 5. Keep statements language independent

61 1. One Statement Per Line Each statement in pseudocode should express just one action for the computer. If the task list is properly drawn, then in most cases each task will correspond to one line of pseudocode. Task List Read name, hours worked, rate of pay Perform calculations gross = hours worked * rate of pay Write name, hours worked, gross Pseudocode READ name, hoursworked, payrate gross = hoursworked * payrate WRITE name, hoursworked, gross 2. Capitalize Initial Keyword In the example below note the words: READ and WRITE. These are just a few of the keywords to use, others include: READ, WRITE, IF, ELSE, ENDIF, WHILE, ENDWHILE Pseudocode READ name, hoursworked, payrate gross = hoursworked * payrate WRITE name, hoursworked, gross

62 3. Indent to Show Hierarchy Each design structure uses a particular indentation pattern Sequence: Keep statements in sequence all starting in the same column Selection: Indent statements that fall inside selection structure, but not the keywords that form the selection Loop: Indent statements that fall inside the loop but not keywords that form the loop READ name, grosspay, taxes IF taxes > 0 net = grosspay taxes ELSE net = grosspay ENDIF WRITE name, net

63 4. End Multiline Structures READ name, grosspay, taxes IF taxes > 0 net = grosspay taxes ELSE net = grosspay ENDIF WRITE name, net See the IF/ELSE/ENDIF as constructed above, the ENDIF is in line with the IF. The same applies for WHILE/ENDWHILE etc 5. Language Independence Resist the urge to write in whatever language you are most comfortable with, in the long run you will save time. Remember you are describing a logic plan to develop a program, you are not programming!

64 The Selection Structure yes amount < 100 no interestrate =.06 interestrate =.10 Pseudocode IF amount < 100 interestrate =.06 ELSE Interest Rate =.10 ENDIF

65 The Looping Structure In flowcharting one of the more confusing things is to separate selection from looping. This is because each structure use the diamond as their control symbol. In pseudo code we avoid this by using specific keywords to designate looping WHILE / ENDWHILE WHILE/ENDWHILE REPEAT/UNTIL Start count = 0 count = 0 WHILE count < 10 ADD 1 to count WRITE count ENDWHILE WRITE The End count <10 add 1 to count write count Write The End Stop

66 REPEAT / UNTIL Start count = 0 add 1 to count write count count = 0 REPEAT ADD 1 to count WRITE count UNTIL count >= 10 WRITE The End count <10 Write The End Stop

67 Rules for Variable Names 1. Begin with lowercase letter 2. Contain no spaces 3. Additional words begin with capital 4. Unique names within code 5. Consistent use of names Working with Fields Calculations Selection + add - subtract * multiply / divide ** or ^ exponentiation ( ) grouping > greater than < less than = equal to >= greater than or equal to <= less than or equal to <> not equal to

68 Advantages and Disadvantages Pseudo code Advantages Easily modified Implements structured concepts Done easily on Word Processor Pseudo code Disadvantages: Not visual No accepted standard, varies from company to company

COMPUTER - GENERATIONS

COMPUTER - GENERATIONS COMPUTER - GENERATIONS http://www.tutorialspoint.com/computer_fundamentals/computer_generations.htm Copyright tutorialspoint.com Generation in computer terminology is a change in technology a computer

More information

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer About the Tutorial Computer is an advanced electronic device that takes raw data as an input from the user and processes it under the control of a set of instructions (called program), produces a result

More information

CHAPTER 1 INTRODUCTION TO COMPUTERS. 2. HOW COMPUTERS WORK Any digital computer carries out five functions in gross terms:

CHAPTER 1 INTRODUCTION TO COMPUTERS. 2. HOW COMPUTERS WORK Any digital computer carries out five functions in gross terms: CHAPTER 1 INTRODUCTION TO COMPUTERS 1. INTRODUCTION Computer is an advanced electronic device that takes raw data as input from the user and processes it under the control of set of instructions (called

More information

COMPUTER SKILLS COMP101

COMPUTER SKILLS COMP101 COMPUTER SKILLS COMP101 1 Course Content Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Introduction Numbering Systems Hardware Introduction to Computer Networks Introduction to the Internet

More information

Basic Computer Information Technology-I

Basic Computer Information Technology-I SYLLABUS Class B.Com. V Sem. Subject Basic Computer Information Technology-I Basic Computer Information Technology-I Unit-I Unit-II Unit-III Unit-IV Unit-V INTRODUCTION TO COMPUTER ORGANIZATION-I : History

More information

Chapter 1: Introduction to Computers

Chapter 1: Introduction to Computers Slide 1/17 Learning Objectives In this chapter you will learn about: Computer Data processing Characteristic features of computers Computers evolution to their present form Computer generations Characteristic

More information

Chapter 1: Introduction to Computers. In this chapter you will learn about:

Chapter 1: Introduction to Computers. In this chapter you will learn about: Ref Page Slide 1/17 Learning Objectives In this chapter you will learn about: Computer Data processing Characteristic features of computers Computers evolution to their present form Computer generations

More information

Learning Objectives. In this chapter you will learn about:

Learning Objectives. In this chapter you will learn about: Ref Page Slide 1/17 Learning Objectives In this chapter you will learn about: Computer Data processing Characteristic features of computers Computers evolution to their present form Computer generations

More information

v.m.g.rajasekaran ramani sri sarada sakthi mat. Hr. sec. school

v.m.g.rajasekaran ramani sri sarada sakthi mat. Hr. sec. school v.m.g.rajasekaran ramani sri sarada sakthi mat. Hr. sec. school STD: XI COMPUTER SCIENCE L.1. Introduction to computers 2 marks 1. What is a computer? Computer: A computer is an electronic machine, capable

More information

Computer Fundamentals

Computer Fundamentals Computer Fundamentals Computers have made great inroads in our everyday life and thinking. They are put to use for all sorts of application ranging from complex calculations in the field or frontline research,

More information

HIGHER SECONDARY FIRST YEAR 2 MARK & 5 MARK NOTES CHAPTER 1 1. INTRODUCTION TO COMPUTER

HIGHER SECONDARY FIRST YEAR 2 MARK & 5 MARK NOTES CHAPTER 1 1. INTRODUCTION TO COMPUTER 1. What is computer? CHAPTER 1 1. INTRODUCTION TO COMPUTER A computer is an electronic machine, capable of performing basic operations like addition, subtraction, multiplication, division, etc. The computer

More information

SNS COLLEGE OF ENGINEERING

SNS COLLEGE OF ENGINEERING SNS COLLEGE OF ENGINEERING DEPARTMENT OF CSE Presented By Thillaiarasu.N SCRAMBLE 2 Solution 3 What is Pseudocode? 4 Consists of: Short Readable Formally styled English language Used for: Explaining the

More information

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Computer Fundamentals

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Computer Fundamentals About the Tutorial Computer is an advanced electronic device that takes raw data as an input from the user and processes it under the control of a set of instructions (called program), produces a result

More information

ABC Atanasoff-Berry Computer

ABC Atanasoff-Berry Computer Chapter 1 Introduction to Computers A Brief History of Computers First Generation computers 1939-1959 Use vacuum tubes and wire circuits 1939 ABC computer completed, clock speed of 60 Hz, uses punch cards

More information

Introduction to Computer World Fall 2016

Introduction to Computer World Fall 2016 Introduction to Computer World Fall 2016 Introduction to Information and Communication Technologies CSD 102 Email: mehwish.fatima@ciitlahore.edu.pk Website: https://sites.google.com/a/ciitlahore.edu.pk/ict/

More information

Overview of a computer

Overview of a computer Overview of a computer One marks 1. What is von Neumann concept also called as? Stored memory or stored program concept. 2. Who is the father of computer Charles Babbage 3. What is a computer? It is an

More information

Ms. Minerva A. Lagarde

Ms. Minerva A. Lagarde Ms. Minerva A. Lagarde Introduction Objectives At the end of this module, you should be able to: 1. explain how a computer works; 2. state the functions of each basic hardware component of a computer system;

More information

COMPUTERIZED OFFICE MANAGEMENT

COMPUTERIZED OFFICE MANAGEMENT COMPUTERIZED OFFICE MANAGEMENT Module 1 (COMPUTER FUNDAMENTALS) COMPUTER FUNDAMENTALS : INTRODUCTION : The term computer is derived from the Latin word compute which means to calculate. Computer is a fast

More information

Computer Programming for Engineering

Computer Programming for Engineering Chapter 1 213301 Computer Programming for Engineering Introduction to Computer The Amazing Computer What will be known :- List a few profession in which computers are routinely used and the way computers

More information

Chapter 2 HISTORICAL DEVELOPMENT OF COMPUTERS

Chapter 2 HISTORICAL DEVELOPMENT OF COMPUTERS Chapter 2 HISTORICAL DEVELOPMENT OF COMPUTERS History of Computers Outline Generations of Computers Types of Computers 2 History of Computers A computer is a machine that works with data and information

More information

Computer Fundamentals. Computer - Overview. Functionalities of a computer. Definition

Computer Fundamentals. Computer - Overview. Functionalities of a computer. Definition Computer Fundamentals Computer is an electronic device that is designed to work with Information. The term computer is derived from the Latin term computare, this means to calculate or programmable machine.

More information

Describe the layers of a computer system

Describe the layers of a computer system Chapter 1 The Big Picture Chapter Goals Describe the layers of a computer system Describe the concept of abstraction and its relationship to computing Describe the history of computer hardware and software

More information

Chapter 2 Basic Computer Configuration

Chapter 2 Basic Computer Configuration CSCA0101 COMPUTING BASICS Chapter 2 1 Topics: Basic Operations Computer Components Computer Categories 2 Computing Terminology Data Data is anything in a form suitable for use with a computer. Information

More information

LECTURE -I BASIC CONCEPTS OF COMPUTERS

LECTURE -I BASIC CONCEPTS OF COMPUTERS LECTURE -I 1.1 INTRODUCTION BASIC CONCEPTS OF COMPUTERS Let us begin with the word compute. It means to calculate. We all are familiar with calculations in our day-to-day life. We apply mathematical operations

More information

Chapter Two Computer Types

Chapter Two Computer Types Chapter Two Computer Types 2-1 Microcomputers - Personal Computers Microcomputers sit on, beside or under a desk. They process data quickly and are designed for one user. The cost is relatively low, depending

More information

UNIT-I FUNDAMENTALS OF COMPUTER

UNIT-I FUNDAMENTALS OF COMPUTER UNIT-I 1 KNREDDY UNIT-I FUNDAMENTALS OF COMPUTER Fundamentals of Computer:- CPU, Basic logic gates, Computer Memory and Mass storage devices, Computer Hierarchy, Input Technologies, Output Technologies,

More information

INTRODUCTION TO COMPUTER

INTRODUCTION TO COMPUTER INTRODUCTION TO COMPUTER COMPUTER An electronic device which is capable of receiving information (data) in a particular form and of performing a sequence of operations in accordance with a predetermined

More information

Maninder Kaur.

Maninder Kaur. 1 Maninder Kaur professormaninder@gmail.com What is a Computer? System Unit A computer is an electronic machine that can be programmed to accept data (input), process it into useful information (output),

More information

Course-Content. Computer - Overview Computer - Applications Computer Generations Computer - Types Computer - Components

Course-Content. Computer - Overview Computer - Applications Computer Generations Computer - Types Computer - Components Computer - Overview Computer - Applications Computer Generations Computer - Types Computer - Components Course-Content Computer - CPU(Central Processing Unit) Computer - Input Devices Computer - Output

More information

1.2.1 Electronic computers based on digital switching

1.2.1 Electronic computers based on digital switching 1.2.1 Electronic computers based on digital switching The first true digital electronic computer was created by John V Atanasoff during 1937-1942. The Atanasoff-Berry Computer (called ABC figure 2.8) was

More information

Zimmer CSCI /24/18. CHAPTER 1 Overview. COMPUTER Programmable devices that can store, retrieve, and process data.

Zimmer CSCI /24/18. CHAPTER 1 Overview. COMPUTER Programmable devices that can store, retrieve, and process data. CHAPTER 1 Overview COMPUTER Programmable devices that can store, retrieve, and process data. COMPUTER DEVELOPMENTS- Smaller size - processors (vacuum tubes -> transistors ->IC chip) Microprocessor - miniaturized

More information

Characteristics of Computers

Characteristics of Computers The word computer comes from word compute, which means to calculate. A computer is a programmable machine (or more precisely, a programmable sequential state machine) that operates on data and is used

More information

SSRVM Content Creation Template

SSRVM Content Creation Template SSRVM Content Creation Template Title: Evolution of Computers Contributors: Sreeja. T Std: IV Submission Date: Reviewers: Approval Date: REF No: Brief Description: Goal: Brief History which reveals a clear

More information

Chapter 1 Basic Computer Organization

Chapter 1 Basic Computer Organization Chapter 1 Basic Computer Organization Course Outcome (CO) CO1 Explain the basic principles of modern computer systems organization Program Outcome (PO) PO1 Apply knowledge of mathematics, science and engineering

More information

Sir Sadiq s computer notes for class IX. Chapter no 1. Introduction to computer

Sir Sadiq s computer notes for class IX. Chapter no 1. Introduction to computer 1 Q: Define the term computer. Ans: Computer is an electronic device that accepts data and instruction as input process the data according to the given instruction and produce information as output. Q:

More information

EVOLUTION OF COMPUTERS. In the early years, before the computer was invented, there are several inventions of counting machines.

EVOLUTION OF COMPUTERS. In the early years, before the computer was invented, there are several inventions of counting machines. EVOLUTION OF COMPUTERS In the early years, before the computer was invented, there are several inventions of counting machines. 200 BC 500 BC CHINESE ABACUS EGYPTIAN ABACUS 1620 JOHN NAPIER NAPIER'S BONES

More information

Second Generations Computers( )

Second Generations Computers( ) Second Generations Computers(1954-1962) Second Generations Computers(1954-1962) The invention of the transistor greatly changed the computer's development in 1948. The transistor replaced the large, cumbersome

More information

Introduction. Basic computer operations: Application of computer:

Introduction. Basic computer operations: Application of computer: Introduction The term computer is derived from the word compute, which means to calculate. A computer is an electronic machine which performs calculation and controlling operation, that can be expressed

More information

TNBEDCSVIP.IN. S.No CONTEND Page No 1. NUMBER SYSTEM AND BASE CONVERSIONS TYPES OF NUMBER SYSTEM 1. Binary Number System:

TNBEDCSVIP.IN. S.No CONTEND Page No 1. NUMBER SYSTEM AND BASE CONVERSIONS TYPES OF NUMBER SYSTEM 1. Binary Number System: S.No CONTEND Page No 1. NUMBER SYSTEM AND BASE CONVERSIONS TYPES OF NUMBER SYSTEM 1. Binary Number System: 2. Octal Number System 3. Decimal Number System 4. Hexadecimal Number System 2. DIGITAL LOGIC

More information

(Types and Classifications of Computers Lecture # 02 By: M.Nadeem Akhtar. Lecturer. URL:

(Types and Classifications of Computers Lecture # 02 By: M.Nadeem Akhtar. Lecturer. URL: INTRODUCTION TO INFORMATION & COMMUNICATION TECHNOLOGIES. (Types and Classifications of Computers Lecture # 02 By: M.. Lecturer. Department of CS & IT. URL: https://sites.google.com/site/nadeemcsuoliict/home/lectures

More information

Computing Concepts / IT Fundamental

Computing Concepts / IT Fundamental Computing Concepts / IT Fundamental Computer is an advanced electronic device that takes raw data as input from the user and processes it under the control of set of instructions (called program), gives

More information

**GE6151 COMPUTER PROGRAMMING**

**GE6151 COMPUTER PROGRAMMING** UNIT 1 INTRODUCTION TO COMPUTERS 1. What is a computer? The computer is an electronic machine that takes input from the user and processes it to generate the output in the form of useful information. 2.

More information

1.The First Instrument known in the history of computers was. a) Pascal s adding machine b) Napier s bones c) Abacus d) Analytical Engine

1.The First Instrument known in the history of computers was. a) Pascal s adding machine b) Napier s bones c) Abacus d) Analytical Engine Quiz Questions 1.The First Instrument known in the history of computers was. a) Pascal s adding machine b) Napier s bones c) Abacus d) Analytical Engine 5/1/2006 Computer Programming TA 103 BE I year 2

More information

Computers can be broadly classified by their speed and computing power. S.No Type Specifications

Computers can be broadly classified by their speed and computing power. S.No Type Specifications Objective: Notion of Operation of a CPU, Notion of an algorithm and computational procedure, editing and executing programs in Linux. : History and Hardware - Computer Hardware, Bits and Bytes, Components,

More information

Chapter 20: Classification of Computers

Chapter 20: Classification of Computers Ref. Page Slide 1/26 Learning Objectives In this chapter you will learn about: Classifications of computers Common types of computers today Characteristic features of various types of computers in use

More information

Module 3: Functional units of computer

Module 3: Functional units of computer Module 3: Functional units of computer Table of Contents Module 3: Functional units of computer... 1 Objectives... 2 Functions of computer... 2 Definition... 2 Advantages... 3 Disadvantages... 4 Applications

More information

What is Information Technology. Chapter 1: Computer System. Why use Information Technology? What is Data?

What is Information Technology. Chapter 1: Computer System. Why use Information Technology? What is Data? What is Information Technology Chapter 1: Computer System Information Technology is the direct use of technology to process data. A more formal definition of IT would be: The acquisition, processing, storage

More information

Introduction to Computers

Introduction to Computers Introduction to Computers 1 1 Introduction to Computers 1.1 INTRODUCTION A computer is a device capable of performing computations and making logical decisions at speeds of millions and even billions of

More information

Computer Fundamental Tutorial

Computer Fundamental Tutorial Computer Fundamental Tutorial COMPUTER FUNDAMENTAL TUTORIAL by tutorialspoint.com tutorialspoint.com i ABOUT THE TUTORIAL Computer Fundamentals Tutorial Computer is an advanced electronic device that takes

More information

Unit II. (i) Computer Programming Languages

Unit II. (i) Computer Programming Languages Unit II. (i) Computer Programming Languages Need of a computer programming language: A programming language is an artificial language designed to communicate instructions to a computer. Thousands of different

More information

Trends in Computer System Capabilities

Trends in Computer System Capabilities Trends in Computer System Capabilities First Generation Second Generation Third Generation Fourth Generation Fifth Generation Trend: Toward Smaller, Faster, More Reliable, and Less Costly Vacuum Tubes

More information

Fundamental of digital computer

Fundamental of digital computer Introduction to computer:- Fundamental of digital computer A computer is an electronic device that has the ability to accept data, store data, perform mathematical and logical operations, and report the

More information

Computer Skills Revision. By: Rana Hammady

Computer Skills Revision. By: Rana Hammady Computer Skills Revision By: Rana Hammady 1 Chapter 1 2 Introduction to Computer and Information Technology Definitions Computer tasks Uses of computer system History of computers and computer generations

More information

Computer is an electronic machine that can receive, store, transform and output data of all kinds (image, text, numeric, graphics and sound).

Computer is an electronic machine that can receive, store, transform and output data of all kinds (image, text, numeric, graphics and sound). ELECTRONIC COMPUTERS THEN AND NOW Computer is an electronic machine that can receive, store, transform and output data of all kinds (image, text, numeric, graphics and sound). In the Past (i.e., during

More information

Chapter 1 Introduction to the World of Computers

Chapter 1 Introduction to the World of Computers Understanding Computers in a Changing Society, 3 rd Edition Chapter 1 Introduction to the World of Computers Learning Objectives Explain why it is essential to learn about computers today and discuss several

More information

Learning Objectives. Computer Classification. In this chapter you will learn about:

Learning Objectives. Computer Classification. In this chapter you will learn about: Ref. Page Slide 1/26 Learning Objectives In this chapter you will learn about: Classifications of computers Common types of computers today Characteristic features of various types of computers in use

More information

Computer Principles and Components 1

Computer Principles and Components 1 Computer Principles and Components 1 Course Map This module provides an overview of the hardware and software environment being used throughout the course. Introduction Computer Principles and Components

More information

Computer Systems. Communication (networks, radio links) Meatware (people, users don t forget them)

Computer Systems. Communication (networks, radio links) Meatware (people, users don t forget them) Computers are useful machines, but they are generally useless by themselves. Computers are usually part of a system a computer system includes: Hardware (machines) Software (programs, applications) Communication

More information

Computer Concepts and C Programming. Unit I 06CCP13

Computer Concepts and C Programming. Unit I 06CCP13 Computer Concepts and C Programming () Unit I Unit Division Unit-I Introducing Computer Systems Interacting with Computer Unit-II Processing Data Storing Data Unit-III Using Operating Systems Networks

More information

COURSE OVERVIEW. Introduction to Computer Engineering 2015 Spring by Euiseong Seo

COURSE OVERVIEW. Introduction to Computer Engineering 2015 Spring by Euiseong Seo COURSE OVERVIEW Introduction to Computer Engineering 2015 Spring by Euiseong Seo Course Objectives Introduction to computer engineering For computer engineer-wannabe For students studying other fields

More information

7. Mechanical & Electrical calculator:-

7. Mechanical & Electrical calculator:- 7. Mechanical & Electrical calculator:- in the beginning of 19 th century the mechanical calculator was developed to perform all sorts of mathematical calculations. Upto the 1960s it was widely used. Later

More information

Chapter 1. Computer System Organization

Chapter 1. Computer System Organization Chapter 1 Computer System Organization Prepared By: Manish Kumar Prajapati PGT (Comp.Sc.) (First Shift) Kendriya Vidyalaya Bailey Road Patna-14 What is Computer? A computer is an electronic device that

More information

Chapter 1. Introduction To Computer Systems

Chapter 1. Introduction To Computer Systems Chapter 1 Introduction To Computer Systems 1.1 Historical Background The first program-controlled computer ever built was the Z1 (1938). This was followed in 1939 by the Z2 as the first operational program-controlled

More information

Fundamentals Of Computer

Fundamentals Of Computer Fundamentals Of Computer Brief History Of Computers Abacus Earlier people used figures, Stones and bones for calculations. Abacus was the first calculating device, It was mainly used by merchants and traders.

More information

Q.1 What is Computer? Explain its Characteristics and Limitations? A computer is a fast electronic device, processing the Input data

Q.1 What is Computer? Explain its Characteristics and Limitations? A computer is a fast electronic device, processing the Input data Q.1 What is Computer? Explain its Characteristics and Limitations? Ans. Definition : A computer is a fast electronic device, processing the Input data according to the Instructions given by the Programmer/User

More information

Lecture -1- By lec. (Eng.) Hind Basil University of technology Department of Materials Engineering

Lecture -1- By lec. (Eng.) Hind Basil University of technology Department of Materials Engineering Lecture -1- By lec. (Eng.) Hind Basil University of technology Department of Materials Engineering What is Computer? Computer is an advanced electronic device that takes raw data as input from the user

More information

Introduction To Computers. About the Course

Introduction To Computers. About the Course Introduction To Computers Chapter No 1 Introduction About the Course Course instructor Course policies Topics to be covered Course Website and Reference material Assignments and Projects ITC - Chapter

More information

1-1 Computer Structure

1-1 Computer Structure 1-1 Computer Structure Computer: A computer is a programmable, multiuse machine that accepts data-raw, fact and figures; processes, or manipulates it into information we can use, such as summaries, totals,

More information

Computer Organization and Assembly Language

Computer Organization and Assembly Language Computer Organization and Assembly Language Week 01 Nouman M Durrani COMPUTER ORGANISATION AND ARCHITECTURE Computer Organization describes the function and design of the various units of digital computers

More information

Computer fundaments. Functionalities of a computer

Computer fundaments. Functionalities of a computer UNIT 1 Computer Computer is an advanced electronic device that takes raw data as input from the user and processes it under the control of set of instructions (called program), gives the result (output),

More information

SYLLABUS. Subject Information B.B.A. I SEM Technology

SYLLABUS. Subject Information B.B.A. I SEM Technology SYLLABUS Subject Information B.B.A. I SEM Technology UNIT I UNIT II UNIT III UNIT IV UNIT V UNIT VI UNIT VII Introduction to Computer Hardware: Input / Output devices, storage devices and memory. Software:

More information

Chapter Two: Program Design Process and Logic

Chapter Two: Program Design Process and Logic Chapter Two: Program Design Process and Logic 2.1 Chapter objectives Describe the steps involved in the programming process Understand how to use flowchart symbols and pseudocode statements Use a sentinel,

More information

Chapter 2: Computers: The Machines Behind Computing.

Chapter 2: Computers: The Machines Behind Computing. Chapter 2: Computers: The Machines Behind Computing. TRUEFALSE 1. Computers perform all tasks using a combination of arithmetic and logical operations. 2. Fourth-generation languages (4GLs) are also called

More information

CSC 170 Introduction to Computers and Their Applications. Computers

CSC 170 Introduction to Computers and Their Applications. Computers CSC 170 Introduction to Computers and Their Applications Lecture #4 Digital Devices Computers At its core, a computer is a multipurpose device that accepts input, processes data, stores data, and produces

More information

CS101 Lecture 29: Brief History of Computing

CS101 Lecture 29: Brief History of Computing CS101 Lecture 29: Brief History of Computing "There is no reason anyone would want a computer in their home." -- Ken Olson, founder and CEO of Digital Equipment Corp., 1977 John Magee 1 August 2013 Some

More information

Part 1: Computer and Information Literacy

Part 1: Computer and Information Literacy What is Computer? Understand Computers Part 1: Computer and Information Literacy Computer is an electronic devices that under a program s direction and control, perform four basic operations: Input, Processing,

More information

Chapter One. Computers in Context

Chapter One. Computers in Context Chapter One Computers in Context After reading this chapter, you should be able to: Characterize what a computer is and what it does Describe several ways computers play a critical role in modern life

More information

Agenda EE 224: INTRODUCTION TO DIGITAL CIRCUITS & COMPUTER DESIGN. Lecture 1: Introduction. Go over the syllabus 3/31/2010

Agenda EE 224: INTRODUCTION TO DIGITAL CIRCUITS & COMPUTER DESIGN. Lecture 1: Introduction. Go over the syllabus 3/31/2010 // EE : INTRODUCTION TO DIGITAL CIRCUITS & COMPUTER DESIGN Lecture : Introduction /9/ Avinash Kodi, kodi@ohio.edu Agenda Go over the syllabus Introduction ti to Digital it Systems // Why Digital Systems?

More information

12 COMPUTER AND COMPUTERISED ACCOUNTING SYSTEM With the expansion of business the number of transactions increased. The manual method of keeping and maintaining records was found to be unmanageable. With

More information

Introduction to Computer Systems and Operating Systems

Introduction to Computer Systems and Operating Systems Introduction to Computer Systems and Operating Systems Minsoo Ryu Real-Time Computing and Communications Lab. Hanyang University msryu@hanyang.ac.kr Topics Covered 1. Computer History 2. Computer System

More information

INFS 214: Introduction to Computing

INFS 214: Introduction to Computing INFS 214: Introduction to Computing Session 1 History of Computing Lecturer: Dr. Ebenezer Ankrah, Dept. of Information Studies Contact Information: eankrah@ug.edu.gh College of Education School of Continuing

More information

Vanavani Mat. Hr. Sec. School. Subject : Computer Science Std: XI. Quarterly Exam Key

Vanavani Mat. Hr. Sec. School. Subject : Computer Science Std: XI. Quarterly Exam Key Vanavani Mat. Hr. Sec. School Subject : Computer Science Std: XI Quarterly Exam Key Part I (15 X 1 = 15) 1. d 2. A 3. C 4. D 5. D 6. c 7. B 8. A 9. D 10. B 11. d 12. C 13. D 14. A 15. A Part B -Any Six

More information

Downloaded from various sources on the NET

Downloaded from various sources on the NET Overview Computers. Hardware components of a Computer. Purpose and functions of computer operating systems. Evolution of computer operating systems. Operating systems available today. Downloaded from various

More information

CHAPTER1 : Part 2 INTRODUCTION & HISTORY OF COMPUTERS. UNIVERSITI TENAGA NASIONAL Generates Professionals

CHAPTER1 : Part 2 INTRODUCTION & HISTORY OF COMPUTERS. UNIVERSITI TENAGA NASIONAL Generates Professionals CHAPTER1 : Part 2 INTRODUCTION & HISTORY OF COMPUTERS Module Objectives At the end of the module, students should be able to: appreciate and understand the history of computers. describe the generations

More information

Computing Fundamentals and Programming Batch 2012 (Electronics and Telecomm) Chapter 1: Introduction and Overview to Computers.

Computing Fundamentals and Programming Batch 2012 (Electronics and Telecomm) Chapter 1: Introduction and Overview to Computers. Computing Fundamentals and Programming Batch 2012 (Electronics and Telecomm) Chapter 1: Introduction and Overview to Computers. Prepared by: Mr. Tauseef Mubeen (Assistant Professor, CED) (Electronics Sec

More information

Chapter Review. 42 Chapter 1 Introduction to Computers

Chapter Review. 42 Chapter 1 Introduction to Computers 42 Chapter 1 Introduction to Computers Chapter Review 1. Why Is Computer Literacy Vital in Today s World? Computer literacy, or digital literacy, involves having current knowledge and understanding of

More information

Chapter 1 Introduction to Computers

Chapter 1 Introduction to Computers Chapter 1 Introduction to Computers Chapter 1 Objectives Recognize the importance of computer literacy Discuss the uses of the Internet and World Wide Web Define the term, computer Describe the categories

More information

Memory Addressing, Binary, and Hexadecimal Review

Memory Addressing, Binary, and Hexadecimal Review C++ By A EXAMPLE Memory Addressing, Binary, and Hexadecimal Review You do not have to understand the concepts in this appendix to become well-versed in C++. You can master C++, however, only if you spend

More information

Dawood Public School Computer Studies Course Outline for Class VI. Course book- Right Byte 1 Fourth edition (Oxford University Press)

Dawood Public School Computer Studies Course Outline for Class VI. Course book- Right Byte 1 Fourth edition (Oxford University Press) Dawood Public School Computer Studies Course Outline for 2017-2018 Class VI Course book- Right Byte 1 Fourth edition (Oxford University Press) Month wise Distribution of Course Work August The Evolution

More information

Chapter 1 Introduction to Computers

Chapter 1 Introduction to Computers Discovering Computers 2008 Chapter 1 Introduction to Computers Chapter 1 Objectives Recognize the importance of computer literacy Define the term, computer Identify the components of a computer Discuss

More information

Chapter 1. The Big Picture

Chapter 1. The Big Picture Chapter 1 The Big Picture 1.1 Computing Systems Hardware The physical elements of a computing system (printer, circuit boards, wires, keyboard ) Software The programs that provide the instructions for

More information

Computer science First Class Lecture 1

Computer science First Class Lecture 1 Historical Brief 1- The First Computer Man's need to handle data & information increases with the evaluation of society& with industrial development it was Blaise Pascal in 1647 who designed an adding

More information

STUDY MATERIALS ON COMPUTER ORGANIZATION (As per the curriculum of Third semester B.Sc. Electronics of Mahatma Gandh Uniiversity)

STUDY MATERIALS ON COMPUTER ORGANIZATION (As per the curriculum of Third semester B.Sc. Electronics of Mahatma Gandh Uniiversity) STUDY MATERIALS ON COMPUTER ORGANIZATION (As per the curriculum of Third semester B.Sc. Electronics of Mahatma Gandh Uniiversity) Compiled by Sam Kollannore U.. Lecturer in Electronics M.E.S. College,

More information

VALLIAMMAI ENGINEERING COLLEGE SRM NAGAR, KATTANGULATHUR

VALLIAMMAI ENGINEERING COLLEGE SRM NAGAR, KATTANGULATHUR VALLIAMMAI ENGINEERING COLLEGE SRM NAGAR, KATTANGULATHUR 603 203 FIRST SEMESTER B.E / B.Tech., (Common to all Branches) QUESTION BANK - GE 6151 COMPUTER PROGRAMMING UNIT I - INTRODUCTION Generation and

More information

Week 1 Introduction to Programming

Week 1 Introduction to Programming CME111 Programming Languages I Week 1 Introduction to Programming Assist. Prof. Dr. Caner ÖZCAN Introduction Course Web Site: www.canerozcan.net Office Hours: Tuesday 13:00-15:00 Wednesday 15:30-17:00

More information

COMPUTER SYSTEMS. Section 1

COMPUTER SYSTEMS. Section 1 COMPUTER SYSTEMS Section 1 BITS AND BYTES In order for information to flow through a computer system and be in a form suitable for processing, all symbols, pictures, or words must be reduced to a string

More information

6. Under which of the following categories is a laptop computer classified? (1) Microcomputer (2) Minicomputer (3) Mainframe (4) Supercomputer

6. Under which of the following categories is a laptop computer classified? (1) Microcomputer (2) Minicomputer (3) Mainframe (4) Supercomputer General Certificate of Education (Ord.Level) Examination 2007 Information & Communication Technology I One hour Note: Answer all questions. In each of the questions 1 to 40 pick one of the alternatives

More information

Introduction To Operating System

Introduction To Operating System 1 Introduction To Operating System What is Operating System? An operating system is a program that controls the execution of application and acts as an interface between the user of a computer and the

More information

General purpose computers have become an important

General purpose computers have become an important 39529_CH01_Reddy:39529_CH01_Reddy.ps 6/9/09 1:50 PM Page 1 CHAPTER1Introduction to Computers and Programming Objectives To understand the basic concepts of the hardware and software components of a computer

More information

Chapter1 Overview of computers

Chapter1 Overview of computers 1 Chapter1 Overview of computers 1. What is a computer? 2. Which is the earliest computing machine? 3. Who invented the pascaline? 4. What is Charles babbage known as? 5. What is the machine proposed by

More information