Stanford CS Midterm 1
1 / 110
Term:
Definition:
Show example sentence
Show hint
Keyboard Shortcuts
  • Previous
  • Next
  • F Flip card

Complete list of Terms and Definitions for Stanford CS Midterm 1

Terms Definitions
WAN Wide Area Networks (connects states, nations or even continents)
Ordered Lists start tag list item
Adjusting tables colspan (to make a cell span more than a single column)(use with td or th)rowspanwidth/height of cell (use with th or td or tr)
Hostnames An alternate naming scheme supported by application level programs ex: www.whitehouse.gov A computer can have multiple hostnames (usually only one) Converted into IP number by computer  
multi-column w/ header header can be made in body before <table> w/ <h1 align="center"><font size="" face="">...</h1> or an image can be added, but use the <div> tag to center!! <div align="center"> <img scr="blah.gif" alt="blah"></div>
Colors 16 standard colors for HTML; 16.7 million custom colorscreated w/ hexidecimals Red, Green, Blue
Absolute Reference Specify the name of the protocol, the name of the webserver and the name of the file which the web browser should retrieve
Cache Memory Small amount of memory that is even faster than main memoryStores information that is frequently accessed
Multiprocessing Used to overcome the processor bottleneck\Break down the problem our computer is working on into separate tasks which can be executed by multiple processors working simultaneously
Processing CPU is bottleneck which limits the overall performance of the computerMain CPU and other processor specifically for graphics
Software Application Software and System Software
Adding background images <body background="images/background.gif">...</body> browser repeats pattern, vertically...so play w/ gif
GIF 256 color maximumeffect of watching a movie by stringing many images together into a single filelossless
Background for webpage The <body> tag has a background attribute that allows to set image as background of body; if not big enough, repeats!
Computer language formal language that defines how humans communicate with a computer
LAN Local area networks (small)
Client/Server Model of computing Two different types of computers participate: client computers and server computers Client comps: multi-purpose Server comps: dedicated single-purpose; sends webpages to client comps upon request
Relative Reference Used to create links between files which are located on the same webserverIt assumes that the webpage referred to is found at the same location as the current webpage
Main Computer Memory RAM stores information on computer chips using a series of electronic switches.Switches are either turned on or offInformation in main memory is lost when the computer is turned off.Main computer memory is relatively expensive.
List Types UnorderedDefinitionNumbered
Application Software Programs used for productivity or entertainment purposes
Program Execution CPU can only execute instructions that are in main memoryInstructions copied onto main computer memory from hard diskSaving--copies current data specific to task onto hard disk
Link Destinations
Image Formats JPEG- PhotographsGIF- Non-photographic imagesPNG- Non-photographic images (more advanced)
WAN Wide Area Networks (connects states, nations or even continents)
T1, T3, OC3, OC12 Other types of connections
Headers Consists of a header type followed by a colon ':' followed by a corresponding value
Absolute vs. Relative References Relative references make a website more portable
Virtual Memory Extends the amount of apparent main memory by using a section of the hard disk which acts as if it were additional main memoryCPU can only access information in main memoryAllows us to run more programs at once than we would normally be able to
Creating a relative reference to a file in another folder Example:.../index.html
Address Reference number for each individual byte
ROM Read Only MemoryInformation cannot be changedSwitches have been glued either on or offNegligible compared to RAMModern ROM can be changed (Flash ROM)Contents are still kept when the computer is turned off
Hardware- Processing Central Processing Unit; responsible for carrying out the instructions contained in a computer program
Blank Space (vertical) empty <td> w/ specified heighth
Internet Protocol Layers Application layerTransport layerNetwork layerPhysical/Data layer
Debugging Getting rid of bugs/errors so source code can validate and work properly
Tags HTML tags tell the computer how to display a webpage. They often work in pairs Start tag <> End tag </> Start & end tags create a container for text  
Ethernet Slightly oversized telephone cable100 megabits per second
HTML Table & Separating into Multiple Columns Columns created with <table> and single <tr> row and one <td> table data for each column
PNG alternative to GIFallows for semi-transparent images24-bit color (16.7 million colors)lossless
Definition Lists definition list definition term definition description
Attributes Can be added to tags to provide additional information
Semantic Language Vocabulary of HTML
Navigation sidebar (multi-page) -home should be saved as index.html, can be copied -must organize files first on comp (location scheme)    
Image size height and width attributespixelspercentages
Bandwidth The range of frequencies in the electromagnetic spectrum that a medium can use to send informationBroadband or Narrowband
Network topology The form in which the computers on a network are connected together
MAC addresses Used at physical/data layerAllocated on the basis of which company manufactured a particular cardDo not provide any information as to where the computer is locatedRouting of messages within an individual LAN
Navigation & Advertising Sidebars Created with table columns! ie <td> within a <tr> Navigation usually on left. Advertising on right.
MAN Metropolitan Area Networks (within a city or small region)
Packet Switching vs. Circuit Switching Telephones are circuit switching based (quality of connection remains constant)Internet is packet switching based (all circuits shared)
In-Line Tags/Text Level Tags tell text what to do bold <b>  italics <i> underline <u> inc font by 1 <big> dec font by 1 <small> changes size, color of text or font face <font>
TCP Transmission Control Protocol Provides application built on top of it with a direct connection between any two computers on the Internet Implementation of the TCP protocol takes data sent by an application and breaks it into chunks small enough to fit into individual IP packets The TCP implementation sends the packets through the Internet TCP numbers the packets and reorders them if necessary when they are received Automatically resends a copy of a packet if it is lost Associated with specific applications
URL Uniform resource locators used to identify specific files, web pages, and other information at a much more detailed level than that provided by hostnames and IP numbers Begins with an identifier determining what kind of information is being referenced  
Hypertext Text in one part of a document may be connected to text in other parts of the document via links Replacement for books  
Inserting comments
JavaScript Computer programing language associated with HTML
Network Layer Responsible for transferring data across the InternetNo error checkingData limited to small size "packets"
Cable Modem Uses the cable used to bring television1.5 megabits per second or faster
Peer-to-Peer Two or more computers cooperate to carry out a task Neither computer is in charge Ex: Chat application Requires fewer resources Reduces legal liability for file sharing programs
Alignment of an image align="value"values include:topbottommiddleleftright
IP numbers/addresses Every computer on the Internet has its ownAssigned when a computer is first connected to the InternetFour numbers between 0 and 255 separated by dotsUsed by network layer (help route messages on the Internet)
Ring network The computers are linked into a ringWhen a computer wants to send a message, it sends it to its neighbor on the right (counterclockwise)If one of the computers fails, messages won't be able to make it around the ring to their destination
IP Does not identify which application running on the original computer sent the message or which application on the recipient computer should receive the packet  
JPEG 24 bit color (like PNG)lossy
Incremental development Used for complex projects; built in steps/stages & checked before going on
The Request Line GET-most common request, requests that a webserver send a file HEAD-requests information on a file POST-requests the information that a user has entered into the webpage form, webserver sends back the results
Markup We take unformatted text and mark ip up for display on a computer; HTML is a markup language-- markup is done in a standard text editor
File Extensions .xls (excel) .doc (word document) .txt (text) .html (what html must be saved as to open!)  
Sidebar summary -single row tables w/ multiple columns a <td> for main and a <td> for sidebar! -remember valighn="top" -fix width attribute within <td> tab -placement within a sidebar can be controlled w/ inner <table> contained in sidebar <td>
HTTP Hypertext Transfer Protocol
SMTP Simple Mail Transfer Protocol Used to send mail from one computer to another E-mail is usually sent to a mail server computer
Changing font notes <font> tags are limited to in-line text;block elements illegal so: <p><font face"sans-serif" size="4"></font></p>
System Software Used to manage the computerOperating systemWindows and MacOSGraphical interface for the user allowing her/him to start and stop programs and manage files
File level tags/HTML tags These are necessary for all HTML pages! start of XHTML <?xml> <html> all contents of html <head> used by browser, not displayed <title> listed IN head, displayed in web title bar (can't contain formatting) <body> actual content-- including background/text color must close each of these!
Binary Number System Each switch represents a single binary digit (BIT)Byte= Eight bitsWords= Organized set of bytesAddress= Reference number for each individual byte
Bridge Connects together the same type of network technology
HTML Hypertxt Markup Language computer language used to define layout and formatting information on webpages; not a program
Router Special-purpose device that connects different types of technology
Application Layer Defines actual control and data transfer needed for specific applicationsWide range of different protocols for e-mail, web, IM
Serial and Parallel Connections Serial--connection bits are sent through the connection one at a timeParallel--multiple bits are passed through simultaneously over different wires in the connector(Newer connections--single bits are faster speeds)
Syntax Rules like grammar rules used in HTML, determine if sentance/construct is legal
Input/Output Devices used to get information from the user or to present infomration to the user.Monitor, keyboard, mouse...Exgternal devices (peripherals--printers and scanners)
Element The "container" includes start tag, end tag, and contents
Divisions used to create sections within an HTML document attributes: align (center, right, left)
Hardware- Storage Most information is stored in one of two places--the main computer memory or the computer hard disk.
WYS/WYG Word, unlike a standard text editor, displays text as it is seen. There is no need for markup, all formatting is done within the file
Computer Hard Disk Information stored on the computer hard disk is stored magnetically.Retained even when the power is turned off.Cheaper per byte.
Digital Subscriber Line DSLTakes the unused bandwidth from copper telephone wires and uses it to transmit digital informationSpeed varies according to subscriber's distance from the telephone company's central office
Images All image tags require an alt attribute
Vertical Placement of buttons & ads Each button/ad has its own <tr> with a single <td>
Thrashing Programs run slowly and the hard disk churns due to excessive switching between programs and lack of real main memory
Linking anchor tag end tag href (hypertext reference) Example: URL
Bridge Connects together the same type of network technology
Ads as images in ad column can hae multiple rows w/ images in <td> remember to set border="0" on ad's <img> tag provide height and width for better display
Connection mediums Twisted pair cables (similar to phone line)Coaxial cables (similar to cable television line)Fiber optic cables
Star network Every computer is connected to a central hub computerAny computer except the central hub can fail without affecting others
Telephone/Modem (POTS) Connects a computer to another computer using the standard telephone serviceUses a modem (converts from bits and bytes to an analog tone that can be transmitted over a telephone line)56 kilobits per second maximum
Protocols vs. Programs Protocol is a specificationDefines how programs written to support the protocol should actMore than one program can support the same protocol
Example navigation tab html code <tr><td><a href=index.html"> <img src="buttons/home-button.gif" alt="home" border="0" width="x" height="x" /></a></td></tr>
Block Level Tags control larger amounts of text paragraph <p> line break in text <br /> headers <h1>...<h6> horizontal line <hr />  
Peripherals USB (Universal Serial Bus)USB 2.0IEEE-1394 (Firewire)BluetoothWi-Fi
Physical/Data Layer Defines physical connections between computers in networkDetermines how 0s and 1s are sent on medium (eg voltage levels)
Blank Space (horizontal) empty <td> with specified width
RAM Random Access MemoryComputer can change contents of RAM at any point
Nesting Rules Part of syntax rules-- sets of formatting tags can be used together, but must be properly nested   <b>an example of <i>nesting</i><b>   (must be closed in order!!!)
Linking to Mail
Bus network Computers are connected directly to a central called a busContention issues--multiple computers may try to send messages out on the bus at the exact same time
Transport Layer Builds on Network LayerSupports error detection and correctionProvides transport of unlimited amounts of data
The Status Line example: HTTP/1.1 200 OK ERRORS are displayed here