WELCOME TO ALL STUDENTS IN MY CLASS: Hope You All Enjoyed C#

Slides:



Advertisements
Similar presentations
C language was developed in early 1970s by Dennis Ritchie at Bell Laboratories to implement the UNIX operating system on the PDP-11 manufactured by DEC.
Advertisements

Agenda Definitions Evolution of Programming Languages and Personal Computers The C Language.
CS0007: Introduction to Computer Programming Console Output, Variables, Literals, and Introduction to Type.
Introduction Class Notes How to Program in C++ By : dettle & dettle READING MATERIAL
UNIX Chapter 01 Overview of Operating Systems Mr. Mohammad A. Smirat.
Object Oriented System Development with VB .NET
Lecture 1: An Introduction to Java. What is Java? Programming language developed by Sun Microsystems in 1995 –Inherits its syntax from c –Adapted the.
Aalborg Media Lab 18-Jun-15 Introduction Introduction to System Design I Fall 2004.
Lecture 11: Chapter 22 Topics –Object Oriented Modeling –UML –Use case.
Copyright Arshi Khan1 System Programming Instructor Arshi Khan.
INTRODUCTION TO JAVA PROGRAMMING Chapter 1. What is Computer Programming?
Chapter 1 - Introduction. Ch 1Goals To understand the activity of programming To learn about the architecture of computers To learn about machine code.
CSC 142 A 1 CSC 142 Introduction to Java [Reading: chapter 0]
+ Java vs. Javascript Jessi Style. + Java Compiled Can stand on its own Written once, run anywhere Two-stage debugging Java is an Object Oriented Programming.
Introduction COMP104: Fundamentals and Methodology.
 2008 Pearson Education, Inc. All rights reserved Introduction to Computers, the Internet and World Wide Web.
Java Beserkers Group 4. Start of Java Development began on June of 1991 by a group of computer scientist at the Sun Mircrosystems Company Development.
Sadegh Aliakbary Sharif University of Technology Fall 2012.
Downloaded From:  Objective of this course is to make students familiar with the concepts of object-oriented programming  Concepts.
Object-Oriented Programming (OOP) CSC-2071 (3+1=4 Credits) Lecture No. 1 MBY.
Guide to Programming with Python Chapter One Getting Started: The Game Over Program.
CSC241 Object-Oriented Programming (OOP) Lecture No. 1.
 Programming Language  Object Oriented Programming  JAVA – An Introduction  JAVA Milestones  JAVA Features.
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.
Introducing Software Computer Concepts Unit A. Introducing Software What is an Operating System? OS is the master controller for all the activities that.
Lecture 2 Intro. To Software Engineering and Object-Oriented Programming (1/2)
Introduction Why are virtual machines interesting?
Course Instructor: Hira Farman Course : BY:HIRA FARMAN.
OPERATING SYSTEMS. An operating system (OS) is an interface between hardware and user which is responsible for the management and coordination of activities.
Chapter 1 Basic Concepts of Operating Systems Introduction Software A program is a sequence of instructions that enables the computer to carry.
Lesson 1 1 LESSON 1 l Background information l Introduction to Java Introduction and a Taste of Java.
Object-Oriented Paradigm (OOP) Course Code: SE 101 Lecture No. 1.
Lecture 2 Intro. To Software Engineering and Object-Oriented Programming (1/2)
Object-Oriented Programming (OOP) Lecture No. 1. Course Objective ► Objective of this course is to make students familiar with the concepts of object-oriented.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
Main Part of a Computer.
Fundamental of Java Programming (630002) Unit – 1 Introduction to Java.
CSCI120 Introduction to Computer Science I using Python 3
Object-Orientated Programming
INTRODUCTION TO OBJECT-ORIENTED PROGRAMMING
Done By: Ashlee Lizarraga Ricky Usher Jacinto Roches Eli Gomez
System Software EIT, © Author Gay Robertson, 2016.
Chapter 1 Introduction to Computers, Programs, and Java
Lecture 1: Introduction to JAVA
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE
System Programming and administration
UCSC All rights reserved
Object-Oriented Programming (OOP) Lecture No. 1
Introduction to Computers and Java
Object Oriented Programming
Introduction Enosis Learning.
OBJECT ORIENTED PROGRAMMING overview
An Overview of Java.
Programming COMP104: Fundamentals and Methodology Introduction.
JAVA TUTORIALS.
PROGRAMMING IN JAVA. INTRODUCTION TO JAVA  Java is a general purpose computer programming language that is concurrent, class-based, object- oriented.
Introduction Enosis Learning.
Chapter 1 Introduction to Computers, Programs, and Java
Software and Programming
CIS601: Object-Oriented Programming in C++
CISC124 From Thursday: Course Web Site:
Software and Programming
Java Programming Introduction
Java History, Editions, Version Features
By Rajanikanth B Overview Of Java By Rajanikanth B
Basic OOP Concepts and Terms
CSC 142 Introduction to Java [Reading: chapters 1 & 2]
What Is Good Software(Program)?
Chapter 1 Introduction to Programming
L L Line CSE 420 Computer Games Lecture #3 Introduction to Python.
Presentation transcript:

WELCOME TO ALL STUDENTS IN MY CLASS: Hope You All Enjoyed C# Course Name: OBJECT ORIENTED PROGRAMMING Course Co-Ordinator : HIRA FARMAN

BOOK: The Complete Reference Book by: BJARNE STROUSTUP

LECTURE # 1 CHAPTER 1 TOPIC: BASIC INTRODUCTION TO C++

OBJECTIVE OF THE COURSE 1-Objective of this course is to make students familiar with the concepts of object-oriented programming. 2-Write Highly Quality Code. 3-Understand and recognize proper programming style and demonstrate making design decisions consistent with Object Oriented methodologies. 5/18/2019 BY:HIRA FARMAN

ONE RULE OF THE COURSE: LEARN BY DOING BY:HIRA FARMAN

The Creation of C++: BY:HIRA FARMAN

C++ Family Tree: C C++ C# Java 5/18/2019 BY:HIRA FARMAN

CREATION OF C-LANGUAGE: C was invented by Dennis Ritchie in the 1970s at Bells Laboratory. DEC PDP-11 that used the UNIX operating system. 5/18/2019 BY:HIRA FARMAN

CREATION OF C++: C++ was invented by Bjarne Stroustrap beginning in 1979 at bell laboratories in Murray hill, New Jersey. Initially called the new language “C with Classes.” In 1983 the name was changed to C++. C++ contains the entire C language that’s why “C with Class”. C++ runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX. 5/18/2019 BY:HIRA FARMAN

5/18/2019

5/18/2019

5/18/2019

CREATION OF C#: C# was developed by Andres Hejlsberg and his team at Microsoft 5/18/2019

JAVA: Java, which was originally called Oak, began in june 1991 at Sun Microsystems. James Gosling Patrick Naughton Chris Warth Ed Frank Mike Sheridan 5/18/2019 BY:HIRA FARMAN

INTRODUCTION TO PROGRAMMING IN C++

Prerequisites: Before you start doing practice with various types of examples given in this reference, I'm making an assumption that you are already aware about what is a computer program and what is a computer programming language? 5/18/2019

INTRODUCTION: A program is a sequence of instructions for a computer to execute. Every program is written in some programming language. The C++(Pronounced “see-plus-plus”) language is one of the newest and most powerful programming languages available. It allows the programmer to write efficient ,structured, object oriented programs. 5/18/2019

Need for a New Language: Introduced C++ as a new programming language to address the problems posed by traditional languages. It is a completely new platform for developing the next generation of Console Application 5/18/2019 BY:HIRA FARMAN

The focus of Oop language is not on structure but on modeling data. 5/18/2019 BY:HIRA FARMAN

Programmers code using “blueprints” of data models called classes. 5/18/2019 BY:HIRA FARMAN

Use of C++: C++ is used by hundreds of thousands of programmers in essentially every application domain. C++ is being highly used to write device drivers and other software's that rely on direct manipulation of hardware under real-time constraints. Anyone who has used either an Apple Macintosh or a PC running Windows has indirectly used C++ because the primary user interfaces of these systems are written in C++. 5/18/2019

Standard Libraries: Standard C++ consists of three important parts: The core language giving all the building blocks including variables, data types and literals, etc. The C++ Standard Library giving a rich set of functions manipulating files, strings, etc. The Standard Template Library (STL) giving a rich set of methods manipulating data structures, etc. 5/18/2019

WHAT IS OOP: OOP allows decomposition of a problem into a number of entities called objects and then builds data and functions around these objects. The software is divided into a number of small units called objects. The data and functions are built around these objects. The data of the objects can be accessed only by the functions associated with that object. The functions of one object can access the functions of another object. 5/18/2019 BY:HIRA FARMAN

Where’s C++ used. C# is used across many applications Where’s C++ used?  C# is used across many applications. Let’s look at the scope of the language in the industry today BY:HIRA FARMAN

Adobe system Game Engines:. Google Apple Image system Backend Service:.  5/18/2019 BY:HIRA FARMAN

DISCUSSION : BY:HIRA FARMAN

5/18/2019

What is Object-Orientation? A technique for system modeling. OO model consists of several interacting objects 5/18/2019 BY:HIRA FARMAN

What is a Model? A model is an abstraction of something. Purpose is to understand the product before developing it . 5/18/2019 BY:HIRA FARMAN

Examples –Model Highway maps Architectural models Mechanical models 5/18/2019 BY:HIRA FARMAN

5/18/2019 BY:HIRA FARMAN

Example – OO Model Interactions Objects Abu Bakar drives House Car Tree Interactions Abu Bakar lives in the house Abu Bakar drives the car 5/18/2019 BY:HIRA FARMAN

Object-Orientation – Advantages: People think in terms of objects. OO models map to reality. Therefore, OO models are : easy to develop easy to understand 5/18/2019 BY:HIRA FARMAN

What is an Object? An object has: State (attributes) Well-defined behaviour (operations) Unique identity 5/18/2019 BY:HIRA FARMAN

Example –Ali is a Tangible Object State (attributes) -Name -Age behaviour (operations) -Walks -Eats Identity -His name 5/18/2019

Example – Car is a Tangible Object: State (attributes) - Color -Model behaviour (operations) - Accelerate - Start Car Change Gear Identity - Its registration number 5/18/2019

In order to clearly understand the object orientation model: let’s take your “hand” as an example. The “hand” is a class. Your body has two objects of the type "hand", named "left hand" and "right hand". Their main functions are controlled or managed by a set of electrical signals sent through your shoulders (through an interface). So the shoulder is an interface that your body uses to interact with your hands. The hand is a well-architected class. The hand is being reused to create the left hand and the right hand by slightly changing the properties of it. 5/18/2019

5/18/2019 BY:HIRA FARMAN

REFERRENCES: http://www.developer.com/net/asp/article.php/922211/What-is- C.htm http://www.digit.in/software/learn-c-tutorial-c-sharp-basics- 28516.html 5/18/2019

SUMMARY # 1: Why OOP? Write 10 points on C#. 5/18/2019