SlideShare a Scribd company logo
1 of 25
Programming Fundamentals:
What is a Computer?
• An electronic device which is capable of
receiving information (data) in a particular
form and of performing a sequence of
operations to produce a result in the form
of information.
What is a Computer?
• Is it a machine with a fantastic brain and
incredible intelligence?
• Of course NOT.
• A computer has no reasoning power. It does
exactly what we tell it to do -no more and no
less. If we tell it to do something stupid, it
does it. If we tell it to do sensible/clever
things it does it as well.
• The important thing is that computers do what
we ask them to do very -very quickly and
without making mistakes.
Software & Hardware?
• Computer Instructions or data, anything that can be stored
electronically is Software.
• Hardware is one that is tangible. The storage devices (Hard
disk, CD’s etc.,), mouse, keyboard CPU and display
devices (Monitor) are Hardware.
• Computer hardware would be useless without software, the
lists of instructions which tell the hardware what to do.
• Computers require various types of software to make them
useful. These can be classified as follows:
Types of Software
 Three of the main types of software are:
1. Application Software
2. Operating Systems (Systems Software)
3. Utility Software
Types of Software
Application Software
 Application software is computer software
designed to help the user to perform specific
tasks.
 Applications do useful tasks, creating and editing
files of data, e.g.
Application Software
 Applications do useful tasks, creating and editing
files of data, e.g.
Spreadsheet
Word
Processor
Database
Management System
Presentation
Software
Graphics
Software
Animation
Software
Accounts
Program
 A collection of applications is called a suite of
applications or an application package, e.g. Microsoft
Office, Adobe Creative Suite.
Web Design
Software
Operating System
 System software is computer software designed
to operate the computer hardware and to provide
a platform for running application software.
 The operating system runs the computer. It
works between the hardware and the application
software…
Operating System
 The operating system runs the computer. It works
between the hardware and the application software…
Operating System
Application Software
Operating System
Hardware: Mouse, Keyboard, CPU, Hard Drive,
Motherboard, CD Drive, Printer, etc.
Operating System
Application Software
 The operating system runs the computer. It works
between the hardware and the application software…
 Without an operating system, a computer would
just be a box of circuit boards and wires that
wouldn’t do anything.
Operating System
 The most popular operating system is Windows.
 In most operating systems, the desktop is the
main GUI (Graphical User Interface) which gives
the user access to all parts of the computer.
 It is the operating system which…
 Allows you to see the contents of any drive
attached to your system.
 Allows you to copy and paste between different
applications.
 Copies data to and from an external drive.
Utility Software
Utility Software
 A utility program looks after the safe and proper
running of the computer, such as…
Device DriverDefragmenter Anti-spyware
File RecoveryAnti-virus Crash Protection
Firewall Copying to CD
 Utility software helps to keep the computer running
safely, protects it from viruses and attacks, and can
carry out software repairs if necessary.
 Examples of popular brands are Norton and AVG.
1. What is a programming language?
• A "programming language" is a means of communication between a
human being (programmer) and a computer. A programmer uses this
means of communication in order to give the computer instructions.
These instructions are called "programs".
• A programming language is a set of rules that provides a way of telling a
computer what operations to perform.
• A programming language can be used to write programs that control the
hardware e.g.: Embedded processor in Refrigerator, Air conditioner,
Microwave oven etc.
Programming Languages
Concepts
2. Why do we need programming languages?
A computer cannot understand our language that we use in our day
to day conversations, and likewise, we cannot understand the
binary language that the computer uses to do it’s tasks.
Programming languages have been developed for the purpose of
communicating with computers.
1. Facilitate users in performing tasks which are:
1. Faster,
2. Correct, and
3. Economically cheaper
Programming Languages
Concepts
1. What is a programming language?
• A "programming language" is a means of communication between a
human being (programmer) and a computer. A programmer uses this
means of communication in order to give the computer instructions.
These instructions are called "programs".
• A programming language is a set of rules that provides a way of telling a
computer what operations to perform.
• A programming language can be used to write programs that control the
hardware e.g.: Embedded processor in Refrigerator, Air conditioner,
Microwave oven etc.
Programming Languages Concepts
2. Why do we need programming languages?
A computer cannot understand our language that we use in our day
to day conversations, and likewise, we cannot understand the
binary language that the computer uses to do it’s tasks.
Programming languages have been developed for the purpose of
communicating with computers.
1. Facilitate users in performing tasks which are:
1. Faster,
2. Correct, and
3. Economically cheaper
Programming Languages Concepts
3. What are the types of programming language?
• Programming languages may be divided into three (03) general types:
1. Machine languages
2. Assembly languages
3. High-level languages
Programming Languages Concepts
• Machine languages
• Machine language is the only language that a computer understands
• Strings of 0’s and 1’s telling computers to perform basic operations one
at a time; e.g.:
01001110
00111001
01101010
• Machine language is a low-level programming language. It is easily
understood by computers but difficult to read by people.
• Machine dependent i.e., a code written for one machine may not run on
the other.
• Programming in machine languages is too slow, tedious, and error-
prone.
Programming Languages Concepts
• Assembly languages
• Assembly language is a representation of machine language
• Symbolic operation codes replaced binary operation codes; e.g.:
LOAD R1, sessional
LOAD R2, final
ADD R1, R2
STORE total_marks
• The advantage of assembly language is that its instructions are readable. For
example, assembly language statements like LOAD and ADD are more
recognizable than sequences of 0s and 1s.
• Assembly language programs needed to be “assembled” for execution by
the computer. Each assembly language instruction is translated into one
machine language instruction.
• Very efficient code and easier to write.
• Though assembly language statements are readable, the statements are still
low-level.
• Another disadvantage of assembly language is that it is not portable. In other
words, assembly language programs are specific to a particular hardware.
Programming Languages Concepts
• High-level languages
• Closer to English but included simple mathematical notation; e.g.:
total_marks = sessional + final
• Programs written in source code which must be translated into machine
language programs called object code.
• The translation of source code to object code is accomplished by a
machine language system program called a compiler.
Programming Languages Concepts
Why use C?
• The C is a general-purpose, procedural computer programming language developed
in 1972 by Dennis M. Ritchie at the Bell Telephone Laboratories to develop the
UNIX operating system.
• Mainly because it produces code that runs nearly as fast as code written in assembly
language. Some examples of the use of C might be:
• Operating Systems
• Language Compilers
• Assemblers
• Text Editors
• Network Drivers
• Modern Programs
• Data Bases
• Language Interpreters
• Utilities
Mainly because of the portability that writing standard C programs can
offer
History
• 1960 : -
• ALGOL was found by International group of computer users.
• COBOL was found for commercial application usage.
• FORTRAN was found for scientific applications.
• In 1967: -
• Basic Combined Programming Language (BCPL)
• developed by Martin Richards at Cambridge University.
• a single language which can program all possible applications,
• In 1970: -
• a language called B was developed by Ken Thompson at AT & T’s Bell Labs.
History
• In 1972: -
• Dennis Ritchie at Bell Labs developed a language with some additional
features of BPCL and B called C.
• In 1978: -
• Publication of The C Programming Language by Kernighan & Ritchie
caused a revolution in the computing world.

More Related Content

What's hot

Introduction to programming principles languages
Introduction to programming principles languagesIntroduction to programming principles languages
Introduction to programming principles languagesFrankie Jones
 
Introduction to Computer Programming
Introduction to Computer ProgrammingIntroduction to Computer Programming
Introduction to Computer ProgrammingProf. Erwin Globio
 
Programming Languages / Translators
Programming Languages / TranslatorsProgramming Languages / Translators
Programming Languages / TranslatorsProject Student
 
Programming Fundamental Slide No.1
Programming Fundamental Slide No.1Programming Fundamental Slide No.1
Programming Fundamental Slide No.1Arslan Hussain
 
Compilers and interpreters
Compilers and interpretersCompilers and interpreters
Compilers and interpretersRAJU KATHI
 
Computer programming project 15sec
Computer programming project 15secComputer programming project 15sec
Computer programming project 15secJenny Brown
 
Cmp2412 programming principles
Cmp2412 programming principlesCmp2412 programming principles
Cmp2412 programming principlesNIKANOR THOMAS
 
Compiler vs interpreter
Compiler vs interpreterCompiler vs interpreter
Compiler vs interpreterParas Patel
 
Chapter 1: Intro to Funds of Programming
Chapter 1: Intro to Funds of ProgrammingChapter 1: Intro to Funds of Programming
Chapter 1: Intro to Funds of Programmingricsanmae
 
Compiler vs Interpreter-Compiler design ppt.
Compiler vs Interpreter-Compiler design ppt.Compiler vs Interpreter-Compiler design ppt.
Compiler vs Interpreter-Compiler design ppt.Md Hossen
 
13 A Programing Languages (IT) Lecture Slide
13 A Programing Languages (IT) Lecture Slide13 A Programing Languages (IT) Lecture Slide
13 A Programing Languages (IT) Lecture SlideMuhammad Talha Zaroon
 
Assembly and Machine Code
Assembly and Machine CodeAssembly and Machine Code
Assembly and Machine CodeProject Student
 
Language translator
Language translatorLanguage translator
Language translatorasmakh89
 
Fundamentals of programming final
Fundamentals of programming finalFundamentals of programming final
Fundamentals of programming finalRicky Recto
 
Computer Programming: Chapter 1
Computer Programming: Chapter 1Computer Programming: Chapter 1
Computer Programming: Chapter 1Atit Patumvan
 
Programming Fundamentals lecture 2
Programming Fundamentals lecture 2Programming Fundamentals lecture 2
Programming Fundamentals lecture 2REHAN IJAZ
 
High level languages representation
High level languages representationHigh level languages representation
High level languages representationgaurav jain
 

What's hot (20)

Introduction to programming principles languages
Introduction to programming principles languagesIntroduction to programming principles languages
Introduction to programming principles languages
 
Introduction to Computer Programming
Introduction to Computer ProgrammingIntroduction to Computer Programming
Introduction to Computer Programming
 
Programming Languages / Translators
Programming Languages / TranslatorsProgramming Languages / Translators
Programming Languages / Translators
 
Computer programming concepts
Computer programming conceptsComputer programming concepts
Computer programming concepts
 
Programming Fundamental Slide No.1
Programming Fundamental Slide No.1Programming Fundamental Slide No.1
Programming Fundamental Slide No.1
 
Computer
ComputerComputer
Computer
 
Compilers and interpreters
Compilers and interpretersCompilers and interpreters
Compilers and interpreters
 
Computer programming project 15sec
Computer programming project 15secComputer programming project 15sec
Computer programming project 15sec
 
Cmp2412 programming principles
Cmp2412 programming principlesCmp2412 programming principles
Cmp2412 programming principles
 
Compiler vs interpreter
Compiler vs interpreterCompiler vs interpreter
Compiler vs interpreter
 
Chapter 1: Intro to Funds of Programming
Chapter 1: Intro to Funds of ProgrammingChapter 1: Intro to Funds of Programming
Chapter 1: Intro to Funds of Programming
 
Compiler vs Interpreter-Compiler design ppt.
Compiler vs Interpreter-Compiler design ppt.Compiler vs Interpreter-Compiler design ppt.
Compiler vs Interpreter-Compiler design ppt.
 
13 A Programing Languages (IT) Lecture Slide
13 A Programing Languages (IT) Lecture Slide13 A Programing Languages (IT) Lecture Slide
13 A Programing Languages (IT) Lecture Slide
 
Assembly and Machine Code
Assembly and Machine CodeAssembly and Machine Code
Assembly and Machine Code
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
Language translator
Language translatorLanguage translator
Language translator
 
Fundamentals of programming final
Fundamentals of programming finalFundamentals of programming final
Fundamentals of programming final
 
Computer Programming: Chapter 1
Computer Programming: Chapter 1Computer Programming: Chapter 1
Computer Programming: Chapter 1
 
Programming Fundamentals lecture 2
Programming Fundamentals lecture 2Programming Fundamentals lecture 2
Programming Fundamentals lecture 2
 
High level languages representation
High level languages representationHigh level languages representation
High level languages representation
 

Similar to Programming Fundamentals and Programming Languages Concepts

AERO_PROGRAMMING_FOR_PROBLEM_SOLVING_LECTURE_NOTES.pdf
AERO_PROGRAMMING_FOR_PROBLEM_SOLVING_LECTURE_NOTES.pdfAERO_PROGRAMMING_FOR_PROBLEM_SOLVING_LECTURE_NOTES.pdf
AERO_PROGRAMMING_FOR_PROBLEM_SOLVING_LECTURE_NOTES.pdfssuserb3a23b
 
Problem Solving and Program Design in C_1.pdf
Problem Solving and Program Design in C_1.pdfProblem Solving and Program Design in C_1.pdf
Problem Solving and Program Design in C_1.pdfjlu08167
 
Computer, generations, languages, soft wares
Computer, generations, languages, soft waresComputer, generations, languages, soft wares
Computer, generations, languages, soft wareskiranmohan42
 
PPS UNIT 1- R18.docx
PPS UNIT 1- R18.docxPPS UNIT 1- R18.docx
PPS UNIT 1- R18.docxUzma1102
 
Programming for Problem Solving
Programming for Problem SolvingProgramming for Problem Solving
Programming for Problem SolvingSukhendra Singh
 
Interaction With Computers FIT
Interaction With Computers FITInteraction With Computers FIT
Interaction With Computers FITRaj vardhan
 
Computer_Programming_Fundamentals in cpp
Computer_Programming_Fundamentals in cppComputer_Programming_Fundamentals in cpp
Computer_Programming_Fundamentals in cppmeharikiros2
 
Introduction to Computer Softwares
Introduction to Computer SoftwaresIntroduction to Computer Softwares
Introduction to Computer SoftwaresNaresh Dubey
 
Programming languages
Programming languages Programming languages
Programming languages sushma chinta
 
C++ programming languages lectures
C++ programming languages lectures C++ programming languages lectures
C++ programming languages lectures jabirMemon
 
Unit 1 computer concepts
Unit 1   computer conceptsUnit 1   computer concepts
Unit 1 computer conceptsMithun DSouza
 
Introduction to Hardware and Software
Introduction to Hardware and SoftwareIntroduction to Hardware and Software
Introduction to Hardware and SoftwarePravinGhosekar
 
Introduction_to_Programming.pptx
Introduction_to_Programming.pptxIntroduction_to_Programming.pptx
Introduction_to_Programming.pptxPmarkNorcio
 
Unit i (part2) b.sc
Unit i (part2)   b.scUnit i (part2)   b.sc
Unit i (part2) b.scHepsijeba
 

Similar to Programming Fundamentals and Programming Languages Concepts (20)

AERO_PROGRAMMING_FOR_PROBLEM_SOLVING_LECTURE_NOTES.pdf
AERO_PROGRAMMING_FOR_PROBLEM_SOLVING_LECTURE_NOTES.pdfAERO_PROGRAMMING_FOR_PROBLEM_SOLVING_LECTURE_NOTES.pdf
AERO_PROGRAMMING_FOR_PROBLEM_SOLVING_LECTURE_NOTES.pdf
 
Problem Solving and Program Design in C_1.pdf
Problem Solving and Program Design in C_1.pdfProblem Solving and Program Design in C_1.pdf
Problem Solving and Program Design in C_1.pdf
 
Computer, generations, languages, soft wares
Computer, generations, languages, soft waresComputer, generations, languages, soft wares
Computer, generations, languages, soft wares
 
PPS UNIT 1- R18.docx
PPS UNIT 1- R18.docxPPS UNIT 1- R18.docx
PPS UNIT 1- R18.docx
 
Programming for Problem Solving
Programming for Problem SolvingProgramming for Problem Solving
Programming for Problem Solving
 
Computer software
Computer softwareComputer software
Computer software
 
C program full materials.pdf
C program  full materials.pdfC program  full materials.pdf
C program full materials.pdf
 
Program Logic and Design
Program Logic and DesignProgram Logic and Design
Program Logic and Design
 
System softare
System softareSystem softare
System softare
 
Interaction With Computers FIT
Interaction With Computers FITInteraction With Computers FIT
Interaction With Computers FIT
 
Computer_Programming_Fundamentals in cpp
Computer_Programming_Fundamentals in cppComputer_Programming_Fundamentals in cpp
Computer_Programming_Fundamentals in cpp
 
Introduction to Computer Softwares
Introduction to Computer SoftwaresIntroduction to Computer Softwares
Introduction to Computer Softwares
 
Programming languages
Programming languages Programming languages
Programming languages
 
C++ programming languages lectures
C++ programming languages lectures C++ programming languages lectures
C++ programming languages lectures
 
Unit 1 computer concepts
Unit 1   computer conceptsUnit 1   computer concepts
Unit 1 computer concepts
 
Introduction to Hardware and Software
Introduction to Hardware and SoftwareIntroduction to Hardware and Software
Introduction to Hardware and Software
 
Introduction_to_Programming.pptx
Introduction_to_Programming.pptxIntroduction_to_Programming.pptx
Introduction_to_Programming.pptx
 
Richa garg itm
Richa garg itmRicha garg itm
Richa garg itm
 
Exam 1 in ITEP 132
Exam 1 in ITEP 132Exam 1 in ITEP 132
Exam 1 in ITEP 132
 
Unit i (part2) b.sc
Unit i (part2)   b.scUnit i (part2)   b.sc
Unit i (part2) b.sc
 

More from imtiazalijoono

Embedded systems io programming
Embedded systems   io programmingEmbedded systems   io programming
Embedded systems io programmingimtiazalijoono
 
Embedded systems tools & peripherals
Embedded systems   tools & peripheralsEmbedded systems   tools & peripherals
Embedded systems tools & peripheralsimtiazalijoono
 
Importance of reading and its types.
Importance of reading and its types.Importance of reading and its types.
Importance of reading and its types.imtiazalijoono
 
Negative amplifiers and its types Positive feedback and Negative feedback
Negative amplifiers and its types Positive feedback  and Negative feedbackNegative amplifiers and its types Positive feedback  and Negative feedback
Negative amplifiers and its types Positive feedback and Negative feedbackimtiazalijoono
 
Multistage amplifiers and Name of coupling Name of multistage amplifier
Multistage amplifiers and Name of coupling Name of multistage amplifierMultistage amplifiers and Name of coupling Name of multistage amplifier
Multistage amplifiers and Name of coupling Name of multistage amplifierimtiazalijoono
 
Loop Introduction for Loop while Loop do while Loop Nested Loops Values of...
Loop Introduction for Loop  while Loop do while Loop  Nested Loops  Values of...Loop Introduction for Loop  while Loop do while Loop  Nested Loops  Values of...
Loop Introduction for Loop while Loop do while Loop Nested Loops Values of...imtiazalijoono
 
Programming Fundamentals and basic knowledge
Programming Fundamentals and basic knowledge Programming Fundamentals and basic knowledge
Programming Fundamentals and basic knowledge imtiazalijoono
 
Programming Fundamentals Functions in C and types
Programming Fundamentals  Functions in C  and typesProgramming Fundamentals  Functions in C  and types
Programming Fundamentals Functions in C and typesimtiazalijoono
 
Software Development Software development process
Software Development Software development processSoftware Development Software development process
Software Development Software development processimtiazalijoono
 
Programming Fundamentals Decisions
Programming Fundamentals  Decisions Programming Fundamentals  Decisions
Programming Fundamentals Decisions imtiazalijoono
 
Programming Fundamentals Arrays and Strings
Programming Fundamentals   Arrays and Strings Programming Fundamentals   Arrays and Strings
Programming Fundamentals Arrays and Strings imtiazalijoono
 
Programming Fundamentals and Programming Languages Concepts Translators
Programming Fundamentals and Programming Languages Concepts TranslatorsProgramming Fundamentals and Programming Languages Concepts Translators
Programming Fundamentals and Programming Languages Concepts Translatorsimtiazalijoono
 
Programming Global variable
Programming Global variableProgramming Global variable
Programming Global variableimtiazalijoono
 
Array Introduction One-dimensional array Multidimensional array
Array Introduction One-dimensional array Multidimensional arrayArray Introduction One-dimensional array Multidimensional array
Array Introduction One-dimensional array Multidimensional arrayimtiazalijoono
 
NTRODUCTION TO COMPUTER PROGRAMMING Loop as repetitive statement,
NTRODUCTION TO COMPUTER PROGRAMMING Loop as repetitive statement,NTRODUCTION TO COMPUTER PROGRAMMING Loop as repetitive statement,
NTRODUCTION TO COMPUTER PROGRAMMING Loop as repetitive statement,imtiazalijoono
 
Arithmetic and Arithmetic assignment operators
Arithmetic and Arithmetic assignment operatorsArithmetic and Arithmetic assignment operators
Arithmetic and Arithmetic assignment operatorsimtiazalijoono
 
INTRODUCTION TO COMPUTER PROGRAMMING
INTRODUCTION TO COMPUTER PROGRAMMINGINTRODUCTION TO COMPUTER PROGRAMMING
INTRODUCTION TO COMPUTER PROGRAMMINGimtiazalijoono
 

More from imtiazalijoono (20)

Embedded systems io programming
Embedded systems   io programmingEmbedded systems   io programming
Embedded systems io programming
 
Embedded systems tools & peripherals
Embedded systems   tools & peripheralsEmbedded systems   tools & peripherals
Embedded systems tools & peripherals
 
Importance of reading and its types.
Importance of reading and its types.Importance of reading and its types.
Importance of reading and its types.
 
Negative amplifiers and its types Positive feedback and Negative feedback
Negative amplifiers and its types Positive feedback  and Negative feedbackNegative amplifiers and its types Positive feedback  and Negative feedback
Negative amplifiers and its types Positive feedback and Negative feedback
 
Multistage amplifiers and Name of coupling Name of multistage amplifier
Multistage amplifiers and Name of coupling Name of multistage amplifierMultistage amplifiers and Name of coupling Name of multistage amplifier
Multistage amplifiers and Name of coupling Name of multistage amplifier
 
Loop Introduction for Loop while Loop do while Loop Nested Loops Values of...
Loop Introduction for Loop  while Loop do while Loop  Nested Loops  Values of...Loop Introduction for Loop  while Loop do while Loop  Nested Loops  Values of...
Loop Introduction for Loop while Loop do while Loop Nested Loops Values of...
 
Programming Fundamentals and basic knowledge
Programming Fundamentals and basic knowledge Programming Fundamentals and basic knowledge
Programming Fundamentals and basic knowledge
 
Programming Fundamentals Functions in C and types
Programming Fundamentals  Functions in C  and typesProgramming Fundamentals  Functions in C  and types
Programming Fundamentals Functions in C and types
 
Software Development Software development process
Software Development Software development processSoftware Development Software development process
Software Development Software development process
 
Programming Fundamentals Decisions
Programming Fundamentals  Decisions Programming Fundamentals  Decisions
Programming Fundamentals Decisions
 
C Building Blocks
C Building Blocks C Building Blocks
C Building Blocks
 
Programming Fundamentals Arrays and Strings
Programming Fundamentals   Arrays and Strings Programming Fundamentals   Arrays and Strings
Programming Fundamentals Arrays and Strings
 
Programming Fundamentals and Programming Languages Concepts Translators
Programming Fundamentals and Programming Languages Concepts TranslatorsProgramming Fundamentals and Programming Languages Concepts Translators
Programming Fundamentals and Programming Languages Concepts Translators
 
Programming Global variable
Programming Global variableProgramming Global variable
Programming Global variable
 
Array Introduction One-dimensional array Multidimensional array
Array Introduction One-dimensional array Multidimensional arrayArray Introduction One-dimensional array Multidimensional array
Array Introduction One-dimensional array Multidimensional array
 
NTRODUCTION TO COMPUTER PROGRAMMING Loop as repetitive statement,
NTRODUCTION TO COMPUTER PROGRAMMING Loop as repetitive statement,NTRODUCTION TO COMPUTER PROGRAMMING Loop as repetitive statement,
NTRODUCTION TO COMPUTER PROGRAMMING Loop as repetitive statement,
 
Arithmetic and Arithmetic assignment operators
Arithmetic and Arithmetic assignment operatorsArithmetic and Arithmetic assignment operators
Arithmetic and Arithmetic assignment operators
 
INTRODUCTION TO COMPUTER PROGRAMMING
INTRODUCTION TO COMPUTER PROGRAMMINGINTRODUCTION TO COMPUTER PROGRAMMING
INTRODUCTION TO COMPUTER PROGRAMMING
 
COMPUTER PROGRAMMING
COMPUTER PROGRAMMINGCOMPUTER PROGRAMMING
COMPUTER PROGRAMMING
 
COMPUTER PROGRAMMING
COMPUTER PROGRAMMINGCOMPUTER PROGRAMMING
COMPUTER PROGRAMMING
 

Recently uploaded

ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxnelietumpap1
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 

Recently uploaded (20)

ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptx
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 

Programming Fundamentals and Programming Languages Concepts

  • 2. What is a Computer? • An electronic device which is capable of receiving information (data) in a particular form and of performing a sequence of operations to produce a result in the form of information.
  • 3. What is a Computer? • Is it a machine with a fantastic brain and incredible intelligence? • Of course NOT. • A computer has no reasoning power. It does exactly what we tell it to do -no more and no less. If we tell it to do something stupid, it does it. If we tell it to do sensible/clever things it does it as well. • The important thing is that computers do what we ask them to do very -very quickly and without making mistakes.
  • 4. Software & Hardware? • Computer Instructions or data, anything that can be stored electronically is Software. • Hardware is one that is tangible. The storage devices (Hard disk, CD’s etc.,), mouse, keyboard CPU and display devices (Monitor) are Hardware. • Computer hardware would be useless without software, the lists of instructions which tell the hardware what to do. • Computers require various types of software to make them useful. These can be classified as follows:
  • 6.  Three of the main types of software are: 1. Application Software 2. Operating Systems (Systems Software) 3. Utility Software Types of Software
  • 7. Application Software  Application software is computer software designed to help the user to perform specific tasks.  Applications do useful tasks, creating and editing files of data, e.g.
  • 8. Application Software  Applications do useful tasks, creating and editing files of data, e.g. Spreadsheet Word Processor Database Management System Presentation Software Graphics Software Animation Software Accounts Program  A collection of applications is called a suite of applications or an application package, e.g. Microsoft Office, Adobe Creative Suite. Web Design Software
  • 9. Operating System  System software is computer software designed to operate the computer hardware and to provide a platform for running application software.  The operating system runs the computer. It works between the hardware and the application software…
  • 10. Operating System  The operating system runs the computer. It works between the hardware and the application software… Operating System Application Software
  • 11. Operating System Hardware: Mouse, Keyboard, CPU, Hard Drive, Motherboard, CD Drive, Printer, etc. Operating System Application Software  The operating system runs the computer. It works between the hardware and the application software…  Without an operating system, a computer would just be a box of circuit boards and wires that wouldn’t do anything.
  • 12. Operating System  The most popular operating system is Windows.  In most operating systems, the desktop is the main GUI (Graphical User Interface) which gives the user access to all parts of the computer.  It is the operating system which…  Allows you to see the contents of any drive attached to your system.  Allows you to copy and paste between different applications.  Copies data to and from an external drive.
  • 14. Utility Software  A utility program looks after the safe and proper running of the computer, such as… Device DriverDefragmenter Anti-spyware File RecoveryAnti-virus Crash Protection Firewall Copying to CD  Utility software helps to keep the computer running safely, protects it from viruses and attacks, and can carry out software repairs if necessary.  Examples of popular brands are Norton and AVG.
  • 15. 1. What is a programming language? • A "programming language" is a means of communication between a human being (programmer) and a computer. A programmer uses this means of communication in order to give the computer instructions. These instructions are called "programs". • A programming language is a set of rules that provides a way of telling a computer what operations to perform. • A programming language can be used to write programs that control the hardware e.g.: Embedded processor in Refrigerator, Air conditioner, Microwave oven etc. Programming Languages Concepts
  • 16. 2. Why do we need programming languages? A computer cannot understand our language that we use in our day to day conversations, and likewise, we cannot understand the binary language that the computer uses to do it’s tasks. Programming languages have been developed for the purpose of communicating with computers. 1. Facilitate users in performing tasks which are: 1. Faster, 2. Correct, and 3. Economically cheaper Programming Languages Concepts
  • 17. 1. What is a programming language? • A "programming language" is a means of communication between a human being (programmer) and a computer. A programmer uses this means of communication in order to give the computer instructions. These instructions are called "programs". • A programming language is a set of rules that provides a way of telling a computer what operations to perform. • A programming language can be used to write programs that control the hardware e.g.: Embedded processor in Refrigerator, Air conditioner, Microwave oven etc. Programming Languages Concepts
  • 18. 2. Why do we need programming languages? A computer cannot understand our language that we use in our day to day conversations, and likewise, we cannot understand the binary language that the computer uses to do it’s tasks. Programming languages have been developed for the purpose of communicating with computers. 1. Facilitate users in performing tasks which are: 1. Faster, 2. Correct, and 3. Economically cheaper Programming Languages Concepts
  • 19. 3. What are the types of programming language? • Programming languages may be divided into three (03) general types: 1. Machine languages 2. Assembly languages 3. High-level languages Programming Languages Concepts
  • 20. • Machine languages • Machine language is the only language that a computer understands • Strings of 0’s and 1’s telling computers to perform basic operations one at a time; e.g.: 01001110 00111001 01101010 • Machine language is a low-level programming language. It is easily understood by computers but difficult to read by people. • Machine dependent i.e., a code written for one machine may not run on the other. • Programming in machine languages is too slow, tedious, and error- prone. Programming Languages Concepts
  • 21. • Assembly languages • Assembly language is a representation of machine language • Symbolic operation codes replaced binary operation codes; e.g.: LOAD R1, sessional LOAD R2, final ADD R1, R2 STORE total_marks • The advantage of assembly language is that its instructions are readable. For example, assembly language statements like LOAD and ADD are more recognizable than sequences of 0s and 1s. • Assembly language programs needed to be “assembled” for execution by the computer. Each assembly language instruction is translated into one machine language instruction. • Very efficient code and easier to write. • Though assembly language statements are readable, the statements are still low-level. • Another disadvantage of assembly language is that it is not portable. In other words, assembly language programs are specific to a particular hardware. Programming Languages Concepts
  • 22. • High-level languages • Closer to English but included simple mathematical notation; e.g.: total_marks = sessional + final • Programs written in source code which must be translated into machine language programs called object code. • The translation of source code to object code is accomplished by a machine language system program called a compiler. Programming Languages Concepts
  • 23. Why use C? • The C is a general-purpose, procedural computer programming language developed in 1972 by Dennis M. Ritchie at the Bell Telephone Laboratories to develop the UNIX operating system. • Mainly because it produces code that runs nearly as fast as code written in assembly language. Some examples of the use of C might be: • Operating Systems • Language Compilers • Assemblers • Text Editors • Network Drivers • Modern Programs • Data Bases • Language Interpreters • Utilities Mainly because of the portability that writing standard C programs can offer
  • 24. History • 1960 : - • ALGOL was found by International group of computer users. • COBOL was found for commercial application usage. • FORTRAN was found for scientific applications. • In 1967: - • Basic Combined Programming Language (BCPL) • developed by Martin Richards at Cambridge University. • a single language which can program all possible applications, • In 1970: - • a language called B was developed by Ken Thompson at AT & T’s Bell Labs.
  • 25. History • In 1972: - • Dennis Ritchie at Bell Labs developed a language with some additional features of BPCL and B called C. • In 1978: - • Publication of The C Programming Language by Kernighan & Ritchie caused a revolution in the computing world.

Editor's Notes

  1. an electronic device which is capable of receiving information (data) in a particular form and of performing a sequence of operations in accordance with a predetermined but variable set of procedural instructions (program) to produce a result in the form of information or signals.
  2. an electronic device which is capable of receiving information (data) in a particular form and of performing a sequence of operations in accordance with a predetermined but variable set of procedural instructions (program) to produce a result in the form of information or signals.
  3. Adobe Creative Suite (CS) is a software suite of graphic design, video editing, and web development applications developed by Adobe Systems. Each edition consists several Adobe applications, e.g., Photoshop, Acrobat, InDesign, Premiere Pro or After Effects.
  4. Adobe Creative Suite (CS) is a software suite of graphic design, video editing, and web development applications developed by Adobe Systems. Each edition consists several Adobe applications, e.g., Photoshop, Acrobat, InDesign, Premiere Pro or After Effects.
  5. Disk Defragmenter is a utility in Microsoft Windows designed to increase access speed by rearranging files stored on a disk to occupy contiguous storage locations, a technique called defragmentation. Defragmenting a disk minimizes head travel, which reduces the time it takes to read files from and write files to the disk
  6. C is called a structured programming language because to solve a large problem, C programming language divides the problem into smaller modules called functions or procedures each of which handles a perticular responsibility.