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
mart [117]
3 years ago
15

Comments should Your answer: rephrase the code it explains in English be insightful and explain what the instruction's intention

is only be included in code that is difficult to understand be used to define variables whose names are not easy to understand
Computers and Technology
1 answer:
Ne4ueva [31]3 years ago
6 0

Answer:

(b) be insightful and explain what the instruction's intention is.

Explanation:

Required

Which describes a comment in options (a) to (d)

Comments are not meant to replace the original code but to explain what the code is meant to do; so that even if the code gets to a non-programmer, the person will understand what the code is all about.

<em>From (a) to (d), only option (b) fits the above description.</em>

You might be interested in
In IDLE, which symbols are used for the prompt? <br>*** <br>&lt;&lt;&lt;<br> &gt;&gt;&gt;<br> ---​
Norma-Jean [14]

Answer: >>>

Explanation:

just finished the test and got this right

7 0
4 years ago
Which of the following were input devices for early portable computers?
nordsb [41]

Answer:

Notebooks

Explanation:

The answer is Notebooks

5 0
3 years ago
Determine the distance between point (x1, y1) and point (x2, y2), and assign the result to points Distance. The calculation is:
Nadusha1986 [10]

<u>Question:</u>

Snapshot of the question has been attached to this response.

<u>Answer:</u>

<u></u>

import java.util.Scanner;

import java.lang.Math;

public class CoordinateGeometry{

    public static void main(String []args){

       double x1 = 1.0;

       double y1 = 2.0;

       double x2 = 1.0;

       double y2 = 5.0;

       double pointsDistance = 0.0;

       

       //Declare a variable to hold the result of (x2 - x1)²

       double x;

       

       //Solve (x2 - x1)^2 and store result in the variable x

       x = Math.pow(x2 - x1, 2);

       

       //Declare a variable to hold the result of (y2 - y1)²

       double y;

       

       //Solve (y2 - y1)^2 and store result in the variable y

       y = Math.pow(y2 - y1, 2);

       

       //Now pointsDistance = SquareRootOf(x + y)

       pointsDistance = Math.sqrt(x + y);

       

       System.out.println("Points distance: ");

       System.out.println(pointsDistance);

       

       return;

    }

}

<u>Sample Output:</u>

Points distance:  

3.0

<u>Explanation:</u>

The above code has been written in Java and it contains comments explaining important lines of the code. Please go through the comments.

The snapshots of the program and a sample output have been attached to this response.

4 0
4 years ago
Which of the following is not a standard method called aspart of the JSP life cycle*
Kazeer [188]

Answer:

*jspService()

Explanation:

These are the steps in JSP life cycle.

1. Conversion JSP page to Servlet .

2.Compilation of JSP page(test.java)

3.Class is loaded (test.java to test.class)

4.Instantiation (Object is created)

5.Initialization (jspInit() method is only called once at the time of servlet     generation )

6.Request processing(_jspService() method is used for serving requests by JSP)

7.JSP Cleanup (jspDestroy() method is used for removing JSP from use)

There is no *jspService() method in the JSP life cycle.

8 0
4 years ago
How can I find all the answers for the NWEA MAP Math, English, Reading, and Science tests? Please help!!!!! I found some answers
Gala2k [10]

Answer:

if its a test try to just do it on your own ,you got nothing to lose from a test, its just to understand what you know on the concepts, but if you would still like answers just search around the net or here and you can always post the questions to ask people for help someone would eventually answer your questions but then beware of bots that post links as answer!

Explanation:

6 0
3 years ago
Other questions:
  • List five characteristics of a series circuit
    9·1 answer
  • Quantas calorias os adolescentes devem consumir diariamente?
    14·1 answer
  • You are creating a database for your computer club. Most of the students live in your town, Durham. How can you make Durham appe
    11·1 answer
  • What is cutting-edge technology
    6·1 answer
  • All of the following are potential benefits of blogging except
    10·1 answer
  • A quien se le conoce como el padre de la tecnologia?
    10·1 answer
  • Do you think<br> brain uploading<br> is a good idea?
    7·1 answer
  • Anyone want to talk? it can honestly be about any subject :)
    5·1 answer
  • Consider the following static method.
    9·1 answer
  • Dana is moving to a new house. She has 15 boxes for books. Each box can hold up to 22 books. Dana has 375 books. How many more b
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!