Even complicated and confusing topics will be easily developed and covered if you request our help writing an essay. Place an order today!

PRyC WP: Add custom content to bottom of post/page: Standard Content START

Annual Report

FY [Year]

[Add a quote here from one of your company executives or use this space for a brief summary of the document content.]

Business Computer Language

IT401

Instructions:

  • This Assignment must be submitted on Blackboard ( WORD format only) via the allocated folder.
  • Email submission will not be accepted.
  • You are advised to make your work clear and well-presented, marks may be reduced for poor presentation. This includes filling your information on the cover page.
  • You MUST show all your work, and text must notbe converted into an image, unless specified otherwise by the question.
  • Late submission will result in ZERO marks being awarded.
  • The work should be your own, copying from students or other resources will result in ZERO marks.
  • Use Times New Romanfont for all your answers.

Name:###

CRN:###

ID:###



1 Mark

Learning Outcome(s):

Use programming language elements including syntax, data types, conditional statement, control structures, procedures and arrays in order to create a program based on specification.

Question One

Giving the following code snippet. What kind of errors you will get and how can you correct it.

  • public class HelloJava
    {
  • public class HelloJava
    {

public static void main(String args[])

{

int x=10;

int y=2;

System.out.print(x*y=”);

System.out.printl(x*y);

}

}

public static void main(String args[])
{

int x=10;

int y=0;

System.out.print(x/y);

}

1.5 Marks

Learning Outcome(s):

Use programming language elements including syntax, data types, conditional statement, control structures, procedures and arrays in order to create a program based on specification.

Question Two

  • Write a program that reads the following string “Hello, This is IT401 assignment 1” and does the following:
  • Is the replace method of class String an accessor method or a mutator method. Explain your answer.
  • Use the replace method of the class String and replace IT401 with Business computer language.
  • Print the number of characters in the string after the replacement.

0.5 Mark

Learning Outcome(s):

Use programming language elements including syntax, data types, conditional statement, control structures, procedures and arrays in order to create a program based on specification.

Question Three

Given the following class create 2 instances of the class and initialize them with the values “Business computer language” and “IT401” respectively.

public class GradeBook {

private String courseName;

public GradeBook (){

courseName =””;}

public GradeBook (String name) {

courseName = name;}

public String getCourseName() {

return courseName;}

public void displayMessage(){

System.out.println(“welcome, this is” + getCourseName()); }}

0.5 Marks

Learning Outcome(s):

Use programming language elements including syntax, data types, conditional statement, control structures, procedures and arrays in order to create a program based on specification.

Question Four

What are the implicit and explicit parameters for the following methods:

  • Box1.translate(5,10);
  • momSavings.getBalance();

0.5 Marks

Learning Outcome(s):

Use programming language elements including syntax, data types, conditional statement, control structures, procedures and arrays in order to create a program based on specification.

Question Five

Write the following formula in java expression. Show all the required steps.

PRyC WP: Add custom content to bottom of post/page
/PRyC WP: Add custom content to bottom of post/page

testimonials icon
Your answers should be approximately 700-1000 words each (1-2 single-spaced pages). Essays should be well-structured, edited for spelling...
testimonials icon
Competencies: 724.8.5: Foundations of Inquiry – The graduate differentiates between quality improvement processes, evidence based practice a...
testimonials icon
I am having trouble answering these four questions. Any and all help would be greatly appreciated! :)...
testimonials icon
Describe how the work of Charles Lyell impacted the development of Charles Darwin's theory of evolution. Please include the major work...
testimonials icon
/*! elementor - v3.6.5 - 27-04-2022 */ .elementor-heading-title{padding:0;margin:0;line-height:1}.elementor-widget-heading .elementor-heading...
testimonials icon
Due april 20th...
testimonials icon
The use of encryption can have adverse effects on incident response and incident investigations; however, from a security standpoint, encr...
testimonials icon
Please make sure that it is non plagarized and written in APA format along with citation in the introductory. I will email the outline. Only reques...
testimonials icon
/*! elementor - v3.6.5 - 27-04-2022 */ .elementor-heading-title{padding:0;margin:0;line-height:1}.elementor-widget-heading .elementor-heading...
testimonials icon
Determine two to three (2-3) reasons why VectorCal may not always receive the exact amount of profit that it negotiated...

Other samples, services and questions:

Calculate Price

When you use PaperHelp, you save one valuable — TIME

You can spend it for more important things than paper writing.

Approx. price
$65
Order a paper. Study better. Sleep tight. Calculate Price!
Created with Sketch.
Calculate Price
Approx. price
$65