Order from us for quality, customized work in due time of your choice.
Annual Report
FY [Year]
[Add a quote here from one of your company executives or use this space for a brief summary of the document content.]
Business Computer Languages
IT401
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.
Name: ###
CRN: ###
ID: ###
3 Marks
Learning Outcome(s):
Develop a program based on specification using programming language elements including syntax, data types, conditional statement, control structures, procedures, arrays, objects and classes.
.
Question One
Write a Java program that demonstrates the use of the pre-increment operator (++i). In your program, you should:
Define an integer variable i and initialize it to 5.
Use the pre-increment operator to increment i before using it in this arithmetic expression (pre-increment operator + 10).
Define an integer variable result to hold the result of arithmetic expression.
Print the value of i after the increment.
Print the result of the arithmetic expression where i is incremented using the pre-increment operator.
Note: you must take a screenshot of the output
Sample of the run:
2 Marks
Learning Outcome(s):
Explain the basic principles of programming, concept of language, and universal constructs of programming languages.
Question Two Compare between high-level language and low-level language with an example.
Definitions
Examples
3 Marks
Learning Outcome(s):
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 Write a program that asks for the user’s student name, student ID, and college name and prints a welcome message for the student. You must enter your real information. Here is a sample run of the program:
Sample:
Enter Student first name: Ahmad
Enter Student second name: Ali
Enter Student ID :1234567
Enter collage name: College of Computing and Informatics
Welcome Ahmad Ali in the College of Computing and Informatics
Order from us for quality, customized work in due time of your choice.