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.
come up with an example of a *class hierarchy* of at least 2 classes you argue would be needed for an application of your choice.
Write a function:
class Solution { public int solution (int[] A); }
that, given an array A consisting of N integers, returns the sum of all integers which are multiples of 4.
Design an Employee class for reading and displaying employee information, the getInfo() and displayInfo() methods will be used respectively. Where getInfo() will be a private method. Used the Concept of Encapsulation to hide the data members, Employee Consist four data members.
Write a program using class ‘Math’ pass three values as arguments to the constructor of the class and initialize these values to data members x,y and z of the class. The class should have following member functions.
· maximum : return maximum number
· minimum : return minimum number
· sum : return the sum of three numbers