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
kolbaska11 [484]
3 years ago
7

True or False?

Computers and Technology
1 answer:
Nadya [2.5K]3 years ago
6 0

False.

The different between break and continue instruction is that with break you exit the loop, and with continue you skip to the next iteration.

So, for example, a loop like

for(i = 1; i <= 10; i++){

   if(i <= 5){

       print(i);

   } else {

       break;

   }

}

will print 1,2,3,4,5, because when i=6 you will enter the else branch and you will exit the loop because of the break instruction.

On the other hand, a loop like

for(i = 1; i <= 10; i++){

   if(i % 2 == 0){

       print(i);

   } else {

       continue;

   }

}

Will print 2,4,6,8,10, because if i is even you print it, and if i is odd you will simply skip to the next iteration.

You might be interested in
an error message is displayed during windws startup about a service that has failed to start, and then the system locks up. You
Tanzania [10]

Answer:

1:-Launch Windows RE and perform a Start Repair.

2:- Until you pick the Last Documented Successful Configuration on the Advanced Boot Options menu are the correct answer of this question.

Explanation:

Technology company Rescue is a Software restore tool capable of fixing some device issues that can prevent Microsoft for operating. Install Repair checks your Computer for the problem and then attempts to fix it, so that your Computer can start properly.

The Enhanced Boot Preferences app lets you connect to the internet in advanced mode for troubleshooting.

4 0
4 years ago
Help plz (will give brainliest)
Ivan

Answer:

The answer to this question is given below in the explanation section.

Explanation:

This is the python program in the question that is:

def sum(n1,n2):

n=n1+n2

return n

The question is: write a function CALL that displays the return value on the screen.

So, the correct program is written below:

*********************************************************************  

def sum(n1,n2):<em># it is function that define sum </em>

<em>  </em>n=n1+n2 <em># variable n that store the result of n1 and n2 </em>

<em>  </em>return n <em># return the result </em>

<em> </em>

print(sum(3,5))<em># call the sum function with parameter 3 and 5 , it will print </em><em>8</em>

print(sum(4,101))

<em># call the sum function with parameter 4 and 101 it will print </em><em>105</em>

********************************************************************************

you can also store the sum result into another variable, because this function return the sum. So, you can store that return value into another vairable and using the print function, to print the value of this variable such as:

*****************************************************************************

def sum(n1,n2):<em># it is function that define sum </em>

<em> </em> n=n1+n2<em> # variable n that store the result of n1 and n2 </em>

<em> </em> return n <em># return the result </em>

<em> </em>

result= sum(6,9) <em># store the sum result into another variable i.e result </em>

print(result)<em># print the result variable value </em>

*****************************************************************************

8 0
3 years ago
How can you make encouraging and effective content using text and visuals?​
svet-max [94.6K]

Answer:

prepare an encouraging picture or image

6 0
3 years ago
10
Paha777 [63]

Answer:

Keyboard

Explanation:

l think it is the key board

3 0
3 years ago
In a personal computer, the system software _____.
zysi [14]

I believe the answer is a

a) Controls the operations of the computer system.


5 0
3 years ago
Read 2 more answers
Other questions:
  • Difference between RAM and CPU
    7·1 answer
  • HELP ASAP!! Ohms law homework
    11·1 answer
  • PDA is an acronym for professional digital aid. <br><br> True <br><br> False
    10·1 answer
  • What is the default text-wrapping option when inserting images into a Word document?
    5·2 answers
  • A user program executes in a __________ , in which certain areas of memory are protected from the user's use, and in which certa
    12·1 answer
  • How is life everyone? I hope you're having a great day!
    10·2 answers
  • Preserving confidentiality, integrity, and availability is a restatement of the concern over interruption, interception, modific
    11·1 answer
  • FIRST PERSON TO FINISH GETS BRAINLIST
    6·1 answer
  • hi, I want to ask how do I change the Brainly to another country?, because I pressed the wrong Brainly button to my country​
    6·2 answers
  • How to fix this? Zoom it in to see it better
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!