CSC 121: Computers and Scientific Thinking
Fall 2021

Test 1 Review


Tue, September 21
11:00 - 12:00

  • The test will be conducted in-class (Rigge 120) 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) HTML & the Web structural elements: !doctype, html, head, body, <!-- --> text layout: p, br, &nbsp; 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'; HTML buttons button tag, onclick attribute, button label between <button></button> dynamic text alert statement vs. embedded text innerHTML attribute of div, p and span elements Interaction &amp; Design text boxes input tag, id and style="text" attribute, optional size &amp; value attributes examples: form letter, fill-in-the-blank story user-defined functions used to simplify the body, move action code to the head (in a script element) function definition: function func_name() { ... } function call: func_name(); examples: form letter, animals gallery, quotations design guidelines