POWERPOINT PRESENTATION

Slides:



Advertisements
Similar presentations
Chapter 15 Debugging. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display Debugging with High Level Languages.
Advertisements

Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
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.
Program Flow Charting How to tackle the beginning stage a program design.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
Program Development and Programming Languages
Moving To Code 3 More on the Problem-Solving Process §The final step in the problem-solving process is to evaluate and modify (if necessary) the program.
PRE-PROGRAMMING PHASE
Your Interactive Guide to the Digital World Discovering Computers 2012.
Introduction 01_intro.ppt
สาขาวิชาเทคโนโลยี สารสนเทศ คณะเทคโนโลยีสารสนเทศ และการสื่อสาร.
Chapter 1: A First Program Using C#. Programming Computer program – A set of instructions that tells a computer what to do – Also called software Software.
Chapter 3: Completing the Problem- Solving Process and Getting Started with C++ Introduction to Programming with C++ Fourth Edition.
Programming Lifecycle
C++ Programming Language Lecture 2 Problem Analysis and Solution Representation By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department.
CS 111 – Nov. 22 Chapter 7 Software engineering Systems analysis Commitment –Please read Section 7.4 (only pp ), Sections –Homework #2.
IXA 1234 : C++ PROGRAMMING CHAPTER 1. PROGRAMMING LANGUAGE Programming language is a computer program that can solve certain problem / task Keyword: Computer.
INTRODUCTION TO COMPUTING CHAPTER NO. 04. Programming Languages Program Algorithms and Pseudo Code Properties and Advantages of Algorithms Flowchart (Symbols.
PROGRAM DEVELOPMENT CYCLE. Problem Statement: Problem Statement help diagnose the situation so that your focus is on the problem, helpful tools at this.
© 2006 Pearson Addison-Wesley. All rights reserved 2-1 Chapter 2 Principles of Programming & Software Engineering.
The Hashemite University Computer Engineering Department
1 The Software Development Process ► Systems analysis ► Systems design ► Implementation ► Testing ► Documentation ► Evaluation ► Maintenance.
CMSC 2021 Software Development. CMSC 2022 Software Development Life Cycle Five phases: –Analysis –Design –Implementation –Testing –Maintenance.
Chapter 2 Principles of Programming and Software Engineering.
An overview of C Language. Overview of C C language is a general purpose and structured programming language developed by 'Dennis Ritchie' at AT &T's.
Principles of Programming CSEB134 : BS/ CHAPTER Fundamentals of the C Programming Language.
C++ for Engineers and Scientists, Second Edition 1 Problem Solution and Software Development Software development procedure: method for solving problems.
CSCI 161 Lecture 3 Martin van Bommel. Operating System Program that acts as interface to other software and the underlying hardware Operating System Utilities.
PROGRAMMING FUNDAMENTALS INTRODUCTION TO PROGRAMMING. Computer Programming Concepts. Flowchart. Structured Programming Design. Implementation Documentation.
 Problem Analysis  Coding  Debugging  Testing.
Principles of Programming & Software Engineering
ICS 3UI - Introduction to Computer Science
Introduction to Computers and C++ Programming
Basics of Computer A Computer is Electronic device that can
The Art of Programming --
Chapter 2: Input, Processing, and Output
CSE101-Lec#2 Programming Methodologies
C Programming Hardik H. Maheta.
Revision Lecture
Lecture 2 Introduction to Programming
Developing Applications
Visit for more Learning Resources
Translators & Facilities of Languages
Chapter 1: Introduction to Computers and Programming
Strategies For Software Test Documentation
Unit# 9: Computer Program Development
Computer Programming LAB 1 Tejalal Choudhary Asst. Prof, CSE Dept.
Problem Solving Techniques
Chapter 15 Debugging.
Introduction to Systems Analysis and Design
Programming Fundamentals (750113) Ch1. Problem Solving
Functions, Part 1 of 3 Topics Using Predefined Functions
1) C program development 2) Selection structure
Chapter 2- Visual Basic Schneider
Chapter 1 Introduction(1.1)
CSC128 FUNDAMENTALS OF COMPUTER PROBLEM SOLVING
Chapter 2- Visual Basic Schneider
Chapter 15 Debugging.
Software Development Process
Functions, Part 1 of 3 Topics Using Predefined Functions
ICT Gaming Lesson 2.
Chapter 2: Input, Processing, and Output
Chapter 2. Problem Solving and Software Engineering
Functions, Part 1 of 3 Topics Using Predefined Functions
Course Outcomes of Programming In C (PIC) (17212, C203):
Chapter 15 Debugging.
WRITING AN ALGORITHM, PSEUDOCODE, AND FLOWCHART LESSON 2.
CHAPTER 6 Testing and Debugging.
Chapter 15 Debugging.
Chapter 1: Introduction to Computers and Programming
Presentation transcript:

POWERPOINT PRESENTATION PROGRAMMING IN C

C LANGUAGE C language is a procedural programming language . It is developed by  Dennis Ritchie in 1972. It works on top to down approach. It was mainly developed as a system programming language to write operating system. The main features of C language include low-level access to memory, simple set of keywords, and clean style, these features make C language suitable for system programming like operating system or compiler development.

PROGRAM DEVELOPMENT LIFE CYCLE PDLC(Program Development life cycle):- Program Development life Cycle & Software Development Life Cycle. The programming development cycle is a process of steps, used by programmers to more efficiently manage their time in designing error-free programs that produce the desired output. STEPS OF PDLC:- There are seven steps of pdlc are following as: Problem Definition. Problem Design. Algorithm Development & flow chart. Program Coding . Compilation & Debugging. Program testing. Implementation and documentation.

TESTING PROBLEM DEFINITION ALGORITHM AND FLOWCHART PROGRAM DESIGNING CODING DEBUGGING AND COMPILATION TESTING IMPLIMENTATION AND DOCUMENTATION

1. Problem Definition :- 2. Program Design :- In this phase, we define the problem statement and we decide the boundaries of the problem. In this phase we need to understand the problem statement, what is our requirement, what should be the output of the problem solution. These are defined in this first phase of the program development life cycle. 2. Program Design :-  Language (or PDL, for short) is a method for designing and documenting methods and procedures in software.

3. Algorithm Development and Flowchart:- During this phase, we develop a step by step procedure to solve the problem using the specification given in the previous phase. That means we write the solution in step by step statements. FOR EXAMPLE:- // Write a algorithm for addition of two numbers. Step 1: Start Step 2: Declare variables num1, num2 and sum. Step 3: Read values num1 and num2. Step 4: Add num1 and num2 and assign the result to sum. Sum←num1+num2. Step 5: Display sum Step 6: Stop

4.Program Coding :- PROGRAM CODING FORMAT This phase uses a programming language to write or implement actual programming instructions for the steps defined in the previous phase. That means we write the program to solve the given problem using programming languages like C, C++, Java etc. PROGRAM CODING FORMAT #include<stdio.h> #include<conio.h> void main() { --------------- ; }

// WRITE A PROGRAM FOR ADDING TWO NUMBERS. #include<stdio.h> int main() { int a, b, c;   printf("Enter two numbers to add\n"); scanf("%d%d", &a, &b);   c = a + b; printf("Sum of the numbers = %d\n", c);  return 0; }

5.Debugging & Compiling:- Debugging - The Bugs found above are the causes of some wrong code. So locating the wrong code by running the application with special tools (debugger) is called debugging. Compiling- Compiling is a process of converting code into an executable (Application). This is applicable to compiled languages such as C, C++. It helps to finding the errors present in the program coding. Its help in debugging process in removing the errors.

Figure:-Compilation

7.Implementation and documentation:- 6.Testing:-  There are other testing types such as Unit testing, Integration testing, Stress testing etc. If there are problems encountered while testing, they are termed as Bugs. 7.Implementation and documentation:-  Implementation process can vary from organization to organization, dependent largely on the details of the actual strategic plan, but some basic steps can assist in the process and ensure that implementation is successful Documentation is intended to allow another person, or the programmer at a later date, to understand the program. Internal documentation consists of statements in the program that are not executed, but point out the purposes of various parts of the program.

DIFFRENCE B/W PROGRAM DEBUGGING AND TESTING PROGRAM TESTING PROGRAM DEBUGGING 1. Testing always starts with known conditions, uses predefined methods, and has predictable outcomes too. 1. Debugging starts from possibly un-known initial conditions and its end cannot be predicted, apart from statistically. 2. Testing can and should definitely be planned, designed, and scheduled. 2. The procedures for, and period of, debugging cannot be so constrained. 3. It proves a programmers failure. 3. It is the programmer’s vindication. 4. It is a demonstration of error or apparent correctness. 4. It is always treated as a deductive process. 5. Testing purpose is to find bug. 5. Debugging purpose is to find cause of bug.