CS 241 – Computer Programming II Lab

Slides:



Advertisements
Similar presentations
Personalising Feedback Combining methods. Warm Up Turn to the person on your right and ask them…. Turn to the person on your right and ask them…. What.
Advertisements

Computing Science Software Design and Development SOFTWARE DESIGN AND DEVELOPMENT USING PYTHON.
CS3: Introduction to Symbolic Programming Spring 2006Nate Titterton Lecture 4: "Difference Between Dates" and data abstraction.
Honors Compilers The Course Project Feb 28th 2002.
COMP2001 Testing. Aims of Testing To achieve a correct system producing correct results with a variety of input data.
CS 206 Introduction to Computer Science II 09 / 03 / 2008 Instructor: Michael Eckmann.
DD1363 MVK Software Demo Guidelines Suggested Plan and Hints 1MVK Software Demo.
CS 241 – Computer Programming II Lab Kalpa Gunaratna –
CS 235: User Interface Design January 22 Class Meeting
CS 240 – Computer Programming I Lab Kalpa Gunaratna –
CS 241 – Computer Programming II Lab Kalpa Gunaratna –
CS 240 – Computer Programming I Lab Kalpa Gunaratna –
6 Steps of the Programming Process
CS 241 – Computer Programming II Lab Kalpa Gunaratna –
Commercial Database Applications Testing. Test Plan Testing Strategy Testing Planning Testing Design (covered in other modules) Unit Testing (covered.
INTRODUCTION TO COMPUTING CHAPTER NO. 06. Compilers and Language Translation Introduction The Compilation Process Phase 1 – Lexical Analysis Phase 2 –
CS 241 – Computer Programming II Lab Kalpa Gunaratna –
CS 241 – Computer Programming II Lab Kalpa Gunaratna –
Programming Concept Chapter I Introduction to Java Programming.
Computer Science II Spring Introduction Dr. Robb T. Koether Office: Bagby 114 Office phone: Home phone: (before 11:00 p.m.) Office.
Computer Science II Spring Introduction Dr. Robb T. Koether Office: Bagby 114 Office phone: Home phone: (before 11:00 p.m.) Office.
Making Decisions uCode: October Review What are the differences between: o BlueJ o Java Computer objects represent some thing or idea in the real.
Programming with Visual C++: Concepts and Projects Chapter 2B: Reading, Processing and Displaying Data (Tutorial)
CS 240 – Computer Programming I Lab Kalpa Gunaratna –
Chapter 8 Lecture 1 Software Testing. Program testing Testing is intended to show that a program does what it is intended to do and to discover program.
Homework #2: Functions and Arrays By J. H. Wang Mar. 20, 2012.
CS 240 – Computer Programming I Lab Kalpa Gunaratna –
Introduction to Testing CSIS 1595: Fundamentals of Programming and Problem Solving 1.
1 CS 311 Data Structures. 2 Instructor Name : Vana Doufexi Office : 2-229, Ford Building Office hours: By appointment.
How to Test Methods Computer Science 3 Gerb Objective: Test methods properly.
© The McGraw-Hill Companies, 2006 Chapter 3 Iteration.
1 Project 3 String Methods. Project 3: String Methods Write a program to do the following string manipulations: Prompt the user to enter a phrase and.
Creating a Business Project Put your name here.. Creativity Give at least one example of how you used creativity while doing this project.
CS 240 – Computer Programming I Lab Kalpa Gunaratna –
Designing Lego Labs Using Lejos and Mindstorms Adapted from Lynn Stein “Radically ReThinking CS1” NSF Workshop.
1 Project 5: Leap Years. 222 Leap Years Write a program that reads an integer value from the user representing a year and determines if the year is a.
1 Project 12: Cars from File. This is an extension of Project 11, Car Class You may use the posted solution for Project 11 as a starting point for this.
CRJ 303 Week 4 Assignment Life As A Correctional Officer Check this A+ tutorial guideline at
CS 241 – Computer Programming II Lab
CS 13011/13012 Computer Science I A and B Programming Labs
CS 240 – Computer Programming I Lab
CS 240 – Computer Programming I Lab
Lecture 8 CSE 331 Sep 14, 2011.
Lab #3, CS 112 Please sign your name at the back Quiz 2 (15 minutes)
Looping and Random Numbers
Understand the Programming Process
Renaissance Place at Grand Community Activities Bldg. May 2018
CS 3630 Database Design and Implementation
Stat 217 – Day 28 Review Stat 217.
CS 1430: Programming in C++ No time to cover HiC.
Located on the first floor of Nitschke Hall Room 1010
Programming Fundamentals (750113) Ch1. Problem Solving
Introduction to Computer Programming
M434/534 Numerical Linear Algebra MATLAB Tutorial Session (Fall 2010)
DEBUGGING CS2110.
Understand the Programming Process
Abstinence / Postponement of Sexual Activity: A Healthy Choice
Programming Fundamentals (750113) Ch1. Problem Solving
Announcements Nate’s office hours Card key problems?
Lecture 18 CSE 331 Oct 9, 2017.
CS 336/536: Computer Network Security Fall 2014 Nitesh Saxena
Monday, October 17: CS AP A Assignment -Create a netbeans Project with 3 class files. -create a method in each of the two class files you create.
Lecture 1a- Introduction
Programming Fundamentals (750113) Ch1. Problem Solving
CS150 Introduction to Computer Science 1
Running a Java Program using Blue Jay.
CSCE 206 Lab Structured Programming in C
Lecture 7: JavaScript/DOM Lab Wednesday February 7, 2018.
CMPE 152: Compiler Design April 18 – 30 Labs
 Is a machine that is able to take information (input), do some work on (process), and to make new information (output) COMPUTER.
Presentation transcript:

CS 241 – Computer Programming II Lab Kalpa Gunaratna – kalpa@knoesis.org http://knoesis.wright.edu/researchers/kalpa/

Contact Contact by e-mail Office hours kalpa@knoesis.org 376 Joshi Mondays & Wednesday 3:00 pm – 4:00 pm

Test Cases Writing test cases is important for the thorough testing of your code. When test cases implemented, it can be decided whether the program behaves as expected. The idea is to inspect where the program might break.

In lab You have 11 methods. Therefore, have about 16 – 20 test cases having at least one test case for a method. Some methods, you will be able to write more than one. Test case guideline. Test case <number> : <method signature> input : <type> <value> expected output : <type> <value> rationale (reason for choosing input) :

Post lab Implement test cases you have written. See the example in the assignment. Do not modify the class to run test cases. If errors found, correct them and put a comment where you made changes and about what did you change.