Reference no: EM133031010
A/617/2265 Programming Foundations - OTHM Level 4 Diploma In Information Technology
The aim of this unit is to give learners a basic understanding of Object-oriented programming languages and how to produce effective code. It also enables technical staff who are not programmers to gain a perspective of software development. The course is language neutral and teaches general concepts.
Learning Outcome 1: Understand the basic principles of algorithms.
1.1 Explain the concept of an algorithm.
1.2 Describe common algorithmic techniques and solutions.
1.3 Create a flowchart from an algorithm.
Learning Outcome 2: Understand the basic principles of computer programming.
2.1 Describe computer programming principles.
2.2 Summarise the historical development of computer programming.
2.3 Explain major components of a programming language.
2.4 Compare the strengths and limitations of modern computer programming languages.
Learning Outcome 3: Understand the basics of an Object-oriented Programming language.
3.1 Explain the benefits of object oriented design.
3.2 Evaluate when to use Object-oriented design methodology.
3.3 Explain how objects are used in Object-oriented programming.
3.4 Explain the steps in creating an Object-oriented program.
3.5 Explain how to compile a program and debug codes.
Learning Outcome 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.
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
a. Explain the concept of an algorithm and describe common algorithmic techniques and solutions.
b. Create a flowchart from the following algorithm.
Step 1: Input VALUE1, VALUE2
Step 2: if (VALUE1 > VALUE2) then
MAX VALUE1
else
MAX VALUE2
endif
Step 3: Print "The largest value is", MAX
c. Describe computer programming principles.
d. Summarise the historical development of computer programming since 1980s.
e. Explain the major components of a programming language of your choice.
f. 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
a. You start your presentation by explaining the benefits of Object-oriented design and an evaluation of when to use Object-oriented design methodology.
b. Then you explain how objects are used in Object-oriented programming and the steps in creating an Object-oriented program using your chosen language.
c. Then explain the impact of style on developing and maintaining programs.
d. You finish your presentation by explaining how to compile a program and debug codes using your chosen language.
Task 3
Your lab instructor has given you a programming task in this semester.
Instructions
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.
Attachment:- Programming Foundations.rar