270 likes | 999 Views
Computer Languages. )(*&)*(%&$#@!!+_)(*&^%$. C. omputer language is what machines use to communicate with each other. T. he simplest language is called “Machine Language.” Also called “binary,” it looks like this:. 000000 00001 00010 00110 00000 100000 01010 10101 01101 0001. T.
E N D
Computer Languages )(*&)*(%&$#@!!+_)(*&^%$
C omputer language is what machines use to communicate with each other.
T he simplest language is called “Machine Language.”Also called “binary,” it looks like this: 000000 00001 00010 00110 00000 100000 01010 10101 01101 0001
T he simplest language is called “Machine Language.”Also called “binary,” it looks like this: ..means the letter “K” in machine language. 000000 00001 00010 00110 00000 100000 01010 10101 01101 0001
000000 00001 00010 00110 00000 100000 01010 10101 01101 0001 That’s right. When you hit the letter K on your keyboard, all this binary code is sent to the computer and a K pops up on your screen.
C 001000 10001 01010 00110 00000 100000 01010 10101 01101 0001 01101 00011 11 00 10110 00011 01000 11000 0101 10101 00111 01111 01000 0001 00111 001000 001100 ompter language is hard to read! 001000 10001 01010 00110 00000 100000 01010 10101 01101 0001 01101 00011 11 00 10110 00011 01000 11000 0101 10101 00111 01111 01000 0001 00111 001000 001100 001000 10001 01010 00110 00000 100000 01010 10101 01101 0001 01101 00011 11 00 10110 00011 01000 11000 0101 10101 00111 01111 01000 0001 00111 001000 001100
S o programmers use a translation tool called an “Assembly Language” that uses names instead of numbers that is more user friendly.
F or instance, when a programmer types “mov al, 061h” it means move the hexadecimal value 61 (97 decimal) into the processor register with the name "al".
T hat’s easier than typing thousands of 1’s and 0’s, but it’s still very difficult for all but the most Hard Core nerds to comprehend.
H igher-level language translates still further complex *p = NULL; abs_p = sqrt (p->real * p->real + p->im * p->im); asc_^ x = [n/> 01] Beginning to recognize some words?
T he computer language you are learning is called HTML. They are known as “4th generation” higher-level languages because they are at least 4 steps above machine language…
E very keystroke of a 4G language contains thousands of bits of information.
O f course, the ultimate goal is a language that approximates human words allowing us to speak our instructions directly into the computer. Then we’re all doomed. -Sarah Connor
Inline styles • Inline styles are HTML codes that that change the elements in a page. • HTML supports six heading styles, numbered h1 through h6. • The code might look something like this: <h1> Millendez's Math Class </h1> • h1 is really big, h6 is really small…
Inline styles • Use inline styles to align your web page element: • The code might look something like this: <h1 style =“text-align: center”> Millendez's Math Class </h1> <h2 style =“text-align: center”> at New Technology High School </h2> <h2> Math Classes </h2> <h2> Class Policies </h2> <h3> Grading </h3> <h3> Appointments </h3> <h3> Safety </h3>
Elements • Web Page Elements are important to understand because you can assign “attributes” to them. • The code might look something like this: <p id=“title”> High School </p> • “title” is the attribute that will be applied to all the content contained within the tags. • “Quotation Marks” are required for attribute values.