Programming Concepts What we are going to learn in this subject? The basic concepts of writing computer programs commonly known as software.

Slides:



Advertisements
Similar presentations
EC-111 Algorithms & Computing Lecture #1 Instructor: Jahan Zeb Department of Computer Engineering (DCE) College of E&ME NUST.
Advertisements

Senem Kumova Metin Introduction to Programming CS 115 Introduction to Computing PART I : Computer Basics PART II: Introduction to Computing/Programming.
 Computer hardware components are the physical pieces of the computer.  The major hardware components of a computer are: – The central processing.
Fundamentals and a Brief History of Computer Systems.
Computer Components.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design First Edition by Tony Gaddis.
Three types of computer languages
Computing Components 01/26/11. Announcements & Reminders Programs 1 due Friday, 9/2/11 What is my late policy? Proxy Codes for Labs  You should be able.
CMPT 120 Introduction to Computer Science and Programming I Chris Schmidt.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with C++ Early Objects Sixth Edition by Tony Gaddis, Judy Walters,
 2003 Prentice Hall, Inc. All rights reserved. 1 Machine Languages, Assembly Languages, and High-level Languages Three types of computer languages 1.Machine.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages C++ Programming:
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.
A Brief History of C++ A Brief History of C++ In the early 1970s, Dennis Ritchie of Bell Laboratories was engaged in a project to develop a new operating.
Course: Introduction to Computers
Computers & Logic An Overview. Hardware Hardware is the equipment, or the devices, associated with a computer. For a computer to be useful, however, it.
Copyright 2003 Scott/Jones Publishing Brief Version of Starting Out with C++, 4th Edition Chapter 1 Introduction to Computers and Programming.
Principles of Programming Chapter 1: Introduction  In this chapter you will learn about:  Overview of Computer Component  Overview of Programming 
Alternate Version of STARTING OUT WITH C++ 4 th Edition Chapter 1 Introduction to Computers and Programming.
Chapter Introduction to Computers and Programming 1.
How Computers Work. A computer is a machine f or the storage and processing of information. Computers consist of hardware (what you can touch) and software.
CSC 125 Introduction to C++ Programming Chapter 1 Introduction to Computers and Programming.
Sudeshna Sarkar, IIT Kharagpur 1 Programming and Data Structure Sudeshna Sarkar Lecture 1.
Chapter 1: Introduction to Visual Basic.NET: Background and Perspective Visual Basic.NET Programming: From Problem Analysis to Program Design.
CS130 Introduction to Programming with VB 6.0 Fall 2001.
1 Lecture 2 : Computer System and Programming. Computer? a programmable machine that  Receives input  Stores and manipulates data  Provides output.
 2008 Pearson Education, Inc. All rights reserved Introduction to Computers, the Internet and World Wide Web.
Lesson 2 Information Processing. Objectives Define hardware and software Explain the three basic computer functions: input, processing, and output.
Lecture 1 Introduction to computers & VB.Net. What is a Computer? Examples? A device capable of  Performing computation  Making logical decisions 
Assembly Language for x86 Processors 7th Edition
Copyright © 2009 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1: Introduction to Computers and Programming.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Introduction Lecture 01.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages.
1 Lecture 2 : Computer System and Programming. Computer? a programmable machine that  Receives input  Stores and manipulates data  Provides output.
What is a computer? Computer is a device for processing information.
Basic of Programming Language Skill Area Computer System Computer Program Programming Language Programmer Translators.
COMPUTER PROGRAMMING. Computer programming the objective of the module to gain the necessary skills to develop a computer program using one of the high.
C o n f i d e n t i a l 1 Course: BCA Semester: III Subject Code : BC 0042 Subject Name: Operating Systems Unit number : 1 Unit Title: Overview of Operating.
1 Text Reference: Warford. 2 Computer Architecture: The design of those aspects of a computer which are visible to the programmer. Architecture Organization.
FOUNDATION IN INFORMATION TECHNOLOGY (CS-T-101) TOPIC : INFORMATION SYSTEM – SOFTWARE.
Copyright 2003 Scott/Jones Publishing Standard Version of Starting Out with C++, 4th Edition Chapter 1 Introduction to Computers and Programming.
Exploring Windows and Essential Computing Concepts - Getting Started 1 Getting Started Essential Computing Concepts.
Parts of a Computer. Two Basic Components of a Computer System Hardware Parts of the Computer System you can physically touch Software Computer Instructions.
Chapter 1: Introduction to Visual Basic.NET: Background and Perspective Visual Basic.NET Programming: From Problem Analysis to Program Design.
Introduction  Program: Set of sequence instruction that tell the computer what to do.  Software: A collection of programs, data, and information. 
1. an electronic device that manipulates information, or "data“
Chapter 1 An Overview of Computers and Programming Languages.
C++ Programming: From Problem Analysis to Program Design, Fifth Edition Chapter 1: An Overview of Computers and Programming Languages.
What’s a Computer?. The Basics A computer is a machine that manipulates data based on a list of instructions called a program.
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1: Introduction to Computers and Programming.
1 Chapter 1 Background Fundamentals of Java: AP Computer Science Essentials, 4th Edition Lambert / Osborne.
Computer Software vs. Hardware. Topic: Java in the Computer World.
Suffolk County Community College Mathematics and Computer Science Ammerman Campus CST 121Spring 2013 Section 151CRN: Computer Organization And System.
By Kundang K Juman Hardware & Software. COMP102 Prog. Fundamentals I: Software / Slide 2 l Four components of a computer system: n CPU - central processing.
Assembly Language for x86 Processors 6th Edition
Chapter 1: An Overview of Computers and Programming Languages
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE
INFORMATION TECHNOLOGY
Input and Output Devices
Chapter 7.2 Computer Architecture
Chapter 1: An Overview of Computers and Programming Languages
C++ Programming: From Problem Analysis to Program Design
Computer Electronic device Accepts data - input
Computer Electronic device Accepts data - input
Hardware & Software Programming. COMP102 Prog. Fundamentals I: Software / Slide 2 l Four components of a computer system: n CPU - central processing unit.
Computer Electronic device Accepts data - input
Computer Basics: How Do Computers Work? Part II
Introduction to Computer Programming
Computer Electronic device Accepts data - input
Presentation transcript:

Programming Concepts What we are going to learn in this subject? The basic concepts of writing computer programs commonly known as software

Text Book Title: C++ How to Program, Second Edition Author: H.M. Deital and P.j. Deital Publisher: Prentice Hall

COMPUTER ARCHITECTURE The modern day computer has two major classifications: Hardware Software

HARDWARE H.w is Physical entities of computer: Computer has two types of h.w: Input Devices We give instruction to computer using these devices Keyboard,Mouse,scanners,Mikes,Cameras,sensors etc. Output Devices Monitors,Printers,Speakers etc.

SOFTWARE A sequence of instructions is called a computer program or software Operating systems, games etc These instructions are written in a programming language

COMPUTER ARCHITECTURE IOP CPU INPUTOUTPUT Memory All information and communication is performed inside the computer in the form of 0 and 1(Binary,Digital)

Computer Programming Software development All development is done in some programming language Problem is that computer only understand 0 & 1

PROGRAMMING LANGUAGES The programming languages evolved in following: I. Machine Language II. Assembly Language III. High level languages Procedural Languages Object Oriented Languages

MACHINE LANGUAGE Written in the form of 0 & 1 Computer directly understands Machine Dependent

Assembly Languages Use Naturally understandable symbols called Mnemonics One to one correspondence with machine language Load 5, Load 1, Add Assemblers are used as interpreter

High Level Languages Use naturally understandable language Compilers are used as interpreter IDEs are use for rapid development like.Net environment, Visual Basic and Visual C++

C++ as a Programming Language Extended version of c language C is evolved by Dennis Ritchie C++ is developed by Bjarne Stroustrup

Programming in C++ C++ Code Compiler

Simple Program #include int main() { cout<< Welcome to C++! ; return 0; }