The MTA program provides an appropriate entry point to a future career in technology.
Speaking the Language
We use a formal language to communicate with a machine in programming,. If you don’t follow the rules of the language(syntax), your program will not run as you expect. It can be a very frustrating experience to have to look for mistakes – usually called ‘bugs’.
Most importantly, please don’t be put off if you do make mistakes. Many people find the mistakes, work out why they are mistakes and correct them. This mostly forms a very valuable – and even enjoyable – learning experience. Moreover, you might find it helpful to keep a record of any mistake you make, and how it is corrected. This can be for your future reference. You can think of the syntax of a language as its grammar. Programming languages also have vocabulary and meaning just like natural (spoken) languages.
We have provided working code for all the activities you’ll be attempting. As a last resort, you may look at and run it yourself. However, learning to program is a bit like learning to ride a bicycle. Your learning will be extremely limited if you simply observe what other people have done. In order to really understand how to program, you have to write your own programs (albeit with a little help from us).
In fact, it can be an intensely satisfying, rewarding and creative experience to write a program which behaves in exactly the way you wish it to. It is now time to introduce you to this experience.
In this section, you will be writing some simple programs.To enable you (or some other user) to input data via the mouse and keyboard. And also,perform some simple processing on the data and then display the results of the processing.
- data types and functions
- implement and analyze decisions and loops
- interact with the Document Object Model (DOM)
- interact with HTML forms, and more.
This is a second-semester web development course. Learners should already be familiar with HTML and CSS.