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
mash [69]
3 years ago
10

What are Loop Errors? Describe briefly. What aresymptoms of Loop Errors?

Computers and Technology
1 answer:
victus00 [196]3 years ago
4 0

Answer:

The errors in the loop condition such that it is not giving desired results or it is not running accordingly.There are different types of loop errors which are as following:-

1.Infinite loop:-When the is not able to stop then the error is called infinite loop. for ex:-

int i=1;

while(i!=0)

{

cout<<"I am King"<<endl;

i++;

}

2.Off by one error:-This error mostly happens in loop for arrays as indexing of the array is from 0 to size-1 .So looping over the array up to the size is a off by one error.

3.Equality v/s assignment operator error:-In this error the condition in the loop is like this d=f which is wrong since = is assignment operator it assigns the value of f to d while d==f checks that the value of d and f are equal or not.

4.&& v/s || loop error:- In this error we use and operator (&&) instead of or operator (||) and vice versa.

symptoms of loop errors are not the desired output.

You might be interested in
What is the next line?
jonny [76]

Answer:

Answered below

Explanation:

The next line is 1.

The python count function returns the number of times an element appears in a tuple or a list.

In the tupleB tuple, 7 is passed into the count function. The number of times 7 appears in tupleB is just once alongside 5, 2.7, 10 and 5. Therefore, the count function returns 1 in the next line.

5 0
3 years ago
I’m which scenario would someone most likely be using presentation software ?
timurjin [86]

Answer:

100% the first one. the other ones would either be documents or spreadsheets

Explanation:

because oBaMa

6 0
3 years ago
Read 2 more answers
When converting the relationships to the relational model and the database schema, it is possible that some of the relationships
klemol [59]

Answer:

b mwcvhgdvgcvyjac hgscvghsdv

Explanation:

8 0
3 years ago
Example of vector image format​
emmasim [6.3K]

Answer:

JPEGs, GIFs and PNGs are common raster image types. ...

Vector images, alternatively, allow for more flexibility. Constructed using mathematical formulas rather than individual colored blocks, vector file types such as EPS, AI and PDF* are excellent for creating graphics that frequently require resizing.

7 0
3 years ago
Why is it important to use standard english when applying for a job
algol13
To start of on the right foot with your boss by showing him/her that you can be professional, but not be intimidating. Hope this helped.
8 0
4 years ago
Read 2 more answers
Other questions:
  • Your mission is to read this uber-classified memo from the Grand Poobah of annan. Of course, it's in code, so you'll need to wri
    15·1 answer
  • What are some ways social media networks make money from users
    10·1 answer
  • TRUE OR FALSE!!!!!
    6·2 answers
  • This type of software works with end users, application software, and computer hardware to handle the majority of technical deta
    12·1 answer
  • HELP WILL GIVE BRAINIEST IF YOU HELP ME.....
    8·2 answers
  • RAM that can be changed. True or False
    9·2 answers
  • Discuss briefly four types of websites and the criteria you will use to evaluate the content of a website
    8·1 answer
  • USE THIS CODE ON FETCH REWARDS FOR BRAINLIEST​
    10·1 answer
  • Give 5 characteristics of bad capacitor<br> give 5 characteristics of good capacitor
    10·1 answer
  • What are two reasons why a switch port would have a status of errdisable? (choose two. )
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!