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
Setler [38]
3 years ago
8

The while loop has two important parts: a condition that is tested and a statement or block of statements that is repeated as lo

ng as the expression ________.
Computers and Technology
1 answer:
natima [27]3 years ago
8 0

Answer:

TRUE

Explanation:

The while loop is used to run the block of statement again and again until condition is TRUE. if condition false program terminate the loop and execute the next of while statement.

syntax:

initialize;

while(condition)

{

 statement;

  increment/decrement;

)

when condition is TRUE, the block of statement execute again and again.

You might be interested in
Define a method printAll() for class PetData that prints output as follows with inputs "Fluffy", 5, and 4444. Hint: Make use of
Vsevolod [243]

Answer and Explanation:

public class petData

{

private int ageYears;

private String fullName;

private int IdNumber;

public void setName (String givenName)

{

fullName = givenName;

return;

}

public void setAge (int numYears)

{

ageYears = numYears;

return;

}

public void setID (int numID)

{

IdNumber = numID;

return;

}

public void printAll ()

{

System.out.print ("Name: " + fullName);

System.out.print (", Age: " + ageYears);

return;

}

}

From the above, we have defined a class petData, with methods setName, setAge, printAll. These methods all make use of the string variable fullName and integer variable ageYears. From the above, setName method sets fullName variable to name given to its string parameter givenName while setAge method does the same with the ageYears variable in initializing it. This is also done by the ID method. These variables are then used by printAll method in printing out the Name and age of the object which would be created with the petData class

E. g: petData dog= new petData();

3 0
4 years ago
What is the difference between a master device in a Bluetooth network and a base station in an 802.11 network?
spayn [35]

Answer:

In an 802.11, a master device in a bluetooth network organize themselves into a "Piconet" of up to 8 slave devices. In an 802.11, a base station is a receiver and transmitter that plays a role of the WIFI network.

Explanation:

802.11 is the original wireless specification and it was developed by IEEE. IEEE stands for Institute of Electrical and Electronic Engineers (IEEE).

In an 802.11, a master device in a bluetooth network organize themselves into a "Piconet" of up to 8 slave devices. In an 802.11, a base station is a receiver and transmitter that plays a role of the WIFI network.

7 0
3 years ago
Why is it important to use fillings,coating/icing,glazes or decorations for pastry products​
Marizza181 [45]

Answer:

Frosting improves the cake's appearance.

Explanation:

Special occasion cakes become more festive with frosting and decorations; and, Frosting improves the keeping the qualities of the cake by forming a protective coating around it, sealing in moisture and flavor and allowing it to be eaten over a couple of days.

7 0
3 years ago
When choosing a buffer to use for an experiment conducted at pH 5.3, it would be best to choose one with a pKa of: A.2.14. B.4.7
s344n2d4d5 [400]

Answer:

B.4.75

Explanation:

Buffer solutions are the solutions which can resist the change in the pH up to some extent. They are the solutions of either weak acid and conjugate base of it or weak base and conjugate acid of it.

The pH of a buffer solution can be measured by the equation known as Henderson–Hasselbalch equation.

pH=pKa+log[base]/[acid]

A good buffer that buffer which has its acid's pKa within one pH unit of desired experimental conditions.

Thus, desired pH = 5.3

Preferable pKa = 4.3 - 6.3

<u>Answer - B. 4.75</u>

7 0
3 years ago
For a line segment, show that clipping against the top of the clipping rectangle can be done independently of the clipping again
butalik [34]

Answer:

Explanation:

Solution is in the attached document.

3 0
3 years ago
Other questions:
  • A pacing calendar is provided to students so they can:
    8·2 answers
  • Describe the difference between public and private IPv4 addresses. If a network is using private IP addresses, how can the compu
    13·1 answer
  • Professional photography is a competitive job field. <br> true <br> false
    12·2 answers
  • Why did the creation of ARPANET help with this critical need?
    9·1 answer
  • Which of the following is similar to defense in depth and supports multiple layers of security?a. Defense in depthb. Diversity o
    7·1 answer
  • Describe the functions of ALU, resisters, CU, BIU, Cache and FPU.
    7·1 answer
  • Defining a(n) ______________ of an object is called instantiation.
    12·1 answer
  • 6. What type of application is designed for making slide shows?​
    12·2 answers
  • The Table Design and Layout tabs are available under the
    13·2 answers
  • Create a set of functions that compute the mean, median, and mode of a set of
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!