Your Interactive Guide to the Digital World Discovering Computers 2012.

Slides:



Advertisements
Similar presentations
Computers Are Your Future
Advertisements

Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
Starting Out with C++, 3 rd Edition 1 Chapter 1. Introduction to Computers and Programming.
Chapter 13 Programming Languages and Program Development
Programming Creating programs that run on your PC
Chapter 2- Visual Basic Schneider
Programming System development life cycle Life cycle of a program
Discovering Computers Fundamentals, 2011 Edition Living in a Digital World.
Computers Are Your Future © 2006 Prentice Hall, Inc.
Computer Concepts 5th Edition Parsons/Oja Page 546 CHAPTER 11 Software Engineering Section A PARSONS/OJA Computer Programming.
CIS105 Chapter 1 Theory Review. Page 2 Hardware and Software are the two major components o any computer system Hardware is the set of physical devices.
Program Flow Charting How to tackle the beginning stage a program design.
Java Programming, 3e Concepts and Techniques Chapter 1 An Introduction to Java and Program Design.
Your Interactive Guide to the Digital World Discovering Computers 2012 Chapter 13 Computer Programs and Programming Languages.
Discovering Computers 2008 Chapter 13 Programming Languages and Program Development.
© Prentice Hall CHAPTER 3 Computer Software.
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
Objectives Overview Define system development and list the system development phases Identify the guidelines for system development Discuss the importance.
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
Computer Programming How Can You Create Your Own Software? Chapter 13.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 1 Building Applications.
© Paradigm Publishing Inc Chapter 12 Programming Concepts and Languages.
Chapter 13 Programming Languages and Program Development.
Chapter 13 Programming Languages and Program Development 1.
Discovering Computers 2009 CSC 1100 Computer Literacy Dr. Carlos E. Otero Introduction to Computer Programming.
Introduction 01_intro.ppt
Program Development and Programming Languages
Java Programming, 2E Introductory Concepts and Techniques Chapter 1 An Introduction to Java and Program Design.
Computers Are Your Future Tenth Edition Chapter 11: Programming Languages & Program Development Copyright © 2009 Pearson Education, Inc. Publishing as.
Programming Languages – Coding schemes used to write both systems and application software A programming language is an abstraction mechanism. It enables.
A First Program Using C#
COMPUTER SOFTWARE Section 2 “System Software: Computer System Management ” CHAPTER 4 Lecture-6/ T. Nouf Almujally 1.
Understanding Computers Ch. 131 Chapter 13 Program Development and Programming Languages.
COMPUTER PROGRAMMING Source: Computing Concepts (the I-series) by Haag, Cummings, and Rhea, McGraw-Hill/Irwin, 2002.
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.
Describe uses of web databases, types of databases, and Big Data
Copyright©2008 N.AlJaffan®KSU1 Chapter 11 Information system development and programming language.
Programming Languages 1.07a.  A computer program is a series of instructions that direct a computer to perform a certain task.  A programming language.
Chapter 15 Program Development and Programming Languages.
1 Chapter 13 Understanding Computers, 11 th Edition 13 Program Development and Programming Languages TODAY AND TOMORROW 11 th Edition CHAPTER.
Discovering Computers 2009 Chapter 13 Programming Languages and Program Development.
Computer Programs and Programming Languages What are low-level languages and high-level languages? High-level language Low-level language Machine-dependent.
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.
Identify object-oriented programming languages. A computer program is a series of instructions that direct a computer to perform specific tasks. A programming.
Chapter 13 Programming Languages and Program Development.
1 Chapter 13 Programming Languages and Program Development Tools.
EXPLAIN THE CONCEPT OF PROGRAMMING. Programming Languages and Program Development Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall2.
Chapter 12 Information Systems and Program Development Discovering Computers Technology in a World of Computers, Mobile Devices, and the Internet.
5.0 PROGRAMMING Duration: 10 weeks Prepared by Ong Lay Peng Copyright © 2007.
Discovering Computers Fundamentals, 2010 Edition Living in a Digital World.
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
PROGRAMMING FUNDAMENTALS INTRODUCTION TO PROGRAMMING. Computer Programming Concepts. Flowchart. Structured Programming Design. Implementation Documentation.
Discovering Computers Fundamentals, 2011 Edition Living in a Digital World.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 1 An Introduction to Visual Basic.NET and Program Design.
Programming Logic and Design Seventh Edition Chapter 1 An Overview of Computers and Programming.
Your Interactive Guide to the Digital World Discovering Computers 2012 Chapter 13 Computer Programs and Programming Languages.
CHAPTER ELEVEN Information System Development and Programming Languages Copyright © Cengage Learning. All rights reserved.
IS220 Computer Programming
Chapter 2- Visual Basic Schneider
Objectives Overview Differentiate between machine and assembly languages Identify and discuss the purpose of procedural programming languages, and describe.
An Introduction to Visual Basic .NET and Program Design
Developing Applications
CSC128 FUNDAMENTALS OF COMPUTER PROBLEM SOLVING
Chapter 2- Visual Basic Schneider
Chapter 2- Visual Basic Schneider
and Program Development
Programming Logic and Design Eighth Edition
Presentation transcript:

Your Interactive Guide to the Digital World Discovering Computers 2012

Computer Programs and Programming Languages A computer program is a series of instructions that directs a computer to perform tasks – Created by a programmer using a programming language Discovering Computers 2012: Chapter 13 2 Pages 664 – 665 Figure 13-1

Low-Level Languages Machine language is the first generation of programming languages Only language the computer directly recognizes Discovering Computers 2012: Chapter 13 3 Page 665 Figure 13-2

Low-Level Languages Assembly language is the second generation of programming languages Programmer writes instructions using symbolic instruction codes A source program contains the code to be converted to machine language Discovering Computers 2012: Chapter 13 4 Pages 665 – 666 Figure 13-3

Procedural Languages In a procedural language, the programmer writes instructions that tell the computer what to accomplish and how to do it – Third-generation language (3GL) Discovering Computers 2012: Chapter 13 5 Pages A compiler translates an entire program before executing it An interpreter converts and executes one code statement at a time

Procedural Languages Discovering Computers 2012: Chapter 13 6 Page 667 Figures 13-4 – 13-5

Object-Oriented Programming Languages and Program Development Tools An object-oriented programming (OOP) language allows programmers the ability to reuse and modify existing objects Other advantages include: Discovering Computers 2012: Chapter 13 7 Page 669 Objects can be reused Programmers create applications faster Work well in a RAD environment Most program development tools are IDEs

Object-Oriented Programming Languages and Program Development Tools Java is an object-oriented programming language developed by Sun Microsystems The Just-in-time (JIT) compiler converts the bytecode into machine-dependent code Discovering Computers 2012: Chapter 13 8 Page 670 Figure 13-8

Object-Oriented Programming Languages and Program Development Tools The Microsoft.NET Framework allows almost any type of program to run on the Internet or an internal business network, as well as computers and mobile devices Discovering Computers 2012: Chapter 13 9 Page 670

Object-Oriented Programming Languages and Program Development Tools C++ is an extension of the C programming language C# is based on C++ and was developed by Microsoft F# combines the benefits of an object- oriented language with those of a functional language Discovering Computers 2012: Chapter Page 671 Figure 13-9

Object-Oriented Programming Languages and Program Development Tools Visual Studio is Microsoft’s suite of program development tools Visual Basic is based on the BASIC programming language Visual C++ is based on C++ Visual C# combines the programming elements of C++ with an easier, rapid-development environment Discovering Computers 2012: Chapter Pages

Object-Oriented Programming Languages and Program Development Tools A visual programming language is a language that uses a visual or graphical interface for creating all source code Discovering Computers 2012: Chapter Page 673

Other Programming Languages and Development Tools A 4GL (fourth-generation language) is a nonprocedural language that enables users and programmers to access data in a database – One popular 4GL is SQL Discovering Computers 2012: Chapter Page 674 Figure 13-13

Other Programming Languages and Development Tools An application generator is a program that creates source code or machine code from a specification of the required functionality – Often bundled as part of a DBMS ( Database Management System ) Discovering Computers 2012: Chapter Page 676 Figure 13-15

Other Programming Languages and Development Tools A macro is a series of statements that instructs an application how to complete a task You usually create the macro in one of two ways: – Record the macro with a macro recorder – Write the macro Discovering Computers 2012: Chapter Page 676

Program Development Program development consists of a series of steps programmers use to build computer programs Discovering Computers 2012: Chapter Page 686 Figure 13-23

Step 0 System investigation Before any system planning is done, a feasibility study should be conducted to determine if creating a new or improved system is a viable solution. This will help to determine the costs, benefits, resource requirements, and specific user needs required for completion. Discovering Computers 2012: Chapter 13 17

Step 0 Following are different components of the feasibility study: Operational feasibility Economic feasibility Technical feasibility Human factors feasibility Legal/Political feasibility Discovering Computers 2012: Chapter 13 18

Step 1 Analyze Requirement The Two Types of Requirements: Functional Requirements In this category, developers list the functions that the software should be able to perform. These are practically the functions that the users will be looking for in the software, e.g. “Calculate from different resources and print them”. Non-Functional Requirements Non-functional type of requirement does not require actions but they are basically intrinsic in software. Without this, the software will never function or would have deficiency in its output, e.g. “the type of interface” Discovering Computers 2012: Chapter 13 19

Step 2 Design Solution Design: inputs and outputs.eg screens and report design; data eg data flow diagrams, data dictionaries, entity relationship diagrams; process descriptors eg decision tables, flow charts, structured English. Discovering Computers 2012: Chapter 13 20

Step 3 – Validate Design Check for logic errors using test data Discovering Computers 2012: Chapter Pages Develop various sets of test data Determine the expected result Step through the algorithm Compare the results Repeat steps for each set of test data

Step 4 – Implement Design Implementation of the design includes using a program development tool that assists the programmer by: – Generating or providing some or all code – Writing the code that translates the design into a computer program – Creating the user interface Extreme programming is a strategy where programmers immediately begin coding and testing solutions as soon as requirements are defined Discovering Computers 2012: Chapter Pages

Step 5 – Test Solution The goal of program testing is to ensure the program runs correctly and is error free Errors include syntax errors and logic errors Debugging the program involves removing the bugs A beta is a program that has most or all of its features and functionality implemented but still is not the final program Discovering Computers 2012: Chapter Pages

Step 6 – Document Solution In documenting the solution, the programmer performs two activities: Discovering Computers 2012: Chapter Page 696 Review the program code Review all the documentation