4 Pages

Assignment2

Course: ICS 121, Fall 2009
School: CSU Channel Islands
Rating:
 
 
 
 
 

Word Count: 1335

Document Preview

121 ICS / Informatics 111: Software Tools and Methods Fall Quarter 2005 Assignment 2 Due Monday, November 7, 2005 at 11:59 pm Part 1. Effort Estimation (30 points) This problem is the similar to Part 1 from Assignment 1. If you added categories previously, you can use them again for this assignment if that seems appropriate. 1.1 A priori estimate (4 points) When you start working on this assignment, write down...

Register Now

Unformatted Document Excerpt

Coursehero >> California >> CSU Channel Islands >> ICS 121

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
121 ICS / Informatics 111: Software Tools and Methods Fall Quarter 2005 Assignment 2 Due Monday, November 7, 2005 at 11:59 pm Part 1. Effort Estimation (30 points) This problem is the similar to Part 1 from Assignment 1. If you added categories previously, you can use them again for this assignment if that seems appropriate. 1.1 A priori estimate (4 points) When you start working on this assignment, write down an estimate of how long it will take you to complete each section of this assignment. Break down this estimate according to both the sections of the assignment and the categories of tasks. The table for breaking down the estimate might look like the following. You can change the column categories to match what you are using. Task 2.1 2.2 ... 3.4 Column Sum Project Implementation Testing Reading Writing Research Process ... Row Management Improvement Sum The sum of the rows must equal the sum of the columns, which is the same as the overall estimate that was generated. An Excel spreadsheet is available in Assignment2.zip to help with this. 1.2 Logging (16 points) As you are working on the assignment, record what you are doing and how long you spent, in the same manner as Assignment 1 (either one combined or two separate logs). For this question, quantity of data, i.e. number of entries, is important. As a rule of thumb, you should add a log entry every time you switch tasks or at least one entry per hour. If you two or three things in half an hour, you must have a log entry for each of them. You do not need to include time for logging, but should include the time spent answering the other parts of this question. Place your log under revision control. (It can be in the same project as the Scheduler in Part 2.) Every day that you update your log, you must check it in to CVS. You will be submitting the revision history along with the log in your written report. This revision history can be submitted as a screen shot of the history view in the CVS Perspective of Eclipse. 1.3 Summary and Error Calculation (4 points) For each of the entries in the time log, allocate the time spent to a cell in the table. Calculate the error for each cell. Calculate summary statistics for the rows and columns. The supplied spreadsheet makes this fairly easy. 1.4 Discussion (6 points) Did you benefit from the experience you gained in doing an effort estimate for Assignment 1? Did you learn anything new this time? Did you do the overall estimate first and break it down for the table? Or did you generate estimates for the table cells and add them together for the total estimate? Does breaking down the estimate make the job easier or harder? Deliverables A log of your time spent on the assignment CVS revision history of the log (screen print) A table or spreadsheet similar to Part1.xls showing effort estimate, actual time spent, and the error. Include summary statistics for the row and column totals. Discussion Part 2. Unit Testing (70 points) For this part, you will be unit testing a component of a seminar scheduler. There are four classes in the package, Attendee.java, Seminar.java, Scheduler.java, and Invitation.java. Seminars are attended by Attendees. For each Seminar, the Scheduler generates Invitations to send to each person (Attendee). The Invitation tells the Attendee when the Seminar will occur in his or her local time zone. This component is intended to be part of a larger seminar scheduling system. For example, there's no UI for entering the information and no back end to store information about people and seminars. But we'll leave that for Assignment 3. In this assignment, you will need to create a project in Eclipse for the scheduler package. After that there are three tasks: develop JUnit tests, correct the defects in the scheduler package, and write a Test Report. Although these tasks are described sequentially, you may find it easier to do them in parallel. For example, outlining the test report will help you develop a test plan that will guide development of test the cases. 2.1. Set up a JUnit Project in Eclipse (5 points) Download files from Assignment2.zip for this assignment. The zip file contains four Java files and a test stub class. Create a project in Eclipse called "Assignment 2" with a package for the source code as distributed and a package for the test cases you are going to create. Set the javac compliance level to 1.4. Decompress the zip file and import the .java files into the project. Place this project under revision control using CVS. 2.2 Convert TestStub.java into a JUnit Test (5 points) A test stub has been included in the code provided to you. However, this test stub has been implemented as a simple Java class rather than as a JUnit task. Convert this test case into a JUnit test class. In order to use JUnit effectively, you will need to consult the Javadocs and other documentation on http://www.junit.org/. You may also want to consult the recommended text for this course, "Eclipse in Action" by Gallardo, Burnette, and McGovern. 2.3 Develop JUnit Test Cases for the Scheduler Package (30 points) Implement test cases for Attendee class in AttendeeTest, and test cases for Seminar in SeminarTest, and so on for Invitation and Scheduler classes. If you want to create additional JUnit test classes, use a sensible naming convention or add numbers after these class names. The test methods must begin with "test," so JUnit will find them, but otherwise give them meaningful names. Your test cases must be placed in one or more test suites. Your objective is to find as many defects as you can in the source code. To help you get started, here are some places to look for defects. Input checking (range, validity) Constructors Format of dates, email addresses, etc. Correctness of the scheduler Time zone handling, especially daylight saving vs. standard time Leap years and days 2.4 Correct Errors the Scheduler Package (10 points) Based on your test cases and the defects that you found, modify the classes in the Scheduler package to make your test cases run successfully. 2.5 Compose a Test Report (20 points) Write a report to document the test cases that you developed. The report must include a description of each test case that was implemented. The report should be organized according to the strategies or approach used to identify the bugs. For instance, all the tests of constructors can b...

Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

CSU Channel Islands - ICS - 123
ACME/Armani (Carnegie Mellon U/USC ISI) C2SADL (UC Irvine) CHAM (University of Colorado/Universit di LAquila) Darwin (Imperial College) MetaH (Honeywell) Rapide (Stanford University) SADL (SRI International) UniCon (Carnegie Mellon University) Wright
CSU Channel Islands - ICS - 221
ICS 221 Fall 2001Software RequirementsSoftware Lifecycle Context (Waterfall Model) Software RequirementsDavid S. Rosenblum ICS 221 Winter 2001Requirements Requirements Design Design Implementation Implementation Integration Integration Validati
CSU Channel Islands - ICS - 221
ICS 221 Winter 2001Formal Specification MethodsWhat Are Formal Methods? Formal Specification MethodsDavid S. Rosenblum ICS 221 Winter 2001!Use of formal notations .!first-order logic, state machines, etc. system models, constraints, specif
CSU Channel Islands - ICS - 121
ICS 121 Lecture NotesICS 121 - Software Methods and Tools1ICS 121 - Software Methods and ToolsDesignDesign GuidelinesGoal is to develop a coherent representation of software that will satisfy requirements and provide a blueprint for impleme
CSU Channel Islands - CHEMISTRY - 131
All calculations are according to page 135 on textbook. All results are listed in a table in the end of the file. Formulas used:V ( R) = De 1 e ( R Re ) k = 2 De 2 1 2 k2=De = 2 E ( N ) Ee (to avoid errors in fitting) h ( h )2 D0
CSU Channel Islands - ICS - 132
New Premise in Science: Get the Word Out Quickly, Online2002-12-17 13:52:02 -0800December 17, 2002New Premise in Science: Get the Word Out Quickly, OnlineBy AMY HARMONgroup of prominent scientists is mounting an electronic challenge to the l
CSU Channel Islands - ICS - 105
user interface hall of shame ICS 105: Project in HCIWvhy9rvthqTprr9rvtuser interface hall of shametwo questions pvqruvvhv urrrvtuyvqyrs rrqhhtrsruv uhhrsvrvurrphrhvy rhpu4 uv Hhprihhrhursurprr Xvqrihhrhursurvq Hhprihhrsvrvrrshr u4vis
CSU Channel Islands - ESS - 130
1) a. If the field has no convergence nor divergence, we must have u/x + v/y = 0. Taking the derivative of u respect to x and of v respect to y we get a + b = 0, or b = -a. b. u is a linear function of x. If we choose a > 0 then the plot is as in fig
CSU Channel Islands - ESS - 130
Frictional forceEddy viscosity is typically much larger than molecular viscosity. We dene a horizontal and a vertical eddy viscosity coefcient ( Ah and Av ). The horizontal is larger than the vertical because turbulent motion in the vertical is inhi
CSU Channel Islands - ESS - 130
Western boundary intensicationNorth Atlantic currentsGulf stream ringsEastern boundaryEquatorial current systemTrade winds: from NE in the NH, from SE in the SH. The latter blow across the equator. Doldrums (very weak winds) at about 5N. Ekm
CSU Channel Islands - E - 835
This article was published in an Elsevier journal. The attached copy is furnished to the author for non-commercial research and education use, including for instruction at the author's institution, sharing with colleagues and providing to institution
CSU Channel Islands - E - 835
ELSEVIERNuclear Physics A72 1 (2003) 809c-8 12c www.elsevier.com/locate/npeCharmonium states at the Fermilab Antiproton results from E835.M.M.Obertino E835 Collaboration* &University of MinnesotaAccumulator.NewExperiment E835 has collected
CSU Channel Islands - PRE - 20080512
1 2 0.8292401 3 1.4175192 3 0.4439722 4 1.1286293 4 0.6956221 6 1.4193702 6 0.4445753 6 0.0000004 6 0.6966221 7 1.6705432 7 0.7668963 7 0.3479964 7 0.9882716 7 0.3484951 8 1.7033692 8 0.7860413 8 0.3591884 8 1.0105466 8 0.3597597 8
CSU Channel Islands - ICS - 153
ICS 153 Introduction to Computer NetworksInst: Chris Davison cbdaviso@uci.edu1ICS 153 Introduction to Computer Networks Course Goals Understand the basic principles of computer networks Design Architecture Understand the Internet and its
CSU Channel Islands - ICS - 223
The 4+1 View Model of ArchitecturePHILIPPEB.KRUCHTEN,RationalSoftware*The4+1 V?ew Modelorganizes a description of a sojimare architecture usingjive concurrent views, each of which addressesa speczj%set of concerns. Architects capture t
Maryland - ECON - 781
detail in Bawa and some additional results on optimal pollution control policies are obtained. Reference Bawa, V. S., "On Optimal Pollution Control Policies"(unpublishedpaper).CHAPTER14Taxes versus subsidies: a partial analysis~We can rest
UNLV - BIO - 351
Microbial growthLecture 5 Bio 351Please turn off your cell phone!Carfuel = gasolineoxidant = oxygenEnergy!Humanfuel = pizzaoxidant = oxygenEnergy!Bacteriumfuel = gasoline oxidant = oxygen Energy! pizza Fe3+ (rust) hydrogen (H2)
Virginia Tech - ETD - 05242002
A Comparative Analysis of Weaving Areas in HCM, TRANSIMS, CORSIM, VISSIM and INTEGRATIONNanditha KoppulaThesis submitted to the Faculty of the Virginia Polytechnic Institute and State University in partial fulfillment of the requirements for the
UNLV - GEOL - 101
UNLV GEOL101 Lecture Outline Fall 2008Week of 11/24/08 I. Natural resourcesA. definition of a natural resource 1. naturally occurring material 2. can be put to beneficial use B. renewable resources 1. can be replenished in a reasonable amount of t
UNLV - GEOL - 101
GEOL101 Fall 2008, Exam 3 - Important termsGroundwater infiltration groundwater permeability porosity aquiclude aquifer confined aquifer unconfined aquifer perched aquifer water table artesian gaining stream losing stream recharge saturated zone un
UNLV - HPS - 102
HPS 102/RAD 102 Module 5 XI. Radiation DetectionDetector - instrument to measure radiation fields or to count radiations emanating from a source. Dosimeter - device worn on a person to assess the amount of dose received by that worker while working
UNLV - ECO - 2612008
Lecture SlidesEssentials of StatisticsThird Editionby Mario F. TriolaSlide 1Copyright 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.Chapter 6 Normal Probability Distributions6-1 Overview 6-2 The Standard Normal Distribu
Maryland - ASTR - 109
NAME _ASTR109/PHYS109: 2008HOMEWORK #6Due 1.00 pm, Thursday 18 September 2008 Bring to lecture or tutorial or leave with Rosalie in room 705, Physics and AstronomyThese questions are based on topics covered in lectures. Any additional material
Maryland - PHYS - 161
Physics 161, section 03 GuptaAssignment 3 Due February 19, start of classReference reading: Vectors, 2-d kinematics, starting forces. So we're starting some of the ideas in Knight chapter 4, and chapter 6 has material on 2-d kinematics. 1) Two m
Maryland - PHYS - 161
This was the first exam, last time I taught this course. The average score was 54, which was a C.University of Maryland Department of PhysicsFall 2007 Physics 161First examDavid Hammer October 2, 2007Answer all questions on these sheets. Pl
Maryland - GEOG - 371
Data Acquisition The world is infinitely complexData Acquisition and Integration, Vector DataLecture 5 October 3, 2002 The contents of a spatial database represent a particular view o f the world The user sees the real world through the medium
Maryland - ASTRO - 487
J/ApJS/112/487 Planetary nebulae classification (Soker 1997)=Properties that cannot be explained by the progenitors of planetary nebulae Soker N. <Astrophys. J. Suppl. Ser. 112, 487 (1997)> =1997ApJS.112.487S (S
UNLV - MGT - 302
ChapterPromoting & DistributingUse Of Advertising Opportunities & Problems Physical Distribution Channels Of Distribution Functions Of Intermediaries Creative Selling Process88-1Advertising".informs customers of the availability, desirabili
UNLV - CSC - 456
n j C B C @ 9 8 B E B 9 E E9 E i D B B E B A9 z q p j l B C9 s B C B C @ i D D C D j @ l C D d d B i g C B A E9 9 E9 e9 C @ B l C D f B E B 8 i D B E l C l E @ B 8 E 9 @ g e C B 8 9 B f B E i D B B
UNLV - CSC - 789
2Competitive AnalysisRefer to Borodin and El Yaniv for a denition of competitive analysis.2.1Why Competitive Analysis?Why should we try to minimize competitiveness, instead of simply minimizing cost? Consider the paging problem. If we are s
UNLV - CSC - 789
3PotentialsPotentials are a commonly used tool for proving performance, for example, for proving competitiveness.3.1Alternating Weighted Directed GraphsA common problem in the theory of weighted directed graphs is detection of negative cycl
UNLV - CSC - 789
5Metrical Task SystemsA metrical task system consists of a metric space M , whose members are called the states of the system, and a set of tasks, where each task is a cost function on M . Given a metrical task system, our problem is to design an
Maryland - M - 111
Math 111: Introduction to Probability Quiz 3 - February 19, 2008Name:Answer KeyThis quiz covers material from 6.4, 7.1, and 7.2. Show your work. It is acceptable if you set up but do not compute the answers.1. (2 points) For the 4th of July h
NJIT - CS - 104
Chapter 2: What the Digerati Know: Exploring the Human-Computer InterfaceFluency with Information Technology Third Editionby Lawrence SnyderLearning About Technology People do not have any innate technological abilities Our experience using (re
Maryland - CMSC - 330
CMSC330 - SUMMER 2006 - PSEUDO-MIDTERM 1INSTRUCTOR: GUILHERME FONSECA(1) (20 points) What is the output of each Ruby program below? Ignore any possible warning message. All programs are syntatically valid. (a) if 0 puts "ab" elsif " puts "cd" else
Maryland - ENEE - 114
qz3p1Soln.txt: ENEE 114 Section 0101 Quiz 3 Problem 1 Solution 1. In C, two user-defined functions CAN have the same name. (True/False) Ans: False 2. Name three functions that you used in the first two homework assignments Ans: a) main b) scanf c) pr
Maryland - ENEE - 114
Name:_ Glue Logon:_ Quiz 4: Pointers Directions: Write all answers on this sheet, closed notes, closed books, no computer use. 1) Given the declarations below answer the following questions int a; int *p = &a; int b = 7; int arr[5]; a) (4 points) Cir
Maryland - ENEE - 114
Name: Glue Logon: Quiz 3: Functions Directions: This quiz is closed-book, closed-notes, and NO COMPUTER USE. Write all of your answers on these quiz pages. Problem 1 (8 points) Place the data types int, char, float, string, and int array in the colum
Maryland - ENEE - 114
ENEE114 Fall 2003 Quiz 1 3 questions, 30 minutes Closed Book, Closed Notes Put your answers in a file qz1ans.txt and submit with assignment name qz1 1. (5) a) List three data types used in C. b) Write the line of code used to read an integer from the
Maryland - ENEE - 114
ENEE114 Quiz 3 Section 0105 1. Solution: 320 23 2 0 1267924680 2. Solution: a. int foo(int a[][4]) { int i; int sum = 0; for( i = 0 ; i < 3; i+) sum += a[i][0]; return sum; } b. int foo(int a[][4]) { int i, j; int least = a[0][0]; for( i = 0; i < 3;
Maryland - ENEE - 114
Answers to Quiz 1 (section 0101) 1. a) True b) True c) False 2. The program asks the user to answer the question Do you enjoy programming so far? with a y or an n. If the user answers y, the output is Good for you!; if the user answers n, the output
Maryland - ENEE - 623
Problem 5.24 : (a) Since m2 (t) = m3 (t) the dimensionality of the signal space is two. (b) As a basis of the signal space we consider the functions:1 Tf1 (t) =00tT otherwisef2 (t) = 1 T 1 T00t T 2 T <tT 2 otherwiseThe vect
NJIT - CS - 101
Chapter 3 MATLAB ProgrammingTop-Down DesignIt starts with a large task and breaks it down into smaller subtasks. Each subtask may in turn be subdivided into even smaller building blocks if needed. Each building block can be coded and tested indepe
Maryland - ASTRO - 126
J/ApJS/126/37 Morphologies and Spectra of Compact Radio Sources (Kaplan+, 2000)=Radio Morphologies and Spectra of Compact Radio Sources with the SteepestSpectra Kaplan D.L., Cordes J.M., Condon J. J. <Astrophys. J. Suppl. 126, 37 (2000)>
Maryland - PHASER - 750
PHASER 750 Laser Printer1 Placement43 kg 94 lbs.Place in well ventilated area2 Remove TapeS e t up G ui de3Prepare Imaging Unit4 Unpack All TonerRemove cover1.11.2tter A/LeFrontTransptter arency A/Letter A/Le55.1P H
Maryland - PHASER - 750
s s s s sInstalling the Lower Tray Assembly with Duplexing Option Installation du bac d'alimentation infrieur avec l'option Recto-verso Installazione dell'unit cassetto inferiore con opzione duplex Installieren der unteren Papierfacheinheit mit Dup
UNLV - BIOL - 304
CLASS 1.4: 01/30/07 GENOME ORGANIZATION IIA. Genome Sequences and Gene Numbers (cont): 1. Model eukaryotic systems - Lot is known - Genome sequence can directly test theories about genes - Most common model systemsa. Yeasts - Two closely-related s
UNLV - GEOL - 485
GEOL 485/796 CE 432/632Spring 2007Assignment #4Due: 4/12/07The attached map shows a section of coastline (solid black line). The ocean is generally to the West, with folded and fractured mountains to the East. Geologic surveys of this region
UNLV - JOUR - 102
JOUR 102 Spring 2009Major Project Part 1: Features Story During Week 7, Feb. 23-26, in class (and outside of class) you will choose, discuss, develop, and write a features story about an Environmental/Health/Science news topic. You will receive ins
UNLV - GEY - 101
NAME _HOMEWORK ASSIGNMENT #4 MATERIAL COVERS CHAPTERS 19, 20, 21, & 2 Assignment is due the beginning of the class period on December 14, 2004. Mark answers on a scantron sheet, which will be provided. Each multiple-choice question is worth 1 pt. fo
UNLV - GEY - 101
GEY 101 Introductory Geology: Understanding EarthRoom LFG 102 Section 005 Tuesday 7:00 p.m. 9:45 p.m. No. - 33057 Revisions are listed in red.Fall 2004Cheryl McDonnell-Canan Geoscience office: 895-3262 e-mail address: cmc5@cox.net cellular: 3
Maryland - PHYS - 171
Homework #3 due Feb. 17 1. A ship is pointing due east and has a speed relative to the water of 35 km/hr. The current at the position of the ship is owing at a rate of 5 m/s at an angle of 45 south of east. The shore is 17 km away and due east. (a) W
Maryland - PHYS - 122
Maryland - LING - 240
LING240 Language and MindMatt Wagers Department of LinguisticsBirds-eye view To understand language as anobject of biological study, like a kidney, or an ecosystemwhat are the core properties of natural language? how does language fit in wi
Maryland - PHYS - 622
Homework 10: Due November 191. Clebsch-Gordan coefficients can be expressed in the form j1 j 2 m1 m 2 jm . Here I want you to compute from first principles all nonvanishing Clebsch-Gordan coefficients obtained from combining to angular momenta with
Maryland - ENEE - 244
ENEE244 Fall 2006 Due Date Nov 6th In Your RecitationQ1) I want to build an adder that can be used both as an adder and a subtracter (just like figure 5.6 in the book). I go to a electronic hardware store and find that they have full adders, decode
Maryland - CMSC - 412
Project 3 RoadmapScheduling SemaphoresMultilevel Feedback Schedulingstruct Kernel_Thread in kthread.h current queue: int currentReadyQueue blocked state: bool blocked s_runQueue[MAX_QUEUE_LEVEL] in kthread.c except IDLE thread that enters at
Maryland - CMSC - 412
Project 3 RoadmapMultilevel Feedback Scheduling SemaphoresMultilevel Feedback Schedulingstruct Kernel_Thread in kthread.h current queue: int currentReadyQueue blocked state: bool blocked s_runQueue[MAX_QUEUE_LEVEL] in kthread.c except IDLE t
Maryland - CMSC - 131
Lecture Set 1: IntroductionToday's topics: 1. Course information 2. Tools needed for this course 3. Computer terminology basicsCMSC 131 Spring 2008 Jan Plane (adapted from Bonnie Dorr)CMSC 131Name: "Object-Oriented Programming I" Instructor: Jan
UNLV - MEG - 337
Analog to Digital ConversionLaboratory # 5ME 337L Engineering Measurement Laboratory Dept of Mechanical Engineering University of Nevada, Las VegasSummaryIn this experiment, you will write a LabVIEW VI to acquire an analog signal from the analog
Maryland - CMSC - 250
G H ` B & y q & y ` 5 y 5 `y 2 `y 5` B qy ` Ty `y & y y yy y y S pt U qS sgT|a |S `f S Xt pU 2S `gpm `g Q Ebqi qc S XgTqi Q Eh S `W Q 5 f S `W v r y f ra W Q Y W v S Q Y W Y Wa Y Wa f ra W c f r Y W k