Cyberbully
Where do you live?
- Joined
- Oct 29, 2011
- Messages
- 122
- Gender
- Undisclosed
- HSC
- 2012
it's 4 numbers below from 69?Does 65 mean anything to you?
the retirement age?
it's 4 numbers below from 69?Does 65 mean anything to you?
Describe 4 types of CASE tools (4)=.= Back to SDD guys? I'ma listen to some music and eat now.
Case tools that generate test dataDescribe 4 types of CASE tools (4)
funny how real questions kill this threadGonna post a question that I think they are going to ask and i'm gonna finally eat.
Describe the Fetch Execute Cycle with detailed emphasis on the major components.-----------
You know that that would not get you 4 marks right? You actually need to describe them.Case tools that generate test data
Case tools that create documentation
Case tools that write code
Case tools that does version control
So my understanding is that there's 4 stages: Fetch, decode, execute and store. Fetch gets the instruction from the program counter? and adds 1 to the instruction counter. Decode means that the CPU can understand what the instruction does. Execute means that the CPU will execute the instruction and Store stores the results in the accumulator?Gonna post a question that I think they are going to ask and i'm gonna finally eat.
Describe the Fetch Execute Cycle with detailed emphasis on the major components.-----------
yeah i was just listing so like case tools can generate test data automatically and do things like load testing automatically, improving the productivity of the programmer. They can also automatically make documentation such as DFDs and Structure Diagrams, saving time. They also can write code for you, so programmers are relieved from menial programming tasks. And finally they can like keep track of software versions for you, so yuo dont get confused with different versions.You know that that would not get you 4 marks right? You actually need to describe them.
fyi DO WHILE is no longer in the course specs.Good luck to everyone, 2nd last test for me!
Quite simple algorithm question.
Q. Design an algorithm that will prompt for and receive pairs of numbers from an operator at a terminal and display their sum, product and average. If the calculated sum is over 200, an asterisk will be displayed by the sum. The program is to terminate when a pair of zero values is entered. This algorithm requires:
A DOWHILE loop to control the repetition & an IF statement to determine if an asterisks is to be displayed.
Good luck to everyone, 2nd last test for me!
Quite simple algorithm question.
EDIT: Q. Design an algorithm that will prompt for and receive pairs of numbers from an operator at a terminal and display their sum, product and average. If the calculated sum is over 200, an asterisk will be displayed by the sum. The program is to terminate when a pair of zero values is entered.
Begin
Print "Please enter two numbers"
Input FirstNumber
Input SecondNumber
terminate = false
If FirstNumber = 0 AND SecondNumber = 0
terminate = true
Print "An error occurred.Please Try again. :)"
Else
WHILE terminate = false
Sum = FirstNumber + SecondNumber
Product = FirstNumber x SecondNumber
Average = Sum/2
If Sum > 200
Print Sum *
Else
Print "The sum of the numbers is" Sum
Print "The product of the numbers is" Product
Print "The average of the numbers is" Average
EndIF
terminate = true
EndWHILE
EndIF
End
and that's why i hate englishSome minor problems, such as no uppercases on words such as BEING, IF, ELSE, ENDWHILE. I'm pretty sure you can lose marks for incorrect grammar since that goes against the data structure, when multiplying instead of 'x' is it an asterisks so "Product = FirstNumber * SecondNumber" otherwise it is pretty good.
Hahaha, I'm pretty bad at SDD too but I'll still have hope that I'll be passing or atleast getting band 5-6.
compared to others little.Just a reminder to everyone to READ THE COURSE SPECS to learn the correct syntax for things like pseudocode!
Is 1506 a lot or a little?