Business Computer Languages IT401 java
You should read the instructions in the file.
Q1) 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.
Q2)Create a Java program that does the following:
Prompt the user for an input.
Enter your first and last names as the input.
- Read the entered input into two variables (one variable stores the first name while the other stores the last name).
- Using the printf function, print the variables in upper-case characters and each in a separate line.
- (include screenshots of all program execution steps) .
- IMPRTANT NOTE question 2): Submission from the Replit program. The important thing is that I write my first name, Razan, and my last name, Khaled.
Also you can change the category name to any name and the scanner name to any name?
Q3) The cubic polynomial function of the third degree can be represented as:
y = ax3 + bx2 + cx + d
Write the correct Java representation of the function without using parentheses using the Rules of Operator Precedence.
Evaluate the java representation of the function and find the value of y when,
x=3, a=1, b=2, c=3, d=4
Make sure that you show all the steps in detail.
- Use parentheses to rewrite the java representation.
- .
Q4)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.
Collepals.com Plagiarism Free Papers
Are you looking for custom essay writing service or even dissertation writing services? Just request for our write my paper service, and we'll match you with the best essay writer in your subject! With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.
Get ZERO PLAGIARISM, HUMAN WRITTEN ESSAYS
Why Hire Collepals.com writers to do your paper?
Quality- We are experienced and have access to ample research materials.
We write plagiarism Free Content
Confidential- We never share or sell your personal information to third parties.
Support-Chat with us today! We are always waiting to answer all your questions.