Our Services

Get 15% Discount on your First Order

[rank_math_breadcrumb]

it232,alaa

Description

College of Computing and Informatics
Assignment 1
Deadline: Day 29/09/2024 @ 23:59
[Total Mark for this Assignment is 8]
Student Details:
Name: hani alotaibi
ID: s230032721
CRN: 13146
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
3 Marks
Develop a
program based on
specification
Write a Java program that demonstrates the use of the pre-increment operator
(++i). In your program, you should:
using
programming
language
elements
including syntax,
data types,
conditional
statement, control
structures,
procedures,
arrays, objects
and classes.
.
1. Define an integer variable i and initialize it to 5.
2. Use the pre-increment operator to increment i before using it in this
arithmetic expression (pre-increment operator + 10).
3. Define an integer variable result to hold the result of arithmetic
expression.
4. Print the value of i after the increment.
5. Print the result of the arithmetic expression where i is incremented using
the pre-increment operator.
6. Note: you must take a screenshot of the output
Sample of the run:
Question Two
Pg. 02
Learning
Outcome(s):
Explain the basic
principles of
programming,
concept of
language, and
universal
constructs of
programming
languages.
Question Two
2 Marks
Compare between high-level language and low-level language with an example.
A. Definitions
B. Examples
Question Three
Pg. 03
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
3 Marks
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

Purchase answer to see full
attachment

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit

Order a Similar Paper and get 15% Discount on your First Order

Related Questions

331 ass 1

Description see College of Health Sciences Department of Public Health ASSIGNMENT COVER SHEET Course name: Chronic Disease Epidemiology & Prevention Course number: PHC331 CRN 10077 Evaluating the Impact of Lifestyle Interventions on Chronic Disease Prevention Question: “Consider the role of lifestyle interventions (such as diet, physical activity, and smoking cessation)

331 ass 2

Description see College of Health Sciences Department of Public Health ASSIGNMENT COVER SHEET Course name: Chronic Disease Epidemiology & Prevention Course number: PHC331 CRN 10077 Evaluating the Impact of Lifestyle Interventions on Chronic Disease Prevention Question: “Consider the role of lifestyle interventions (such as diet, physical activity, and smoking cessation)

313 ass 7

Description SEE ASSIGNMENT COVER SHEET Course name: Road Traffic Injuries and Diseases Course number: PHC313 CRN: 11021 Write a short essay to discuss risk factors associated with road crashes and injury severity in the Kingdom of Saudi Arabia Assignment title or task: (You can write a question) ➢ What is

331 ASS 3

Description SEE College of Health Sciences Department of Public Health ASSIGNMENT COVER SHEET Course name: Chronic Disease Epidemiology & Prevention Course number: PHC331 CRN 10077 Evaluating the Impact of Lifestyle Interventions on Chronic Disease Prevention Question: “Consider the role of lifestyle interventions (such as diet, physical activity, and smoking cessation)

331 ASS 4

Description SEE College of Health Sciences Department of Public Health ASSIGNMENT COVER SHEET Course name: Chronic Disease Epidemiology & Prevention Course number: PHC331 CRN 10077 Evaluating the Impact of Lifestyle Interventions on Chronic Disease Prevention Question: “Consider the role of lifestyle interventions (such as diet, physical activity, and smoking cessation)

372 ASS 1

Description SEE College of Health Sciences Department of Health Informatics ASSIGNMENT COVER SHEET Course name: Public health outbreak and disaster management Course number: PHC 372 Assignment title The Role of Technology in Public Health Disaster Management “Natural disasters have always been a significant threat to human lives and infrastructure, causing

372 ASS 2

Description AEE College of Health Sciences Department of Health Informatics ASSIGNMENT COVER SHEET Course name: Public health outbreak and disaster management Course number: PHC 372 Assignment title The Role of Technology in Public Health Disaster Management “Natural disasters have always been a significant threat to human lives and infrastructure, causing

372 ASS 3

Description SEE College of Health Sciences Department of Health Informatics ASSIGNMENT COVER SHEET Course name: Public health outbreak and disaster management Course number: PHC 372 Assignment title The Role of Technology in Public Health Disaster Management “Natural disasters have always been a significant threat to human lives and infrastructure, causing

372 ASS 4

Description SEE College of Health Sciences Department of Health Informatics ASSIGNMENT COVER SHEET Course name: Public health outbreak and disaster management Course number: PHC 372 Assignment title The Role of Technology in Public Health Disaster Management “Natural disasters have always been a significant threat to human lives and infrastructure, causing

499 dis 3 – 1

Description Discussion 1 Students must initiate a post and reply to at least three posts Briefly describe your role in the internship. What differences have you noticed as you have transitioned from your role as student to intern? What new knowledge or skill did you learn since the beginning of

499 dis 3 – 2

Description Discussion two, requires you to answer the following questions:  What did you learn, either from reading or classroom discussions that you applied on the internship?  Which courses/subjects you feel could be expanded or added that would have helped you perform the internship better?  How does this

Management Question

Description Read the attached file carefully and follow all the instructions mentioned in it be careful make sure of everything more than one time don’t make me lose marks so I can deal more with you in the future This assignment is for the Organizational Behaviour (MGT301) cours Answer all

Management Question

Description Go through the given case scenario ‘There must be a better way of running this place!’ said Dean Hammond, recently recruited General Manager of Boys and Boden, as he finished a somewhat stressful conversation with a complaining customer, a large and loyal local building contractor. ‘We had six weeks

Management Question

Description ‫المملكة العربية السعودية‬ ‫وزارة التعليم‬ ‫الجامعة السعودية اإللكترونية‬ Kingdom of Saudi Arabia Ministry of Education Saudi Electronic University College of Administrative and Financial Sciences Assignment-2 MGT 402-Entrepreneurship and small business Due Date: 01/11/2025 @ 23:59 Course Name: Entrepreneurship and small business Student’s Name: Course Code: MGT402 Student’s ID Number:

Management Question

Description ‫المملكة العربية السعودية‬ ‫وزارة التعليم‬ ‫الجامعة السعودية اإللكترونية‬ Kingdom of Saudi Arabia Ministry of Education Saudi Electronic University College of Administrative and Financial Sciences Assignment 1 Public Management (MGT 324) Due Date: 18th October 2025 @ 23:59 Course Name: Public Management Student’s Name: Course Code: MGT324 Student’s ID Number:

Management Question

Description General Instructions – PLEASE READ THEM CAREFULLY and Avoid plagiarism ‫المملكة العربية السعودية‬ ‫وزارة التعليم‬ ‫الجامعة السعودية اإللكترونية‬ Kingdom of Saudi Arabia Ministry of Education Saudi Electronic University College of Administrative and Financial Sciences Assignment 2 Communications Management (MGT 421) Due Date: 1/11/2025 @ 23:59 Course Name: Communication Management