CSC 121: Computers and Scientific Thinking
Fall 2024
Test 1 Review
Tue, Sep 24 2:00 - 3:00
The test will be conducted in-class (HLSB 244) via Blueline.
You are required to bring a laptop to take the test.
The test must be taken using the Respondus LockDown browser. Be sure to have it installed and tested before class.
It is closed-book and closed-notes.
The test will include 52 points, but graded on a scale of 50. (Mistakes Happen!)
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
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 Artificial Intelligence
approaches: expert systems, neural nets, genetic algorithms
examples: character recognition, facial recognition, self-driving cars, chatBots, data mining
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
Hypertext & Multimedia
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';
examples: mystery image
HTML buttons
button tag, onclick attribute, button label between
dynamic text
alert statement vs. embedded text
innerHTML attribute of div, p and span elements
examples: help icons, quotations