Exam3-review-topics - finding largest value, finding...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
CSc 127a – Fall 2007 - Review Topics for Exam 3 The following is a list of suggested review topics that are new since Exam 2 and may appear on Exam 3. In addition to reviewing your notes, the textbook, collaborative exercises, and any quizzes, you should make sure you understand what was covered during labs in sections and on programs. See review sheets for Exams 1 and 2 for older material. Chapters from textbook covered over the semester: 1 – 3, 5-8, part of 9 (2-dimensional arrays). New stuff since last exam: 1-Dimensional (1-D) Arrays What is an array? How to declare an array of primitive type (int, double) Using “for” loops with arrays Difference between an array subscript number and the value stored in the array at that subscript position Using the “length” variable to determine the size of an array Various processing and manipulations of arrays searching for a value, printing out certain values, printing out values at certain subscripts,
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: finding largest value, finding smallest value, etc. inserting a value at a position (and shifting other values) deleting a value at a position (and shifting other values) How to switch (swap) two values in an array Using 1-D arrays with classes (as instance variables) and methods (as parameters and as return result) 2-Dimensional (2-D) Arrays Declaring a 2-D array Referencing and updating individual cell values using two subscripts Using nested loops with 2-D arrays Row-by-row processing Column-by-column processing Diagonal cell processing Using 2-D arrays with classes (as instance variables) and methods (as parameters and as return result) Problem solving Write a method that . .. (solve problem from description) Heres a class description and a sample of how it is used write the code for the class (instance variables, constructor, methods). Review your assignments....
View Full Document

Ask a homework question - tutors are online