Programming Techniques Lecture-1 2 nd class Introduction Assistant lecturer: Alza A. Mahmood.

Slides:



Advertisements
Similar presentations
Md. Ahsan Arif, Assistant Professor, Dept. of CSE, AUB
Advertisements

Programming Paradigms Introduction. 6/15/2005 Copyright 2005, by the authors of these slides, and Ateneo de Manila University. All rights reserved. L1:
CS0004: Introduction to Programming Introduction to Programming.
Programming Languages Marjan Sirjani 2 2. Language Design Issues Design to Run efficiently : early languages Easy to write correctly : new 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.
1 Programming Languages Translation  Lecture Objectives:  Be able to list and explain five features of the Java programming language.  Be able to explain.
An Introduction to Programming with C++ Fifth Edition Chapter 1 An Introduction to Programming.
A Brief Introduction to Structured Design Errol Pelchat CSCI
Client Server Model and Software Design TCP/IP allows a programmer to establish communication between two application and to pass data back and forth.
Software Development Unit 6.
1 CHAPTER 4 LANGUAGE/SOFTWARE Hardware Hardware is the machine itself and its various individual equipment. It includes all mechanical, electronic.
1 CS101 Introduction to Computing Lecture 19 Programming Languages.
Programming Paradigms Imperative programming Functional programming Logic programming Event-driven programming Object-oriented programming A programming.
Your Interactive Guide to the Digital World Discovering Computers 2012.
Programming Languages CPS120: Introduction to Computer Science Lecture 5.
Dr. Ken Hoganson, © August 2014 Programming in R STAT8030 Programming in R COURSE NOTES 1: Hoganson Programming Languages.
There are only 10 types of people in the world, those who understand binary and those who don't.
ProgrammingLanguages Programming Languages Computational Paradigms.
COP1220/CGS2423 Introduction to C++/ C for Engineers Professor: Dr. Miguel Alonso Jr. Fall 2008.
AS Computing Introduction to Programming. What is a Computer Program? A list of instructions that a computer must work through, in a logical sequence,
CHAPTER ONE Problem Solving and the Object- Oriented Paradigm.
Python Mini-Course University of Oklahoma Department of Psychology Day 2 – Lesson 6 Program Design 4/18/09 Python Mini-Course: Day 2 - Lesson 6 1.
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.
CS101 Introduction to Computing Lecture Programming Languages.
Computer Concepts 2014 Chapter 12 Computer Programming.
Introduction and Features of Java. What is java? Developed by Sun Microsystems (James Gosling) A general-purpose object-oriented language Based on C/C++
1 2. Program Construction in Java Programming Fundamentals.
Computer Programs and Programming Languages What are low-level languages and high-level languages? High-level language Low-level language Machine-dependent.
CHAPTER ONE Problem Solving and the Object- Oriented Paradigm.
IXA 1234 : C++ PROGRAMMING CHAPTER 1. PROGRAMMING LANGUAGE Programming language is a computer program that can solve certain problem / task Keyword: Computer.
SE-02 COMPONENTS – WHY? Object-oriented source-level re-use of code requires same source code language. Object-oriented source-level re-use may require.
INTRODUCTION TO COMPUTING CHAPTER NO. 04. Programming Languages Program Algorithms and Pseudo Code Properties and Advantages of Algorithms Flowchart (Symbols.
National Diploma Unit 4 Introduction to Software Development Introduction to Programming Languages.
CS 345: Programming Language Paradigms Chris Brooks HR 510 MWF 11:00-12:05.
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.
Jigar Gaglani.  Programming paradigm is a fundamental style of computer programming  Paradigms differ in concepts and abstractions used to represent.
CS 3050 Object-Oriented Analysis and Design. Objectives What is “Object-Oriented?” Object-Oriented Approach Vs. Structured Approach How Has the Object-Oriented.
Java Fundamentals Usman Ependi UBD
FOUNDATION IN INFORMATION TECHNOLOGY (CS-T-101) TOPIC : INFORMATION SYSTEM – SOFTWARE.
Chapter 4 Software. Chapter 4: Software Generations of Languages Each computer is wired to perform certain operations in response to an instruction. An.
Introduction to programming Carl Smith National Certificate Year 2 – Unit 4.
CSC1200 INTRODUCTION TO PROGRAMMING Dr. Maureen Markel
Programming and Languages Dept. of Computer and Information Science IUPUI.
Introduction to OOP CPS235: Introduction.
CPS 235 Object Oriented Programming Paradigm
JavaScript 101 Introduction to Programming. Topics What is programming? The common elements found in most programming languages Introduction to JavaScript.
From the customer’s perspective the SRS is: How smart people are going to solve the problem that was stated in the System Spec. A “contract”, more or less.
Flow Control in Imperative Languages. Activity 1 What does the word: ‘Imperative’ mean? 5mins …having CONTROL and ORDER!
1 Good Object-Oriented Design Dr. Radu Marinescu Lecture 4 Introduction to Design Patterns.
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.
Procedural programming Procedural programming is where you specify the steps required. You do this by making the program in steps. Procedural programming.
PROGRAMMING FUNDAMENTALS INTRODUCTION TO PROGRAMMING. Computer Programming Concepts. Flowchart. Structured Programming Design. Implementation Documentation.
Lesson 2: First Java Programs. 2.1 Why Java? Java is one of the most popular programming languages in the world. Java is a modern object-oriented programming.
High-level language programming paradigms. Programming languages come in many forms or 'paradigms'. Each form of language offers advantages over other.
Your Interactive Guide to the Digital World Discovering Computers 2012 Chapter 13 Computer Programs and Programming Languages.
CIS 365: Visual Application Development Introduction to Computers and Programming.
Computer Basics.
Computer Programming.
Visit for more Learning Resources
INTRODUCTION TO OBJECT-ORIENTED PROGRAMMING
Introduction to programming
Programming Language Hierarchy, Phases of a Java Program
CONTROL FLOW TESTING.
Programming Languages and Translators
Developing Applications
VISUAL BASIC.
Overview of Programming Paradigms
The structure of programming
Thinking procedurally
Presentation transcript:

Programming Techniques Lecture-1 2 nd class Introduction Assistant lecturer: Alza A. Mahmood

INTRODUCTION Programming languages are human-engineered languages developed to convey instructions to machines Languages arise, are found wanting, and are soon replaced by more clever or more flexible offspring As programs became larger and more sophisticated, developers realized that some language types were easier to support in large systems. This has lead to greater use of objected-oriented and event-driven programming languages.

One of the most fundamental ways programming languages are characterize by programming paradigm. A given language is not limited to use of a single paradigm. Java, for example, supports elements of both procedural and object- oriented programming, and it can be used in a concurrent, event-driven way.

UNSTRUCTURED PROGRAMMING Unstructured programming techniques provide tremendous disadvantages once a program gets sufficiently large. For example, if the same statement sequence is needed at different locations within the program, the same sequence of statements must be repeatedly copied to the new locations.

PROCEDURAL PROGRAMMING LANGUAGES Each program has a starting state, a list of operations to complete, and an ending point. This approach is also known as imperative programming. Procedures, also known as functions, subroutines, or methods, are small sections of code that perform a particular function. By splitting the programmatic tasks into small pieces, procedural programming allows a section of code to be re-used in the program without making multiple copies.

OBJECT-ORIENTED PROGRAMMING Object-oriented programming is one the newest and most powerful paradigms. This pairing of a piece of data with the operations that can be performed on it is known as an object

OTHER PARADIGMS Concurrent programming provides for multiple computations running at once. This often means support for multiple threads of program execution. Functional programming languages define subroutines and programs as mathematical functions Event-driven programming is a paradigm where the program flow is determined by user actions.