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
jek_recluse [69]
3 years ago
6

Why is it important for element IDs to have meaningful names

Computers and Technology
1 answer:
Anit [1.1K]3 years ago
6 0

Answer:

  to remind of purpose and use

Explanation:

When a data item has a meaningful name, the name can be a reminder of the purpose and use of the item. It can also be suggestive of the range of legitimate values. It also makes error-checking easier.

If the name of it is not meaningful, this information about the item must be found in a dictionary somewhere, often a time-consuming or difficult project. Using elements with non-meaningful IDs provides opportunities for error and confusion--not something that is generally wanted.

You might be interested in
The following code is intended to calculate the sum of the first five positive odd integers. int sum = 0, k; for (k = 1; k <=
goldfiish [28.3K]
Calculate the sum of the first 5 positive odd integers: Let's do this in our head first, so we can check if our code is right or not!

The first positive 5 odd integers are: 1, 3, 5, 7, 9
Sum these to: 25

int sum = 0, k; <------These just declare our variables, telling the program 'Hey, I'm going to use 'sum' and 'k' to store data.

for (k = 1; <---We're going to repeat the following code, and we're starting at 1
k <= 10; <---- We're going to continue to repeat until we greater than 10.
k += 2) <------ Every time we do a loop, we're going to add 2.

{ sum += k; } <---- We're going to increase the number inside "sum" by the number inside "k"

Let's run this and see what happens. Remember, we keep going until we hit more than 10.

Round 0: k = nothing, sum = 0 (before we start the loop)
Round 1: k = 1, sum = 1
Round 2: k = 3, sum = 1+3 or 4
Round 3: k = 5, sum = 4 + 5 or 9
Round 4: k = 7, sum = 9 + 7 = 16
Round 5: k = 9, sum = 16 + 9 = 25
Round 6: k = 11, sum = 25 + 11 = 36

Well, we can tell here that round 5 was correct, but round 6 is not correct. And our loop condition says <=10, which means we have to do Round 6.

This means we did it one too many times. Our ending condition should be <10, instead of <=10. 

Option B


5 0
3 years ago
Which feature in word automatically corrects typos, minor spelling errors, and capitalization as you type? autocomplete spelling
Fed [463]
I think auto correct.....,
8 0
3 years ago
Does anyone know the answer for question d (questions in the picture btw)
VashaNatasha [74]
Yessssss bdbfbfbsjebfjcjde
6 0
3 years ago
A(n) ______ is a flash memory storage device that contains its own processor to manage its storage.
Ugo [173]
The answer to the fill in the blank is a USB
4 0
3 years ago
The letters a, e, i, o and u are the only vowels. Write a function named vowelUseDict() takes a string t as a parameter and comp
Andru [333]

Please specify the programming language.


3 0
4 years ago
Other questions:
  • Allow chrome to access the network in your firewall or antivirus settings. if it is already listed as a program allowed to acces
    15·1 answer
  • Which were important characteristics of Sparta's government? Select the two correct answers. A. Oligarchs were able to hold a lo
    12·2 answers
  • Match the parts of a CPU to their fuctions
    8·1 answer
  • Which notification appears on the screen when a new Outlook item arrives?
    10·1 answer
  • What file extension is used to name a compressed folder
    10·1 answer
  • What are two most common video file formats
    11·1 answer
  • Please I need this answer now.<br>this is the fill in the blanks​
    14·1 answer
  • Which type of cover letter would the above excerpt come from?
    7·1 answer
  • A letter of application should be written on:
    13·1 answer
  • You are the IT administrator for a small corporate network. The network uses a DHCP server for IP address configuration for most
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!