Hi fellows,
This is my first post, and I am really seeking help as I have five problems, which we are asked to do Analysis & Design for them.
This, the Analysis & Design worth 70 marks and which are really important in the year that I am in (General Secondary), because this subject contributes about 10% to the overall percentage and in my country, to get a scholarship, the student at least have to score 95%.
Ok, I do not want to make it dragging on, I will list the problems:
Program 1:
Write a program that accepts three values representing A, B and C. Then it should use the following formula to calculate X:
X = (A-B)*(A-C)2
Then X must be used in another formula that calculates D, which is follows:
D = (8-x2) - (4*2-1)
(x-9) x3
The output to the screen should be the value representing D.
Program 2:
Write a program that will display the truth table of AND, OR, XOR, NOT, NAND and NOR logical operators. The user should be allowed to choose which operator's truth table is to display.
Program 3:
Write a program to animate a given text. The program could consist a form, a textbox, a label and a button. The text box is to input the required text for animation and the label is to display it. The button is used to initiate the animation. Notice that you will have to use the timer control to enable the program to perform animation.
Program 4:
Write a program that performs currency conversion. The program should allow the user to convert currencies between five different currencies. For example, converting Dollar to Euro. The conversion should be based on the current exchange rates. The program could consist of option buttons, input text and result label.
Program 5:
Develop a simple calculator that performs the basic arithmetic operations (addition, subtraction, multiplication and division). The calculator should allow the user to specify two numbers and the desired arithmetic operation. The calculator could consist of two input textboxes, a result label and option buttons.
These are the five problems, I did the analysis and I would be grateful if somebody can provide me with flowcharts & pseudo code for them. Note: we are using VB 6 for programming.
Thanks, Nasser:)