Java | JSP | JSF Answers

Questions: 4 418

Answers by our Experts: 3 943

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Create the pseudocode that will demonstrate how an application will write your name and surname to a text file called “students.dat”.


Write the pseudocode that will populate an array of type string with data.

The array is called dogBreeds and the following values must be loaded:

Labrador, Poodle, Terrier, Spanniel, Doberman.


Briefly explain what an array is. As part of your answer make use of a labelled example to show the declaration and components of an array Note: You will receive 4 marks for your explanation and 6 marks for your labelled example.


identify the purpose and components of the method represented in the pseudocode below:

num calAverage(num total)

declarations

num average

set average = total/2

return average


Jane wants to become a doctor. If Jane obtains an average of 90% for

Maths in her final exams, she will be admitted to the qualification, however,

if she obtains an average of more than 85% but less than 90% for Maths

and an overall average of 90% for all her subjects she will still be able to

study medicine but will have to complete a BSc degree first.

Write the pseudocode that will accurately reflect the logic

contained in the above scenario.


Create the pseudocode that will demonstrate how an application will write

your name and surname to a text file called “students.dat”.


By making use of pseudocode, show the programming statements that will accept two values from a user. These values should be added together and the result displayed on the screen. 


Jane wants to become a doctor. If jane obtains an average of 90% for maths in her final exams, she will be admitted to the qualification, however, if she obtains an average of more than 85% but less 90% for maths and an overall average of 90% for all her subjects she will still be able to study medicine but will have to complete a BSc degree first. Write the pseudocode that will accurately reflect the logic contained in the above scenario


By making use of pseudocode, show the programming statements that will

accept two values from a user. These values should be added together and

the result displayed on the screen.


 Explain a Java exception/error that you argue would be likely to occur in your example application.


LATEST TUTORIALS
APPROVED BY CLIENTS