Unit 1 Programming, OTHM Level 4 Diploma in Information
Assignment
Scenario
You have recently joined in an academic programme to learn more about programming. You have learnt a few programmes. Your teacher has now given you a number of tasks to complete.
Task 1 - Essay Instructions
Explain the concept of an algorithm and describe common algorithmic techniques and solutions.
Create a flow chart from the following algorithm. Step 1: Input VALUE1, VALUE
Step 2: if (VALUE1 > VALUE2) then
MAX VALUE1
else
MAX VALUE2
endif
Step 3: Print "The largest value is", MAX
Describe computer programming principles.
(LO1, AC1.1, AC1.2, AC1.3)
Summarise the historical development of computer programming since 1980s.
Explain the major components of a programming language of your choice.
Compare the strengths and limitations of modern computer programming languages.
Task 2 - Presentation and speaker notes
You are asked to present in the class to demonstrate your understanding of the basics of an Object-oriented Programming language.
Instructions
You start your presentation by explaining the benefits of Object-oriented design and an evaluation of when to use Object-oriented design methodology.
Then you explain how objects are used in Object-oriented programming and the steps in creating an Object-oriented program using your chosen language.
Then explain the impact of style on developing and maintaining programs.
You finish your presentation by explaining how to compile a program and debug codes using your chosen language.
Using an OOP language involving multiple objects, design a Snake game that allows users to control the movement of a snake on a screen, to get points for eating food and avoiding running into the walls or the growing tail of the snake itself. In developing the game ensure you use the best software development practice. Finally, implement, test and debug the game.
Learning Outcomes- The learner will: Assessment Criteria- The learner can:
1. Understand the basic principles of algorithms. Explain the concept of an algorithm.
Describe common algorithmic techniques and solutions.
Create a flowchart from an algorithm.
2. Understand the basic principles of computer programming. Describe computer programming principles.
Summarise the historical development of computer programming.
Explain major components of a programming language.
Compare the strengths and limitations of modern computer programming languages.
3. Understand the basics of an Object- oriented Programming language. Explain the benefits of object oriented design.
Evaluate when to use Object-oriented design methodology.
Explain how objects are used in Object- oriented programming.
Explain the steps in creating an Object- oriented program.
Explain how to compile a program and debug codes.
4. Be able to code and compile software using a choice of object- oriented Programming language. 4.1 Design object oriented programs involving multiple objects. 4.2 Explain the impact of style on developing and maintaining programs.
4.3 Develop programs using best practice.
4.4 Implement, test and debug solutions.