Our Services

Get 15% Discount on your First Order

[rank_math_breadcrumb]

Business Computer Languages IT401

Description

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

Question:
Write a Java program that does the following:

  • Uses a while loop to let the user enter numbers until they enter -1 to stop.
  • Inside the loop:
    • If the user enters a negative number (other than -1), skip it using the continue statement.
    • If the user enters -1, exit the loop using the break statement.
    • Keep a running total of all positive numbers entered.
  • After the loop ends, display the sum of the valid numbers.

2 Marks

Learning Outcome(s):

Recognize the concept of object-oriented programming and creating classes

Question Two

Question:

Explain the concept scope of declaration in Java and list its five types. Choose Two types and discuss them in more detail.

3 Marks

Learning Outcome(s):

Explain the basic principles of programming, concept of language, the concept of arrays in Java programming languages.

Question Three

Question: Discuss the concept of arrays in Java, focusing on the following aspects:

  • Demonstrate the concept of arrays
  • Explain how arrays are declared and initialized in Java for single-dimensional arrays. Support your answer with examples.

College of Computing and Informatics

Assignment #2
Deadline: Sunday 13/04/2025 @ 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.

Restricted – ‫مقيد‬

Question One

Pg. 01
Learning
Outcome(s):
Develop a
program based on
specification
using

Question One

3 Marks

Question:
Write a Java program that does the following:

Uses a while loop to let the user enter numbers until they enter -1 to stop.

Inside the loop:

programming

o

If the user enters a negative number (other than -1), skip it using the continue
statement.

elements

o

If the user enters -1, exit the loop using the break statement.

including syntax,

o

Keep a running total of all positive numbers entered.

language

data types,
conditional
statement, control
structures,
procedures,
arrays, objects
and classes

Restricted – ‫مقيد‬

After the loop ends, display the sum of the valid numbers.

Question Two

Pg. 02
Learning
Outcome(s):
Recognize the
concept of objectoriented
programming and
creating classes

Restricted – ‫مقيد‬

Question Two

2 Marks

Question:
Explain the concept scope of declaration in Java and list its five types. Choose
Two types and discuss them in more detail.

Question Three

Pg. 03
Learning
Outcome(s):

Question Three

3 Marks

Question: Discuss the concept of arrays in Java, focusing on the following aspects:
Explain the basic
principles of
programming,
concept of
language, the
concept of arrays
in Java
programming
languages.

Restricted – ‫مقيد‬

1. Demonstrate the concept of arrays
2. Explain how arrays are declared and initialized in Java for singledimensional arrays. Support your answer with examples.

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

Web Design IT404

Description 2 Marks Learning Outcome(s): Identify most HTML tags and CSS properties and use a text editor to construct the basic HTML and CSS structure for a webpage. Question One What does XHTML stand for? Mention at least THREE rules that XHTML enforces which make it stricter than standard HTML.

Web Design IT404

Description 2 Marks Learning Outcome(s): Identify most HTML tags and CSS properties and use a text editor to construct the basic HTML and CSS structure for a webpage. Question One What does XHTML stand for? Mention at least THREE rules that XHTML enforces which make it stricter than standard HTML.

Fundamentals of Database IT-403

Description 3 Marks Learning Outcome(s): CLO 3,4 Design a database starting from the conceptual design to the implementation of database schemas. Create Entity-Relationship model, Relational model, and write SQL queries. Question One The Saudi Electronic University (SEU) plans to build a database to manage its academic departments and their staff.

Website Design Question

Description Please follow the instructions carefully. College of Computing and Informatics Assignment 2 Deadline: Day 14/4/2025 @ 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

Databases Question

Description Please follow the instructions College of Computing and Informatics Assignment 2 Deadline: 16/04/2025 @ 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

Management Question

Description 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).Follow The General instructions for doing this Assignment in the file. – Make sure to avoid plagiarism. – ” Unique Answer “. -Prove the references.

Management Question

Description 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).Follow The General instructions for doing this Assignment in the file. – Make sure to avoid plagiarism. – ” Unique Answer “. -Prove the references.

database solve

Description Solve this file exactly by following the existing rules. College of Computing and Informatics Assignment 2 Deadline: 16/04/2025 @ 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

Statistics Question

Description The assignment contains the material from weeks 1 to 10. All chapters studied so far. You can choose either of the following two ways to upload the solution: 1. Copy the solution from Excel QM, paste it onto the assignment worksheet (attached), and upload the Word file to the

Final report

Description I WANT YOU TO FOLLOW THE REQUIRMENT STEP BY STEP AVOID THE Plagiarism!! DON’T USE CHAT GPT DO IT PERFECTLY PLEASE!! I WANT YOU TO DO THE FINAL REPORT AND USE SOME FILE I HAVE BEEN UPLOADED THIS LINK ABOUT THE ORGANIZIONS IF YOU NEED SOME INFORMATIONS https://www.psmchs.edu.sa/en/ THIS

mgt final report and ppt- 5541

Description College of Administration and Finance Sciences Form No 4- Internship Report Cover Page Student`s name: Student`s ID #: Training Organization: Trainee Department: Field Instructor Name: Field Instructor Signature: Course Title: CRN: Internship Start Date: Internship End Date: Academic Year/Semester: For Instructor’s Use only Instructor’s Name: Total Training Hours /280

Cost accounting ACCT301

Description ·The Assignment must be submitted on Blackboard (WORD format only) via allocated folder. ·Assignments submitted through email will not be accepted. ·Students are advised to make their work clear and well presented, marks may be reduced for poor presentation. This includes filling your information on the cover page. ·Students

314 ASS 48

Description SEE 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

Organizational Behaviour /MGT301

Description The Assignment must be submitted on Blackboard (WORD format only) via the allocated folder. • Assignments submitted through email will not be accepted. • Students are advised to make their work clear and well presented; marks may be reduced for poor presentation. This includes filling in your information on

mgt421 – assignmnt3

Description ‫المملكة العربية السعودية‬ ‫وزارة التعليم‬ ‫الجامعة السعودية اإللكترونية‬ Kingdom of Saudi Arabia Ministry of Education Saudi Electronic University College of Administrative and Financial Sciences Assignment 3 Communications Management (MGT 421) Due Date: 26/4/2025 @ 23:59 Course Name: Communication Management Student’s Name: Course Code: MGT421 Student’s ID Number: Semester: 2nd

HCI 314 ASS 6

Description SEE College of Health Sciences Department of Health Informatics ASSIGNMENT COVER SHEET Course name: Public Health Informatics Course number: HCI 314 CRN • Assignment Question Discuss the role of public health informatics in disease surveillance and outbreak management. Word count between 200 to 300 Students ID Student name: Submission

HCI 315 ASS 8

Description SEE College of Health Sciences Department of Health Informatics ASSIGNMENT COVER SHEET Course name: Telehealth and Telemedicine Course number: HCI-315 Assignment title or task: Question: Investigate the patient experience with telehealth services during the COVID-19 pandemic. What have been the major benefits and drawbacks from the patient’s perspective? Student

Databases Question

Description Dear Tutor! please find attached. tell me if you need anything. Thank you in advance. College of Computing and Informatics Assignment 2 Deadline: 16/04/2025 @ 23:59 [Total Mark for this Assignment is 8] Student Details: Name: ### ID: ### CRN: ### Instructions: • You must submit two separate copies