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 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): CLO1
Explain 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): CLO4
Develop 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): CLO4
Develop 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 + d
1-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=4
Make sure that you show all the steps in detail.
5.Use parentheses to rewrite the java representation.
2 Marks
Learning Outcome(s): CLO4
Develop 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:

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 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.
Project Instructions
This project enables the students to integrate the covered knowledge and skills in this course.
Total Marks = 14
Group Size = 3- 4 members.
Submit all files: Project Report (Word and PDF) on blackboard before 15th May 2024. Marks will be given based on your submission and quality of the contents.
Each group must come up with a unique solution for the project based on the below description.
Implement the Simple Library Management System according to the requirements provided.
Write a Java program to demonstrate the functionality of the system.
Include comments in your code to explain the purpose of each class, method, and important code block.
Test your program with different scenarios to ensure that it works as expected.

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 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.
Project Instructions
This project enables the students to integrate the covered knowledge and skills in this course.
Total Marks = 14
Group Size = 3- 4 members.
Submit all files: Project Report (Word and PDF) on blackboard before 15th May 2024. Marks will be given based on your submission and quality of the contents.
Each group must come up with a unique solution for the project based on the below description.
Implement the Simple Library Management System according to the requirements provided.
Write a Java program to demonstrate the functionality of the system.
Include comments in your code to explain the purpose of each class, method, and important code block.
Test your program with different scenarios to ensure that it works as expected.

You must submit two separate copies (one Word file and one PDF file) using the

You must submit two separate copies (one Word file and one PDF file) using the

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).
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.

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 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.

You should read the instructions in the file. Q1) Explain two roles of the jav

You should read the instructions in the file. Q1) Explain two roles of the jav

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

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 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: