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

ph solve 2

Description General Guide / Instructions: Write your name and University ID at the top of your report. Read the assignment instructions and rubrics carefully. Do not copy and paste directly from slides or textbooks. Provide at least Two scientific reference for each question (textbook, journal, or reliable website). Plagiarism or

Management Question

Description ‫المملكة العربية السعودية‬ ‫وزارة التعليم‬ ‫الجامعة السعودية اإللكترونية‬ Kingdom of Saudi Arabia Ministry of Education Saudi Electronic University Department of Business Administration College of Administrative and Financial Sciences Assignment- 2 Marketing Management (MGT 201) Due Date: 1st Nov’ 2025 @ 23:59 Course Name: Marketing Management Student’s Name: Course Code:

Management Question

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

Mgt 311 case scenario

Description ‫المملكة العربية السعودية‬ ‫وزارة التعليم‬ ‫الجامعة السعودية اإللكترونية‬ Kingdom of Saudi Arabia Ministry of Education Saudi Electronic University College of Administrative and Financial Sciences Assignment 2 Introduction to Operations Management (MGT 311) Due Date: 01/11/2025 @ 23:59 Course Name: Introduction to Operations Management Course Code: MGT 311 Student’s Name:

MGT – 402 (Entrepreneurship and small business)

Description Below are the conditions for completing the assignment. Additionally, there are further requirements inside the file that must be followed: -Make sure to avoid plagiarism as much as possible . -Use font Times New Roman , 12 font sizes. -Use 1.5 line spacing with adjust to all paragraphs (

mng321,moayad

Description I want a correct and complete solution for all paragraphs. I must adhere to the instructions. I don’t want plagiarism. I don’t want similarities. I don’t want a solution using artificial intelligence. I want a correct solution. Put the solution inside the file. Include all requirements. Errors are not

mng101,majeed

Description I want a correct and complete solution for all paragraphs. I must adhere to the instructions. I don’t want plagiarism. I don’t want similarities. I don’t want a solution using artificial intelligence. I want a correct solution. Put the solution inside the file. Include all requirements. Errors are not

mng301,walaa

Description I want a correct and complete solution for all paragraphs. I must adhere to the instructions. I don’t want plagiarism. I don’t want similarities. I don’t want a solution using artificial intelligence. I want a correct solution. Put the solution inside the file. Include all requirements. Errors are not

mng311.walaa

Description I want a correct and complete solution for all paragraphs. I must adhere to the instructions. I don’t want plagiarism. I don’t want similarities. I don’t want a solution using artificial intelligence. I want a correct solution. Put the solution inside the file. Include all requirements. Errors are not

Management Question

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

mng401,walaa

Description I want a correct and complete solution for all paragraphs. I must adhere to the instructions. I don’t want plagiarism. I don’t want similarities. I don’t want a solution using artificial intelligence. I want a correct solution. Put the solution inside the file. Include all requirements. Errors are not

Project 476-3

Description see College of Computing and Informatics Project Deadline: Sunday 01/12/2025 @ 23:59 [Total Mark is 14] Student Details: CRN: Name: Name: Name: ID: ID: ID: Instructions: • You must submit two separate copies (one Word file and one PDF file) using the Assignment Template on Blackboard via the allocated

Project 352_2

Description see College of Computing and Informatics Name: Name: Name: ID: ID: ID: Part Four Pg. 1 Description and Instructions General Guidelines •​ The deadline for project submission is Monday, December 1, 2025. •​ Each group can have up to 3 members. •​ Each group must assign a team leader

Management Question

Description assignment MGT311 ‫المملكة العربية السعودية‬ ‫وزارة التعليم‬ ‫الجامعة السعودية اإللكترونية‬ Kingdom of Saudi Arabia Ministry of Education Saudi Electronic University College of Administrative and Financial Sciences Assignment 2 Introduction to Operations Management (MGT 311) Due Date: 01/11/2025 @ 23:59 Course Name: Introduction to Operations Management Course Code: MGT 311

MGT-401: Strategic Management

Description 1-please plagiarism not acceptable2-references are required3-number of words as required 4-Please read the enclosed case study carefully and answer the questions that follow Notes. Be concise when answering the questions. It is highly recommended to use the vocabulary/terminology studied in your course of MGT401. You can use other sources

MGT-402: Entrepreneurship and small bus

Description 1-please plagiarism not acceptable2-references are required3-number of words as required 4-Note: Use APA style of referencing Learning Outcomes: 1. Describe the place of small business in history and explore the strengths and weaknesses of small business. 2. Design a solid projected financial plan and conduct a breakeven analysis for

MGT-404: Organization Design and develo

Description 1-please plagiarism not acceptable2-references are required3-number of words as required Please refer to the case study titled “Change Management at Global TelecomCorporation” given Chapter 8 in your textbook and answer the following questions: Note: • You must include at least 5 references.• Format your references using APA style. ‫المملكة

MGT-424: Quality management

Description 1-please plagiarism not acceptable2-references are required3-number of words as required ‫المملكة العربية السعودية‬ ‫وزارة التعليم‬ ‫الجامعة السعودية اإللكترونية‬ Kingdom of Saudi Arabia Ministry of Education Saudi Electronic University College of Administrative and Financial Sciences Assignment 2 Quality Management (MGT 424) Due Date: 01/11/2025 @ 23:59 Course Name: Quality Management