Machine+code

Computers don't actually understand the programming languages which we write. They understand machine code. Technically it looks like this (actually it looks like binary but that becomes impossible to read)



Although it can be translated into assembly code like this (still very hard to understand)



media type="custom" key="23592892"

Questions
1. Machine code: A is easier to understand than high-level language code B uses normal English words C needs to be translated before it can be executed D does not need to be translated before it is executed

2. A program which translates an entire high-level language program into a machine code file is: A a compiler B an interpreter C a text editor D an algorithm

3. A program which translates high-level language code into machine code, running each line as soon as it is translated is: A a compiler B a text editor C an interpreter D an algorithm

4. Translators are required to translate high-level language programs into machine code. Which type of translator translates the whole program before any execution takes place?

5. What type of programming language would be most suitable for automating a complex series of steps in a database package?

6. In pairs, decide on two different modern programming languages that you will research. Individually at first, research and write a report comparing these two programming languages, looking at factors such as purpose, key features, interface and impact on environment or society. After completing this report, swap with your neighbour, noting any information your neighbour has found that you can add to your report and give your partner feedback on anything they might have missed that you found out. Be prepared to give feedback to the rest of your class on the languages you both researched.

7. Take the report you produced in question 6 and add some further detail regarding how each language represents standard constructs and the range of data types provided. You should also compare the editing features of the languages and describe how the high-level code is translated and executed.