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
Serhud [2]
3 years ago
5

When the continue statement is encountered in a loop, all the statements in the body of the loop that appear after it are ignore

d, and the loop prepares for the next iteration.
Computers and Technology
1 answer:
kati45 [8]3 years ago
3 0

Answer:

True

Explanation:

While looping through, there can be times that you do not want your code to do anything in some situations. Let's say you loop through an array consists of four numbers (1, 2, 3, and 4). You want to print all the values except 2. Check the code written in Java below.

     int [] numbers = {1, 2, 3, 4};

     for(int number : numbers) {

        if(number == 2) {

           continue;

        }

        System.out.println(number);

     }

You might be interested in
Consider a binary search tree where each tree node v has a field v.sum which stores the sum of all the keys in the subtree roote
AVprozaik [17]

Answer:

Each time you insert a new node, call the function to adjust the sum.

This method has to be called each time we insert new node to the tree since the sum at all the

parent nodes from the newly inserted node changes when we insert the node.

// toSumTree method will convert the tree into sum tree.

int toSumTree(struct node *node)

{

if(node == NULL)

return 0;

// Store the old value

int old_val = node->data;

// Recursively call for left and right subtrees and store the sum as new value of this node

node->data = toSumTree(node->left) + toSumTree(node->right);

// Return the sum of values of nodes in left and right subtrees and

// old_value of this node

return node->data + old_val;

}

This has the complexity of O(n).

Explanation:

6 0
3 years ago
Expalin the defference between the driver of a desktop and a laptop​
Pani-rosa [81]

Answer:

None, drivers are hardware specific, if both devices share the same hadware manufacurer they tend to have the same drivers.

A driver is a software component that lets the operating system and a device communicate with each other. So asking for a difference in drivers is as asking the difference in hardware in both devices, though one tends to be more intergrated they are all the same in low level functions

Also drivers might not even communicate directly with the device but send a request. thats why some drivers can be written directly into an operating system.

7 0
3 years ago
How are computers classified into different types? Explain ​
zloy xaker [14]

Answer:

On the basis of size there are four types of computer. They are minicomputer, micro computer, mainframe computer and super computer. Super computer is the fastest, most expensive, big in size, and most powerful computer that can perform multiple tasks within no second.

3 0
2 years ago
The table below describes the planting method used for some vegetables. Which field in this table can you define as the primary
Serjik [45]

Answer:

The vegetables should be named by it's specific name and it's planting method should be written down as well as the time it was planted. The Sr. No. should be there so the person can tell the difference between each plant.

Explanation:

7 0
3 years ago
Read 2 more answers
85 points hurry pls
grigory [225]

The statements which are true regarding barriers to communication are: A, C, and D.

<h3>What are barriers to communication?</h3>

Barriers to communication can be defined as form of obstacle or hindrance that typcically affects the swift and easy communication of an information between two or more parties.

This ultimately implies that, barriers to communication are impediments to effective communication between two or more parties and these include the following:

  • Language difference
  • Communication styles
  • Cultural difference

Read more on communication here: brainly.com/question/26152499

#SPJ1

7 0
2 years ago
Other questions:
  • What is the on board storage C:
    15·1 answer
  • How long is the latency time of a typical hard-disk drive spinning at 360 revolutions per second?
    6·1 answer
  • Electronic business includes which of the following
    5·2 answers
  • Select the correct answer
    5·2 answers
  • What is 4x+2x(-3-3) thanku
    11·2 answers
  • Electronic type is often considered to be the latest step in the evolution of the written ______________.
    10·1 answer
  • If your tired but still need to proofread your document,what should you do?
    15·2 answers
  • Simple example of hybrid computer​
    7·2 answers
  • How does communication produce clarity and direction​
    13·1 answer
  • A ________________ is a special type of array that implements a last-in, first-out collection of values.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!