



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




create an algorithm for accomplishing a given objective, then translate the individual steps of the algorithm into a programming language that the computer can understand
a machine language consists of instructions that correspond directly to the hardware operations of a particular machine i.e., instructions deal directly with the computer’s physical components including main memory, registers, memory cells in CPU very low level of abstraction machine language instructions are written in binary programming in machine language is tedious and error prone code is nearly impossible to understand and debug
interpretation compilation
for example, we could reimplement the lucky number page using a text box
the text box containing the random number is embedded in the page
doesn't require the user to close the alert window after each number
the TYPE attribute of the INPUT element identifies the element to be a text box the NAME attribute gives the element a name so that it can be referenced the SIZE attribute specifies the size of the box (number of characters that fit) the VALUE attribute specifies text that initially appears in the box
the user enters the Fahrenheit temperature in a text box at the click of a button, the input is accessed and converted to Celsius another text box is used to display the converted temperature
note: the same text box can be used for both input and output
can modify the conversion page to allow for entering a temperature in either box, then convert to the other
can write a simple page in which the user can enter a number, then double it by clicking a button