CSC 121: Computers and Scientific Thinking
Spring 2021
Test 1 Review
Tue, March 2 11:00 - 11:50
The test will be conducted in-class (Harper auditorium) via Blueline.
You are required to bring a laptop to take the test. Be aware: there are no desktops in the auditorium seats.
The test must be taken using the Respondus LockDown browser. Be sure to have it installed and tested before the test.
It is closed-book and closed-notes.
Types of questions
factual knowledge: TRUE/FALSE, multiple choice
conceptual understanding: short answer, discussion
synthesis and application: describe/modify HTML page
There is a practice test in BlueLine with examples of each type of question.
Note: the practice test can only be taken using the LockDown browser.
Study advice
review PowerPoint slides and/or lecture recordings (if not mentioned in class, won't be on test)
reread book chapters and chapter summaries
look over chapter exercises & projects, review questions
reference other sources for examples, different perspectives
Course Material
Computer Basics
hardware vs. software
von Neumann architecture: CPU + memory + I/O
bits, bytes
operating system (OS)
The Web
Web development & growth, World Wide Web Consortium
key ideas: hypertext, Web server, Web browser, search engines
Web protocols: HTTP, HTML
caching, cookies
The Internet
ARPANet development & growth, Internet of Things, Internet Society
key ideas: distributed network, packet-switching
Internet protocols: TCP, IP
IP addresses, domain name servers
History of Computers
generation 0: mechanical (Jacquard's loom, Babbage & Lovelace, relay machines)
generation 1: vacuum tube (COLOSSUS, ENIAC, von Neumann architecture)
generation 2: transistor (miniaturization & mass production, high-level languages)
generation 3: integrated circuit (mass production of complex circuitry, OS)
generation 4: microprocessor (mass-produced calculators, Moore's Law, PC revolution)
generation 5: ultra large-scale integration (networking, mobile, AI)
Applications in Cryptography
substitution ciphers (Atbash, Caesar, Cryptoquotes)
rotating ciphers, Enigma machine (WWII)
private-key vs. public-key encryption, e-commerce
HTML & the Web
structural elements: !DOCTYPE, HTML, HEAD, BODY,
text layout: P, BR,
headings: H1, H2, ..., H6, HR
font formatting: B, I, U, SUP, SUB
STYLE attribute
color properties: COLOR, BACKGROUND-COLOR
font properties: FONT-FAMILY, FONT-SIZE
alignment properties: TEXT-ALIGN, TEXT-INDENT, MARGIN-LEFT, MARGIN-RIGHT
HTML & Hypertext
hyperlinks: A tag; HREF, TARGET attributes
absolute (external) vs. relative (internal) address
images: IMG tag; SRC, ALT, HEIGHT, WIDTH attributes
lists: UL, OL, LI tags; LIST-STYLE-TYPE style property
tables: TABLE, TR, TD tags; BORDER style property
Dynamic Web Pages
dynamic HTML elements
ID attribute, JavaScript assignment (ID.ATTR = VALUE;)
event-handler attributes: ONMOUSEOVER, ONMOUSEOUT, ONCLICK
JavaScript strings (' ') vs. HTML strings (" ")
dynamic style, e.g., colorSpan.style.color = 'red';
HTML buttons
BUTTON tag, ONCLICK attribute, button label between
dynamic text
alert statement vs. embedded text
innerHTML attribute of DIV, P and SPAN elements