HW7(100pts+10bonus) The homework Due on May 11, 23:59:59

Slides:



Advertisements
Similar presentations
Integrated Platform version 5.2
Advertisements

Introduction to Eclipse. Start Eclipse Click and then click Eclipse from the menu: Or open a shell and type eclipse after the prompt.
Scripts and Flow Control. Scripts So far we have been entering commands directly into the command line But there is a better way Script files (and functions)
Alice Variables Pepper. Set to Java look Edit / preferences restart.
ImageJ Tutorial.
1 ENG236: ENG236: C++ Programming Environment (2) Rocky K. C. Chang THE HONG KONG POLYTECHNIC UNIVERSITY.
BIL528 – Bilgisayar Programlama II Introduction 1.
INTRODUCTION TO C PROGRAMMING LANGUAGE Computer Programming Asst. Prof. Dr. Choopan Rattanapoka and Asst. Prof. Dr. Suphot Chunwiphat.
Introduction to Graphical User Interfaces. Objectives * Students should understand what a procedural program is. * Students should understand what an.
Coding Methodology How to Design Code. © 2005 MIT-Africa Internet Technology Initiative Pay Attention to Detail When implementing or using APIs details.
Intro to C++. Getting Started with Microsoft Visual Studios Open Microsoft Visual Studios 2010 Click on file Click on New Project Choose Visual C++ on.
Introduction to Matlab & Data Analysis
Creating a Project with C++ Builder
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.
Chapter One Introduction to Visual FoxPro
Project Deployment IT [211 CAP] How to convert your project to a full application.
Development of a microprocessor project with LPC2388 development board.
1 Creating Web Services from a existing tool Presented by Ashraf Memon Hands-on Ashraf Memon, Ghulam Memon.
WDO-It! 102 Workshop: Using an abstraction of a process to capture provenance UTEP’s Trust Laboratory NDR HP MP.
Practical Programming COMP153-08S Week 5 Lecture 1: Screen Design Subroutines and Functions.
Select (drop-down list) Inputs. Insert/Form/List Menu.
A Short Course on How to Manage SLOs with TracDat.
VAT Calculator program Controls Properties Code Results.
Copy of the from the secure website - click on the AccoridaLife.zip link.
Today we are learning to: Understand how flow charts are used to design games Add events to our objects to control stuff in our game – (Using the user.
31/01/ Selection If selection construct.
PHP Form Processing * referenced from
Introduction to VB programming Dr. John P. Abraham UTPA Chapters 2 & 3.
Exception Handling. VB.NET has an inbuilt class that deals with errors. The Class is called Exception. When an exception error is found, an Exception.
DEVRY CIS 170 C I L AB 1 OF 7 G ETTING S TARTED Check this A+ tutorial guideline at
Welcome to the automated Christmas Bonus establishing program Please answer the following question: Would you like a Christmas Bonus? Next.
Python Lesson 12 Mr. Kalmes.
Entry Ticket: Algorithms and Program Construction
HW5(50pts) The homework Due on April 14, 23:59:59
HW3 (100Points) The homework Due on March 17, 23:59:59
2.2 Defining Classes Part 2 academy.zariba.com.
Population Projections Workshop
Visual programming Chapter 1: Introduction
Managing results files
Python Lesson 12 Mr. Kalmes.
Welcome to the automated Christmas Bonus establishing program Please answer the following question: Would you like a Christmas Bonus? Next.
Introduction to VB programming
Exception Handling.
User Defined Functions
How to Import an Excel File
Setting the Permissions
Use proper case (ie Caps for the beginnings of words)
HW8(60pts) The homework Due on May 19, 23:59:59 請注意:本次作業開始,請將所有的檔案從gitlab刪除,只留下當 次的作業。例如本次作業應該只需要以下檔案上傳至Gitlab.
More Loops.
PROGRAMMING Program Development.
Creating Functions Pepper.
Alice Variables Pepper.
Learning to Program in Python
Web service.
Exception Handling.
How to Submit Google Docs to the Homework Drop Box
VPL Patterns – Multi-Action Activity
How to use StackInterleave
Welcome to the automated Christmas Bonus establishing program Please answer the following question: Would you like a Christmas Bonus? Next.
Chapter 4: Repetition Structures: Looping
Basic Lessons 5 & 6 Mr. Kalmes.
HW9(100pts) The homework Due on May 26, 23:59:59 請注意:本次作業開始,請將所有的檔案從gitlab刪除,只留下當 次的作業。例如本次作業應該只需要以下檔案上傳至Gitlab。 HW9請沿用HW8的algorithm.h檔案.
Input and Output Python3 Beginner #3.
Welcome to the automated Christmas Bonus establishing program Please answer the following question: Would you like a Christmas Bonus? Next.
Event loops.
Basic Mr. Husch.
Debugging.
Configuring Classification Management
4.4 – List vs Array Exercise 4.1: Array Variables
Executive Reports, Instructions and Documentation
Presentation transcript:

HW7(100pts+10bonus) The homework Due on May 11, 23:59:59 Part 1(10pts). Create a new Build Target. Right click your CodeBlock Project and click Properties.

Go to Build targets and click Add Button Go to Build targets and click Add Button. The Build target name must be “UnitTest”

Change the type to “Console application” and choose “pause when execution ends.” Output filename, please choose “bin\UnitTest\yourCBPFileName.exe” (if doesn’t exist, create a new folder yourself.) Output dir, please choose obj\UnitTest\

Part 2(10pts). Create a new source file named utmain.cpp Choose the build target “UnitTest” that you create in part 1.

Part 3(10pts). Setting Build Target and move the test code Right click your CodeBlock Project and click Properties. Go to Build targets and choose UnitTest. Select all the build target file except main.cpp.

Move the code from main.cpp to utmain.cpp Change the target to UnitTest, and then run your program. You should see the test result.

Part4(30pts).Design UI In main.cpp, you need to design an UI that user can input a String that system output an inverse Matrix. So you should change the code in inverseByGaussJordan() , and return A-1 You can input Matrix string or Q to exit the system. If you input a matrix string (for example “[0 2 2],[2 2 6]”),you will get an inverse matrix and the system will ask you to input another string or quit the system.

Flow chart looks like this

Part 5(20pts).New methods and Unit tests Please implement two methods toString() and stringToMatrix(string &) toString() is to transform the Matrix to string stringToMatrix() is to transform string to Matrix You have to write at least one unit test for each method

Part 6(20pts). We wrote 13 unit tests to test the methods of Matrix Part 6(20pts). We wrote 13 unit tests to test the methods of Matrix.h you wrote. The test data will not be announced. You have to make all of them pass. You know this by checking Reports on Jenkins.

Part 7(bonus 10pts). We wrote a test for your user interface , If you pass the test, you’ll get 10 points for bonus. The test data will not be announced. You have to make all of them pass. You know this by checking Reports on Jenkins. Test by