Instructions You must submit two separate copies (one Word file and one PDF fi

Do you need this or any other assignment done for you from scratch?
We have qualified writers to help you.
We assure you a quality paper that is 100% free from plagiarism and AI.
You can choose either format of your choice ( Apa, Mla, Havard, Chicago, or any other)

NB: We do not resell your papers. Upon ordering, we do an original paper exclusively for you.

NB: All your data is kept safe from the public.

Click Here To Order Now!

Instructions
You must submit two separate copies (one Word file and one PDF fi

Instructions
You must submit two separate copies (one Word file and one PDF file) using the Assignment Template on
Blackboard via the allocated folder. These files must not be in compressed format.
It is your responsibility to check and make sure that you have uploaded both the correct files.
Zero mark will be given if you try to bypass the SafeAssign (e.g. misspell words, remove spaces between
words, hide characters, use different character sets, convert text into image or languages other than English
or any kind of manipulation).
Emailsubmissionwillnotbeaccepted.
Youareadvisedtomakeyourworkclearandwell-presented.Thisincludesfillingyourinformationonthecover
page.
You must use this template, failing which will result in zero mark.
You MUST show all your work, and text must not be converted into an image, unless specified otherwise by
the question.
Late submission will result in ZERO mark.
The work should be your own, copying from students or other resources will result in ZERO mark.
Use Times New Roman font for all your answers.
Question One
2 Marks
Explain two roles of the java virtual machine as part of java runtime
environment?
Describe the intermediate representation of a Java program that allows a JVM
to translate a program into machine-level assembly instructions.
Question Two
Create a Java program that does the following:
2 Marks
1. Prompttheuserforaninput.
2. Enteryourfirstandlastnamesastheinput.
3. Readtheenteredinputintotwovariables(onevariablestoresthefirst
name while the other stores the last name).
4. Usingtheprintffunction,printthevariablesinupper-casecharacters
and each in a separate line.
(include screenshots of all program execution steps)
Question Three
2 Marks
The cubic polynomial function of the third degree can be represented as:
y = ax3 + bx2 + cx + d
1- Write the correct Java representation of the function without using
parentheses using the Rules of Operator Precedence.
2- Evaluatethejavarepresentationofthefunctionandfindthevalueofy
when,
x=3, a=1, b=2, c=3, d=4
Make sure that you show all the steps in detail.
5. Useparenthesestorewritethejavarepresentation.
Question Four
2 Marks
Write a java program that asks the user to enter his/her name. Print a welcome
message and ask the user to enter a number. Then, tell the user the type of
the number (positive, negative, or zero).
Note: you must take a screenshot of the output that shows your name in the
run.
Sample of the run:

Do you need this or any other assignment done for you from scratch?
We have qualified writers to help you.
We assure you a quality paper that is 100% free from plagiarism and AI.
You can choose either format of your choice ( Apa, Mla, Havard, Chicago, or any other)

NB: We do not resell your papers. Upon ordering, we do an original paper exclusively for you.

NB: All your data is kept safe from the public.

Click Here To Order Now!

Place this order or similar order and get an amazing discount. USE Discount code “GET20” for 20% discount