# IT 401 Business Computer Languages

Evaluate the consecrated pseudocode to rate the assemblage bulk proexperiment (BMI) after a while the forthcoming experiment values:  A) The summit = 1.80 meter and the gravity = 78 Kg  B) The summit = 1.50 meter and the gravity = 85 Kg  Input summit  Input gravity  BMI = Gravity / (height)2  If BMI < 18.5 then  Output BMI  Output “Underweight” Else  If BMI < 24.9 then  Output BMI  Output “Normal”  Else  If BMI > 25 then  Output BMI  Output “overweight”  End if  What is the developed output of:  A)  B) Write an algorithm to experience the perimeter and the area of a rectangle.  . Experience the errors in the forthcoming statements, interpret why and how to clear-up such errors:  a. 23 = 25;  b. Int percentage% = “15”;  c. Rectangle empty = new Rectangle (25, 30, 40, 50);  d. envelop 7average = 0;  7average.length();  We deficiency to fashion a collocate that represents a clock. A clock has hour, diminutive, and prevent. For model, the space 12:15:36 instrument, it is 12 o’clock, 15 diminutives, and 36 prevents. The basic framework of a Clock collocate is below: exoteric collocate Clock  { privy int hour; privy int diminutives;  privy int prevents;  }  1. What should the assemblage of the perpetrator be?  A. hr = hour;  min = diminutives;  sec = prevents;  B. hour = 12;  minutes = 15;  seconds = 36;  C. int hour = hr;  int diminutives = min;  int prevents = sec;  D. hour = hr;  minutes = min;  seconds = sec;  What are the indicated and the explicit parameters in the forthcoming methods call: A) System.out.println(“Assignment 1”);  B) myName.length()  Write the assemblage for conjunction, incorporation, multitude and non-location methods for the Calculator collocate  import java.lang.*;  import java.util.*;  exoteric collocate Calculator { privy int value;  privy int x;  privy int y;  exoteric Calculator()  { value = 0;  x = 0;  y = 0;  }  exoteric int conjunction(int x, int y)  { } exoteric int incorporation(int x, int y)  {  }  exoteric int multitude(int x, int y)  {  } exoteric envelop non-location(int x, int y)  {  }  )