IT 401 Saudi Electronic University

All answered must be typed using Times New Roman (size 12, double-spaced) font. No pictures containing text will be accepted and will be considered plagiarism). The Assignment must be submitted in (WORD format only). Use 2 to 4 References and write it in the last page by APA style. I want new words, No plagiarism “Please make it 0% percentage (we want put it the solution with the Cove page🙏)

College of Computing and Informatics
Assignment 1
Deadline: Sunday 20/02/2022 @ 23:59
[Total Mark for this Assignment is 8]
Student Details:
Name: ###
ID: ###
CRN: ###
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).
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.
Question One
Pg. 01
Learning
Outcome(s):
Question One
Explain the basic
Write a complete Java program that do the following:
principles of
programming,
concept of
language, and
universal
3 Marks
1. Asks the user to enter his name and his student ID.
2. Generates a password for the student based on his ID according to the following
rules:
a. The generated password is a number of 4 digits
constructs of
b. The first digit (ones) is the first digit of your student ID.
programming
c. The second digit (tens) is the sum of the fourth and fifth digit of your
student ID. If the sum is greater than 9 then consider the ones: for
example, if the sum is equal to 17 then the second digit will be 7.
languages.
d. The third digit (hundred) is the third digit of your student ID
e.
The fourth digit (thousand) is the second digit multiply by 4. If the value
is greater than 9 then consider the ones: for example, if the value is equal
to 24 then the fourth digit will be 4.
3. Prints a hello message with the student’s name and the generated password.
Typical runs of the program
Note: Your answer should have the code as text as well as the screenshot of the
program output (using your own student ID as a part of your answer. Otherwise,
zero marks will be awarded.
Question Two
Pg. 02
Learning
Outcome(s):
Question Two
2 Marks
Write a complete Java program that do the following:
Explain the basic
principles of
1. Asks the user to enter the last two digits of his/her student ID.
programming,
2. Stores the entered digits in adequate variable.
concept of
3. Finds and prints the square root of the inputted number using a method from the
class Math.
language, and
universal
constructs of
4. Finds and prints the cube of the inputted number using a method from the class
Math.
programming
languages.
The class name should be your Name.
Note: Your answer should have the code as text as well as the screenshot of the
program output (using your own student ID) as a part of your answer. Otherwise,
zero marks will be awarded.
Typical runs of the program
Question Three
Pg. 03
Learning
Outcome(s):
Question Three
Write a complete Java program that do the following:
Explain the basic
1. Asks the user to enter his/her full name.
principles of
2. Print a welcome message using the user’s name.
programming,
concept of
language, and
universal
constructs of
programming
languages.
3 Marks
3.
Asks the user to enter two numbers.
4.
Finds and prints the following using “printf”:
The sum of the two numbers.
b. The product of the two numbers.
c. The division of the first number by the second one.
d. The reminder of the division of the first number by the second one.
a.
The class name should be your Name.
Note: Your answer should have the code as text as well as the screenshot of the
program output (using your own name) as a part of your answer. Otherwise, zero
marks will be awarded.
Typical runs of the program

Calculate your order
275 words
Total price: $0.00

Top-quality papers guaranteed

54

100% original papers

We sell only unique pieces of writing completed according to your demands.

54

Confidential service

We use security encryption to keep your personal data protected.

54

Money-back guarantee

We can give your money back if something goes wrong with your order.

Enjoy the free features we offer to everyone

  1. Title page

    Get a free title page formatted according to the specifics of your particular style.

  2. Custom formatting

    Request us to use APA, MLA, Harvard, Chicago, or any other style for your essay.

  3. Bibliography page

    Don’t pay extra for a list of references that perfectly fits your academic needs.

  4. 24/7 support assistance

    Ask us a question anytime you need to—we don’t charge extra for supporting you!

Calculate how much your essay costs

Type of paper
Academic level
Deadline
550 words

How to place an order

  • Choose the number of pages, your academic level, and deadline
  • Push the orange button
  • Give instructions for your paper
  • Pay with PayPal or a credit card
  • Track the progress of your order
  • Approve and enjoy your custom paper

Ask experts to write you a cheap essay of excellent quality

Place an order