CSCI100 - Final Exam Study Guide

Last updated: Friday 24th June 2011, 20:46 PT, AD

REFRESH THIS PAGE OFTEN FOR LATEST VERSION

Final Exam format



These are the textbook chapters
and online resources 
you should study for the final exam: 



Focus on all topics covered after the Midterm Exam:



Study the following key terms from Chapter 9
(see the Key Terms page at the end of the chapter 
or use the book contents index at the end of the book):

Chapter 9 - The Evolving Internet
*********************************
application server / client server model
blog / browser / cookie / spider
digital divide
dynamic and static IP addresses
electronic money
email server / file server 
file compression / file transfer protocol (FTP)
Hyper Text Markup Language (HTML / XHTML / HTTP)
Internet Service Provider (ISP) / DSL /DNS 
Java
JavaScript
Open standards
plug-ins
streaming audio and video / spiders / search engines
TCP/IP
URL
Web addresses and email addresses
Web authoring software
WiFi
WWW




HTML Study Topics

**** Study only HTML (validation not necessary) *** 
**** XHTML and CSS will NOT be on the final exam) ***




Study the following key terms from Chapter 14 
(see the Key Terms page at the end of the chapter 
or use the book contents index at the end of the book):

Chapter 14 - Systems Design and Development
*******************************************
algorithm / logic / coding / variables
alpha testing
control structures - sequence/selection/repetition
COBOL / Grace Hopper
end user
high-level languages / C++ / Python / Java / COBOL
interpreter
logic error
machine language / binary
programming
pseudocode
syntax / syntax error / debugging
systems development life cycle (SDLC)
(One written question on the final exam is on the SDLC)
testing


Python 3 Programming
********************

The following resources should be studied:

http://www.annedawson.net/Python3_Intro.htm
http://www.annedawson.net/algorithms.html
Sections 1,3,4,6 of the following:
http://www.annedawson.net/Intro_Pg.htm
http://www.annedawson.net/Python3_Data_Types.htm
Sections 4.3, 4.4, 4.5 of the following:
http://www.annedawson.net/Python3_Processing_Selection.htm
The example programs listed below from this page:
http://www.annedawson.net/Python3Programs.txt
All example programs with names starting 01, 02, 03
All example programs 04-02.py through 04-15.py


Any questions? Email: anne.dawson@gmail.com
All resources under the heading Python Programming in the course resources 
(and example programs referred to by them.)



Example exam questions for Python Programming:






1. What is the output of this Python program?

x = 17 / 2
print (x)


Answer:
8.5




2. What is the output of this Python program?

x = 17 / 2.0
print (x)


Answer:
8.5




3. What is the output of this Python program?

x = 17 / 2.0 + 3**2
print (x)


Answer:
17.5

(not sure why the answer is 13.5? - you need to study operator precedence.




4. What is the output of this Python program?

print (7 > 10)
print (4 < 16)
print (4 == 4)
print (4 <= 4)
print (4 >= 4) 
print (4 != 4) 



Answer:
False
True 
True 
True 
True 
False




5. Name and give an example of the three types of error
that might be contained in a Python program.

Answer:

syntax error - mis-spelling a keyword
logic error - multiplying when you meant to divide
run-time - an attempt to divide by zero




6. What is an algorithm?


Answer: a written description of the steps to solve a problem.



7. What is a computer program?

Answer: the implementation of an algorithm



8. What is the data type of a value such as 3.142?

Answer: float



9. What is the data type of a value such as 3?

Answer: int



10. What is the data type of a value such as "anne was here"?

Answer: string


Example written question: Describe the seven steps of the 
Systems Development Life Cycle (SDLC)

Answer: see Chapter 14



Final Exam format

Good Luck!