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

505 CT 2-6

Description In research, you should select research articles that are peer-reviewed and, in most instances, are not more than five years old. When searching in the Saudi Digital Library, you can limit the results by publication date and peer-reviewed journals so that you get the most recent, credible research on

505 CT 2-6

Description In research, you should select research articles that are peer-reviewed and, in most instances, are not more than five years old. When searching in the Saudi Digital Library, you can limit the results by publication date and peer-reviewed journals so that you get the most recent, credible research on

505 CT 2-6

Description In research, you should select research articles that are peer-reviewed and, in most instances, are not more than five years old. When searching in the Saudi Digital Library, you can limit the results by publication date and peer-reviewed journals so that you get the most recent, credible research on

505 CT 2-7

Description In research, you should select research articles that are peer-reviewed and, in most instances, are not more than five years old. When searching in the Saudi Digital Library, you can limit the results by publication date and peer-reviewed journals so that you get the most recent, credible research on

505 CT 2-8

Description In research, you should select research articles that are peer-reviewed and, in most instances, are not more than five years old. When searching in the Saudi Digital Library, you can limit the results by publication date and peer-reviewed journals so that you get the most recent, credible research on

505 CT 2-9

Description In research, you should select research articles that are peer-reviewed and, in most instances, are not more than five years old. When searching in the Saudi Digital Library, you can limit the results by publication date and peer-reviewed journals so that you get the most recent, credible research on

505 CT 2-10

Description In research, you should select research articles that are peer-reviewed and, in most instances, are not more than five years old. When searching in the Saudi Digital Library, you can limit the results by publication date and peer-reviewed journals so that you get the most recent, credible research on

505 CT 2-11

Description In research, you should select research articles that are peer-reviewed and, in most instances, are not more than five years old. When searching in the Saudi Digital Library, you can limit the results by publication date and peer-reviewed journals so that you get the most recent, credible research on

505 CT 2-12

Description In research, you should select research articles that are peer-reviewed and, in most instances, are not more than five years old. When searching in the Saudi Digital Library, you can limit the results by publication date and peer-reviewed journals so that you get the most recent, credible research on

505 CT 2-13

Description In research, you should select research articles that are peer-reviewed and, in most instances, are not more than five years old. When searching in the Saudi Digital Library, you can limit the results by publication date and peer-reviewed journals so that you get the most recent, credible research on

505 CT 2-14

Description In research, you should select research articles that are peer-reviewed and, in most instances, are not more than five years old. When searching in the Saudi Digital Library, you can limit the results by publication date and peer-reviewed journals so that you get the most recent, credible research on

505 CT 2-15

Description In research, you should select research articles that are peer-reviewed and, in most instances, are not more than five years old. When searching in the Saudi Digital Library, you can limit the results by publication date and peer-reviewed journals so that you get the most recent, credible research on

506 m2 solve

Description Critical Thinking Assignment (110 points) This week we are learning about the various types of studies that can be used in researching a population for risk factors, controls versus experimental treatment, and the Framingham heart study is introduced. Please read the following study: Omer, F. M., Awadalla, N. J.,

506 m2 solve fa

Description Critical Thinking Assignment (110 points) This week we are learning about the various types of studies that can be used in researching a population for risk factors, controls versus experimental treatment, and the Framingham heart study is introduced. Please read the following study: Omer, F. M., Awadalla, N. J.,

answer 2 saeed

Description solve 0 plagrasim Assignment No. 2 Islamic Jurisprudential Perspectives on Health Insurance Objectives: 1. Identify and categorize the different types of health insurance. 2. Highlight the main characteristics of social (cooperative) health insurance. 3. Explain and clarify the Shariah ruling on social (cooperative) health insurance, including its types and

answer 3 saeed

Description solve0 plagrasim Assignment No. 3 Learning from Global Experiences in Health Insurance and Comparative Analysis Objectives: 1. Review and analyze health insurance systems and experiences from other countries. 2. Examine alternative models of social (cooperative) health insurance implemented internationally. 3. Compare the Saudi social (cooperative) health insurance system with

Asigment mgt402

Description Please follow allrequirments and guidlines to answer assigment

505 ct 15

Description Critical Thinking Assignment: Analyze a Research Paper (110 points) Read the following article: Basri, R., Issrani, R., Hua Gan, S., Prabhu, N., & Khursheed Alam, M. (2021). Burden of stroke in the Kingdom of Saudi Arabia: A soaring epidemic. Saudi Pharmaceutical Journal, 29(3), 264–268. https://doi.org/10.1016/j.jsps.2021.02.002 Watch the following video: