Website Security Test
11.12.2013

Ask the Teacher - 11th December 2013

Question: To what extent is assembly language an efficient method for producing computer programs?
 
Answer:  That depends on how you define efficiency. Producing a program in assembly language, if done well, could be more efficient than code written using a high level language. The issue is that the time to write the program would be far greater than using modern, high level languages. So from a time point of view it is less efficient.
 
Question: Can a laptop be used if the battery is not in?
 
Answer: Yes, but a laptop does need a source of power e.g. a power cable. If the battery is taken out but the power cable is plugged in the laptop will usually still work. Have a look at the laptops in electrical retailers, they usually take the batteries out and leave them plugged into a power source all day.
 
Question: How many pixels does any image consist of?
Answer: The number of pixels in an image is not a fixed parameter, it is relative to several different factors. There are a lot of things to consider for this answer e.g. how big the image is and the resolution of the image.
 
Question: What is a CPU?
Answer: The CPU stands for the Central Processing Unit, it is a microchip inside your computer that processes lists of instructions and data. Two typical components of a CPU are the arithmetic logic unit (ALU), which performs arithmetic and logical operations, and the control unit (CU), which extracts instructions from memory and decodes and executes them.
Website Security Test