CSC 121: Computers and Scientific Thinking
Fall 2019

Test 1 Review


Section C: Mon, Sept 30
Section A: Tue, Oct 1
  • The test will include extra points (Mistakes Happen!), e.g., 52 or 53 points, but graded on a scale of 50.

Types of questions
  • factual knowledge: TRUE/FALSE, multiple choice
  • conceptual understanding: short answer, discussion
  • synthesis and application: draw/modify HTML page, trace/modify Javascript
  • Sample test
Study advice
  • review online lecture notes (if not mentioned in class, won't be on test)
  • review units
  • look over unit exercises, review questions, labs
  • 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 History of Science & Computing Greek pre-science, Dark Ages, Renaissance, Scientific Revolution scientific method, experimentation (consistency vs. accuracy) computer generations: mechanical, vacuum tube, transistor, IC, microprocessor, ULSI Web & Internet History ARPANet development & growth, Internet Society key ideas: distributed network, packet-switching Internet protocols: TCP, IP Web development & growth, World Wide Web Consortium key ideas: hypertext, Web server, Web browser Web protocols: HTTP, HTML Experimental methods Monte Carlo methods, simulations Law of Large Numbers consistency vs. accuracy Creating static Web pages with HTML text layout: P, BR,   headings & alignment: H1, H2, ..., H6, STYLE, DIV font formatting: B, I, BIG, SMALL, SPAN hyperlinks: A, HREF images: IMG, SRC, ALT lists: UL, OL, LI tables: TABLE, TR, TD Creating dynamic Web pages with JavaScript dyamic images HTML event-handlers: ONMOUSEOUT, ONMOUSEOVER, ONCLICK JavaScript assignment (for changing current element) this.ATTRIBUTE=VALUE; JavaScript strings (' ') vs. HTML strings (" ") HTML buttons BUTTON tag, attribute: ONCLICK ID attribute, identifier names document.getElementById('ID').ATTRIBUTE=VALUE; dynamic text text in separate window alert window text in the page DIV, P, or SPAN with ID attribute document.getElementById('ID').innerHTML='MESSAGE'; text boxes INPUT tag, attributes: TYPE="text", ID, SIZE, VALUE access contents via document.getElementById('BOX_ID').value variables for reusing values (e.g., fill-in-blank story)