<html xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 9">
<meta name=Originator content="Microsoft Word 9">
<link rel=File-List href="./RevTopics1_files/filelist.xml">
<title>Review Topics for Exam 1</title>
<!--[if gte mso 9]><xml>
 <o:DocumentProperties>
  <o:Author>Stephanie Elzer</o:Author>
  <o:LastAuthor>Stephanie Elzer</o:LastAuthor>
  <o:Revision>2</o:Revision>
  <o:TotalTime>28</o:TotalTime>
  <o:LastPrinted>2006-09-27T16:44:00Z</o:LastPrinted>
  <o:Created>2007-02-14T19:32:00Z</o:Created>
  <o:LastSaved>2007-02-14T19:32:00Z</o:LastSaved>
  <o:Pages>1</o:Pages>
  <o:Words>454</o:Words>
  <o:Characters>2590</o:Characters>
  <o:Company>Your Company Name</o:Company>
  <o:Lines>21</o:Lines>
  <o:Paragraphs>5</o:Paragraphs>
  <o:CharactersWithSpaces>3180</o:CharactersWithSpaces>
  <o:Version>9.2720</o:Version>
 </o:DocumentProperties>
</xml><![endif]-->
<style>
<!--
 /* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0pt;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
p.MsoBodyText, li.MsoBodyText, div.MsoBodyText
	{margin:0pt;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	tab-stops:109.65pt;
	font-size:10.0pt;
	mso-bidi-font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
@page Section1
	{size:612.0pt 792.0pt;
	margin:21.6pt 28.8pt 21.6pt 28.8pt;
	mso-header-margin:36.0pt;
	mso-footer-margin:36.0pt;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
@page Section2
	{size:612.0pt 792.0pt;
	margin:21.6pt 28.8pt 21.6pt 28.8pt;
	mso-header-margin:36.0pt;
	mso-footer-margin:36.0pt;
	mso-columns:2 even 36.0pt;
	mso-paper-source:0;}
div.Section2
	{page:Section2;}
@page Section3
	{size:612.0pt 792.0pt;
	margin:36.0pt 36.0pt 36.0pt 36.0pt;
	mso-header-margin:36.0pt;
	mso-footer-margin:36.0pt;
	mso-paper-source:0;}
div.Section3
	{page:Section3;}
 /* List Definitions */
@list l0
	{mso-list-id:557589942;
	mso-list-type:hybrid;
	mso-list-template-ids:-1348168952 67698689 67698689 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:36.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Symbol;}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:72.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Symbol;}
@list l1
	{mso-list-id:2112967797;
	mso-list-type:hybrid;
	mso-list-template-ids:-1348168952 67698703 67698689 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l1:level1
	{mso-level-tab-stop:36.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l1:level2
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:72.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Symbol;}
ol
	{margin-bottom:0pt;}
ul
	{margin-bottom:0pt;}
-->
</style>
</head>

<body lang=EN-US style='tab-interval:36.0pt'>

<div class=Section1>

<p class=MsoNormal align=center style='text-align:center'><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>CS161 – Spring 2007<o:p></o:p></span></p>

<p class=MsoNormal align=center style='text-align:center'><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>Exam 1 Study Topics<o:p></o:p></span></p>

<p class=MsoNormal style='tab-stops:109.65pt'><span style='font-size:10.0pt;
mso-bidi-font-size:12.0pt'><span style='mso-tab-count:1'>                                </span><o:p></o:p></span></p>

<p class=MsoNormal style='tab-stops:109.65pt'><span style='font-size:10.0pt;
mso-bidi-font-size:12.0pt'>On the day of the exam, be sure to bring your notes
and your book.<span style="mso-spacerun: yes">  </span>The written part of the
exam will be worth 75 points and will be closed notes, closed book and closed
neighbor.<span style="mso-spacerun: yes">  </span>The on-line part of the exam
will be open book and open notes (your own only, of course) but still
absolutely closed neighbor!<span style="mso-spacerun: yes">  </span>Please note
that although the official “online” portion of the test will only be 25 points,
a large portion of the points in the written section involve writing code
statements and segments.<span style="mso-spacerun: yes">  </span>You need to
know your syntax.<o:p></o:p></span></p>

<p class=MsoNormal style='tab-stops:109.65pt'><span style='font-size:10.0pt;
mso-bidi-font-size:12.0pt'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></p>

<p class=MsoNormal style='tab-stops:109.65pt'><span style='font-size:10.0pt;
mso-bidi-font-size:12.0pt'>Your exam might include the following types of
questions:<o:p></o:p></span></p>

</div>

<span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";mso-ansi-language:EN-US;mso-fareast-language:
EN-US;mso-bidi-language:AR-SA'><br clear=all style='page-break-before:auto;
mso-break-type:section-break'>
</span>

<div class=Section2>

<ol style='margin-top:0pt' start=1 type=1>
 <li class=MsoNormal style='mso-list:l1 level1 lfo1;tab-stops:list 36.0pt left 109.65pt'><span
     style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>Multiple Choice<o:p></o:p></span></li>
 <li class=MsoNormal style='mso-list:l1 level1 lfo1;tab-stops:list 36.0pt left 109.65pt'><span
     style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>Fill in the Blank<o:p></o:p></span></li>
 <li class=MsoNormal style='mso-list:l1 level1 lfo1;tab-stops:list 36.0pt left 109.65pt'><span
     style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>True/False<o:p></o:p></span></li>
 <li class=MsoNormal style='mso-list:l1 level1 lfo1;tab-stops:list 36.0pt left 109.65pt'><span
     style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>Matching<o:p></o:p></span></li>
 <li class=MsoNormal style='mso-list:l1 level1 lfo1;tab-stops:list 36.0pt left 109.65pt'><span
     style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>Definitions/short
     answer<o:p></o:p></span></li>
 <li class=MsoNormal style='mso-list:l1 level1 lfo1;tab-stops:list 36.0pt left 109.65pt'><span
     style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>Identify the problems
     in a piece of code<o:p></o:p></span></li>
 <li class=MsoNormal style='mso-list:l1 level1 lfo1;tab-stops:list 36.0pt left 109.65pt'><span
     style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>Describe the output of
     a piece of code<o:p></o:p></span></li>
 <li class=MsoNormal style='mso-list:l1 level1 lfo1;tab-stops:list 36.0pt left 109.65pt'><span
     style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>Write code segments<o:p></o:p></span></li>
</ol>

</div>

<span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";mso-ansi-language:EN-US;mso-fareast-language:
EN-US;mso-bidi-language:AR-SA'><br clear=all style='page-break-before:auto;
mso-break-type:section-break'>
</span>

<div class=Section3>

<p class=MsoNormal style='tab-stops:109.65pt'><span style='font-size:10.0pt;
mso-bidi-font-size:12.0pt'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></p>

<p class=MsoNormal style='tab-stops:109.65pt'><span style='font-size:10.0pt;
mso-bidi-font-size:12.0pt'>Important topics to review:<o:p></o:p></span></p>

<ul style='margin-top:0pt' type=disc>
 <li class=MsoNormal style='mso-list:l0 level1 lfo2;tab-stops:list 36.0pt left 109.65pt'><span
     style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>Hardware, software,
     networks -- terms and concepts (chap 1)<o:p></o:p></span></li>
 <li class=MsoNormal style='mso-list:l0 level1 lfo2;tab-stops:list 36.0pt left 109.65pt'><span
     style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>Program Development<o:p></o:p></span></li>
 <ul style='margin-top:0pt' type=disc>
  <li class=MsoNormal style='mso-list:l0 level2 lfo2;tab-stops:list 72.0pt left 109.65pt'><span
      style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>Programming languages
      (levels, evolution)<o:p></o:p></span></li>
  <li class=MsoNormal style='mso-list:l0 level2 lfo2;tab-stops:list 72.0pt left 109.65pt'><span
      style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>The steps involved in
      program compilation and execution<o:p></o:p></span></li>
  <li class=MsoNormal style='mso-list:l0 level2 lfo2;tab-stops:list 72.0pt left 109.65pt'><span
      style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>Types of errors,
      syntax and semantics…<o:p></o:p></span></li>
 </ul>
 <li class=MsoNormal style='mso-list:l0 level1 lfo2;tab-stops:list 36.0pt left 109.65pt'><span
     style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>The general form of a
     Java program and the basic elements of a program (classes and methods)<o:p></o:p></span></li>
 <li class=MsoNormal style='mso-list:l0 level1 lfo2;tab-stops:list 36.0pt left 109.65pt'><span
     style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>Data Types:<o:p></o:p></span></li>
 <ul style='margin-top:0pt' type=disc>
  <li class=MsoNormal style='mso-list:l0 level2 lfo2;tab-stops:list 72.0pt left 109.65pt'><span
      style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>Which are the
      primitive data types in Java<o:p></o:p></span></li>
  <li class=MsoNormal style='mso-list:l0 level2 lfo2;tab-stops:list 72.0pt left 109.65pt'><span
      style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>The different data
      types and what they can hold<o:p></o:p></span></li>
  <li class=MsoNormal style='mso-list:l0 level2 lfo2;tab-stops:list 72.0pt left 109.65pt'><span
      style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>How to declare
      variables of different types<o:p></o:p></span></li>
  <li class=MsoNormal style='mso-list:l0 level2 lfo2;tab-stops:list 72.0pt left 109.65pt'><span
      style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>What types might best
      be used to store particular values<o:p></o:p></span></li>
  <li class=MsoNormal style='mso-list:l0 level2 lfo2;tab-stops:list 72.0pt left 109.65pt'><span
      style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>What operations can be
      used with the different types<o:p></o:p></span></li>
  <li class=MsoNormal style='mso-list:l0 level2 lfo2;tab-stops:list 72.0pt left 109.65pt'><span
      style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>What are valid
      variable names (identifiers)<o:p></o:p></span></li>
 </ul>
 <li class=MsoNormal style='mso-list:l0 level1 lfo2;tab-stops:list 36.0pt left 109.65pt'><span
     style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>Input/Output<o:p></o:p></span></li>
 <ul style='margin-top:0pt' type=disc>
  <li class=MsoNormal style='mso-list:l0 level2 lfo2;tab-stops:list 72.0pt left 109.65pt'><span
      style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>Scanner class,
      JOptionPane (showInputDialog, showMessageDialog)<o:p></o:p></span></li>
  <li class=MsoNormal style='mso-list:l0 level2 lfo2;tab-stops:list 72.0pt left 109.65pt'><span
      style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>How to display and
      format data of the different types (print, println, NumberFormat,
      DecimalFormat)<o:p></o:p></span></li>
  <li class=MsoNormal style='mso-list:l0 level2 lfo2;tab-stops:list 72.0pt left 109.65pt'><span
      style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>Be able to write code
      to display data in particular ways<o:p></o:p></span></li>
  <li class=MsoNormal style='mso-list:l0 level2 lfo2;tab-stops:list 72.0pt left 109.65pt'><span
      style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>How to read data of
      the different types (using Scanner class and methods to read various
      types)<o:p></o:p></span></li>
 </ul>
 <li class=MsoNormal style='mso-list:l0 level1 lfo2;tab-stops:list 36.0pt left 109.65pt'><span
     style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>The different types of
     errors that might occur in a program<o:p></o:p></span></li>
 <li class=MsoNormal style='mso-list:l0 level1 lfo2;tab-stops:list 36.0pt left 109.65pt'><span
     style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>How to evaluate and
     write arithmetic expressions (operator precedence, etc.)<o:p></o:p></span></li>
 <li class=MsoNormal style='mso-list:l0 level1 lfo2;tab-stops:list 36.0pt left 109.65pt'><span
     style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>Arithmetic operators
     and expressions<o:p></o:p></span></li>
 <ul style='margin-top:0pt' type=disc>
  <li class=MsoNormal style='mso-list:l0 level2 lfo2;tab-stops:list 72.0pt left 109.65pt'><span
      style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>Which types can be
      used with which operators<o:p></o:p></span></li>
  <li class=MsoNormal style='mso-list:l0 level2 lfo2;tab-stops:list 72.0pt left 109.65pt'><span
      style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>What are the resulting
      types of expressions with various types and operators<o:p></o:p></span></li>
  <li class=MsoNormal style='mso-list:l0 level2 lfo2;tab-stops:list 72.0pt left 109.65pt'><span
      style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>Operator precedence<o:p></o:p></span></li>
  <li class=MsoNormal style='mso-list:l0 level2 lfo2;tab-stops:list 72.0pt left 109.65pt'><span
      style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>Casting and promotion
      of types in expressions<o:p></o:p></span></li>
 </ul>
 <li class=MsoNormal style='mso-list:l0 level1 lfo2;tab-stops:list 36.0pt left 109.65pt'><span
     style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>Using classes<o:p></o:p></span></li>
 <ul style='margin-top:0pt' type=disc>
  <li class=MsoNormal style='mso-list:l0 level2 lfo2;tab-stops:list 72.0pt left 109.65pt'><span
      style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>Terms and definitions
      (class, object, instance, constructor, etc.)<o:p></o:p></span></li>
  <li class=MsoNormal style='mso-list:l0 level2 lfo2;tab-stops:list 72.0pt left 109.65pt'><span
      style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>Creating objects of
      various classes (Random, Scanner, String, NumberFormat, JLabel, JPanel,
      Color…)<o:p></o:p></span></li>
  <li class=MsoNormal style='mso-list:l0 level2 lfo2;tab-stops:list 72.0pt left 109.65pt'><span
      style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>Using the methods of
      various classes (both static and non-static – for example, the static
      methods of Math and the non-static methods of Random)<o:p></o:p></span></li>
  <li class=MsoNormal style='mso-list:l0 level2 lfo2;tab-stops:list 72.0pt left 109.65pt'><span
      style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>Enumerated types<o:p></o:p></span></li>
  <li class=MsoNormal style='mso-list:l0 level2 lfo2;tab-stops:list 72.0pt left 109.65pt'><span
      style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>Packages and using the
      classes they contain (import)<o:p></o:p></span></li>
 </ul>
 <li class=MsoNormal style='mso-list:l0 level1 lfo2;tab-stops:list 36.0pt left 109.65pt'><span
     style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>Be sure that you understand
     the content of the programs that we’ve written in class, labs and homework
     assignments.<o:p></o:p></span></li>
</ul>

<p class=MsoNormal style='tab-stops:109.65pt'><span style='font-size:10.0pt;
mso-bidi-font-size:12.0pt'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></p>

<p class=MsoNormal style='tab-stops:109.65pt'><span style='font-size:10.0pt;
mso-bidi-font-size:12.0pt'>Study Tips:<o:p></o:p></span></p>

<p class=MsoNormal style='tab-stops:109.65pt'><span style='font-size:10.0pt;
mso-bidi-font-size:12.0pt'>The best source of practice is the problems in your
book.<span style="mso-spacerun: yes">    </span>Remember that the answers to
the Self-Review questions immediately follow the questions in the book.<o:p></o:p></span></p>

<p class=MsoNormal style='tab-stops:109.65pt'><span style='font-size:10.0pt;
mso-bidi-font-size:12.0pt'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></p>

<p class=MsoNormal style='tab-stops:109.65pt'><span style='font-size:10.0pt;
mso-bidi-font-size:12.0pt'>Form study groups if possible.<span
style="mso-spacerun: yes">  </span>Practice doing the problems from the back of
the chapters individually, then compare your answers.<o:p></o:p></span></p>

<p class=MsoNormal style='tab-stops:109.65pt'><span style='font-size:10.0pt;
mso-bidi-font-size:12.0pt'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></p>

<p class=MsoBodyText>Practice writing and interpreting code segments.<span
style="mso-spacerun: yes">  </span>The test will be the first time that you
need to do this under time pressure, so be sure that you feel comfortable doing
these things.</p>

</div>

</body>

</html>

