Introduction to Computers

Slides:



Advertisements
Similar presentations
Adaptive Processes Introduction to Software Engineering Adaptive Processes.
Advertisements

Chapter 1 An Overview of Computers and Programming Languages.
Starting Out with C++, 3 rd Edition 1 Chapter 1. Introduction to Computers and Programming.
Computer Concepts 5th Edition Parsons/Oja Page 546 CHAPTER 11 Software Engineering Section A PARSONS/OJA Computer Programming.
Chapter 16 Programming and Languages: Telling the Computer What to Do.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages C++ Programming:
Chapter 1 Program Design
FIGURE 1-1 A Computer System
Computer Science: A Structured Programming Approach Using C1 Objectives ❏ To understand the structure of a C-language program. ❏ To write your first C.
Chapter 3 Planning Your Solution
Starting Out with C++: Early Objects 5/e © 2006 Pearson Education. All Rights Reserved Starting Out with C++: Early Objects 5 th Edition Chapter 1 Introduction.
Chapter 1: Introduction To Computer | SCP1103 Programming Technique C | Jumail, FSKSM, UTM, 2005 | Last Updated: July 2005 Slide 1 Introduction To Computers.
C++ Crash Course Class 1 What is programming?. What’s this course about? Goal: Be able to design, write and run simple programs in C++ on a UNIX machine.
DCT 1123 PROBLEM SOLVING & ALGORITHMS INTRODUCTION TO PROGRAMMING.
Introduction to High-Level Language Programming
Introduction to Programming Prof. Rommel Anthony Palomino Department of Computer Science and Information Technology Spring 2011.
Chapter 1: Introduction to Visual Basic.NET: Background and Perspective Visual Basic.NET Programming: From Problem Analysis to Program Design.
Simple Program Design Third Edition A Step-by-Step Approach
Introduction to Computers
Chapter 10: Compilers and Language Translation Invitation to Computer Science, Java Version, Third Edition.
Chapter 1 What is Programming? Lecture Slides to Accompany An Introduction to Computer Science Using Java (2nd Edition) by S.N. Kamin, D. Mickunas, E.
Computer Science: A Structured Programming Approach Using C A Programming Example— Morse Code Morse code, patented by Samuel F. B. Morse in 1837,
Computing Essentials 2014 Programming and Languages © 2014 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not.
Chapter 5 Algorithms Introduction to computer, 2nd semester, 2010/2011 Mr.Nael Aburas Faculty of Information Technology.
C++ Programming Language Lecture 2 Problem Analysis and Solution Representation By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department.
IXA 1234 : C++ PROGRAMMING CHAPTER 1. PROGRAMMING LANGUAGE Programming language is a computer program that can solve certain problem / task Keyword: Computer.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages.
Chapter 7 Software Engineering Introduction to CS 1 st Semester, 2015 Sanghyun Park.
Introduction to Computer Application (IC) MH Room 517 Time : 7:00-9:30pm.
Chapter 10 Software Engineering. Understand the software life cycle. Describe the development process models. Understand the concept of modularity in.
Lecture 11: 10/1/2002CS149D Fall CS149D Elements of Computer Science Ayman Abdel-Hamid Department of Computer Science Old Dominion University Lecture.
The basics of the programming process The development of programming languages to improve software development Programming languages that the average user.
Programming and Languages
The Software Development Process
Chapter 14 Programming and Languages McGraw-Hill/Irwin Copyright © 2008 by The McGraw-Hill Companies, Inc. All rights reserved.
How Are Computers Programmed? CPS120: Introduction to Computer Science Lecture 5.
The Hashemite University Computer Engineering Department
1 The Software Development Process ► Systems analysis ► Systems design ► Implementation ► Testing ► Documentation ► Evaluation ► Maintenance.
Alexandria University Faculty of Science Computer Science Department Introduction to Programming C++
Computer Science: A Structured Programming Approach Using C1 Objectives ❏ To design and implement programs with more than one function ❏ To be able to.
Program Design. Simple Program Design, Fourth Edition Chapter 1 2 Objectives In this chapter you will be able to: Describe the steps in the program development.
Software. Introduction n A computer can’t do anything without a program of instructions. n A program is a set of instructions a computer carries out.
PROGRAMMING FUNDAMENTALS INTRODUCTION TO PROGRAMMING. Computer Programming Concepts. Flowchart. Structured Programming Design. Implementation Documentation.
Copyright © 2014, 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with C++ Early Objects Eighth Edition by Tony Gaddis,
How Computers Solve Problems Computers also use Algorithms to solve problems, and change data into information Computers can only perform one simple step.
C++ Programming: From Problem Analysis to Program Design, Fifth Edition Chapter 1: An Overview of Computers and Programming Languages.
Programming Languages
13 1 Computer Programming Ch.15-A,B,C FALL 2000 Rob Wolfe.
Chapter 1: Introduction to Computers and Programming
ICS 3UI - Introduction to Computer Science
Programming Languages
Introduction to the C Language
CSCI-235 Micro-Computer Applications
DDC 1023 – Programming Technique
Chapter 1. Introduction to Computers and Programming
Chapter 1: An Overview of Computers and Programming Languages
C++ Programming: From Problem Analysis to Program Design
Algorithm and Ambiguity
Chapter 1: Introduction to Computers and Programming
Introduction to Computers
Introduction to the C Language
CSC128 FUNDAMENTALS OF COMPUTER PROBLEM SOLVING
Chapter 4 Functions Objectives
Chapter 1 Introduction(1.1)
ICT Gaming Lesson 2.
Chapter 10: Compilers and Language Translation
Chapter 1 Introduction to Programming
WRITING AN ALGORITHM, PSEUDOCODE, AND FLOWCHART LESSON 2.
Programming Logic and Design Eighth Edition
Chapter 1: Introduction to Computers and Programming
Presentation transcript:

Introduction to Computers Chapter 1 Introduction to Computers Objectives ❏ To review basic computer systems concepts ❏ To be able to understand the different computing environments and their components ❏ To review the history of computer languages ❏ To be able to list and describe the classifications of computer languages ❏ To understand the steps in the development of a computer program ❏ To review the system development life cycle Computer Science: A Structured Programming Approach Using C

Topics discussed in this section: 1-1 Computer Systems Today computer systems are found everywhere. Computers have become almost as common as televisions. But what is a computer? A computer is a system made of two major components: hardware and software. Topics discussed in this section: Computer Hardware Computer Software Computer Science: A Structured Programming Approach Using C

FIGURE 1-1 A Computer System Computer Science: A Structured Programming Approach Using C

FIGURE 1-2 Basic Hardware Components Computer Science: A Structured Programming Approach Using C

FIGURE 1-3 Types of Software Computer Science: A Structured Programming Approach Using C

FIGURE 1-4 Relationship between system and application software Computer Science: A Structured Programming Approach Using C

Topics discussed in this section: 1-2 Computing Environments In the early days of computers, there was only one environment, the mainframe computer hidden in a central computing department. With the advent of minicomputers and personal computers, the environment changed with computers on virtually every desktop. In this section we describe several different environments. Topics discussed in this section: Personal Computing Environment Time-Sharing Environment Client/Server Environment Distributed Computing Computer Science: A Structured Programming Approach Using C

FIGURE 1-5 Personal Computing Environment Computer Science: A Structured Programming Approach Using C

FIGURE 1-6 Time-sharing Environment Computer Science: A Structured Programming Approach Using C

FIGURE 1-7 The Client/Server Environment Computer Science: A Structured Programming Approach Using C

FIGURE 1-8 Distributed Computing Computer Science: A Structured Programming Approach Using C

Topics discussed in this section: 1-3 Computer Languages To write a program for a computer, we must use a computer language. Over the years computer languages have evolved from machine language to natural languages. Topics discussed in this section: Machine Languages Symbolic Languages High-Level Languages Computer Science: A Structured Programming Approach Using C

FIGURE 1-9 Computer Language Evolution Computer Science: A Structured Programming Approach Using C

The Multiplication Program in Machine Language Computer Science: A Structured Programming Approach Using C

The only language understood by computer hardware is machine language. Note The only language understood by computer hardware is machine language. Computer Science: A Structured Programming Approach Using C

The Multiplication Program in Symbolic Language Computer Science: A Structured Programming Approach Using C

Note Symbolic language uses symbols, or mnemonics, to represent the various machine language instructions. Computer Science: A Structured Programming Approach Using C

The Multiplication Program in C continued Computer Science: A Structured Programming Approach Using C

The Multiplication Program in C (continued) Computer Science: A Structured Programming Approach Using C

Topics discussed in this section: 1-4 Creating and Running Programs In this section, we explain the procedure for turning a program written in C into machine language. The process is presented in a straightforward, linear fashion, but you should recognize that these steps are repeated many times during development to correct errors and make improvements to the code. Topics discussed in this section: Writing and Editing Programs Compiling Programs Linking Programs Executing Programs Computer Science: A Structured Programming Approach Using C

FIGURE 1-10 Building a C Program Computer Science: A Structured Programming Approach Using C

Topics discussed in this section: 1-5 System Development We’ve now seen the steps that are necessary to build a program. In this section, we discuss how we go about developing a program. This critical process determines the overall quality and success of our program. If we carefully design each program using good structured development techniques, our programs will be efficient, error-free, and easy to maintain. Topics discussed in this section: System Development Life Cycle Program Development Computer Science: A Structured Programming Approach Using C

FIGURE 1-11 Waterfall Model Computer Science: A Structured Programming Approach Using C

An old programming proverb: Resist the temptation to code. Note An old programming proverb: Resist the temptation to code. Computer Science: A Structured Programming Approach Using C

FIGURE 1-12 Structure Chart for Calculating Square Footage Computer Science: A Structured Programming Approach Using C

Note Pseudocode English-like statements that follow a loosely defined syntax and are used to convey the design of an algorithm. Computer Science: A Structured Programming Approach Using C

Pseudocode for Calculate Bathrooms ALGORITHM 1-1 Pseudocode for Calculate Bathrooms Computer Science: A Structured Programming Approach Using C

FIGURE 1-13 Flowchart for Calculate Bathrooms Computer Science: A Structured Programming Approach Using C

Note Except for the most simple program, one set of test data will not completely validate a program. Computer Science: A Structured Programming Approach Using C

1-6 Software Engineering Software engineering is the establishment and use of sound engineering methods and principles to obtain software that is reliable and that works on real machines. This definition, from the first international conference on software engineering in 1969, was proposed 30 years after the first computer was built. During that period, software was more of an art than a science. Computer Science: A Structured Programming Approach Using C