X

Download Program Language PowerPoint Presentation

SlidesFinder-Advertising-Design.jpg

Login   OR  Register
X


Iframe embed code :



Presentation url :

Home / Education & Training / Education & Training Presentations / Program Language PowerPoint Presentation

Program Language PowerPoint Presentation

Ppt Presentation Embed Code   Zoom Ppt Presentation

PowerPoint is the world's most popular presentation software which can let you create professional Program Language powerpoint presentation easily and in no time. This helps you give your presentation on Program Language in a conference, a school lecture, a business proposal, in a webinar and business and professional representations.

The uploader spent his/her valuable time to create this Program Language powerpoint presentation slides, to share his/her useful content with the world. This ppt presentation uploaded by slidesfinder in Education & Training ppt presentation category is available for free download,and can be used according to your industries like finance, marketing, education, health and many more.

About This Presentation

Program Language Presentation Transcript

Slide 1 - 1 CS101 Introduction to ComputingLecture 19Programming Languages
Slide 2 - 2 During the last lecture … We continued our discussion on algorithms that we had started during the 16th lecture In particular, we looked at the building blocks that are used in all algorithms We also discussed the pseudo code and flowcharts for particular problems In addition, we outlined the pros and cons of those two techniques
Slide 3 - 3 Last time we discussed what to implementToday we are going to discuss the tool that is used to implement SW
Slide 4 - 4 Today’s Lecture To understand the role of programming languages in computing To understand the differences among low- & high-level, interpreted & compiled, and structured & object-oriented programming languages
Slide 5 - 5 Programming?
Slide 6 - 6 The process of telling the computer what to doAlso known as coding
Slide 7 - 7 Types of Programs?
Slide 8 - 8 Batch Programs These are typically started from a shell (or automatically via a scheduler) and tend to follow a pattern of: Initialize internal data Read input data Process that data Print or store results Key feature: No user interaction with the computer while the program is running Examples?
Slide 9 - 9 Event-Driven Programs Examples? GUIs, microwave, camera The system sends events to the program and the program responds to these as they arrive. Events can include things a user does - like clicking the mouse - or things that the system itself does - like updating the clock. These programs generally work as follows: Initialize the internal data Wait for events to arrive Identify an incoming event and react accordingly
Slide 10 - 10 ProgrammingLanguage?
Slide 11 - 11 A vocabulary and set of grammatical rules for instructing a computer to perform specific tasks
Slide 12 - 12 All programs consists of: Sequence of instructions Conditionals Loops These may contain: Data Input/output (print, etc) Operations (add, divide, etc)
Slide 13 - 13 Examples of ProgrammingLanguage?
Slide 14 - 14 Machine LanguageAssembly Language (1956-63)LISP (1956)Fortran (1957)COBOL (1959)PL/1(1964)BASIC (1964)Pascal (1970)Smalltalk (1972)C (1972) Ada(1983) C++ (1983-85) QBasic (1986)Perl (1987)VisualBasic (1991)PowerBuilderJava (1995)JavaScriptC# (2001)
Slide 15 - 15 Is HTML a programming language?
Slide 16 - 16 Types ofProgramming Languages?
Slide 17 - 17 High level Programming LanguagesLow Level Programming Languages
Slide 18 - 18 High-level programming languages, while simple compared to human languages, are more complex than the languages the uP actually understands, called machine languagesEach different type of uP has its own unique machine language
Slide 19 - 19 Lying betweenmachine languages&high-level languagesare languages calledassembly languages
Slide 20 - 20 Assembly languages are similar to machine languages, but are easier to program in as they allow a programmer to substitute names for numbersMachine languages consist of numbers only
Slide 21 - 21 4th-generation languages High-level languages Assembly languages Machine languages
Slide 22 - 22 walks!
Slide 23 - 23 Regardless of what language you use, you eventually need to convert your program into a language that the computer can understandTwo ways for doing that: compile the program or interpret the program
Slide 24 - 24 Interpreter is a program that executes instructions written in a high-level languageAn interpreter translates high-level instructions into an intermediate form, which it then executesIn contrast, a compiler translates high-level instructions directly into machine language
Slide 25 - 25 Compiled programs generally run faster than interpreted programsThe advantage of an interpreter, however, is that it does not need to go through the compilation stage during which the whole of the high-level code is translated into machine instructions in one go. This process can be time-consuming if the program is long. The interpreter can immediately execute high-level programs, without waiting for the completion of the translation process
Slide 26 - 26 Interpreters:Immediate response,butexecute code slowlyCompilers:Takes longer to compile,butsuper-fast execution
Slide 27 - 27 Both interpreters and compilers are available for most high-level languages. However, BASIC and LISP were especially designed to be executed by an interpreter
Slide 28 - 28 Why are there so many different programming languages?
Slide 29 - 29 What is the difference between them?
Slide 30 - 30
Slide 31 - 31 What are the advantages of particular languages?
Slide 32 - 32
Slide 33 - 33 The question of which language is best is one that consumes a lot of time and energy among computer professionals Every language has its strengths and weaknesses
Slide 34 - 34 FORTRAN is a particularly good language for processing numerical data, but it does not lend itself very well to large business programs Pascal is very good for writing well-structured and readable programs, but it is not as flexible as the C programming language C++ embodies powerful object-oriented features, but it is complex and difficult to learn
Slide 35 - 35 The choice of which language to use can also depend on the:type of computer the program is to run on,and theexpertise of the programmer
Slide 36 - 36 Can a single language have all the good bits of other languages?
Slide 37 - 37 Do some good features force a language to also have bad features?
Slide 38 - 38 What makes a feature good or bad?
Slide 39 - 39 Is there a perfect language?
Slide 40 - 40 Is there a perfect language for a particular task?
Slide 41 - 41 What changes in the field of computer languages can we expect in the near future?
Slide 42 - 42 Which programming language should you learn?Should you learn more than one?
Slide 43 - 43 ? Programming SWDevelopment
Slide 44 - 44 SWDesignMethodology?
Slide 45 - 45 The set of (often flexible) rules and guidelines a team of developers follow to construct reasonably complex SW systems
Slide 46 - 46 Object Oriented Design (1) OO SW is all about objects: a black box which receives messages & responds with those of its own An object has 2 aspects: State, also termed as properties, data Example: For the bicycle: color, speed, pressure Behaviors, also termed as methods, instructions Example: For the same object: accelerate(), inflate() In traditional design, these 2 aspects have been kept apart
Slide 47 - 47 Object Oriented Design (2) The designer starts with any component (object) of the system; designs it as an independent, self-contained system, and then moves to the design of some other component The over-all system is put together by fitting together a collection of these components Key feature: Details of the design of the component are kept independent of the over-all system Benefit: It can be easily re-used in other systems: design once; use multiple times
Slide 48 - 48 Structured Design (1) Also called top-down design The designer starts by first conceiving a skeleton high-level design of the system, and then starts defining features of that over-all design in an ever-increasing detail Making small changes in the functionality of the systems sometimes leads to major re-design exercise
Slide 49 - 49 Structured Design (2) Structured design emphasizes separating a program's data from its functionality Separating data from functionality typically leads to SW that is difficult to maintain & understand - especially for large SW systems
Slide 50 - 50 Object-Oriented Languages Programming languages specifically designed to make it easy to implement object-oriented designs Examples: Smalltalk, C++, Java
Slide 51 - 51 Reading Material Programming Languages http://www.wikipedia.com/wiki/Programming_language What is Object-Oriented Software? http://catalog.com/softinfo/objects.html VisualBasic: Taming the Wooly Mammoth http://computer.org/software/so2000/pdf/s3016.pdf
Slide 52 - 52 During Today’s Lecture, We … To understand the role of programming languages in computing To understand the differences among low- & high-level, interpreted & compiled, and structured & object-oriented programming languages
Slide 53 - 53 Focus of the Next Lecture:The SW Development Process Development process of reasonably complex SW systems does not consist of “coding” only We will become familiar with the various phases of the process that developers follow to develop SW systems of reasonable complexity