1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
larisa [96]
3 years ago
10

Identify the flaws / limitations in the following ConvertToNumber method:

Computers and Technology
1 answer:
lions [1.4K]3 years ago
4 0

Answer:

Flaws and limitations identified in this program includes;

1.There was a not necessary usage of variable retrieval. Would have made use of canConvert.

2. Looking at the program, one will notice numerous typos. One of which is the fact that in JAVA we make use of Boolean instead of bool.

3.We rather use Integer.parseInt in JAVA and not Int16, cant make use of Int16.

4. The exception cant be printed

5. JAVA makes use of checkConversion instead of convertNumber as used in the program.

6. It cant work for decimal numbers, 0 and big integers.

Explanation:

See Answer for the detailed explaination of the flaws and limitations identified in the program.

You might be interested in
The width to height proportion of a monitor is known as the
JulijaS [17]
The width-to-height proportion of a monitor is known as the aspect ratio.
6 0
3 years ago
PLZ HELP What will be the output? class num: def init (self.a): self. number = a mul* __(self. b) return self. number + b. numbe
Vilka [71]

Answer:

15

Explanation:

got it right on edge

3 0
3 years ago
Which does the histogram resemble the most?
ch4aika [34]

The best and most correct answer among the choices provided by your question is the third choice or letter C. A bar graph resembles histogram the most.

A histogram<span> is a graphical representation of the distribution of numerical data. It is an estimate of the probability distribution of a continuous variable (quantitative variable) and was first introduced by Karl Pearson.
</span>
I hope my answer has come to your help. Thank you for posting your question here in Brainly.


3 0
3 years ago
Determine the exact output of the code:
stiv31 [10]

Answer:

3

Explanation:

The function floor() is used to give the integer which is smaller than or equal to the provided decimal value.

for example:

let a=5.8

floor(a);

the function provides the value 5 (smaller than or equal to 5.8).

In the given code:

variable num assigns the number 3.14.

then, floor(3.14) gives the value 3 (smaller than or equal to 3.14).

then, the echo print the value on the screen.

Therefore, the correct answer is 3.

4 0
4 years ago
What is the command to list the contents of directors in Unix- like operating system
maks197457 [2]

Answer:

Ls command

Explanation:

The command to list the contents of directory in Unix- like operating system is "Ls command."

In computer programming, the "Ls command" is commonly found in the EFI shell and other environments, including DOS, OS/2, Microsoft Windows, Matlab and, -GNU Octave.

The "Ls" command is used in writing to the standard outcome, such as the contents of each specified Directory or any other information

3 0
3 years ago
Other questions:
  • Find 5 rational numbers between -1 and 1​
    8·1 answer
  • PLEASE HELP! Which aspect helps you to change the luminescence of your image?
    10·2 answers
  • How can I make a video game?
    8·2 answers
  • You are tasked with leading a project to build a custom software testing tool for client. You have been provided with a set of p
    7·1 answer
  • Construct pseudocode for a program that prints ‘Hello World’ on the screen.
    7·2 answers
  • What is the output?
    6·2 answers
  • What game is this??????????????????????
    12·1 answer
  • Read the Python program below: num1 = int(input()) num2 = 10 + num1 * 2 print(num2) num1 = 20 print(num1) Question 1 When this p
    6·1 answer
  • A typical day in programming and software development would involve
    7·1 answer
  • What are the key constructs of a G&amp;T Value Delivery objective?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!