Exam 1 Material Study Guide

Slides:



Advertisements
Similar presentations
COSC 2006 Data Structures I Instructor: S. Xu URL:
Advertisements

Chapter 7: User-Defined Functions II
Chapter 7 User-Defined Methods. Chapter Objectives  Understand how methods are used in Java programming  Learn about standard (predefined) methods and.
George Blank University Lecturer. CS 602 Java and the Web Object Oriented Software Development Using Java Chapter 4.
COMP1180 Review Date: 4 March, 2009 Time: 10:30am - 12:20pm Venue: –CS students -- FSC801C and FSC801D –IS and other students -- OEE1017 Remarks: – 1)
Chapter 14: Overloading and Templates
©2004 Brooks/Cole Chapter 8 Arrays. Figures ©2004 Brooks/Cole CS 119: Intro to JavaFall 2005 Sometimes we have lists of data values that all need to be.
Computer Science II Exam I Review Monday, February 6, 2006.
BPJ444: Business Programming Using Java Classes and Objects Tim McKenna
By Nicholas Policelli An Introduction to Java. Basic Program Structure public class ClassName { public static void main(String[] args) { program statements.
CS 101E – Exam 2 Review Spring 2007 Michele Co. Announcements Review Session Tonight, 7/7:30 p.m., OLS 009 Will be announced via In-class Exam Wednesday.
1 Session 3: Flow Control & Functions iNET Academy Open Source Web Programming.
Chapter 6: User-Defined Functions
CS 112 Department of Computer Science George Mason University CS 112 Department of Computer Science George Mason University Final Review Lecture 14.
ECE122 Feb. 22, Any question on Vehicle sample code?
RECITATION 4. Classes public class Student { } Data Members public class Student { private String name; public String id; }
Loops (cont.). Loop Statements  while statement  do statement  for statement while ( condition ) statement; do { statement list; } while ( condition.
Lecture 3 Classes, Structs, Enums Passing by reference and value Arrays.
Methods: A Deeper Look. Template for Class Definition public class { } A.Import Statement B.Class Comments C.Class Name D.Data members E.Methods (inc.
CS241 PASCAL I - Control Structures1 PASCAL Control Structures Modified Slides of Philip Fees.
CS-1030 Dr. Mark L. Hornick 1 Basic C++ State the difference between a function/class declaration and a function/class definition. Explain the purpose.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 15: Overloading and Templates.
User Defined Methods Methods are used to divide complicated programs into manageable pieces. There are predefined methods (methods that are already provided.
By Mr. Muhammad Pervez Akhtar
Fall 2015CISC/CMPE320 - Prof. McLeod1 CISC/CMPE320 Assignment 1 due Friday, 7pm. RAD due next Friday. Presentations week 6. Today: –More details on functions,
Peter Andreae Computer Science Victoria University of Wellington Copyright: Peter Andreae, Victoria University of Wellington Summary and Exam COMP 102.
Midterm Exam Topics (Prof. Chang's section) CMSC 201.
Chapter 1 Java Programming Review. Introduction Java is platform-independent, meaning that you can write a program once and run it anywhere. Java programs.
Expressions Methods if else Statements Loops Potpourri.
 Static  Example for Static Field  Example for Static Method  Math class methods  Casting  Scope of Declaration  Method Overloading  Constructor.
AP Java Ch. 4 Review Question 1  Java methods can return only primitive types (int, double, boolean, etc).
CS 116: Object Oriented Programming II. Topics Vectors Multidimensional Arrays ArrayList.
Chapter 9 Introduction to Arrays Fundamentals of Java.
CS 1428 Final Exam Review. Exam Format 200 Total Points – 60 Points Writing Programs – 45 Points Tracing Algorithms and determining results – 20 Points.
Review for Test2. Scope 8 problems, 60 points. 1 Bonus problem (5 points) Coverage: – Test 1 coverage – Exception Handling, Switch Statement – Array of.
Test 2 Review Outline.
Introduction to Computers Computer Generations
Passing Objects to Methods
Chapter 13: Overloading and Templates
Chapter 7 User-Defined Methods.
Structures Revisited what is an aggregate construct? What aggregate constructs have we studied? what is a structure? what is the keyword to define a structure?
Yanal Alahmad Java Workshop Yanal Alahmad
CMSC201 Computer Science I for Majors Lecture 12 – Lists (cont)
CS 1428 Exam I Review.
Chapter-7 part3 Arrays Two-Dimensional Arrays The ArrayList Class.
CS 1428 Exam II Review.
This pointer, Dynamic memory allocation, Constructors and Destructor
Class Constructor Recall: we can give default values to instance variables of a class The “numberOfPlayers” variable from the “PlayerData” class before.
Starting Out with Java: From Control Structures through Objects
Exam 1 Review CS 3358.
CS 2308 Exam I Review.
Classes & Objects: Examples
Exam 1 Review CS 3358.
Review for Final Exam.
Group Status Project Status.
CS 1428 Final Exam Review.
Chap 1 Chap 2 Chap 3 Chap 5 Surprise Me
CS 1428 Final Exam Review.
Review for Final Exam.
Review for Test1.
CS201 Fall 2016 George Koutsogiannakis
Fundamental Programming
1-6 Midterm Review.
CS100A Sections Dec Loop Invariant Review C Review and Example
CS 1428 Exam I Review.
Review for Midterm 3.
First Semester Review.
Corresponds with Chapter 5
Lesson 3. Controlling program flow. Loops. Methods. Arrays.
Chapter 4 Test Review First day
Presentation transcript:

Exam 1 Material Study Guide

Linux/VIM Creating/deleting files Creating/deleting directories Copying files Moving files Aliases Current, parent, and home directories Editing files using VIM Command mode Edit mode

Variables Assigning type (primitive or object) Assigning value Modifying value Comparing values of variables Type casting Printing variable values Passing variables to other scopes

Conditionals Boolean expressions/variables IF conditional statements ELSE IF conditional statements ELSE statements Combining Boolean expressions Logical operations Relational operations Nested conditional statements

Loops FOR loop structure WHILE loop structure Looping patterns Nested loops Sentinel loops

Arrays One and two dimensional arrays Primitive type arrays Object arrays Iterating over arrays Visiting elements Compare Modification Printing Passing arrays to/from methods Populating an array with data from a file

File I/O and Command Line Arguments Capturing and using command line args Reading data from a file Writing data to a file Appending data to a file Copying files

Methods Method headers Formal parameters Method calls (with/without arguments) Static and non-static methods Method return types (primitives/objects) Method overloading constructors

Objects and Classes Creating classes for instantiating objects Class templates Public/Private accessibility modifiers Creating objects Default constructors Overloaded constructors Comparing objects

Exam 1 During Lab time: Sam format as Exam0 Four total tasks 12:45pm – 2:35pm Sam format as Exam0 Four total tasks One Linux/VIM task Three programming tasks 120 maximum points Graded out of 100 Up to 20 bonus points Open book/notes/web Don’t expect to learn how to complete tasks during the exam. Doing so will likely not give you enough time to finish