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. Sample of the run: IMPORTANT NOTE You need to write my name, Rzan Khaled, and in the number, write the number 7. Second note, you must change string, such as typing any name. Important notes:
Avoid plagiarism, the work should be in your own words, copying from students or other resources without proper referencing will result in ZERO marks. No exceptions.
Post references
Category: Java
You must submit two separate copies (one Word file and one PDF file) using the A
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).
Email submission will not be accepted.
You are advised to make your work clear and well-presented. This includes filling your information on the cover 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. 2 Marks
Learning Outcome(s): CLO1Explain the basic principles of programming, concept of language, and universal constructs of programming languages.
Question One
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.2 Marks
Learning Outcome(s): CLO4Develop a program based on specification using programming language elements including syntax, data types, conditional statement, control structures, procedures, arrays, objects and classes.
Question Two
Create a Java program that does the following:1. Prompt the user for an input.2. Enter your first and last names as the input.3. Read the entered input into two variables (one variable stores the first name while the other stores the last name).4. Using the printf function, print the variables in upper-case characters and each in a separate line. (include screenshots of all program execution steps)2 Marks
Learning Outcome(s): CLO4Develop a program based on specification using programming language elements including syntax, data types, conditional statement, control structures, procedures, arrays, objects and classes.
Question Three
The cubic polynomial function of the third degree can be represented as:y = ax3 + bx2 + cx + d1- Write the correct Java representation of the function without using parentheses using the Rules of Operator Precedence.2- Evaluate the java representation of the function and find the value of y when,x=3, a=1, b=2, c=3, d=4Make sure that you show all the steps in detail.5. Use parentheses to rewrite the java representation. 2 Marks
Learning Outcome(s): CLO4Develop a program based on specification using programming language elements including syntax, data types, conditional statement, control structures, procedures, arrays, objects and classes.
Question Four
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:
Git is a distributed version control system designed to track changes in source
Git is a distributed version control system designed to track changes in source code during software development. It allows multiple developers to collaborate on a project by providing a mechanism to manage and synchronize changes made to the codebase. Git was developed by Linus Torvalds in 2005 and has become the de facto standard for version control in the software development industry. GitHub, on the other hand, is a web-based platform built around Git. It provides hosting for Git repositories, as well as a range of collaboration features for developers and teams. Some of GitHub’s features include: Remote Repositories: GitHub hosts remote repositories, allowing developers to store and manage their code online. Pull Requests and Code Review: Developers can create pull requests to propose changes and improvements to a repository. Other team members can review the changes, leave comments, and suggest modifications before the changes are merged. Issue Tracking: GitHub includes an issue tracking system that enables teams to manage tasks, bugs, and feature requests. Wikis and Documentation: Repositories can include wikis and documentation, making it easier to maintain project-related information.
Collaboration Tools: GitHub offers features such as project boards, discussions, and actions (automated workflows) to streamline collaboration and development processes. Forks: Developers can create forks of repositories, which are essentially copies of the repository in their own GitHub account. This allows them to work on changes without affecting the original repository, and they can later propose their changes back via pull requests. In the Discussion participation in Module 1, you became familiar with LinkedIn Learning and O’Reily Books. Both these resources have many instructional information on GitHub. This week, please use these learning tools to become familiar with GitHub and the 6 major features include. Your discussion post must include (not limited) to the following: Instructions on GitHub installation to one OS: Windows, Linux, or Max.
Instructions/demonstrations of the usage of at least 3 out of the 6 features mentioned above. You can make up a dummy project or use the code from one of your homework 1 questions.
https://docs.oracle.com/en/java/javase/21/docs/api… Choose a feature of Java i
https://docs.oracle.com/en/java/javase/21/docs/api…
Choose a feature of Java in the API that has not been covered yet, and discuss how it demonstrates inheritance.
Your post should include these features:
Post your code to the discussion by the due date
Professional writing with complete sentences and correct capitalization, punctuation, and grammar. Consider this post like it’s a message to a professional colleague
Include a direct link to the feature you’re describing
Describe it in summary, what it does, why it exists. Describe in general the constructors, methods, and static values of the class
Show clearly how your class has parents and children, including showing the lineage all the way to the Object class. Doing this with a picture or diagram will be effectiveDescribe methods and variables that are available in the context of your chosen class that are inherited from a parent class
I chose Feature: java.lang.StringBuilderdont
https://docs.oracle.com/en/java/javase/21/docs/api… Choose a feature of Java i
https://docs.oracle.com/en/java/javase/21/docs/api…
Choose a feature of Java in the API that has not been covered yet, and discuss how it demonstrates inheritance.
Your post should include these features:
Post your code to the discussion by the due date
Professional writing with complete sentences and correct capitalization, punctuation, and grammar. Consider this post like it’s a message to a professional colleague
Include a direct link to the feature you’re describing
Describe it in summary, what it does, why it exists. Describe in general the constructors, methods, and static values of the class
Show clearly how your class has parents and children, including showing the lineage all the way to the Object class. Doing this with a picture or diagram will be effectiveDescribe methods and variables that are available in the context of your chosen class that are inherited from a parent class
I chose Feature: java.lang.StringBuilderdont
Magic Maze Assignment Directions can be found here Download here. Click here Dow
Magic Maze
Assignment Directions can be found here Download here.
Click here Download herefor driver file.
Click here Download herefor the python test script and here Download herefor the sample solution text file.
Text Files For Each Maze (click each one to download)
maze1.txt Download maze1.txt maze2.txt Download maze2.txt maze3.txt Download maze3.txt maze4.txt Download maze4.txt maze5.txtDownload maze5.txt
Make sure to include a comment header at the top of your file like the example below. If you don’t do it exactly like this, then points will be deducted in accordance with the rubric.
/* Johnny Knights
* Dr. Steinberg
* COP3503 Spring 2024
* Programming Assignment 2
*/
Assignment Video
Programming Assignment 2
Programming Assignment 2
CriteriaRatingsPts
This criterion is linked to a Learning OutcomeCode CompilationDid the student’s file compile successfully with no errors or warnings?
15 ptsFull Marks
Code compiled with no errors or warnings.
10 ptsPartial Marks
Code compiled, however warnings were generated.
6 ptsLow Marks
Code didn’t compile at all.
0 ptsNo Marks
No code submission was received.
15 pts
This criterion is linked to a Learning OutcomeProgram RunDid the program run successfully without crashing on Eustis?
5 ptsFull Marks
Program ran successfully on Eustis and passed all test cases.
2.5 ptsHalf Marks
Program ran on Eustis, however not all test cases passed.
0 ptsNo Marks
No code submission was received or could not run at all on Eustis.
5 pts
This criterion is linked to a Learning OutcomeImplementation of the MagicMaze ClassDid the student properly the MagicMaze Class based on the assignment directions?
15 ptsFull Marks
The class was implemented properly.
7.5 ptsHalf Marks
The class had some things missing that were specified in the assignment. Attributes, methods, etc…
0 ptsNo Marks
No code submission was received OR the code is extremely way off from what the assignment specified.
15 pts
This criterion is linked to a Learning OutcomeConstructor of MagicMaze classDid the student properly implement the constructor? This includes reading the proper text file of the maze.
10 ptsFull Marks
The constructor was implemented correctly.
5 ptsHalf Marks
The constructor was not implemented correctly. Mistakes were found in the code.
0 ptsNo Marks
No code submission was received or could not run at all on Eustis.
10 pts
This criterion is linked to a Learning OutcomesolveMagicMazeDid the student properly implement the solveMagicMaze method by using backtracking? If backtracking was not used, then the student will receive an automatic 0 on the total assignment score.
25 ptsFull Marks
The method was solved perfectly and backtracking was applied properly.
20 ptsHigh Marks
The method uses backtracking, however there exists one error.
12.5 ptsHalf Marks
The method uses backtracking, however there exists two – three errors.
6 ptsLow Marks
The method uses backtracking, however there exists more than three errors.
0 ptsNo Marks
No code submission was received or could not run at all on Eustis. OR Backtracking was not applied. This means the overall grade for the assignment is a 0.
25 pts
This criterion is linked to a Learning OutcomeMaze 1 PassDid Maze 1 pass? This includes the time constraint. If it did not solve the maze, then give no points for this test case.
5 ptsFull Marks
Yes!
0 ptsNo Marks
No!
5 pts
This criterion is linked to a Learning OutcomeMaze 2 PassDid Maze 2 pass? This includes the time constraint. If it did not solve the maze, then give no points for this test case.
5 ptsFull Marks
Yes!
0 ptsNo Marks
No!
5 pts
This criterion is linked to a Learning OutcomeMaze 3 PassDid Maze 3 pass? This includes the time constraint. If it did not solve the maze, then give no points for this test case.
5 ptsFull Marks
Yes!
0 ptsNo Marks
No!
5 pts
This criterion is linked to a Learning OutcomeMaze 4 PassDid Maze 4 pass? This includes the time constraint. If it did not solve the maze, then give no points for this test case.
5 ptsFull Marks
Yes!
0 ptsNo Marks
No!
5 pts
This criterion is linked to a Learning OutcomeMaze 5 PassDid Maze 5 pass? This includes the time constraint. If it did not solve the maze, then give no points for this test case.
5 ptsFull Marks
Yes!
0 ptsNo Marks
No!
5 pts
This criterion is linked to a Learning OutcomeCode Style and CommentsDid the student follow proper coding style techniques along with sufficient comments?
2.5 ptsFull Marks
Student used good coding style and provided sufficient number of comments.
1.25 ptsHalf Marks
Student somewhat used good coding style and provided sufficient number of comments. There were error(s) detected.
0 ptsNo Marks
Student did not used good coding style and provided sufficient number of comments.
2.5 pts
This criterion is linked to a Learning OutcomeCode Submission and HeaderDid the student properly named the .java file as stated in directions? Did the student provide a comment header at the top of the code file that contained (name, course, professors, assignment)?
2.5 ptsFull Marks
The student followed all directions of the naming the submission properly and providing a proper header at the top of the file.
1.25 ptsHalf Marks
The student somewhat followed directions of naming the submission properly and providing a proper header at the top of the file. There was an error detected.
0 ptsNo Marks
The student did not follow directions of naming the submission properly and providing a proper header at the top of the file.
2.5 pts
Total Points: 100
I need a tutor who has experience with GitHub, Maven, and java. I will give tuto
I need a tutor who has experience with GitHub, Maven, and java. I will give tutor my GitHub login, and then the tutor will follow the instructions in the file below. (You are editing code to make sure tic tax toe code works good). My professor said there shouldn’t be more then 15 lines of code added (it can be less) to the assignment and it shouldn’t take more then 4 hours. Easy assignment. Thank you!
I need a tutor who has experience with GitHub, Maven, and java. I will give tuto
I need a tutor who has experience with GitHub, Maven, and java. I will give tutor my GitHub login, and then the tutor will follow the instructions in the file below. (You are editing code to make sure tic tax toe code works good). My professor said there shouldn’t be more then 15 lines of code added (it can be less) to the assignment and it shouldn’t take more then 4 hours. Easy assignment. Thank you!
I have attached the description and all you need for this in the zip, please rea
I have attached the description and all you need for this in the zip, please read it carefully and follow all the steps and rules also check the screenshot for clarification
Git is a distributed version control system designed to track changes in source
Git is a distributed version control system designed to track changes in source code during software development. It allows multiple developers to collaborate on a project by providing a mechanism to manage and synchronize changes made to the codebase. Git was developed by Linus Torvalds in 2005 and has become the de facto standard for version control in the software development industry. GitHub, on the other hand, is a web-based platform built around Git. It provides hosting for Git repositories, as well as a range of collaboration features for developers and teams. Some of GitHub’s features include:
Remote Repositories: GitHub hosts remote repositories, allowing developers to store and manage their code online.
Pull Requests and Code Review: Developers can create pull requests to propose changes and improvements to a repository. Other team members can review the changes, leave comments, and suggest modifications before the changes are merged.
Issue Tracking: GitHub includes an issue tracking system that enables teams to manage tasks, bugs, and feature requests.
Wikis and Documentation: Repositories can include wikis and documentation, making it easier to maintain project-related information.
Collaboration Tools: GitHub offers features such as project boards, discussions, and actions (automated workflows) to streamline collaboration and development processes.
Forks: Developers can create forks of repositories, which are essentially copies of the repository in their own GitHub account. This allows them to work on changes without affecting the original repository, and they can later propose their changes back via pull requests.
In the Discussion participation in Module 1, you became familiar with LinkedIn Learning and O’Reily Books. Both these resources have many instructional information on GitHub. This week, please use these learning tools to become familiar with GitHub and the 6 major features include. Your discussion post must include (not limited) to the following:
Instructions on GitHub installation to one OS: Windows, Linux, or Max.
Instructions/demonstrations of the usage of at least 3 out of the 6 features mentioned above. You can make up a dummy project or use the code from one of your homework 1 questions.