SlideShare a Scribd company logo
PROGRAMMING
3RD GRADING PERIOD – LESSON 2
What is Programming?

Programming is a creative process done
by programmers to instruct a computer
on how to do a task.
Programming is instructing a computer
to do something for you with the help of
a programming language.
What is a Program?
 In computing, a program is a specific set of ordered
operations for a computer to perform. In the modern
computer that John von Neumann outlined in 1945,
the program contains a one-at-a-time sequence of
instructions that the computer follows. Typically, the
program is put into a storage area accessible to the
computer. The computer gets one instruction and
performs it and then gets the next instruction.
What is a Programmer?

A programmer is a person who
prepares instructions for
computers.
A programmer needs to develop a welldefined concept of how to solve a
problem. Then this concept must be
translated into a computer language.
Finally, the program needs to be typed
into the computer, tested, and
debugged before being placed into
service.
What is a Programming Language?

Programming Language is a
language used to give
instructions to computers.
During the 1960s and 1970s, a huge variety
of programming languages were developed,
most of which are no longer in wide use.
Moreover, a substantial amount of
programming is now done with special
program development tools (e.g., Visual
Basic), or in programming languages that
pertain to specific pieces of software (e.g.,
Maple) rather than by simply writing
instructions in a general-purpose language.
The following is a rough classification of
programming languages.
1. General-purpose languages for large, complex programs: PL/I, C, C++, Pascal,
Modula-2, Ada, Java, C#.
2. General-purpose languages for smaller programs: BASIC, Visual Basic, Pascal,
Python.
3. Mathematical calculation, science, and engineering: FORTRAN, APL, Maple, and
the general-purpose languages named above.
4. Business data processing: COBOL, RPG. Where microcomputers are involved,
BASIC, C, and languages associated with specific database products are also
widely used.
5. Artificial intelligence and programs of extreme logical complexity: Lisp and
Prolog.
6. String handling and scripting: SNOBOL, REXX, Awk, Perl, Python, VBSCRIPT,
JavaScript.
Another useful classification is based
on the way the program is organized.
1. Sequential languages treat the program as
a series of steps, with an occasional GOTO
statement as a way of breaking out of the
sequence. In this category are FORTRAN,
BASIC, and COBOL(though COBOL also
allows programs to be written in a style
more like a block-structured language).
2.Block-structured languages
encourage structured
programming by allowing the
programmer to group statements
into functional units. This category
originated with Algol and now
includes Pascal, Modula-2, C, PL/I,
and Ada.
Structured Programming?
 Structured programming is a programming technique
that emphasizes clear logic, modularity, and avoidance
of GO TO statements (which are intrinsically errorprone).
 Structured programming is a style of programming
designed to make programs more comprehensible
and programming errors less frequent.
3.Object-oriented languages allow the
programmer to define new data types
and associate procedures with them.
Languages of this type include C++,
Java, C#, object-oriented extensions of
Pascal, and Smalltalk.
4.Symbolic languages allow the program
to examine and modify itself, treating
instructions as data. Lisp and Prolog fall
into this category.
Although names of some
programming languages are
normally written in all capital
letters, names of most languages
are not, even if they are acronyms.
Usage varies from language to
language. With some, usage has
shifted over the years.
BASIC?
 BASIC (Beginner’s All-purpose Symbolic Instruction
Code) a computer language designed by John Kemeny
and Thomas Kurtz in 1964 and popularized by
Microsoft in the 1970s.
 BASIC is good for programming simple calculations
quickly, and you do not have to learn much of the
language in order to begin using it.
 Because no declarations are required, programs can
be quite short.
 In the 1970s and 1980s, numerous software vendors,
especially Microsoft, added features to BASIC to
support STRUCTURED PROGRAMMING and a wide
variety of DATASTRUCTURES. Today, BASIC is one of
the most complex programming languages in wide
use, incorporating features from Pascal, FORTRAN,
and C. Line numbers are no longer necessary.
 However, BASIC is still easy for beginners to use, and
the newest BASIC compilers still accept programs
written in Kemeny and Kurtz’s original language.
BASIC program and its output
10 REM Temperature conversion program
20 PRINT ”Temperature in Fahrenheit”;
30 INPUT F
40 LET C=(F-32)*5/9
50 PRINT F;” F equals ”;
60 PRINT C;” C”
70 END
Temperature in Fahrenheit? 98
98 F equals 36.66667 C
VISUAL BASIC?
 One of the first successful interactive development
environments for Windows programming, introduced by
Microsoft in 1991.
 Programmers can lay out the program’s windows graphically
and write BASIC code to specify what happens when each
button is clicked or other events occur.
 Any part of the layout or code can be changed at any time.
 Unlike in earlier Windows programming environments, the
programmer need not write any general code to initialize
windows, handle events, or interact with the operating
system.
The current version is called Visual Basic .NET
or VB.NET and uses the .NET Framework for
fully object-oriented programming. Similar
products for other programming languages
include Microsoft’s Visual C++ and Visual C#
and Borland’s Delphi and Kylix (for Pascal),
JBuilder (for Java), and C++ Builder.
Programming lesson1
.NET Framework?
 An application program interface (API) for Microsoft Windows,
introduced in 2001 as a downloadable add-on to Windows 2000
and XP and included in subsequent versions of Windows.
 The purpose of the .NET Framework is to reduce the amount of
work programmers have to do, while at the same time increasing
reliability and introducing Java-like portability.
 The .NET Framework is fully object-oriented.
 The .NET Framework manages the memory used by each
program.
 Like Java, the .NET Framework normally compiles programs into
bytecode, a concise notation that is converted to machine
language when the program is ready to run.
Bytecode?
Bytecode is the compiled code that compilers for
Java and C# produce. It isn't true machine code
but a simpler code made up of instructions that
are one byte long.
Ad

More Related Content

What's hot (20)

Programming language
Programming languageProgramming language
Programming language
Makku-Sama
 
Introduction to c language
Introduction to c language Introduction to c language
Introduction to c language
BAKRANIYA KALPESH
 
Programming language
Programming languageProgramming language
Programming language
Lia Safitri
 
La5 programming
La5  programmingLa5  programming
La5 programming
smkengkilili2011
 
Chapter 5( programming) answer
Chapter 5( programming) answerChapter 5( programming) answer
Chapter 5( programming) answer
smkengkilili2011
 
Notacd07
Notacd07Notacd07
Notacd07
Azmiah Mahmud
 
Computer Programming Overview
Computer Programming OverviewComputer Programming Overview
Computer Programming Overview
agorolabs
 
Introduction Programming Languages
Introduction Programming LanguagesIntroduction Programming Languages
Introduction Programming Languages
Manish Kharotia
 
Programming Languages | Computer Science
Programming Languages | Computer ScienceProgramming Languages | Computer Science
Programming Languages | Computer Science
Transweb Global Inc
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
Neeru Mittal
 
Overview new programming languages
Overview new programming languagesOverview new programming languages
Overview new programming languages
umoren
 
Chapter 5-programming
Chapter 5-programmingChapter 5-programming
Chapter 5-programming
Aten Kecik
 
Coding vs programming
Coding vs programmingCoding vs programming
Coding vs programming
Aman Kumar
 
Programming Fundamental Presentation
Programming Fundamental PresentationProgramming Fundamental Presentation
Programming Fundamental Presentation
fazli khaliq
 
Concept of computer programming iv
Concept of computer programming ivConcept of computer programming iv
Concept of computer programming iv
Eyelean xilef
 
Programming assignment help
Programming assignment helpProgramming assignment help
Programming assignment help
www.myassignmenthelp.net
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming concepts
salmankhan570
 
Programming
ProgrammingProgramming
Programming
vanesa4ab
 
La5 ict-topic-5-programming
La5 ict-topic-5-programmingLa5 ict-topic-5-programming
La5 ict-topic-5-programming
Kak Yong
 
Unit 1
Unit 1Unit 1
Unit 1
TPLatchoumi
 
Programming language
Programming languageProgramming language
Programming language
Makku-Sama
 
Programming language
Programming languageProgramming language
Programming language
Lia Safitri
 
Chapter 5( programming) answer
Chapter 5( programming) answerChapter 5( programming) answer
Chapter 5( programming) answer
smkengkilili2011
 
Computer Programming Overview
Computer Programming OverviewComputer Programming Overview
Computer Programming Overview
agorolabs
 
Introduction Programming Languages
Introduction Programming LanguagesIntroduction Programming Languages
Introduction Programming Languages
Manish Kharotia
 
Programming Languages | Computer Science
Programming Languages | Computer ScienceProgramming Languages | Computer Science
Programming Languages | Computer Science
Transweb Global Inc
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
Neeru Mittal
 
Overview new programming languages
Overview new programming languagesOverview new programming languages
Overview new programming languages
umoren
 
Chapter 5-programming
Chapter 5-programmingChapter 5-programming
Chapter 5-programming
Aten Kecik
 
Coding vs programming
Coding vs programmingCoding vs programming
Coding vs programming
Aman Kumar
 
Programming Fundamental Presentation
Programming Fundamental PresentationProgramming Fundamental Presentation
Programming Fundamental Presentation
fazli khaliq
 
Concept of computer programming iv
Concept of computer programming ivConcept of computer programming iv
Concept of computer programming iv
Eyelean xilef
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming concepts
salmankhan570
 
La5 ict-topic-5-programming
La5 ict-topic-5-programmingLa5 ict-topic-5-programming
La5 ict-topic-5-programming
Kak Yong
 

Similar to Programming lesson1 (20)

Programming landuages
Programming landuagesProgramming landuages
Programming landuages
NataliaVasjuka
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
Gwyneth Calica
 
all languages in computer programming
all languages in computer programmingall languages in computer programming
all languages in computer programming
hamza239523
 
Chapter-4.pptx introduction to computing CC1/L
Chapter-4.pptx introduction to computing CC1/LChapter-4.pptx introduction to computing CC1/L
Chapter-4.pptx introduction to computing CC1/L
jbmohamad54321
 
Trend of Visual Programming Language
Trend of Visual Programming LanguageTrend of Visual Programming Language
Trend of Visual Programming Language
Teddy Marcus
 
COMP LESSON 2 - COMPUTER PROGRAMING 2023
COMP LESSON 2 - COMPUTER  PROGRAMING 2023COMP LESSON 2 - COMPUTER  PROGRAMING 2023
COMP LESSON 2 - COMPUTER PROGRAMING 2023
Charie Pincas
 
PRESENTATION OF students learning outcomes.pptx
PRESENTATION OF students learning outcomes.pptxPRESENTATION OF students learning outcomes.pptx
PRESENTATION OF students learning outcomes.pptx
hinabibi9
 
Lec 11 Programming Languages new upload.pptx
Lec  11 Programming Languages new upload.pptxLec  11 Programming Languages new upload.pptx
Lec 11 Programming Languages new upload.pptx
BilalNazeer13
 
Comso c++
Comso c++Comso c++
Comso c++
Mi L
 
Programming Part 01
Programming Part 01Programming Part 01
Programming Part 01
zakri zakaria
 
Assignment on basic programming language
Assignment on  basic programming languageAssignment on  basic programming language
Assignment on basic programming language
Guru buying house , Main branch ,Barishal.
 
Nota programming
Nota programmingNota programming
Nota programming
Azmiah Mahmud
 
Unit 12 section 1 - computer programming
Unit 12   section 1 - computer programmingUnit 12   section 1 - computer programming
Unit 12 section 1 - computer programming
dlwadsworth
 
Why-Kotlin definition to understand the use of kotin
Why-Kotlin definition to understand the use of kotinWhy-Kotlin definition to understand the use of kotin
Why-Kotlin definition to understand the use of kotin
sumanneupane23
 
Notacd071
Notacd071Notacd071
Notacd071
cikgushaharizan
 
Ic lecture8
Ic lecture8 Ic lecture8
Ic lecture8
AttaullahRahimoon
 
Fundamentals of Programming language.docx
Fundamentals of Programming language.docxFundamentals of Programming language.docx
Fundamentals of Programming language.docx
bijayakumarsahoo22
 
Programming language (JGMNHS)
Programming language (JGMNHS)Programming language (JGMNHS)
Programming language (JGMNHS)
Katherine Gamboa
 
ICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.doc
ICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.docICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.doc
ICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.doc
AmanGunner
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & Languages
Gaditek
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
Gwyneth Calica
 
all languages in computer programming
all languages in computer programmingall languages in computer programming
all languages in computer programming
hamza239523
 
Chapter-4.pptx introduction to computing CC1/L
Chapter-4.pptx introduction to computing CC1/LChapter-4.pptx introduction to computing CC1/L
Chapter-4.pptx introduction to computing CC1/L
jbmohamad54321
 
Trend of Visual Programming Language
Trend of Visual Programming LanguageTrend of Visual Programming Language
Trend of Visual Programming Language
Teddy Marcus
 
COMP LESSON 2 - COMPUTER PROGRAMING 2023
COMP LESSON 2 - COMPUTER  PROGRAMING 2023COMP LESSON 2 - COMPUTER  PROGRAMING 2023
COMP LESSON 2 - COMPUTER PROGRAMING 2023
Charie Pincas
 
PRESENTATION OF students learning outcomes.pptx
PRESENTATION OF students learning outcomes.pptxPRESENTATION OF students learning outcomes.pptx
PRESENTATION OF students learning outcomes.pptx
hinabibi9
 
Lec 11 Programming Languages new upload.pptx
Lec  11 Programming Languages new upload.pptxLec  11 Programming Languages new upload.pptx
Lec 11 Programming Languages new upload.pptx
BilalNazeer13
 
Comso c++
Comso c++Comso c++
Comso c++
Mi L
 
Unit 12 section 1 - computer programming
Unit 12   section 1 - computer programmingUnit 12   section 1 - computer programming
Unit 12 section 1 - computer programming
dlwadsworth
 
Why-Kotlin definition to understand the use of kotin
Why-Kotlin definition to understand the use of kotinWhy-Kotlin definition to understand the use of kotin
Why-Kotlin definition to understand the use of kotin
sumanneupane23
 
Fundamentals of Programming language.docx
Fundamentals of Programming language.docxFundamentals of Programming language.docx
Fundamentals of Programming language.docx
bijayakumarsahoo22
 
Programming language (JGMNHS)
Programming language (JGMNHS)Programming language (JGMNHS)
Programming language (JGMNHS)
Katherine Gamboa
 
ICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.doc
ICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.docICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.doc
ICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.doc
AmanGunner
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & Languages
Gaditek
 
Ad

Recently uploaded (20)

AI Agents at Work: UiPath, Maestro & the Future of Documents
AI Agents at Work: UiPath, Maestro & the Future of DocumentsAI Agents at Work: UiPath, Maestro & the Future of Documents
AI Agents at Work: UiPath, Maestro & the Future of Documents
UiPathCommunity
 
fennec fox optimization algorithm for optimal solution
fennec fox optimization algorithm for optimal solutionfennec fox optimization algorithm for optimal solution
fennec fox optimization algorithm for optimal solution
shallal2
 
Bepents tech services - a premier cybersecurity consulting firm
Bepents tech services - a premier cybersecurity consulting firmBepents tech services - a premier cybersecurity consulting firm
Bepents tech services - a premier cybersecurity consulting firm
Benard76
 
Zilliz Cloud Monthly Technical Review: May 2025
Zilliz Cloud Monthly Technical Review: May 2025Zilliz Cloud Monthly Technical Review: May 2025
Zilliz Cloud Monthly Technical Review: May 2025
Zilliz
 
Developing System Infrastructure Design Plan.pptx
Developing System Infrastructure Design Plan.pptxDeveloping System Infrastructure Design Plan.pptx
Developing System Infrastructure Design Plan.pptx
wondimagegndesta
 
Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025
Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025
Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025
João Esperancinha
 
How to Install & Activate ListGrabber - eGrabber
How to Install & Activate ListGrabber - eGrabberHow to Install & Activate ListGrabber - eGrabber
How to Install & Activate ListGrabber - eGrabber
eGrabber
 
Smart Investments Leveraging Agentic AI for Real Estate Success.pptx
Smart Investments Leveraging Agentic AI for Real Estate Success.pptxSmart Investments Leveraging Agentic AI for Real Estate Success.pptx
Smart Investments Leveraging Agentic AI for Real Estate Success.pptx
Seasia Infotech
 
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
James Anderson
 
machines-for-woodworking-shops-en-compressed.pdf
machines-for-woodworking-shops-en-compressed.pdfmachines-for-woodworking-shops-en-compressed.pdf
machines-for-woodworking-shops-en-compressed.pdf
AmirStern2
 
Mastering Testing in the Modern F&B Landscape
Mastering Testing in the Modern F&B LandscapeMastering Testing in the Modern F&B Landscape
Mastering Testing in the Modern F&B Landscape
marketing943205
 
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
Lorenzo Miniero
 
IT484 Cyber Forensics_Information Technology
IT484 Cyber Forensics_Information TechnologyIT484 Cyber Forensics_Information Technology
IT484 Cyber Forensics_Information Technology
SHEHABALYAMANI
 
Challenges in Migrating Imperative Deep Learning Programs to Graph Execution:...
Challenges in Migrating Imperative Deep Learning Programs to Graph Execution:...Challenges in Migrating Imperative Deep Learning Programs to Graph Execution:...
Challenges in Migrating Imperative Deep Learning Programs to Graph Execution:...
Raffi Khatchadourian
 
IT488 Wireless Sensor Networks_Information Technology
IT488 Wireless Sensor Networks_Information TechnologyIT488 Wireless Sensor Networks_Information Technology
IT488 Wireless Sensor Networks_Information Technology
SHEHABALYAMANI
 
Artificial_Intelligence_in_Everyday_Life.pptx
Artificial_Intelligence_in_Everyday_Life.pptxArtificial_Intelligence_in_Everyday_Life.pptx
Artificial_Intelligence_in_Everyday_Life.pptx
03ANMOLCHAURASIYA
 
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Maarten Verwaest
 
Cybersecurity Threat Vectors and Mitigation
Cybersecurity Threat Vectors and MitigationCybersecurity Threat Vectors and Mitigation
Cybersecurity Threat Vectors and Mitigation
VICTOR MAESTRE RAMIREZ
 
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdfKit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Wonjun Hwang
 
Top 5 Benefits of Using Molybdenum Rods in Industrial Applications.pptx
Top 5 Benefits of Using Molybdenum Rods in Industrial Applications.pptxTop 5 Benefits of Using Molybdenum Rods in Industrial Applications.pptx
Top 5 Benefits of Using Molybdenum Rods in Industrial Applications.pptx
mkubeusa
 
AI Agents at Work: UiPath, Maestro & the Future of Documents
AI Agents at Work: UiPath, Maestro & the Future of DocumentsAI Agents at Work: UiPath, Maestro & the Future of Documents
AI Agents at Work: UiPath, Maestro & the Future of Documents
UiPathCommunity
 
fennec fox optimization algorithm for optimal solution
fennec fox optimization algorithm for optimal solutionfennec fox optimization algorithm for optimal solution
fennec fox optimization algorithm for optimal solution
shallal2
 
Bepents tech services - a premier cybersecurity consulting firm
Bepents tech services - a premier cybersecurity consulting firmBepents tech services - a premier cybersecurity consulting firm
Bepents tech services - a premier cybersecurity consulting firm
Benard76
 
Zilliz Cloud Monthly Technical Review: May 2025
Zilliz Cloud Monthly Technical Review: May 2025Zilliz Cloud Monthly Technical Review: May 2025
Zilliz Cloud Monthly Technical Review: May 2025
Zilliz
 
Developing System Infrastructure Design Plan.pptx
Developing System Infrastructure Design Plan.pptxDeveloping System Infrastructure Design Plan.pptx
Developing System Infrastructure Design Plan.pptx
wondimagegndesta
 
Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025
Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025
Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025
João Esperancinha
 
How to Install & Activate ListGrabber - eGrabber
How to Install & Activate ListGrabber - eGrabberHow to Install & Activate ListGrabber - eGrabber
How to Install & Activate ListGrabber - eGrabber
eGrabber
 
Smart Investments Leveraging Agentic AI for Real Estate Success.pptx
Smart Investments Leveraging Agentic AI for Real Estate Success.pptxSmart Investments Leveraging Agentic AI for Real Estate Success.pptx
Smart Investments Leveraging Agentic AI for Real Estate Success.pptx
Seasia Infotech
 
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
James Anderson
 
machines-for-woodworking-shops-en-compressed.pdf
machines-for-woodworking-shops-en-compressed.pdfmachines-for-woodworking-shops-en-compressed.pdf
machines-for-woodworking-shops-en-compressed.pdf
AmirStern2
 
Mastering Testing in the Modern F&B Landscape
Mastering Testing in the Modern F&B LandscapeMastering Testing in the Modern F&B Landscape
Mastering Testing in the Modern F&B Landscape
marketing943205
 
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
Lorenzo Miniero
 
IT484 Cyber Forensics_Information Technology
IT484 Cyber Forensics_Information TechnologyIT484 Cyber Forensics_Information Technology
IT484 Cyber Forensics_Information Technology
SHEHABALYAMANI
 
Challenges in Migrating Imperative Deep Learning Programs to Graph Execution:...
Challenges in Migrating Imperative Deep Learning Programs to Graph Execution:...Challenges in Migrating Imperative Deep Learning Programs to Graph Execution:...
Challenges in Migrating Imperative Deep Learning Programs to Graph Execution:...
Raffi Khatchadourian
 
IT488 Wireless Sensor Networks_Information Technology
IT488 Wireless Sensor Networks_Information TechnologyIT488 Wireless Sensor Networks_Information Technology
IT488 Wireless Sensor Networks_Information Technology
SHEHABALYAMANI
 
Artificial_Intelligence_in_Everyday_Life.pptx
Artificial_Intelligence_in_Everyday_Life.pptxArtificial_Intelligence_in_Everyday_Life.pptx
Artificial_Intelligence_in_Everyday_Life.pptx
03ANMOLCHAURASIYA
 
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Maarten Verwaest
 
Cybersecurity Threat Vectors and Mitigation
Cybersecurity Threat Vectors and MitigationCybersecurity Threat Vectors and Mitigation
Cybersecurity Threat Vectors and Mitigation
VICTOR MAESTRE RAMIREZ
 
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdfKit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Wonjun Hwang
 
Top 5 Benefits of Using Molybdenum Rods in Industrial Applications.pptx
Top 5 Benefits of Using Molybdenum Rods in Industrial Applications.pptxTop 5 Benefits of Using Molybdenum Rods in Industrial Applications.pptx
Top 5 Benefits of Using Molybdenum Rods in Industrial Applications.pptx
mkubeusa
 
Ad

Programming lesson1

  • 2. What is Programming? Programming is a creative process done by programmers to instruct a computer on how to do a task. Programming is instructing a computer to do something for you with the help of a programming language.
  • 3. What is a Program?  In computing, a program is a specific set of ordered operations for a computer to perform. In the modern computer that John von Neumann outlined in 1945, the program contains a one-at-a-time sequence of instructions that the computer follows. Typically, the program is put into a storage area accessible to the computer. The computer gets one instruction and performs it and then gets the next instruction.
  • 4. What is a Programmer? A programmer is a person who prepares instructions for computers.
  • 5. A programmer needs to develop a welldefined concept of how to solve a problem. Then this concept must be translated into a computer language. Finally, the program needs to be typed into the computer, tested, and debugged before being placed into service.
  • 6. What is a Programming Language? Programming Language is a language used to give instructions to computers.
  • 7. During the 1960s and 1970s, a huge variety of programming languages were developed, most of which are no longer in wide use. Moreover, a substantial amount of programming is now done with special program development tools (e.g., Visual Basic), or in programming languages that pertain to specific pieces of software (e.g., Maple) rather than by simply writing instructions in a general-purpose language.
  • 8. The following is a rough classification of programming languages. 1. General-purpose languages for large, complex programs: PL/I, C, C++, Pascal, Modula-2, Ada, Java, C#. 2. General-purpose languages for smaller programs: BASIC, Visual Basic, Pascal, Python. 3. Mathematical calculation, science, and engineering: FORTRAN, APL, Maple, and the general-purpose languages named above. 4. Business data processing: COBOL, RPG. Where microcomputers are involved, BASIC, C, and languages associated with specific database products are also widely used. 5. Artificial intelligence and programs of extreme logical complexity: Lisp and Prolog. 6. String handling and scripting: SNOBOL, REXX, Awk, Perl, Python, VBSCRIPT, JavaScript.
  • 9. Another useful classification is based on the way the program is organized. 1. Sequential languages treat the program as a series of steps, with an occasional GOTO statement as a way of breaking out of the sequence. In this category are FORTRAN, BASIC, and COBOL(though COBOL also allows programs to be written in a style more like a block-structured language).
  • 10. 2.Block-structured languages encourage structured programming by allowing the programmer to group statements into functional units. This category originated with Algol and now includes Pascal, Modula-2, C, PL/I, and Ada.
  • 11. Structured Programming?  Structured programming is a programming technique that emphasizes clear logic, modularity, and avoidance of GO TO statements (which are intrinsically errorprone).  Structured programming is a style of programming designed to make programs more comprehensible and programming errors less frequent.
  • 12. 3.Object-oriented languages allow the programmer to define new data types and associate procedures with them. Languages of this type include C++, Java, C#, object-oriented extensions of Pascal, and Smalltalk.
  • 13. 4.Symbolic languages allow the program to examine and modify itself, treating instructions as data. Lisp and Prolog fall into this category.
  • 14. Although names of some programming languages are normally written in all capital letters, names of most languages are not, even if they are acronyms. Usage varies from language to language. With some, usage has shifted over the years.
  • 15. BASIC?  BASIC (Beginner’s All-purpose Symbolic Instruction Code) a computer language designed by John Kemeny and Thomas Kurtz in 1964 and popularized by Microsoft in the 1970s.  BASIC is good for programming simple calculations quickly, and you do not have to learn much of the language in order to begin using it.  Because no declarations are required, programs can be quite short.
  • 16.  In the 1970s and 1980s, numerous software vendors, especially Microsoft, added features to BASIC to support STRUCTURED PROGRAMMING and a wide variety of DATASTRUCTURES. Today, BASIC is one of the most complex programming languages in wide use, incorporating features from Pascal, FORTRAN, and C. Line numbers are no longer necessary.  However, BASIC is still easy for beginners to use, and the newest BASIC compilers still accept programs written in Kemeny and Kurtz’s original language.
  • 17. BASIC program and its output 10 REM Temperature conversion program 20 PRINT ”Temperature in Fahrenheit”; 30 INPUT F 40 LET C=(F-32)*5/9 50 PRINT F;” F equals ”; 60 PRINT C;” C” 70 END Temperature in Fahrenheit? 98 98 F equals 36.66667 C
  • 18. VISUAL BASIC?  One of the first successful interactive development environments for Windows programming, introduced by Microsoft in 1991.  Programmers can lay out the program’s windows graphically and write BASIC code to specify what happens when each button is clicked or other events occur.  Any part of the layout or code can be changed at any time.  Unlike in earlier Windows programming environments, the programmer need not write any general code to initialize windows, handle events, or interact with the operating system.
  • 19. The current version is called Visual Basic .NET or VB.NET and uses the .NET Framework for fully object-oriented programming. Similar products for other programming languages include Microsoft’s Visual C++ and Visual C# and Borland’s Delphi and Kylix (for Pascal), JBuilder (for Java), and C++ Builder.
  • 21. .NET Framework?  An application program interface (API) for Microsoft Windows, introduced in 2001 as a downloadable add-on to Windows 2000 and XP and included in subsequent versions of Windows.  The purpose of the .NET Framework is to reduce the amount of work programmers have to do, while at the same time increasing reliability and introducing Java-like portability.  The .NET Framework is fully object-oriented.  The .NET Framework manages the memory used by each program.  Like Java, the .NET Framework normally compiles programs into bytecode, a concise notation that is converted to machine language when the program is ready to run.
  • 22. Bytecode? Bytecode is the compiled code that compilers for Java and C# produce. It isn't true machine code but a simpler code made up of instructions that are one byte long.
  翻译: