CSC 121: Computers and Scientific Thinking
Fall 2009

Test 1 Review


A: Thu, Oct 8
B: Wed, Oct 7
  • 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

    TRUE or FALSE: A byte is a collection of 8 bits, allowing for the representation of 256 different values.
  • conceptual understanding: short answer, discussion

    What is the difference between a Web server and a Web browser? How do the two combine to make the Web function?
  • synthesis and application: draw/modify HTML page, trace/modify Javascript

    Draw a picture of the Web page that would be generated by the HTML document listed below...
Study advice
  • review online lecture notes (if not mentioned in class, won't be on test)
  • review text
  • look over chapter 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, VLSI, networks/parallelism 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: hypermedia, Web server, Web browser Web protocols: HTTP, HTML Problem Solving & Algorithms Polya's problem solving steps algorithm analysis, rate of growth, Big Oh notation sequential search vs. binary search machine language vs. high-level language program translation: interpreter vs. compiler Creating Interactive Web Pages static 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, BORDER dynamic 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 ID attribute, identifier names document.getElementById('IDENTIFIER').ATTRIBUTE=VALUE; dynamic text text in separate window alert window text in the page DIV, P, or SPAN with ID attribute document.getElementById('IDENTIFIER').innerHTML='MESSAGE';