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

314 ass 3

Description College of Health Sciences Department of Public Health ASSIGNMENT [1] COVER SHEET Course name: Society and drugs Course Code: PHC314 CRN: Assignment title or task: (You can write a question) Explain how drugs of abuse act as positive reinforces? Choose any commonly abused drug in KSA and explain about

314 ass 4

Description College of Health Sciences Department of Public Health ASSIGNMENT [1] COVER SHEET Course name: Society and drugs Course Code: PHC314 CRN: Assignment title or task: (You can write a question) Explain how drugs of abuse act as positive reinforces? Choose any commonly abused drug in KSA and explain about

Management Question

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

it231.hani

Description College of Computing and Informatics Assignment 1 Student Details: Deadline: Day 03/ 10 /2024 @ 23:59 Name: # CRN: ### Instructions: ID: ### [Total Mark for this Assignment is 8] • You must submit two separate copies (one Word file and one PDF file) using the Assignment Template on

Management Question

Description ‫المملكة العربية السعودية‬ ‫وزارة التعليم‬ ‫الجامعة السعودية اإللكترونية‬ Kingdom of Saudi Arabia Ministry of Education Saudi Electronic University College of Administrative and Financial Sciences Assignment 1 Strategic Management (MGT 401) Due Date: 05/10/2024 @ 23:59 Course Name: Strategic Management Student’s Name: Course Code: MGT 401 Student’s ID Number: Semester:

it ,231alaa

Description College of Computing and Informatics Assignment 1 Student Details: Deadline: Day 03/ 10 /2024 @ 23:59 Name: # CRN: ### Instructions: ID: ### [Total Mark for this Assignment is 8] • You must submit two separate copies (one Word file and one PDF file) using the Assignment Template on

212 ass 9

Description PHC212 Assignment 2nd semester 2024 ASSIGNMENT COVER SHEET Course name: Concepts of Health Education & Health Promotion Course number: PHC 212 CRN: ……. Paper Assignment Assignment title or task: (You can write a question) Using your own words, fill each cell in the provided tables with specific and relevant

Reply to discussion (Introduction to Barriers to Trade)

Description Vietnam, a developing country, heavily relies on its agriculture sector, including fruits, vegetables, and rice. However, Japan, a developed nation, imposes tariffs on these products. These tariffs aim to protect Japanese rice farmers and the agricultural sector from international competition. While these measures temporarily benefit Japanese farmers, they have

Reply to discussion (Introduction to Barriers to Trade)

Description Let’s take the example of the European Union (EU) as the developed region and India as the developing country. The EU has imposed tariffs on certain steel and aluminum products, which directly impacts India’s exports of these products. This scenario presents an excellent opportunity to explore the economic impact

ACT500 Discussion Module05

Description Module 05: Discussion  Support Department and Joint Cost Allocation Discuss the allocation of support  department costs and joint costs for one of the following types of  business: (a) TV assembler, (b) building contractor, (c) automobile  repair shop, (d) paper manufacturer, (e) custom jewelry manufacturer?  Discuss which of the three

MGT521 Critical Thinking Module05

Description Organizational Change  Each organization has its own background  perceptions, ethics, values, history, and ambitions. Therefore, a “one  size fits all” change management process may not work in every  organization. We must assess and adapt our process to fit the  backgrounds and philosophies of each organization. Given this understanding, we

MGT530 Critical Thinking Module05

Description Service Life Cycle Suppose a company intends to offer a new  service to some of its internal customers. Discuss how the fact that  the customers are internal would change the process of managing the four  phases of the service life cycle.  Address the following questions: How does the internal

Law of E-commerce

Description Include your discussion question in the form below, as well as the answer to the question and the answer source.  What are some of the advantages of e-commerce? Put this reference and put two another :Required Text(s) This page intentionally left blank The Law of Electronic Commerce Written specifically

Management Question

Description ‫المملكة العربية السعودية‬ ‫وزارة التعليم‬ ‫الجامعة السعودية اإللكترونية‬ Kingdom of Saudi Arabia Ministry of Education Saudi Electronic University College of Administrative and Financial Sciences Assignment 1 Introduction to International Business (MGT 321) Due Date: 05/10/2024 @ 23:59 Course Name: Introduction to International Business Course Code: MGT321 Student’s Name: Semester:

Human Resources- MGT 211

Description ‫المملكة العربية السعودية‬ ‫وزارة التعليم‬ ‫الجامعة السعودية اإللكترونية‬ Kingdom of Saudi Arabia Ministry of Education Saudi Electronic University College of Administrative and Financial Sciences Assignment 1 Human Resources Management (MGT 211) Due Date: 05/10/2024 @ 23:59 Course Name: HR Management Student’s Name: Course Code: MGT211 Student’s ID Number: Semester:

Management Question

Description 1. Demonstrate a deep understanding of the logistic function concepts and theories as well as supply chain management strategies. 2. Demonstrate the ability to understand complex issues pertaining to supply chain integration and strategic supply chain partnership. ‫المملكة العربية السعودية‬ ‫وزارة التعليم‬ ‫الجامعة السعودية اإللكترونية‬ Kingdom of Saudi Arabia