SlideShare a Scribd company logo
1 of 16
PROGRAMMING
FUNDAMENTALS
Ms. Munazza Mah Jabeen
Assistant Professor of Computer Science
Course Objectives
Objectives of this course are three fold:
 To appreciate the need for a programming language
 To introduce the concept and usability of the structured
programming methodology
 To develop proficiency in making useful software using the C and
Python language
Course Contents
To achieve our first two objectives we
will be discussing:
Programming in C:
 History of C Language
 Importance of C Language
 Structured programming
 Basic Programming constructs and
building blocks
 Variables and expressions in C
 Control structures and functions
 Arrays and Pointers
 File handling
Programming in Python:
 Input, Processing and Output
 Decision Structure and Boolean Logic
 Repetition Structure
 Functions
 Files and Exception
 Lists and Tuple
 Strings
Course Format:
 Lectures will be mostly interactive. You will be called on
randomly to answer questions.
 Prepare you own Notes.
 10-minute fairly simple quiz according to the specified Schedule.
 Course Page will host lecture slides Links, quizzes, Lab
assignments and general announcements.
 Individual Login will be provided to you by the IT Department on
http://moodlecloud.com
Course Grading:
Breakdown:
 15% - Lab Work
 10% - Quizzes
 25% - Mid-Term
 Theory – 10%
 Practical – 15%
 35% - Terminal
 15% - Practical
 May share ideas for weekly Lab assignment but must be done
up individually.
 May drop lowest quiz score.
Lab work Submission:
 Lab work due must be submitted online before midnight next class –
No explicit submission allowed.
 No extension in deadline is Allowed so Please do not ever ask me
for that.
 Late assignments incur 10% per day penalty up to 3 days. After 3
days, no credit.
 Under special circumstances, you may be excused from an
assignment or quiz. Must inform me ahead of time.
 Only Original Work will be considered, copying is strictly disallowed.
Overview of C Language:
 What is?
 Data
 Information
 Computer
 Computer Language
 Programming Language
 Low Level
 Intermediate Level
 High Level
 Language Translators
History of C:
Importance of C:
 The C language is small and relatively easy to learn.
 C compilers can produce highly efficient code.
 C, although it is a high-level language, provides access to some fundamental low-level
concepts such as memory addresses and dynamic memory management - concepts that are
hidden by many other languages.
 C has been used to implement (in whole or in part) several major operating systems and
kernels, including Unix, Linux, Mac OS, and Windows.
 C has been used to implement (in whole or in part) runtime environments supporting
execution of platform-independent code (e.g., the Java Virtual Machine, the .NET CLR, etc.).
 C is often used to implement efficient libraries for less-efficient languages. For example,
many libraries for Python are implemented in C.
 Compilers and interpreters for a wide variety of programming languages have been written in
C.
 C remains the most popular programming language for programming microcontrollers in
embedded systems.
Features:
…
Format of a Simple C Program
Simple Program:
Program to Add Two Numbers:
Integrated Development Environment
IDE
 Editor
 Compilers
 Debugger
 Linkers
 Loaders
Compiler Download Link:
 https://sourceforge.net/projects/orwelldevcpp/

More Related Content

What's hot

2.3 programming language show
2.3 programming language show2.3 programming language show
2.3 programming language showManojKumar4723
 
Generations Of Programming Languages
Generations Of Programming LanguagesGenerations Of Programming Languages
Generations Of Programming Languagessebrown
 
Coding vs programming
Coding vs programmingCoding vs programming
Coding vs programmingAman Kumar
 
Algorithm and flowchart(1)
Algorithm and flowchart(1)Algorithm and flowchart(1)
Algorithm and flowchart(1)Suneel Dogra
 
Generations of programming_language.kum_ari11-1-1-1
Generations of programming_language.kum_ari11-1-1-1Generations of programming_language.kum_ari11-1-1-1
Generations of programming_language.kum_ari11-1-1-1lakshmi kumari neelapu
 
Generations of Programming Languages
Generations of Programming LanguagesGenerations of Programming Languages
Generations of Programming LanguagesTarun Sharma
 
Error hanadling in c programming presentation
Error hanadling in c programming presentationError hanadling in c programming presentation
Error hanadling in c programming presentationPranaliPatil76
 
Program & language generation
Program & language generationProgram & language generation
Program & language generationBuxoo Abdullah
 
Presentation
PresentationPresentation
Presentationbhasula
 
English de lenguaje de programacion
English de lenguaje de programacionEnglish de lenguaje de programacion
English de lenguaje de programacionVillalba Griselda
 
Computer programming languages19 09-2007
Computer programming languages19 09-2007Computer programming languages19 09-2007
Computer programming languages19 09-2007Prem Chandrakar
 
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 pariharVivek Parihar
 
La 5 Programming1
La 5   Programming1La 5   Programming1
La 5 Programming1Cma Mohd
 
Programming languages
Programming languagesProgramming languages
Programming languagesMuntasirMuhit
 

What's hot (20)

2.3 programming language show
2.3 programming language show2.3 programming language show
2.3 programming language show
 
Generations Of Programming Languages
Generations Of Programming LanguagesGenerations Of Programming Languages
Generations Of Programming Languages
 
Programming landuages
Programming landuagesProgramming landuages
Programming landuages
 
Abhinav ca ppt
Abhinav ca pptAbhinav ca ppt
Abhinav ca ppt
 
Coding vs programming
Coding vs programmingCoding vs programming
Coding vs programming
 
Algorithm and flowchart(1)
Algorithm and flowchart(1)Algorithm and flowchart(1)
Algorithm and flowchart(1)
 
Lesson 1
Lesson 1Lesson 1
Lesson 1
 
Generations of programming_language.kum_ari11-1-1-1
Generations of programming_language.kum_ari11-1-1-1Generations of programming_language.kum_ari11-1-1-1
Generations of programming_language.kum_ari11-1-1-1
 
Generations of Programming Languages
Generations of Programming LanguagesGenerations of Programming Languages
Generations of Programming Languages
 
Error hanadling in c programming presentation
Error hanadling in c programming presentationError hanadling in c programming presentation
Error hanadling in c programming presentation
 
Program & language generation
Program & language generationProgram & language generation
Program & language generation
 
Presentation
PresentationPresentation
Presentation
 
English de lenguaje de programacion
English de lenguaje de programacionEnglish de lenguaje de programacion
English de lenguaje de programacion
 
Computer
ComputerComputer
Computer
 
Programming assignment help
Programming assignment helpProgramming assignment help
Programming assignment help
 
Computer programming languages19 09-2007
Computer programming languages19 09-2007Computer programming languages19 09-2007
Computer programming languages19 09-2007
 
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
 
La 5 Programming1
La 5   Programming1La 5   Programming1
La 5 Programming1
 
Introduction to programming c
Introduction to programming cIntroduction to programming c
Introduction to programming c
 
Programming languages
Programming languagesProgramming languages
Programming languages
 

Similar to Chapter 1 - Overview of C

Similar to Chapter 1 - Overview of C (20)

Intro. to prog. c++
Intro. to prog. c++Intro. to prog. c++
Intro. to prog. c++
 
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 programming presentation for university
C programming presentation for universityC programming presentation for university
C programming presentation for university
 
C_Programming_Notes_ICE
C_Programming_Notes_ICEC_Programming_Notes_ICE
C_Programming_Notes_ICE
 
C tutorial
C tutorialC tutorial
C tutorial
 
Programming in c
Programming in cProgramming in c
Programming in c
 
Programming in C
Programming in CProgramming in C
Programming in C
 
TCS-NQT-Coding-Questions-@-Recruitmentindia.in_.pdf
TCS-NQT-Coding-Questions-@-Recruitmentindia.in_.pdfTCS-NQT-Coding-Questions-@-Recruitmentindia.in_.pdf
TCS-NQT-Coding-Questions-@-Recruitmentindia.in_.pdf
 
C program
C programC program
C program
 
C programing for BCA Sem 1. JJ College
C programing for BCA Sem 1. JJ CollegeC programing for BCA Sem 1. JJ College
C programing for BCA Sem 1. JJ College
 
Introduction to Computer
Introduction to ComputerIntroduction to Computer
Introduction to Computer
 
C.pdf
C.pdfC.pdf
C.pdf
 
week1.ppt
week1.pptweek1.ppt
week1.ppt
 
Module 1 2 just basic-
Module 1 2  just basic-Module 1 2  just basic-
Module 1 2 just basic-
 
Module 201 2 20 just 20 basic
Module 201   2  20  just 20 basic Module 201   2  20  just 20 basic
Module 201 2 20 just 20 basic
 
1. importance of c
1. importance of c1. importance of c
1. importance of c
 
CS3251-_PIC
CS3251-_PICCS3251-_PIC
CS3251-_PIC
 
Intro1
Intro1Intro1
Intro1
 
Learn C Language
Learn C LanguageLearn C Language
Learn C Language
 
SULTHAN's - C Programming Language notes
SULTHAN's - C Programming Language notesSULTHAN's - C Programming Language notes
SULTHAN's - C Programming Language notes
 

More from Munazza-Mah-Jabeen (20)

Virtual Functions
Virtual FunctionsVirtual Functions
Virtual Functions
 
The Standard Template Library
The Standard Template LibraryThe Standard Template Library
The Standard Template Library
 
Object-Oriented Software
Object-Oriented SoftwareObject-Oriented Software
Object-Oriented Software
 
Templates and Exceptions
 Templates and Exceptions Templates and Exceptions
Templates and Exceptions
 
Dictionaries and Sets
Dictionaries and SetsDictionaries and Sets
Dictionaries and Sets
 
More About Strings
More About StringsMore About Strings
More About Strings
 
Streams and Files
Streams and FilesStreams and Files
Streams and Files
 
Lists and Tuples
Lists and TuplesLists and Tuples
Lists and Tuples
 
Files and Exceptions
Files and ExceptionsFiles and Exceptions
Files and Exceptions
 
Functions
FunctionsFunctions
Functions
 
Pointers
PointersPointers
Pointers
 
Repitition Structure
Repitition StructureRepitition Structure
Repitition Structure
 
Inheritance
InheritanceInheritance
Inheritance
 
Operator Overloading
Operator OverloadingOperator Overloading
Operator Overloading
 
Memory Management
Memory ManagementMemory Management
Memory Management
 
Arrays and Strings
Arrays and StringsArrays and Strings
Arrays and Strings
 
Objects and Classes
Objects and ClassesObjects and Classes
Objects and Classes
 
Functions
FunctionsFunctions
Functions
 
Structures
StructuresStructures
Structures
 
Loops and Decisions
Loops and DecisionsLoops and Decisions
Loops and Decisions
 

Recently uploaded

Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...RKavithamani
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 

Recently uploaded (20)

Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 

Chapter 1 - Overview of C

  • 1. PROGRAMMING FUNDAMENTALS Ms. Munazza Mah Jabeen Assistant Professor of Computer Science
  • 2. Course Objectives Objectives of this course are three fold:  To appreciate the need for a programming language  To introduce the concept and usability of the structured programming methodology  To develop proficiency in making useful software using the C and Python language
  • 3. Course Contents To achieve our first two objectives we will be discussing: Programming in C:  History of C Language  Importance of C Language  Structured programming  Basic Programming constructs and building blocks  Variables and expressions in C  Control structures and functions  Arrays and Pointers  File handling Programming in Python:  Input, Processing and Output  Decision Structure and Boolean Logic  Repetition Structure  Functions  Files and Exception  Lists and Tuple  Strings
  • 4. Course Format:  Lectures will be mostly interactive. You will be called on randomly to answer questions.  Prepare you own Notes.  10-minute fairly simple quiz according to the specified Schedule.  Course Page will host lecture slides Links, quizzes, Lab assignments and general announcements.  Individual Login will be provided to you by the IT Department on http://moodlecloud.com
  • 5. Course Grading: Breakdown:  15% - Lab Work  10% - Quizzes  25% - Mid-Term  Theory – 10%  Practical – 15%  35% - Terminal  15% - Practical  May share ideas for weekly Lab assignment but must be done up individually.  May drop lowest quiz score.
  • 6. Lab work Submission:  Lab work due must be submitted online before midnight next class – No explicit submission allowed.  No extension in deadline is Allowed so Please do not ever ask me for that.  Late assignments incur 10% per day penalty up to 3 days. After 3 days, no credit.  Under special circumstances, you may be excused from an assignment or quiz. Must inform me ahead of time.  Only Original Work will be considered, copying is strictly disallowed.
  • 7. Overview of C Language:  What is?  Data  Information  Computer  Computer Language  Programming Language  Low Level  Intermediate Level  High Level  Language Translators
  • 9. Importance of C:  The C language is small and relatively easy to learn.  C compilers can produce highly efficient code.  C, although it is a high-level language, provides access to some fundamental low-level concepts such as memory addresses and dynamic memory management - concepts that are hidden by many other languages.  C has been used to implement (in whole or in part) several major operating systems and kernels, including Unix, Linux, Mac OS, and Windows.  C has been used to implement (in whole or in part) runtime environments supporting execution of platform-independent code (e.g., the Java Virtual Machine, the .NET CLR, etc.).  C is often used to implement efficient libraries for less-efficient languages. For example, many libraries for Python are implemented in C.  Compilers and interpreters for a wide variety of programming languages have been written in C.  C remains the most popular programming language for programming microcontrollers in embedded systems.
  • 11.
  • 12. Format of a Simple C Program
  • 14. Program to Add Two Numbers:
  • 15. Integrated Development Environment IDE  Editor  Compilers  Debugger  Linkers  Loaders
  • 16. Compiler Download Link:  https://sourceforge.net/projects/orwelldevcpp/