16/13/2015 3:30 AM6/13/2015 3:30 AM6/13/2015 3:30 AMIntroduction to Software Development What is a computer? A computer system contains: Central Processing.

Slides:



Advertisements
Similar presentations
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Advertisements

Lecture 1: Overview of Computers & Programming
Programming Types of Testing.
COMPUTER APPLICATIONS Mr. Toscano Computer Concepts Lesson Objectives Students are introduced to the differences between computer software and computer.
COSC 120 Computer Programming
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. COMPSCI 125 Introduction to Computer Science I.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
1 Lecture 1  Getting ready to program  Hardware Model  Software Model  Programming Languages  The C Language  Software Engineering  Programming.
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. COMPSCI 125 Introduction to Computer Science I.
Chapter 1 Introduction to C Programming. 1.1 INTRODUCTION This book is about problem solving with the use of computers and the C programming language.
1 Introduction to computers Overview l · Grading Policy »Cheating Rules (serious concern) »Examinations and Fixation of Timings »Quizzes »Homework Assignments.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages C++ Programming:
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
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.
CIS 260 Computer Programming I in C Prof. Timothy Arndt.
Chapter 1: Introduction To Computer | SCP1103 Programming Technique C | Jumail, FSKSM, UTM, 2005 | Last Updated: July 2005 Slide 1 Introduction To Computers.
Microsoft Visual Basic 2012 CHAPTER ONE Introduction to Visual Basic 2012 Programming.
Microsoft Visual Basic 2005 CHAPTER 1 Introduction to Visual Basic 2005 Programming.
Lesson 4 Computer Software
Alternate Version of STARTING OUT WITH C++ 4 th Edition Chapter 1 Introduction to Computers and Programming.
CS 161 INTRO TO PROGRAMMING I Dr. Blaise W. Liffick Fall
Chapter Introduction to Computers and Programming 1.
Introduction to Programming Dr Masitah Ghazali Programming Techniques I SCJ1013.
CHAPTER 4: INTRODUCTION TO COMPUTER ORGANIZATION AND PROGRAMMING DESIGN Lec. Ghader Kurdi.
CSC 125 Introduction to C++ Programming Chapter 1 Introduction to Computers and Programming.
© Janice Regan, CMPT 128, Jan CMPT 128 Introduction to Computing Science for Engineering Students Creating a program.
COMPUTER SOFTWARE Section 2 “System Software: Computer System Management ” CHAPTER 4 Lecture-6/ T. Nouf Almujally 1.
CSC141 Introduction to Computer Programming
Chapter 1: Introduction to Computers and Programming.
1 Computing Software. Programming Style Programs that are not documented internally, while they may do what is requested, can be difficult to understand.
CISC105 General Computer Science Class 1 – 6/5/2006.
What is a Computer? An, electrical machine, that can be programmed to accept data (input), process it into useful information (output) and store it away.
C++ Programming Language Lecture 1 Introduction By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department.
Visual C++ Programming: Concepts and Projects
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 1- 1 October 20, October 20, 2015October 20, 2015October 20,
Fundamental Programming: Fundamental Programming K.Chinnasarn, Ph.D.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages.
Computer Architecture
Operating Systems David Goldschmidt, Ph.D. Computer Science The College of Saint Rose CIS 432.
Introduction to Computer Application (IC) MH Room 517 Time : 7:00-9:30pm.
Chapter 1 Computers, Compilers, & Unix. Overview u Computer hardware u Unix u Computer Languages u Compilers.
Chapter 1 : Overview of Computer and Programming By Suraya Alias
Copyright 2003 Scott/Jones Publishing Standard Version of Starting Out with C++, 4th Edition Chapter 1 Introduction to Computers and Programming.
Chapter 1 09/04/13. Change Your Password  The command is: passwd In the lab first do : ssh -Y onyx  You will have to see me to change it, if you forget.
A.Abhari CPS1251 Topic 1: Introduction to Computers Computer Hardware Computer components Connecting Computers Computer Software Operating System (OS)
Programming Logic and Design Seventh Edition
Chapter 1 Introduction. Components of a Computer CPU (central processing unit) Executing instructions –Carrying out arithmetic and logical operations.
Computer and Programming. Computer Basics: Outline Hardware and Memory Programs Programming Languages and Compilers.
1 Overview of Programming Principles of Computers.
The Development Process Compilation. Compilation - Dr. Craig A. Struble 2 Programming Process Problem Solving Phase We will spend significant time on.
Chapter 1: Introduction to Visual Basic.NET: Background and Perspective Visual Basic.NET Programming: From Problem Analysis to Program Design.
Introduction to Computer Programming using Fortran 77.
Evolution of C and C++ n C was developed by Dennis Ritchie at Bell Labs (early 1970s) as a systems programming language n C later evolved into a general-purpose.
Programming 2 Intro to Java Machine code Assembly languages Fortran Basic Pascal Scheme CC++ Java LISP Smalltalk Smalltalk-80.
Introduction to Computer Programming Concepts M. Uyguroğlu R. Uyguroğlu.
Software Engineering Algorithms, Compilers, & Lifecycle.
Victoria Ibarra Mat:  Generally, Computer hardware is divided into four main functional areas. These are:  Input devices Input devices  Output.
Programming Logic and Design Seventh Edition Chapter 1 An Overview of Computers and Programming.
Identify internal hardware devices (e. g
Introduction to Visual Basic 2008 Programming
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Chapter 1: An Overview of Computers and Programming Languages
C++ Programming: From Problem Analysis to Program Design
Computer Science I CSC 135.
Computers: Hardware and Software
ICS103 Programming in C 1: Overview of Computers And Programming
Programming Logic and Design Eighth Edition
Overview of Computer system
Chapter 1: Introduction to Computers and Programming
Presentation transcript:

16/13/2015 3:30 AM6/13/2015 3:30 AM6/13/2015 3:30 AMIntroduction to Software Development What is a computer? A computer system contains: Central Processing Unit (CPU): a circuit that can retrieve and execute digitally-encoded instructions. Central Processing Unit (CPU): a circuit that can retrieve and execute digitally-encoded instructions. Main Memory: volatile circuits that store: Main Memory: volatile circuits that store: The operating system The programs being executed The data used by the programs or operating system Input/Output Devices: Input/Output Devices: Secondary Storage: permanent & removable disk drives, tape drives, compact disk drives, pen drives Input: keyboards, mice Output: screens, printers Network Devices System bus: the circuit that connects all the above parts together. System bus: the circuit that connects all the above parts together. A computer program consists of operations to be performed, the data these operations will use, and input/output statements. A computer program consists of operations to be performed, the data these operations will use, and input/output statements.

26/13/2015 3:30 AM6/13/2015 3:30 AM6/13/2015 3:30 AMIntroduction to Software Development What is computer programming? Computer programming is the process of developing software. Software is the collection of files containing the digitally-encoded instructions for the CPU, plus any other data files needed for the software to execute. An algorithm is a set of instructions to solve a problem. It should be specific enough to encode in a programming language. Algorithms are the core of a computer program.

36/13/2015 3:30 AM6/13/2015 3:30 AM6/13/2015 3:30 AMIntroduction to Software Development Waterfall Model A model for developing software It contains the following basic steps, and associated documentation: Analysis Analysis System Design System Design Unit Design Unit Design Unit Coding Unit Coding Unit Testing Unit Testing System Testing System Testing Integration Integration Maintenance Maintenance Retirement Retirement This course concentrates on the unit design/coding/testing steps.

46/13/2015 3:30 AM6/13/2015 3:30 AM6/13/2015 3:30 AMIntroduction to Software Development Spiral Model A newer model of software development Similar to the waterfall model The analysis, design, coding, and testing steps are used. The analysis, design, coding, and testing steps are used. But they are repeated over many times, with only a small amount of progress accomplished at each iteration. But they are repeated over many times, with only a small amount of progress accomplished at each iteration. Advantages: Advantages: The entire system does not need to be understood at one time. If an error is introduced during development, it will be discovered and corrected before much more work is completed and potentially wasted.

56/13/2015 3:30 AM6/13/2015 3:30 AM6/13/2015 3:30 AMIntroduction to Software Development Maintenance This is the phase during which the system is actually being used. It consists of the analysis through system testing steps being repeated many times, just on a smaller scale. This is because changes to the software system will be required: As the organization the software serves changes or grows, there will be new requirements for the software, which will need to be implemented. As the organization the software serves changes or grows, there will be new requirements for the software, which will need to be implemented. No software system is perfect, and errors (bugs) will need to be fixed. No software system is perfect, and errors (bugs) will need to be fixed.

66/13/2015 3:30 AM6/13/2015 3:30 AM6/13/2015 3:30 AMIntroduction to Software Development Programming Languages Software can be developed directly in machine language, but it is very, very, very difficult and slow. Software is usually developed by writing instructions in symbolic code and translating that code into machine language. Machine language is also called a low-level language, and symbolic languages are also called high-level languages because they are closer to natural human languages. There are many different programming languages depending on the purpose of the language, the architecture it will execute on, and the people developing the language.

76/13/2015 3:30 AM6/13/2015 3:30 AM6/13/2015 3:30 AMIntroduction to Software Development Development Tools Editors: similar to a word processor, it is used to create symbolic code. Compilers: translate symbolic code to object code. Linkers: combine object code and libraries into executable files. Libraries are collections of useful functions. Libraries may come from the language compiler, the operating system, or from the application. Debuggers: allow a running executable to be observed, to assist in removing bugs. Integrated Development Environments: A GUI system that combines the above tools, making development easier and quicker.

86/13/2015 3:30 AM6/13/2015 3:30 AM6/13/2015 3:30 AMIntroduction to Software Development Errors There are several types of errors that are encountered during software development: Syntax errors: when a source code file is compiled, the compiler does not understand the code because it is not logically formatted correctly for the language. Syntax errors: when a source code file is compiled, the compiler does not understand the code because it is not logically formatted correctly for the language. Logic errors: the source code can be translated to machine language, but the source code did not implement a correct algorithm to solve the problem, so the program does not execute correctly. Logic errors: the source code can be translated to machine language, but the source code did not implement a correct algorithm to solve the problem, so the program does not execute correctly. Run-Time errors: (usually a logic error) sometimes when the program is executed, it encounters a situation where it cannot continue execution, and the program stops with a system error message. Examples: division by zero, square root of a negative number, over/underflow, file not found, I/O error. Run-Time errors: (usually a logic error) sometimes when the program is executed, it encounters a situation where it cannot continue execution, and the program stops with a system error message. Examples: division by zero, square root of a negative number, over/underflow, file not found, I/O error.

96/13/2015 3:30 AM6/13/2015 3:30 AM6/13/2015 3:30 AMIntroduction to Software Development Operating System The software that controls the computer system. It is resident in main memory all the time. It provides: The user interface (either a command line or a GUI). This is how the computer system user directs the computer to execute application programs or system utilities. The user interface (either a command line or a GUI). This is how the computer system user directs the computer to execute application programs or system utilities. A file system. A file system. Access to input and output devices. Access to input and output devices. A memory system. A memory system. Security, networking, and other services. Security, networking, and other services.

106/13/2015 3:30 AM6/13/2015 3:30 AM6/13/2015 3:30 AMIntroduction to Software Development Standard Input/Output A simple model for doing computer system input or output. It has been around since early computer systems. It consists of only: Keyboard: for input. Keyboard: for input. Screen: for output. Screen: for output. It does not look pretty, but programs using it are easy to develop. A graphical user interface (GUI) looks much nicer, but the program is more difficult to develop.

116/13/2015 3:30 AM6/13/2015 3:30 AM6/13/2015 3:30 AMIntroduction to Software Development Textbook Reading Sections 1.2 – 1.6 cover these same concepts. Reviewing them may help clarify the material.