SlideShare a Scribd company logo
1 of 15
PROGRAMMING FUNDAMENTALS
About Me:
Ms. Munazza Mah Jabeen
Assistant Professor – Computer Science
M. Phil Computer Science – Virtual University of Pakistan
Master in Information Technology – Preston University
Commonwealth of Learning Executive Masters in Business
Administration – Allama Iqbal Open University of Pakistan
Diploma in E-Commerce – Comsats University Islamabad
Oracle Certification Course – OraTech Islamabad
Online Certification in Freelancing, E-Commerce Management,
Digital Marketing, WordPress - Offered by Ministry of
Information Technology and Telecom Pakistan and many others.
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 web page will host lecture slides, quizzes,
written/practical assignments, graded discussion board and
general announcements.
 Individual Login will be provided to you by the IT Department
on http://moodlecloud.com
Course Grading:
Breakdown:
 10% - Assignments
 10% - Quizzes
 05% - Class Participation / Graded Discussion Board
 25% - Mid-Term
 50% - Terminal
 May share ideas for weekly assignment but must be done up
individually.
 Will drop lowest quiz score.
Homework Submission:
 Homework due must be submitted online before midnight next
class before midnight – No explicit submission allowed.
 No deadline in extension Allowed Please do not ever ask me for
that.
 Late assignments incur 10% per day penalty up to 3 days. After
3 days, no credit.
 Solutions will be posted after all assignments are submitted (or
3 days, whichever comes first).
 Under special circumstances, you may be excused from an
assignment or quiz. Must talk to me ahead of time.
 Only Original Work will be considered, copying is strictly
disallowed.
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

More Related Content

What's hot

Sarah Mahmoud - C.V
Sarah Mahmoud - C.VSarah Mahmoud - C.V
Sarah Mahmoud - C.V
Sarah Saber
 

What's hot (20)

1. importance of c
1. importance of c1. importance of c
1. importance of c
 
Fady Sameh CV
Fady Sameh CVFady Sameh CV
Fady Sameh CV
 
Administrative
AdministrativeAdministrative
Administrative
 
Generations of programming language
Generations of programming languageGenerations of programming language
Generations of programming language
 
computer programming and utilization
computer programming and utilization computer programming and utilization
computer programming and utilization
 
JAVA
JAVAJAVA
JAVA
 
Sarah Mahmoud - C.V
Sarah Mahmoud - C.VSarah Mahmoud - C.V
Sarah Mahmoud - C.V
 
Abhinav ca ppt
Abhinav ca pptAbhinav ca ppt
Abhinav ca ppt
 
Programming
ProgrammingProgramming
Programming
 
Wiki2
Wiki2Wiki2
Wiki2
 
Java@intro to programming
Java@intro to programmingJava@intro to programming
Java@intro to programming
 
Resume
ResumeResume
Resume
 
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
 
Programming Fundamentals lecture 1
Programming Fundamentals lecture 1Programming Fundamentals lecture 1
Programming Fundamentals lecture 1
 
Chapter 2: Preliminaries
Chapter 2: PreliminariesChapter 2: Preliminaries
Chapter 2: Preliminaries
 
Chatbot
ChatbotChatbot
Chatbot
 
Baabtra.com little coder course overview
Baabtra.com little coder  course overview Baabtra.com little coder  course overview
Baabtra.com little coder course overview
 
Programming Fundamentals lecture 2
Programming Fundamentals lecture 2Programming Fundamentals lecture 2
Programming Fundamentals lecture 2
 
Programming landuages
Programming landuagesProgramming landuages
Programming landuages
 
Programming language
Programming languageProgramming language
Programming language
 

Similar to Programming Fundamentals

Shubham_Saxena_Aigarh_B.TECH_CSE_2015
Shubham_Saxena_Aigarh_B.TECH_CSE_2015Shubham_Saxena_Aigarh_B.TECH_CSE_2015
Shubham_Saxena_Aigarh_B.TECH_CSE_2015
Shubham Saxena
 
Computer Systems Lab Overview
Computer Systems Lab OverviewComputer Systems Lab Overview
Computer Systems Lab Overview
butest
 
Software job opportunities web advertisement-japan_03_2021_0
Software job opportunities   web advertisement-japan_03_2021_0Software job opportunities   web advertisement-japan_03_2021_0
Software job opportunities web advertisement-japan_03_2021_0
Parwaz Kamal
 

Similar to Programming Fundamentals (20)

Shubham_Saxena_Aigarh_B.TECH_CSE_2015
Shubham_Saxena_Aigarh_B.TECH_CSE_2015Shubham_Saxena_Aigarh_B.TECH_CSE_2015
Shubham_Saxena_Aigarh_B.TECH_CSE_2015
 
Intro. to prog. c++
Intro. to prog. c++Intro. to prog. c++
Intro. to prog. c++
 
Intro1
Intro1Intro1
Intro1
 
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
 
Lecture01 0089
Lecture01 0089Lecture01 0089
Lecture01 0089
 
Salim_Ahmed_gp_latest
Salim_Ahmed_gp_latestSalim_Ahmed_gp_latest
Salim_Ahmed_gp_latest
 
SokhornCV
SokhornCVSokhornCV
SokhornCV
 
01.intro
01.intro01.intro
01.intro
 
Python Intro Slides for Students CSC-148 Chapter 1
Python Intro Slides for Students CSC-148  Chapter 1Python Intro Slides for Students CSC-148  Chapter 1
Python Intro Slides for Students CSC-148 Chapter 1
 
Programming of c++
Programming of c++Programming of c++
Programming of c++
 
Computer Systems Lab Overview
Computer Systems Lab OverviewComputer Systems Lab Overview
Computer Systems Lab Overview
 
IT network programmer
IT network programmerIT network programmer
IT network programmer
 
Chandra_CV 3 8Yr Exp
Chandra_CV 3 8Yr Exp Chandra_CV 3 8Yr Exp
Chandra_CV 3 8Yr Exp
 
C programming
C programmingC programming
C programming
 
chaitra_resume
chaitra_resumechaitra_resume
chaitra_resume
 
Software job opportunities web advertisement-japan_03_2021_0
Software job opportunities   web advertisement-japan_03_2021_0Software job opportunities   web advertisement-japan_03_2021_0
Software job opportunities web advertisement-japan_03_2021_0
 
C#.net
C#.netC#.net
C#.net
 
Resume
ResumeResume
Resume
 

More from Munazza-Mah-Jabeen

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

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 

Recently uploaded (20)

Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.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
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 

Programming Fundamentals

  • 2. About Me: Ms. Munazza Mah Jabeen Assistant Professor – Computer Science M. Phil Computer Science – Virtual University of Pakistan Master in Information Technology – Preston University Commonwealth of Learning Executive Masters in Business Administration – Allama Iqbal Open University of Pakistan Diploma in E-Commerce – Comsats University Islamabad Oracle Certification Course – OraTech Islamabad Online Certification in Freelancing, E-Commerce Management, Digital Marketing, WordPress - Offered by Ministry of Information Technology and Telecom Pakistan and many others.
  • 3. 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
  • 4. 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
  • 5. 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 web page will host lecture slides, quizzes, written/practical assignments, graded discussion board and general announcements.  Individual Login will be provided to you by the IT Department on http://moodlecloud.com
  • 6. Course Grading: Breakdown:  10% - Assignments  10% - Quizzes  05% - Class Participation / Graded Discussion Board  25% - Mid-Term  50% - Terminal  May share ideas for weekly assignment but must be done up individually.  Will drop lowest quiz score.
  • 7. Homework Submission:  Homework due must be submitted online before midnight next class before midnight – No explicit submission allowed.  No deadline in extension Allowed Please do not ever ask me for that.  Late assignments incur 10% per day penalty up to 3 days. After 3 days, no credit.  Solutions will be posted after all assignments are submitted (or 3 days, whichever comes first).  Under special circumstances, you may be excused from an assignment or quiz. Must talk to me ahead of time.  Only Original Work will be considered, copying is strictly disallowed.
  • 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