SlideShare a Scribd company logo
Computer Programming
C++
DIT Part 1
Lecture 1
Any Idea About Programming
Computer Programming
• Computer programming is a process that leads
from an original formulation of a computing
problem to executable computer programs.
• Programming involves activities such as analysis,
developing understanding, generating algorithms,
verification of requirements of algorithms
including their correctness and resources
consumption, and implementation of algorithms
in a target programming language.
Copyrights By Tanveer Malik
Computer Programming
• Source code is written in one or more
programming languages.
• The purpose of programming is to find a
sequence of instructions that will automate
performing a specific task or solving a given
problem.
• The process of programming thus often requires
expertise in many different subjects, including
knowledge of the application domain, specialized
algorithms, and formal logic.
Copyrights By Tanveer Malik
Programming Language
• A programming language is a vocabulary and set
of grammatical rules for instructing a computer
or computing device to perform specific tasks.
• The term programming language usually refers to
high-level languages, such as BASIC, C, C++,
COBOL, Java, FORTRAN, Ada, and Pascal.
• Each language has a unique set of keywords and a
special syntax for organizing program
instructions.
Copyrights By Tanveer Malik
Programming Language
Copyrights By Tanveer Malik
What Are the Top Programming
Languages?
IEEE Spectrum Interactive Ranking (2017)
Copyrights By Tanveer Malik
C++
• C is a computer programming language. That
means that you can use C to create lists of
instructions for a computer to follow.
• C belongs to the structured, procedural
paradigms of languages.
• It is proven, flexible and powerful and may be
used for a variety of different applications.
• Although high-level, C and assembly language
share many of the same attributes.
• C is one of thousands of programming languages
currently in use.
Copyrights By Tanveer Malik
C++
• C is what is called a compiled language. This
means that once you write your C program,
you must run it through a C compiler to turn
your program into an executable that the
computer can run (execute).
• The C program is the human-readable form,
while the executable that comes out of the
compiler is the machine-readable and
executable form.
Copyrights By Tanveer Malik
C Language History
• The C programming language is a structure
oriented programming language, developed at
Bell Laboratories in 1972 by Dennis Ritchie.
• C programming language features were
derived from an earlier language called “B”
(Basic Combined Programming Language –
BCPL).
• C language was invented for implementing
UNIX operating system.
Copyrights By Tanveer Malik
C Language History
• In 1978, Dennis Ritchie and Brian Kernighan
published the first edition “The C Programming
Language” and commonly known as K&R C
• In 1983, the American National Standards
Institute (ANSI) established a committee to
provide a modern, comprehensive definition of C.
The resulting definition, the ANSI standard, or
“ANSI C”, was completed late 1988.
Copyrights By Tanveer Malik
Some of C's most important features
include
• Fixed number of keywords, including a set of
control primitives, such as if, for, while, switch
and do while
• Multiple logical and mathematical operators,
including bit manipulators
• Multiple assignments may be applied in a single
statement.
• Function return values are not always required
and may be ignored if unneeded.
• Typing is static. All data has type but may be
implicitly converted.
Copyrights By Tanveer Malik
USES OF C PROGRAMMING
LANGUAGE
• The C programming language is used for
developing system applications that forms a
major portion of operating systems such as
Windows, UNIX and Linux.
Copyrights By Tanveer Malik
Below are some examples of C being
used
• Database systems
• Graphics packages
• Word processors
• Spreadsheets
• Operating system development
• Compilers and Assemblers
• Network drivers
• Interpreters
Copyrights By Tanveer Malik
Advantages of C Language
1. C language is a building block for many other currently
known languages. C language has variety of data types
and powerful operators. Due to this, programs written in
C language are efficient, fast and easy to understand.
2. C is highly portable language. This means that C
programs written for one computer can easily run on
another computer without any change or by doing a
little change.
3. There are only 32 keywords in ANSI C and its strength lies
in its built-in functions. Several standard functions are
available which can be used for developing programs.
Copyrights By Tanveer Malik
Advantages of C Language
4. Another important advantage of C is its ability to extend
itself. A C program is basically a collection of functions that
are supported by the C library this makes us easier to add
our own functions to C library. Due to the availability of
large number of functions, the programming task becomes
simple.
5. C language is a structured programming language. This
makes user to think of a problem in terms of function
modules or blocks. Collection of these modules makes a
complete program. This modular structure makes program
debugging, testing and maintenance easier.
Copyrights By Tanveer Malik
Disadvantages of C Language
1. C does not have concept of OOPs, that’s why
C++ is developed.
2. There is no runtime checking in C language.
3. There is no strict type checking. For example,
we can pass an integer value.
4. for the floating data type.
Copyrights By Tanveer Malik
Disadvantages of C Language
5. C doesn’t have the concept of namespace.
6. C doesn’t have the concept of constructor or
destructor.
Copyrights By Tanveer Malik
Differences Between C and C++
Copyrights By Tanveer Malik
Lecture 1

More Related Content

What's hot

Programming Languages | Computer Science
Programming Languages | Computer ScienceProgramming Languages | Computer Science
Programming Languages | Computer Science
Transweb Global Inc
 
Cmp2412 programming principles
Cmp2412 programming principlesCmp2412 programming principles
Cmp2412 programming principles
NIKANOR THOMAS
 
The Programmer Life Cycle
The Programmer Life CycleThe Programmer Life Cycle
The Programmer Life Cycle
Russell Ovans
 
Introduction to C Language
Introduction to C LanguageIntroduction to C Language
Introduction to C Language
Tarun Sharma
 
Programming languages
Programming languagesProgramming languages
Programming languages
Archana Maharjan
 
Programming languages and concepts by vivek parihar
Programming languages and concepts by vivek pariharProgramming languages and concepts by vivek parihar
Programming languages and concepts by vivek parihar
Vivek Parihar
 
Presentation
PresentationPresentation
Presentation
bhasula
 
Programming languages
Programming languagesProgramming languages
Programming languages
MuntasirMuhit
 
Programing language
Programing languagePrograming language
Programing languageJames Taylor
 
Software programming and development
Software programming and developmentSoftware programming and development
Software programming and development
Ali Raza
 
Introduction to Computer Programming
Introduction to Computer ProgrammingIntroduction to Computer Programming
Introduction to Programming Concepts By Aamir Saleem Ansari
Introduction to Programming Concepts By Aamir Saleem AnsariIntroduction to Programming Concepts By Aamir Saleem Ansari
Introduction to Programming Concepts By Aamir Saleem Ansari
Tech
 
Ch1 language design issue
Ch1 language design issueCh1 language design issue
Ch1 language design issue
Jigisha Pandya
 
Presentation on C programming language
Presentation on C programming languagePresentation on C programming language
Presentation on C programming language
Arunima Education Foundation
 
PROGRAMMING LANGUAGES
PROGRAMMING LANGUAGESPROGRAMMING LANGUAGES
PROGRAMMING LANGUAGES
ABHINAV SINGH
 
Programming languages
Programming languagesProgramming languages
Programming languages
Simon Mui
 
Logical programming languages and functional programming languages
Logical programming languages and functional programming languagesLogical programming languages and functional programming languages
Logical programming languages and functional programming languages
nahianzarif
 
Introduct To C Language Programming
Introduct To C Language ProgrammingIntroduct To C Language Programming
Introduct To C Language Programming
yarkhosh
 
Programming assignment help
Programming assignment helpProgramming assignment help
Programming assignment help
www.myassignmenthelp.net
 

What's hot (20)

Programming Languages | Computer Science
Programming Languages | Computer ScienceProgramming Languages | Computer Science
Programming Languages | Computer Science
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
 
Cmp2412 programming principles
Cmp2412 programming principlesCmp2412 programming principles
Cmp2412 programming principles
 
The Programmer Life Cycle
The Programmer Life CycleThe Programmer Life Cycle
The Programmer Life Cycle
 
Introduction to C Language
Introduction to C LanguageIntroduction to C Language
Introduction to C Language
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Programming languages and concepts by vivek parihar
Programming languages and concepts by vivek pariharProgramming languages and concepts by vivek parihar
Programming languages and concepts by vivek parihar
 
Presentation
PresentationPresentation
Presentation
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Programing language
Programing languagePrograming language
Programing language
 
Software programming and development
Software programming and developmentSoftware programming and development
Software programming and development
 
Introduction to Computer Programming
Introduction to Computer ProgrammingIntroduction to Computer Programming
Introduction to Computer Programming
 
Introduction to Programming Concepts By Aamir Saleem Ansari
Introduction to Programming Concepts By Aamir Saleem AnsariIntroduction to Programming Concepts By Aamir Saleem Ansari
Introduction to Programming Concepts By Aamir Saleem Ansari
 
Ch1 language design issue
Ch1 language design issueCh1 language design issue
Ch1 language design issue
 
Presentation on C programming language
Presentation on C programming languagePresentation on C programming language
Presentation on C programming language
 
PROGRAMMING LANGUAGES
PROGRAMMING LANGUAGESPROGRAMMING LANGUAGES
PROGRAMMING LANGUAGES
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Logical programming languages and functional programming languages
Logical programming languages and functional programming languagesLogical programming languages and functional programming languages
Logical programming languages and functional programming languages
 
Introduct To C Language Programming
Introduct To C Language ProgrammingIntroduct To C Language Programming
Introduct To C Language Programming
 
Programming assignment help
Programming assignment helpProgramming assignment help
Programming assignment help
 

Similar to Lecture 1

Introduction to C programming
Introduction to C programmingIntroduction to C programming
Introduction to C programming
MalikaJoya
 
Why C is Called Structured Programming Language
Why C is Called Structured Programming LanguageWhy C is Called Structured Programming Language
Why C is Called Structured Programming Language
Sinbad Konick
 
C.pdf
C.pdfC.pdf
Introduction to Computer
Introduction to ComputerIntroduction to Computer
Introduction to Computer
zaheeriqbal41
 
Programming in C
Programming in CProgramming in C
Programming in C
Rvishnupriya2
 
Programming in c
Programming in cProgramming in c
Programming in c
vishnu973656
 
C programming presentation for university
C programming presentation for universityC programming presentation for university
C programming presentation for university
Sheikh Monirul Hasan
 
What is C.docx
What is C.docxWhat is C.docx
What is C.docx
ChristopherHerring9
 
C session 1.pptx
C session 1.pptxC session 1.pptx
C session 1.pptx
NIRMALRAJSCSE20
 
Introduction of C Programming
Introduction of C ProgrammingIntroduction of C Programming
Introduction of C Programming
Dr. Ranjan Kumar Mishra
 
Advance C# Programming Part 1.pdf
Advance C# Programming Part 1.pdfAdvance C# Programming Part 1.pdf
Advance C# Programming Part 1.pdf
percivalfernandez2
 
Advance C# Programming Part 1.pptx
Advance C# Programming Part 1.pptxAdvance C# Programming Part 1.pptx
Advance C# Programming Part 1.pptx
percivalfernandez3
 
Understanding C and its Applications.pdf
Understanding C and its Applications.pdfUnderstanding C and its Applications.pdf
Understanding C and its Applications.pdf
AdeleHansley
 
C programming
C programming C programming
C programming
Rohan Gajre
 
Introduction to C Programming
Introduction to C ProgrammingIntroduction to C Programming
Introduction to C Programming
Selvaraj Seerangan
 
Learn c programming language in 24 hours allfreebooks.tk
Learn c programming language in 24 hours   allfreebooks.tkLearn c programming language in 24 hours   allfreebooks.tk
Learn c programming language in 24 hours allfreebooks.tkragulasai
 
Introduction to C Programming (1).pdf
Introduction to C Programming (1).pdfIntroduction to C Programming (1).pdf
Introduction to C Programming (1).pdf
Sahidkhatiwada
 
CS3251-_PIC
CS3251-_PICCS3251-_PIC
C programming
C programmingC programming
C programming
Anurag Byala
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language
Simplilearn
 

Similar to Lecture 1 (20)

Introduction to C programming
Introduction to C programmingIntroduction to C programming
Introduction to C programming
 
Why C is Called Structured Programming Language
Why C is Called Structured Programming LanguageWhy C is Called Structured Programming Language
Why C is Called Structured Programming Language
 
C.pdf
C.pdfC.pdf
C.pdf
 
Introduction to Computer
Introduction to ComputerIntroduction to Computer
Introduction to Computer
 
Programming in C
Programming in CProgramming in C
Programming in C
 
Programming in c
Programming in cProgramming in c
Programming in c
 
C programming presentation for university
C programming presentation for universityC programming presentation for university
C programming presentation for university
 
What is C.docx
What is C.docxWhat is C.docx
What is C.docx
 
C session 1.pptx
C session 1.pptxC session 1.pptx
C session 1.pptx
 
Introduction of C Programming
Introduction of C ProgrammingIntroduction of C Programming
Introduction of C Programming
 
Advance C# Programming Part 1.pdf
Advance C# Programming Part 1.pdfAdvance C# Programming Part 1.pdf
Advance C# Programming Part 1.pdf
 
Advance C# Programming Part 1.pptx
Advance C# Programming Part 1.pptxAdvance C# Programming Part 1.pptx
Advance C# Programming Part 1.pptx
 
Understanding C and its Applications.pdf
Understanding C and its Applications.pdfUnderstanding C and its Applications.pdf
Understanding C and its Applications.pdf
 
C programming
C programming C programming
C programming
 
Introduction to C Programming
Introduction to C ProgrammingIntroduction to C Programming
Introduction to C Programming
 
Learn c programming language in 24 hours allfreebooks.tk
Learn c programming language in 24 hours   allfreebooks.tkLearn c programming language in 24 hours   allfreebooks.tk
Learn c programming language in 24 hours allfreebooks.tk
 
Introduction to C Programming (1).pdf
Introduction to C Programming (1).pdfIntroduction to C Programming (1).pdf
Introduction to C Programming (1).pdf
 
CS3251-_PIC
CS3251-_PICCS3251-_PIC
CS3251-_PIC
 
C programming
C programmingC programming
C programming
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language
 

More from Tanveer Malik

Lecture 12 security policy
Lecture 12 security policyLecture 12 security policy
Lecture 12 security policy
Tanveer Malik
 
Lecture 11 active directory
Lecture 11 active directoryLecture 11 active directory
Lecture 11 active directory
Tanveer Malik
 
Lecture 10 i pv4 & ipv6
Lecture 10 i pv4 & ipv6Lecture 10 i pv4 & ipv6
Lecture 10 i pv4 & ipv6
Tanveer Malik
 
Lecture 9 file system
Lecture 9 file systemLecture 9 file system
Lecture 9 file system
Tanveer Malik
 
Lecture 8 disk management
Lecture 8 disk managementLecture 8 disk management
Lecture 8 disk management
Tanveer Malik
 
Lecture 6 internet services in network
Lecture 6 internet services in networkLecture 6 internet services in network
Lecture 6 internet services in network
Tanveer Malik
 
Lecture 5 software to control network
Lecture 5 software to control networkLecture 5 software to control network
Lecture 5 software to control network
Tanveer Malik
 
Lecture 4 sharing of resources on network
Lecture 4 sharing of resources on networkLecture 4 sharing of resources on network
Lecture 4 sharing of resources on network
Tanveer Malik
 
Lecture 3 transmission media
Lecture 3 transmission mediaLecture 3 transmission media
Lecture 3 transmission media
Tanveer Malik
 
Lecture 2 protocol details
Lecture 2 protocol detailsLecture 2 protocol details
Lecture 2 protocol details
Tanveer Malik
 
Lecture 1 networking types roles
Lecture 1 networking types rolesLecture 1 networking types roles
Lecture 1 networking types roles
Tanveer Malik
 
Lecture 12
Lecture 12Lecture 12
Lecture 12
Tanveer Malik
 
Lecture 11
Lecture 11Lecture 11
Lecture 11
Tanveer Malik
 
Lecture 10
Lecture 10Lecture 10
Lecture 10
Tanveer Malik
 
Lecture 9
Lecture 9Lecture 9
Lecture 9
Tanveer Malik
 
Lecture 8
Lecture 8Lecture 8
Lecture 8
Tanveer Malik
 
Lecture 7
Lecture 7Lecture 7
Lecture 7
Tanveer Malik
 
Lecture 6
Lecture 6Lecture 6
Lecture 6
Tanveer Malik
 
Lecture 5
Lecture 5Lecture 5
Lecture 5
Tanveer Malik
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
Tanveer Malik
 

More from Tanveer Malik (20)

Lecture 12 security policy
Lecture 12 security policyLecture 12 security policy
Lecture 12 security policy
 
Lecture 11 active directory
Lecture 11 active directoryLecture 11 active directory
Lecture 11 active directory
 
Lecture 10 i pv4 & ipv6
Lecture 10 i pv4 & ipv6Lecture 10 i pv4 & ipv6
Lecture 10 i pv4 & ipv6
 
Lecture 9 file system
Lecture 9 file systemLecture 9 file system
Lecture 9 file system
 
Lecture 8 disk management
Lecture 8 disk managementLecture 8 disk management
Lecture 8 disk management
 
Lecture 6 internet services in network
Lecture 6 internet services in networkLecture 6 internet services in network
Lecture 6 internet services in network
 
Lecture 5 software to control network
Lecture 5 software to control networkLecture 5 software to control network
Lecture 5 software to control network
 
Lecture 4 sharing of resources on network
Lecture 4 sharing of resources on networkLecture 4 sharing of resources on network
Lecture 4 sharing of resources on network
 
Lecture 3 transmission media
Lecture 3 transmission mediaLecture 3 transmission media
Lecture 3 transmission media
 
Lecture 2 protocol details
Lecture 2 protocol detailsLecture 2 protocol details
Lecture 2 protocol details
 
Lecture 1 networking types roles
Lecture 1 networking types rolesLecture 1 networking types roles
Lecture 1 networking types roles
 
Lecture 12
Lecture 12Lecture 12
Lecture 12
 
Lecture 11
Lecture 11Lecture 11
Lecture 11
 
Lecture 10
Lecture 10Lecture 10
Lecture 10
 
Lecture 9
Lecture 9Lecture 9
Lecture 9
 
Lecture 8
Lecture 8Lecture 8
Lecture 8
 
Lecture 7
Lecture 7Lecture 7
Lecture 7
 
Lecture 6
Lecture 6Lecture 6
Lecture 6
 
Lecture 5
Lecture 5Lecture 5
Lecture 5
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
 

Recently uploaded

Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
bennyroshan06
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 

Recently uploaded (20)

Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 

Lecture 1

  • 2. Any Idea About Programming
  • 3. Computer Programming • Computer programming is a process that leads from an original formulation of a computing problem to executable computer programs. • Programming involves activities such as analysis, developing understanding, generating algorithms, verification of requirements of algorithms including their correctness and resources consumption, and implementation of algorithms in a target programming language. Copyrights By Tanveer Malik
  • 4. Computer Programming • Source code is written in one or more programming languages. • The purpose of programming is to find a sequence of instructions that will automate performing a specific task or solving a given problem. • The process of programming thus often requires expertise in many different subjects, including knowledge of the application domain, specialized algorithms, and formal logic. Copyrights By Tanveer Malik
  • 5. Programming Language • A programming language is a vocabulary and set of grammatical rules for instructing a computer or computing device to perform specific tasks. • The term programming language usually refers to high-level languages, such as BASIC, C, C++, COBOL, Java, FORTRAN, Ada, and Pascal. • Each language has a unique set of keywords and a special syntax for organizing program instructions. Copyrights By Tanveer Malik
  • 7. What Are the Top Programming Languages? IEEE Spectrum Interactive Ranking (2017) Copyrights By Tanveer Malik
  • 8. C++ • C is a computer programming language. That means that you can use C to create lists of instructions for a computer to follow. • C belongs to the structured, procedural paradigms of languages. • It is proven, flexible and powerful and may be used for a variety of different applications. • Although high-level, C and assembly language share many of the same attributes. • C is one of thousands of programming languages currently in use. Copyrights By Tanveer Malik
  • 9. C++ • C is what is called a compiled language. This means that once you write your C program, you must run it through a C compiler to turn your program into an executable that the computer can run (execute). • The C program is the human-readable form, while the executable that comes out of the compiler is the machine-readable and executable form. Copyrights By Tanveer Malik
  • 10. C Language History • The C programming language is a structure oriented programming language, developed at Bell Laboratories in 1972 by Dennis Ritchie. • C programming language features were derived from an earlier language called “B” (Basic Combined Programming Language – BCPL). • C language was invented for implementing UNIX operating system. Copyrights By Tanveer Malik
  • 11. C Language History • In 1978, Dennis Ritchie and Brian Kernighan published the first edition “The C Programming Language” and commonly known as K&R C • In 1983, the American National Standards Institute (ANSI) established a committee to provide a modern, comprehensive definition of C. The resulting definition, the ANSI standard, or “ANSI C”, was completed late 1988. Copyrights By Tanveer Malik
  • 12. Some of C's most important features include • Fixed number of keywords, including a set of control primitives, such as if, for, while, switch and do while • Multiple logical and mathematical operators, including bit manipulators • Multiple assignments may be applied in a single statement. • Function return values are not always required and may be ignored if unneeded. • Typing is static. All data has type but may be implicitly converted. Copyrights By Tanveer Malik
  • 13. USES OF C PROGRAMMING LANGUAGE • The C programming language is used for developing system applications that forms a major portion of operating systems such as Windows, UNIX and Linux. Copyrights By Tanveer Malik
  • 14. Below are some examples of C being used • Database systems • Graphics packages • Word processors • Spreadsheets • Operating system development • Compilers and Assemblers • Network drivers • Interpreters Copyrights By Tanveer Malik
  • 15. Advantages of C Language 1. C language is a building block for many other currently known languages. C language has variety of data types and powerful operators. Due to this, programs written in C language are efficient, fast and easy to understand. 2. C is highly portable language. This means that C programs written for one computer can easily run on another computer without any change or by doing a little change. 3. There are only 32 keywords in ANSI C and its strength lies in its built-in functions. Several standard functions are available which can be used for developing programs. Copyrights By Tanveer Malik
  • 16. Advantages of C Language 4. Another important advantage of C is its ability to extend itself. A C program is basically a collection of functions that are supported by the C library this makes us easier to add our own functions to C library. Due to the availability of large number of functions, the programming task becomes simple. 5. C language is a structured programming language. This makes user to think of a problem in terms of function modules or blocks. Collection of these modules makes a complete program. This modular structure makes program debugging, testing and maintenance easier. Copyrights By Tanveer Malik
  • 17. Disadvantages of C Language 1. C does not have concept of OOPs, that’s why C++ is developed. 2. There is no runtime checking in C language. 3. There is no strict type checking. For example, we can pass an integer value. 4. for the floating data type. Copyrights By Tanveer Malik
  • 18. Disadvantages of C Language 5. C doesn’t have the concept of namespace. 6. C doesn’t have the concept of constructor or destructor. Copyrights By Tanveer Malik
  • 19. Differences Between C and C++ Copyrights By Tanveer Malik