Final Flashcards
What is the Internet?
A computer network consisting of a worldwide network of computer networks that use standardized network protocols to facilitate data transmission and exchange
Node
A point at which lines or pathways intersect or branch; a central connecting point In computing, a piece of equipment, such as a PC or peripheral, attached to a network
The Internet
The Internet is a massive network of
networks, a networking infrastructure
that connects computers globally.
The World Wide Web
The Web is a way of accessing
information over the medium of the
Internet, an information sharing model
that is built on top of the Internet.
Internet vs Web
separate but related things. The Web is just one of the ways that information can be disseminated over the Internet but it is the one we are focused on in this class.
Internet Access
1980s–Present
• Personal Computing • Portable Computing • Mobile Computing • Ubiquitous Computing • Artificial Intelligence and Ambient Computing
Personal Computers Progress
- IBM 5150 (1981)
- Apple PowerBook 540c (1993)
- Apple iPhone (2007)
- Chalayan dress (2007)
- Arduino Uno (2010)
- Apple Watch (2015)
- AI and Ambient Computing
Digital Revolution
Afterglow
Represents a shift from analog and electronic technology to digital These technological developments build upon and continue to inform each other today
Digital Media
Modern vernacular
of 1s and 0s
On/Off Electrical impulses (+5v / -5v) • Single 0 or 1 = 1 “bit” • A group of 8 bits = 1 “byte” • 1 million bytes ≈ 1 “megabyte” • 1,024 megabytes = 1 “gigabyte” • 1,000 gigabytes = 1 “terabyte”
Moore’s Law
The number of transistors that can be placed inexpensively on an integrated circuit doubles every two years. The number of transistors is closely connected to processor speed, memory, etc. Computer processor speed has doubled approximately every two years Moore’s Law seems to be plateauing but held steady for the past 40 years. Digital media is in a constant state of flux
open source
anyone is free to use it
usually free of charge
can be modified and redistributed
Operating Systems
Software that manages a computer’s resources Allocates resources among other programs Resources include the central processing unit (CPU), computer memory, file storage, input/output (I/O) devices, and network connections Runs indefinitely and terminates only when the computer is turned off
Operating Systems
Examples
DOS (Generic term) Microsoft OS Mac OS Linux iOS Android Symbian OS
Operating Systems
History
First digital computers had no operating systems Ran one program at a time, which had command of all system resources A human operator would provide any special resources needed First operating systems were developed in the mid-1950s
Unix
Operating system by AT&T Bell Labs Originally developed in 1969 Command line interface Portable, multi-tasking, multi-user Free distribution, open system Servers, workstations, mobile devices Basis of Linux and MacOS
Unix
Commands
tba
Chmod
chmod sets permissions
Every file and directory has nine permissions associated with it Files and directories have three types of permissions (or none): r (read) w (write) x (execute) - (no permission) The above permissions occur for each of the following classes or users: u (user/owner) g (group) o (other/world)
Chmod
Files and folders
Standard file permission: 644 Owner can read and write file; group can read file; others can read file Standard directory permission: 755 Owner can read, write and execute file; group can read and execute file; others can read and execute file
7 –> r w x
6 –> rw-
5 –> r-x
4 –> r–
HTML
HyperText
Markup Language
A language for describing Web pages HTML is not a programming language, it is a markup language A markup language is a set of markup tags HTML uses markup tags to describe Web pages
HTML
Early history key dates
1990: Original HTML specification written by physicist, Tim Berners-Lee for cross-referencing documents 1993: First text-based browser, Lynx, released 1993: Mosaic browser released, adding images, nested lists, forms 1994: First World Wide Web conference held in Geneva 1994: Netscape is formed 1994: The World Wide Web Consortium is formed, w3.org
HTML Tag
Keywords surrounded by angle brackets, for example: HTML tags normally come in pairs, like <h1> and </h1> The first tag in a pair is the “start tag,” the second tag is the “end tag” Start and end tags are also called “opening” and “closing” tags
HTML Element
Everything from the start tag to the end tag Example: <p>This is a paragraph.</p> Start tag: <p> Element content: This is a paragraph. End tag: </p>
Web Pages
HTML documents describe Web pages Contain HTML tags in plain text HTML documents are Web pages Recommended plain text editors: Atom and Brackets
Web Browsers
Render HTML Docs Reads HTML documents and displays them as Web pages Web browsers do not display HTML tags, but use them to interpret the content of the page Recommended browsers: Firefox, Chrome, Safari, Edge
html explained
tells browsers that they are interpreting an HTML document Text between and describes the Web page Text between and is displayed as the page title Text between and is the visible page content
SFTP
SSH (Secure) File Transfer Protocol
Web pages are usually created “locally” on a personal computer, then uploaded to a web server A web page is not publicly accessible until it is published to a web server An FTP client is used to transfer files from a personal computer to a server Fetch, WinSCP, and FileZilla are a few good FTP client options “Local” files are those on a personal computer, “remote” files are those on a web server
HTML5
New standard for HTML
First version published in 2008 An official W3C recommendation as of October 2014 • New Elements • New Attributes • Full CSS3 Support • Video and Audio • 2D/3D Graphics • Web Applications • Smartphone Apps
CSS
Cascading Style Sheets Defines a Web page’s appearance CSS separates style and content Consists of a plain text file with rules for the display of HTML elements Formatting includes fonts and colors as well as layout and position Can be created outside of your HTML and applied to multiple Web pages Well-formed HTML is important for your CSS to work properly
CSS History
Prior to CSS, Web pages were commonly styled with HTML tags and structured with tables This was both tedious and inefficient Nine different style sheet languages were proposed, two were chosen as the foundation CSS Level 1 emerged as a W3C Recommendation in December 1996 Browsers began to support CSS over the next few years
CSS Application
CSS can be applied in three different ways to a Web page: • In an external .css file • In the section of an HTML document • Inline with HTML code
Style Construction
CSS Rule Set
Selector: Indicates which HTML element will be formatted Declaration block: Describes the formatting to apply Property/value pair: Specifies format Style rules are separated by a semicolon h1 { color: green; background: yellow;
Cascade
The principle of the “cascade” is applied when style rules are in conflict Three primary factors determine which style rule wins out: • Inheritance • Specificity • Location
CSS3
Latest standard for CSS CSS2 is best supported CSS3 is still evolving but offers new features for designers and developers Modern browsers support many aspects of CSS3 Backwards compatible with CSS2