COMPUTER 2430 Object Oriented Programming and Data Structures I

Slides:



Advertisements
Similar presentations
Introduction to Eclipse. Start Eclipse Click and then click Eclipse from the menu: Or open a shell and type eclipse after the prompt.
Advertisements

How to Import an Excel File Using the SAS Import Wizard SAS 9 for Windows.
COMPUTER PROGRAMMING I Essential Standard 5.02 Understand Breakpoint, Watch Window, and Try And Catch to Find Errors.
Microsoft Excel 2003 To start Excel, click the start button. A slightly different procedure might be required for computers on a network. If you need assistance,
CS 202 Computer Science II Lab Fall 2009 September 24.
Excel Charts – Basic Skills Creating Charts in Excel.
Georgia Institute of Technology DrJava Appendix A Barb Ericson Georgia Institute of Technology May 2006.
MT311 Tutorial Li Tak Sing( 李德成 ). Uploading your work You need to upload your work for tutorials and assignments at the following site:
The IDE (Integrated Development Environment) provides a DEBUGGER for locating and correcting errors in program logic (logic errors not syntax errors) The.
EGR 106 – Week 2 – Arrays & Scripts Brief review of last week Arrays: – Concept – Construction – Addressing Scripts and the editor Audio arrays Textbook.
CS 2511 Fall  Windows:  Start->Specialized Academic Software- >Programming Languages->NetBeans->NetBeans IDE x.y.z  where x.y.z is a version.
ME 411/511Prof. Sailor Data Acquisition & LabView Lecture goals… –Learn the basics of how to use and modify LabView Virtual Instruments –Become familiar.
1 Introducing Windows Backup There are different methods for starting Windows 2000 Backup. Requirements for running Windows 2000 Backup All users can back.
Using a Debugger. SWC What is ”debugging”? An error in a computer program is often called a ”bug”… …so, to ”debug” is to find and get rid of errors in.
The NetBeans IDE CSIS 3701: Advanced Object Oriented Programming.
First Screen : First window form will always remain open, for the user to select menu options. 1.
Compiling & Debugging Quick tutorial. What is gcc? Gcc is the GNU Project C compiler A command-line program Gcc takes C source files as input Outputs.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Lesson 1 Introduction.
CPSC1301 Computer Science 1 Overview of Dr. Java.
JCreator Tonga Institute of Higher Education. Programming with the command line and notepad is difficult. DOS disadvantages  User Interface (UI) is not.
SUNY-New Paltz Computer Simulation Lab Electrical and Computer Engineering Department SUNY – New Paltz “Lecture 6”
Active-HDL Interfaces Debugging C Code Course 10.
Files to turn in for Homework # 1 1)TimerApplet.java 2)TimerApplet.html 3)TimerSyntaxErr.java 4)TimerSemanticErr.java 5)TimerSemanticErr.html 6)HomeWork1.txt.
Taskbar. START TASKBAR Programs Start Menu has the seven basics commands: Programs, Documents, Settings, Find, Help, Run, and Shut down.
CS442: ADVANCED PROGRAMMING USING JAVA Lab 6: Classes and objects Computer Science Department.
ME 142 Engineering Computation I Exam 2 Review VBA.
Simple Java Unit Testing with JUnit 4 and Netbeans 6.1 Kiki Ahmadi JUG-Bonek.
CS320n –Visual Programming More LabVIEW Foundations.
How do I export the Address Book to Excel? The first step is to go to "Address Book Report" under Admin Only menu Choose the fields you want. note that.
Hints on debugging
Eclipse Project. Installing Visit to download a copy for your home computerhttp:// –Get Release version 3.0 (or.
NETBEANS DEBUGGER.  To create a breakpoint place the cursor at the desired location.  Go to the Run -> toogle line Breakpoint or Ctrl +F8. It creates.
1 CS 1430: Programming in C++. Quiz Functions Function Prototype float sqrt(float x); Function name, type, parameter and parameter type Function.
Open project in Microsoft Visual Studio → build program in “Release” mode.
Intro to. Contents These slides describe how one can obtain (download) and use eclipse to build, run, and debug basic Java programs.
Debugging tools in Flash CIS 126. Debugging Flash provides several tools for testing ActionScript in your SWF files. –The Debugger, lets you find errors.
Netbeans QuickStart. Creating a project File->New Project –For now you want General->Java Application –Then fill in the project details.
Intro to. Windows – Mac – osx
Java IDE Dwight Deugo Nesa Matic
1 Using an Integrated Development Environment. Integrated Development Environments An Integrated Development Environment, or IDE, permits you to edit,
Reference and Value Parameters Reference Parameters (&) The formal parameter receives the address of the actual parameter, and the function can read and.
COMPUTER 2430 Object Oriented Programming and Data Structures I
Appendix A Barb Ericson Georgia Institute of Technology May 2006
Dept of Computer Science University of Maryland College Park
Appendix A Barb Ericson Georgia Institute of Technology May 2006
Appendix B MathScript Basics
COMPUTER 2430 Object Oriented Programming and Data Structures I
Testing and Debugging.
COMPUTER 2430 Object Oriented Programming and Data Structures I
CS 1430: Programming in C++.
CS 2340: Programming in VB Instructor: Dr. Qi Yang Office: 213 Ullrich
CS 1430: Programming in C++.
How to Import an Excel File
COMPUTER 2430 Object Oriented Programming and Data Structures I
Debugging with Eclipse
CIS 470 Mobile App Development
COMPUTER 2430 Object Oriented Programming and Data Structures I
COMPUTER 2430 Object Oriented Programming and Data Structures I
The Petroleum Registry of Alberta Energizing the flow of information
Test Automation For Web-Based Applications
1. Open Visual Studio 2008.
Starting a project in VisualDSP++
DEBUGGING JAVA PROGRAMS USING ECLIPSE DEBUGGER
Chapter 3 Minitab Recipe Cards
CIS 470 Mobile App Development
COMPUTER 2430 Object Oriented Programming and Data Structures I
Debugging.
Debugging with Eclipse
Workshop for Programming And Systems Management Teachers
Presentation transcript:

COMPUTER 2430 Object Oriented Programming and Data Structures I

Friday, September 28 Review Notes! Quiz 2 Friday, September 28 Review Notes!

Nadine Gadjou Lab 206 3:00 – 5:00 PM Monday - Thursday Lab Assistant Nadine Gadjou Lab 206 3:00 – 5:00 PM Monday - Thursday

Pals For CS 1130, CS 1430, and CS 2430 6:00 – 9:00 pm, Monday – Thursday Lab 009, Two rows at the back (front rows for ACM, AITP and GDC)

Lab 3 Make sure your Prog1 is working Make a copy of your Prog1 project UserName_Lab3 Open UserName_Lab3 in NetBeabs

Debugging in NetBeans Setting Break Points Debug Click the left column on the line (Prog1.java) theList.print(); A colored square Debug Right click Prog1.java Debug file

Debugging Windows Variables Breakpoints Output sc theList MAX_SIZE scores numScores Breakpoints Output

Debugging Step Over Step Into Step Out Checking the values Continue Pause Finish Debugging Session Stop

Debugging Commands “step over” and “step into” are the same on a line without a function call Is it possible to have multiple debugging sessions running at the same time? If so, is it a good idea to have multiple debugging sessions running at the same time?

Import Format Setting Instruction NetBeans.txt Menu Tools Options K:\Academic\CSSE\Software\NetBeans_8.1_JDK_8u91 Menu Tools Options Import CS2430Settings.zip

Testing Java Programs TestBed main JUnit tests System test

Testbed Main Inside the same class Testing all methods of a class, including private methods Specify input and verify output Need programming skills

Junit Tests A separate class Testing individual public methods of a class Verify expected result against actual result assertEquals assertNotEquals set precision for float/double values No input and output Need programming skills

Lab 3