Loading presentation...

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.

DeleteCancel

Unit 6: P1 & P2 by sarah wong

No description
by

on 8 December 2014

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Unit 6: P1 & P2 by sarah wong

Types of programming Languages
Introduction
For this presentation that i will be able to exaplain what a program language is and what a computer program is. I will also will be able to explain what
To do this i will use P.E.E (Point, Evidence and Explanation) to achieve P1 and P2. The key skill that i will be using is "using resources" and from the PQCS i will be using "summarize."
This presentation will be long however i will try my best to go through quickly.
What is a programming paradigm?
Programming language
The programming language is used by computer language programs to communicate instructions to another hardware e.g. a computer.
it is also used to develop applications,scripts, or any other set of instructions that the programmer has put for a computer to execute.
they are also designed by computer scientist to express agorithm.
This is an example of programming language.
Computer programs is a set of instructions that allows the computer to process the data and information that is given.
computer programs are usually written to make life more easier, safer or more fun to the users.
it depends on what you want to use it for such as if you want to play games like launching comical birds as missles on your smart phone, or air traffic control system, to allow your local GP to manage your health records efficiently. everything you do on your smart phone or computer all needs programming to handle them.
Computer programs
Flowchart
Programming paradigms
A programming paradigm provides for the programmer the means and structure for the execution of a program.
Some languages make it easy to write in some paradigms while not others.

Event driven programming
event driven programming is a programming paradigm in which the flow of the program is determined by events such as when clicking on an icon, the window of that icon will show.
Applications: Good for designing of software's and applications.
Limitations: it is hard to conrtrol, time consuming to get event loops and event handlers running.
object oriented programming
Object oriented programming is a programming paradigm that shows programming idea as "objects"

procedural programming
procedural programming is a set of instructions which tells the computer what the user wants them to do and tells them in step by step so the computer will understand.
Applications: procedural programming is used to solve difficult scientific and engineering problems that we human can't do such as calculating the relationship between wave spped, frequency and wavelength.
Limitations: one of the problems that procedural programming has is that for programmers, when better methods of solving a problem have been developed, it is difficult to modify once it has been altered.
Examples of object oriented programming

P1:Describe the application and limits of procedural, object oriented and event driven programming paradigms

P2:Describe the factors influencing the choice of programming language

Reasons for choice of language
There are many choices of language in the IT industry and those are:
- Reliability
- Avaliability of trained staff
- Cost
- maintainence


Examples of event driven programming
procedural programming
By Sarah Wong
Delegate event model. "clickme" is the event source –a button in this example–, and it contains a list of listeners
This calculator is an example of event driven programming because the calculator has to deal with many "triggers." It contains numbered buttons, function buttons, drop down menus, radio buttons, check boxes and window movements. There is also the code to run each event that is "triggered".
List of common paradigms
Procedural — Imperative programming with procedure calls.

Object-Oriented — Computation is effected by sending messages to objects; objects have state and behavior.

Event-Driven — Control flow is determined by asynchronous actions (from humans or sensors).
Unit 6: software design and Development

Applications: Object oriented programming makes it easy to maintain and modify excisting code as new objects can be created with small differences to existing ones.
Limitations: Some implementations such as "C++" make it too complicated and obscure for programmers to handle.
Reliability
Avaliability of trained staff
Cost
Expandability
- Won't crash as often as before
- you won't lose your work
- If the program has the requred features you need to create the program you have ben planning
- they know how to use a certain program
- company will be more confortable with the programs their staff knows
Syntax
Algorithm
In simple terms, algorithm basically is a step by step problem-solving procedure.
To make the computer do anything you want, you will have to write a computer program.
But to write a computer program you have to tell the computer step by step exactly what you want it to do or it won't do anything.
When you are telling the computer what to do, you also get to choose how it's going to do it.
The syntax of a language tells us it's grammar rules. When it comes to programming, the computer doesn't know what you just typed because they were programmed to execute with words that doesn't seems farmillar to the modern world but instead it will give you error messages for just small, simple mistakes.
(for example if you see your workbook full with green pen with all the correct wordswritten in green, it either mean you spelled it wrong or grammar mistake)
-Cost is important because that determines how much you can develop
-Different programming languages take different amounts to program on
-You would need to see how reliable it is so your money doesnt go to waste.
- Determines how many users will use your program
-Use a program which can handle a large amount of users
-Some programming langauges can't have to many users like BBC Basic
-Visual Basic can take many users.
Full transcript