...6.1 MODULE DESCRIPTION This project has following modules: • Login Module • Department Module • Subject Module • Question Module • Result Module • Feedback Module • Change Password Module 6.1.1 Login Module: In login module Admin, Examiner and Participant enter the userId and password if that is valid then redirected to respected pages. Pseudo Code: //login module Begin Input userId, Password Validates Check for valid login If Input is valid Redirect to user page Else Display error message End if End 6.1.2 Department Module In department module Examiner can add, delete or update department. Participant need to select the department to give exam. This department can used to add the subjects....
Words: 1208 - Pages: 5
...currency Call display results End while Print exit message End main module Display Menu Declare continue as Boolean Set continue = true While continue = true Display "Welcome to the international currency conversion program" Display "Please make a selection" Display "International Currency Types:" Display "1: Canadian Dollars" Display "2: Mexican Pesos" Display "3: English Pounds" Display "4: Japanese Yen" Display "5: French Francs" Display "6: Quit" Display "Enter a selection: "; Input currency type If currency type >= 1 and currency type <= 5 then Set continue = false else if currency type = 6 Display “Quitting Currency Conversion” continue = false else Display "Error 4: Invalid menu selection." continue = true end if end While End Display Menu Get International Value Declare value as integer Declare continue as Boolean Set continue = true While continue = true Display "Enter a currency value (positive number):" Input international value if international value > 0 and international value <=(NNN) NNN-NNNNthen continue = false else Display "Error 1: Invalid input--Negative Number" continue = true end if end while End Get International Value Convert Currency Declare rate as real Select Case of currency type case 1: Set rate = 1.4680 case 2: Set rate = 9.5085 case 3: Set rate = .6085 case 4: Set rate = 104,9; case 5: Set rate = 6.2561 default: Set rate = 0.0 End Case US value = rate...
Words: 892 - Pages: 4
...of test cases that I think adequately test this program. Test case 1: Test case name: Non-integers error Steps: 1. User enters three numbers. 2.8 5.2 4.3. 2. Program reads error for numbers are not integers. Expected results: The program prints a message that states an Error, three integers must be given. Test case 2: Test case name: Use spaces Error Steps: 1. User enter spaces as values. 2. Program reads error for integers were not entered. Expected results: The program prints a message that states an Error, that three integers must be given. Test case 3: Test case name: Valid Equilateral triangle Steps: 1. User enter three integer numbers. Ex. 12 12 12 2. Program reads the values as representing the length...
Words: 395 - Pages: 2
...the end user sees. In this paper, one can find instructions on what the end user will need to enter and in which order to enter such information in order to give accurate data output. This will assist in avoiding errors, in order to avoid the garbage in garbage out cliché from occurring to the end user. To avoid this cliché, there is a piece in the instructions and end user prompts, which will identify obvious errors in the process, before finishing the process, which in turn will minimize incorrect data. This step would prompt the end user to review, confirm and correct any information which may look incorrect to the system. One can also find in this paper the examples of how each process works in the background to give accurate results. There will be a total of three artifacts and one set of instructions on how end users must enter data. There will be instructions in programing order, but one can also find following these instructions, charts which may make instructions easier to follow, or at least easier to understand. Currency Conversion Input Data and Output Process | Input | Processes | Output | Select Country | Generate Currency List | Display Currencies available for the country selected. | Select Currency Option | Process currency selection | Display US currency amount requesting dollar amount to convert. | Enter US dollar amount to convert. | Perform conversion USD to Currency selected. | Display amount in foreign currency. | Confirm amount...
Words: 1710 - Pages: 7
... 10. Display the currency amount entered by the user along with its US dollars equivalent. Input | Process | Output | Menu optionsName:Type:Range: | Display Menu | Menu OptionsName: Currency TypeType: IntegerRange: 1-6 | Menu choice currencyName: International ValueType: RealRange: 0-1,000,000 | Get Foreign Value | Menu choice currencyName: International ValueType: RealRange: 0-1,000,000 | Currency conversion Name: International ValueType: RealRange: 0-1,000,000Name: Currency TypeType: IntegerRange-1-6 | Convert currency | Equivalent US dollarName: Us ValueType: RealRange: > 0 | Name: Currency TypeType: IntegerRange: 1-6Name: International ValueType: RealRange: 0-1,000,000Name: US ValueType: RealRange: >0 | Display Results | Name: Currency TypeType: IntegerRange: 1-6Name: International ValueType: RealRange: 0-1,000,000Name: US ValueType: RealRange: >0 | Hierarchy Chart Complete a hierarchy chart for the application above by typing into the textboxes below. Flowcharts Control Flow...
Words: 1321 - Pages: 6
...Conversion calculator final project Problem Analysis Problem: User requires a program that will convert two given numbers and at user’s option will find their sum, difference, product or quotient. Desired results: Find and display the sum, difference, product or quotient of two numbers entered by user. Results trying to achieve: Provide user with desired result between two given numbers Required inputs: intnum (interger) intnum (Interger) Required processes: Sum= intnum+intnum Difference= intnum-intnum Product=intnum*intnum Quotient=intnum/intnum Application level requirements: Program will welcome user and provide a description of what program will do Program will prompt user to enter numbers to be calculated Program will provide user menu options for calculating sum, difference, product or quotient Program will display desired calculations to user Major tasks of program Get user input Perform calculations Display calculations IPO CHART INPUT | PROCESSES | OUTPUT | Menu selection (integer) Num1 (float) Num2 (float) | Get user input | Menu selection (integer) Num1 (float) Num2 (float) | Menu selection (integer) Num1 (float) Num2 (float) | Calculations | Sum answer (float) Diff answer (float) Prod answer (float) Quot answer (float) | Sum answer (float) Diff answer (float) Prod answer (float) Quot answer (float) | Display output | Sum answer (float) Diff answer (float) Prod answer (float) Quot answer (float | ...
Words: 949 - Pages: 4
... | |Exchange Rate | |Currency Type |Choose correct type |Currency Type | |Enter Currency Amount |Calculate total to the |Dollar Amount | | |nearest Dollar amount | | |Foreign Currency Amount |Convert to U.S. Dollars |U.S. Currency Amount | |Currency Type |Display Results | | |Currency Amount |...
Words: 1378 - Pages: 6
... | |Float=Currency Amount | |Rate | |Float=Rate | |Currency Type |Enter Desired Currency Type|Text=Currency Type | |Currency Amount |Enter Dollar Amount |Float=Dollar Amount | |Foreign Value |Convert Currency |Float=U.S. Value | |Currency Amount |Display Results |Float=Dollar Amount | |Currency Type | | | |Rate | | | Hierarchy Chart Pseudocode Main Module...
Words: 1183 - Pages: 5
... | Use the following criteria to evaluate the Currency Conversion Test Procedure. If the answer to the item question is yes, place an X next to that item under the Yes column. If the answer is no, add details next to that item under the Comments column. | |Yes |Item |Comments | | |X |Is the problem description clear, concise, and accurate? | | | |X |Are the inputs to the program identified? | | | |X |Are the outputs to the program identified? | | | |X |Does the test input result in the expected output? | | List of Defects Identify defects by checklist number and observed error, but do not include any corrective action. Display Menu Test Test #1: Valid Menu Selection = Canadian Dollars Inputs: Menu Selection = 1 Expected Output: “Do you want to continue with the conversion, Y = Yes, N = No” Currency Type = 1 Test #2: Invalid Menu Selection = Error Inputs: Menu Selection = 7 Expected Output: “Error 4: Invalid menu selection” Start program over...
Words: 399 - Pages: 2
...Submitted By: Praveen Kumar A, MBA. INTRODUCTION Violations in traffic laws are very common in a highly populated country like India. The conditions are even worse in metro cities like Delhi, Mumbai Bangalore and Chennai. The accidents associated with these violations cause a huge loss to life and property. Same is the case in Chennai. Being a metro city and a highly populated one also, has a lot of road accidents every year. Despite this the violations in traffic laws do not reduce. A lot of people disobey the rules every day sometimes willingly and sometimes because they are forced to do so because of others. The major traffic laws in India are wearing a helmet in case of two wheelers, putting a seat belt in case of cars, driving on the right side of the road including overtaking from the right direction, over speeding in certain restricted areas, not obeying the traffics signals and stooping the car after the finish line. It is mainly because of these violations that major accidents occur. It should be recognized that the highway is a social situation, in which people are interacting. However the drivers are unknown to each other in most of the cases and the interaction between them very brief and non-recurring. The communication between them is very limited and that also through mechanical aids like lights and horns. The main objective of these laws is to minimize the confusion and conflict between vehicles and the people. When this is achieved then accidents will automatically...
Words: 3886 - Pages: 16
...RA07 1 What is a unit test? • A unit test serves the purpose of proving, that a piece of software (module, macro, partial program …) works as expected. expected A unit test is an executable program that supplies the unit under test with data, executes it and verifies the results. Unit tests test smaller units, whereas integration and system tests test composite systems. y p y Unit tests are steered by unit testing frameworks (Wikipedia alludes to many hundreds of frameworks for the many different programming languages). • • • HMS Analytical Software GmbH – Andreas Mangold 2 HMS Analytical Software GmbH - Andreas Mangold 1 Automatic Unit Testing of SAS Programs with SASUnit PhUSE 2008 What is SASUnit? • SASUnit is a unit testing framework for programs written in the SAS® language – – – Macros Data integration jobs Stored Processes (as yet without metadata accessibility) SAS/BASE Software (macros) A few operating system commands At present under Windows Soon also for Unix derivatives In future possibly for z/OS • Developed by HMS on the basis of – – • Currently available for SAS 9 1 3 9.1.3 – – – • Available free of charge at www.redscope.org/sasunit 3 HMS Analytical Software GmbH – Andreas Mangold Basic principle of unit tests „Compare expected with actual result“ Unit Testing Framework Actual result Yes Fixed test data Unit under test OK? Assertion Expected result No Test report HMS Analytical...
Words: 1224 - Pages: 5
...enrolled credit hours. The tuition is calculated for undergraduate, graduate and part-time. The program is to provide a tool to add, modify, query and delete student records. There are many methods of testing software applications. The testing performed in this documentation is to test the functionality of the program. The testing did not go in depth as far as looking at the specific code. The testing checks the user interface, which is command line in the program, database(MySQL), client and server functionality. The testing is performed manually from the end user point as documented in the herein contained Test Cases. The following requirements must be met to run the program: Java Integrated Development Environment (IDE), MySQL database. Netbeans 7.0.1 was utilized in making the program and testing it . MySQL is open source SQL database. They both can be downloaded for free of charge. Windows 7 OS was used to host both pieces of software. There are minimum requirements that can be referenced on download websites. Each option available in the program will be tested. The Use Case Diagrams may be referenced for further details on functions of each option. The test will test each available selection. The selections to be tested are as follows: 1-Add Student Information 2-Update Student Information 3-Query Student Information...
Words: 929 - Pages: 4
...square footage of test case #1, #2, and #3. c. The program will use up to a maximum of four rooms in the house. d. The four rooms will be rectangular in shape. 2. Analysis: e. I will now identify the inputs and outputs required to meet our specifications. f. The house has three rooms; this will require six total inputs, and three total outputs. Inputs equal “Length” x “Width” for each room. g. Each input will have a distinguished name. Input names are prescribed below. “Length x Width” = Expected Output in square feet. Test Case #1 i. Length of room #1. “LRM 1” = 10. ii. Width of room #1. “WRM 1” = 14. iii. Length of room #2. “LRM 2” = 9. iv. Width of room #2. “WRM 2” = 10. v. Length of room #3. “LRM 3” = 12. vi. Width of room #3. “WRM 3” = 12. Test Case #2 vii. Length of room #1. “LRM 1” = 8. viii. Width of room #1. “WRM 1” = 12. ix. Length of room #2. “LRM 2” = 6. x. Width of room #2. “WRM 2” = 8. xi. Length of room #3. “LRM 3” = 10. xii. Width of room #3. “WRM 3” = 10. Test Case #3 xiii. Length of room #1. “LRM 1” = 12. xiv. Width of room #1. “WRM 1” = 16. xv. Length of room #2. “LRM 2” = 7. xvi. Width of room #2. “WRM 2” = 10. xvii. Length of room #3. “LRM 3” = 9. xviii. Width of room #3. “WRM 3” = 9. 3. Test Plan: h. Test Case # ...
Words: 466 - Pages: 2
...University of Phoenix Associates Program Material (revised by Albert Mink) Final Project Application-Level Requirements List Complete the following list of application-level requirements for the Metric Conversion program. The first requirement has already been entered for you. 1. The Metric Conversion Program will display a Main Menu to the user listing the available metric-to-U.S. measurement conversions available, along with an option to quit the program. 2. The Metric Conversion Program will confirm user entry is valid (1 to 5) or closes if entry is 6. 3. If entry 1 to 5 is entered the Metric Conversion Program will prompt for entry of metric measurement. 4. The Metric Conversion Program will verify the metric measurement is valid (0.0 to 10000.0) or prompt for valid entry. 5. The Metric Conversion Program will convert the entered metric measurement to corresponding amount using conversion formula. 6. The Metric Conversion Program displays converted amount. Input-Process-Output Chart Complete the following Input-Process-Output chart for the Metric Conversion program. The first process has already been entered for you. |Input |Process |Output | | |Display Main Menu |Main Menu | |Measurement Section ...
Words: 1502 - Pages: 7
...Writing effective test cases is a skill and that can be achieved by some experience and in-depth study of the application on which test cases are being written. Here I will share some tips on how to write test cases, test case procedures and some basic test case definitions. What is a test case? “A test case has components that describes an input, action or event and an expected response, to determine if a feature of an application is working correctly.” Definition by Glossary There are levels in which each test case will fall in order to avoid duplication efforts. Level 1: In this level you will write the basic test cases from the available specification and user documentation. Level 2: This is the practical stage in which writing test cases depend on actual functional and system flow of the application. Level 3: This is the stage in which you will group some test cases and write a test procedure. Test procedure is nothing but a group of small test cases maximum of 10. Level 4: Automation of the project. This will minimize human interaction with system and thus QA can focus on current updated functionalities to test rather than remaining busy with regression testing. So you can observe a systematic growth from no testable item to a Automation suit. Why we write test cases? The basic objective of writing test cases is to validate the testing coverage of the application. If you are working in any CMMi company then you will strictly follow test cases standards. So...
Words: 479 - Pages: 2