11

OCR Cambridge Nationals in ICT (Level 1/2)

  • Upload
    majed

  • View
    50

  • Download
    0

Embed Size (px)

DESCRIPTION

OCR Cambridge Nationals in ICT (Level 1/2). R008 Introduction to Computer Programming. Introduction. Computer programs are used to run most electronic devices in the modern world. They are used in: games phone and tablet applications domestic appliances life-support systems - PowerPoint PPT Presentation

Citation preview

Page 1: OCR Cambridge Nationals in ICT (Level 1/2)
Page 2: OCR Cambridge Nationals in ICT (Level 1/2)

OCR Cambridge Nationals in

ICT(Level 1/2)

R008Introduction to

Computer Programming

Page 3: OCR Cambridge Nationals in ICT (Level 1/2)

Computer programs are used to run most electronic devices in the modern world.

IntroductionIntroduction

They are used in:

•games

•phone and tablet applications

•domestic appliances

•life-support systems

•transportation

•security systems, and much more.

Page 4: OCR Cambridge Nationals in ICT (Level 1/2)

One of the most popular areas of programming is the development of applications for use on mobile devices such as smartphones and tablets.

AppsApps

There are now more than 200,000 apps for the iPad and

over half a million for the iPhone.

This is a growth market with great opportunities.

Page 5: OCR Cambridge Nationals in ICT (Level 1/2)

With the increased use of interactivity on websites, mobile devices and eLearning products, the development of games is a huge area.

GamesGamesPrograms like Scratch, Game-maker and Games Factory allow young people to begin writing their own games quickly and easily.

Page 6: OCR Cambridge Nationals in ICT (Level 1/2)

WebsitesWebsitesMany modern websites use programming languages such as XML, PHP, Ajax, Javascript and HTML 5 to add quizzes, photo galleries, animation, games and video to their pages.

This makes for a much more engaging visit as the website becomes something of a showcase for the organisation.

Page 7: OCR Cambridge Nationals in ICT (Level 1/2)

Before the programming can begin, there needs to be an analysis.

AnalysisAnalysis

This includes deciding the best language to use and what input

and output is required.

Flow diagrams and design plans will help to get ideas on

paper and make sure the finished item is fit for purpose

and works as it should.

Page 8: OCR Cambridge Nationals in ICT (Level 1/2)

There are many programming languages and the choice of which is best will depend on the programto be written.

LanguagesLanguages

Object-oriented (VB, VBA, iphone Apps), procedural (Basic) and scripting languages (Action Script, JavaScript) are all different and will produce different types of program.

Page 9: OCR Cambridge Nationals in ICT (Level 1/2)

Writing the program involves the use of constants, variables, operators, calculations and loops within the many lines of code.

TestingTestingIt is essential that the program is tested for errors. Programs that crash, freeze and unexpectedly shut down are useless and not suitable for purpose.

A test plan is essential for success.

Page 10: OCR Cambridge Nationals in ICT (Level 1/2)

You will learn…You will learn…

How to produce acomputer program.

How to plan and deliver a successful program.

How to write and check computer code for accuracy.

How to test for problems and errors.How to decide on the best

language to use.How to use functions, variables

and constants.

Page 11: OCR Cambridge Nationals in ICT (Level 1/2)

Thank you for usingthis OCR resource

Other OCR resources are available at www.ocr.org.uk

To give us feedback on, or ideas about, the OCR resources you have used e-mail [email protected]