Using the knowledge in computational language in JAVA it is possible to write a code that Assign listNodes with all elements with a clasa name prog-lang
<h3>Writting in JAVA:</h3>
let listNodes;
//assigning listNodes with all elements with a class name of 'special-language'
listNodes = document.getElementsByClassName('special-language');
//for loop to traverse all node in listNodes and print every element in it with class name special-language
for (let i = 0; i < listNodes.length; i++) {
console.log(listNodes[i].innerHTML);
}
See more about JAVA at brainly.com/question/12975450
#SPJ1
Int count(int num)
if num==0 return 0;
return (n&1)+count (n/2)
It is called the, "Program Proposal".
Answer:
computer is an electronic machine which work on the basic principle" ipo"(input process and output.
it's characteristics are
Accuracy
Computers perform calculations with 100% accuracy. Errors may occur due to data inconsistency or inaccuracy.
Diligence
A computer can perform millions of tasks or calculations with the same consistency and accuracy. It doesn’t feel any fatigue or lack of concentration. Its memory also makes it superior to that of human beings.
Versatility
Versatility refers to the capability of a computer to perform different kinds of works with same accuracy and efficiency.
Reliability
A computer is reliable as it gives consistent result for similar set of data i.e., if we give same set of input any number of times, we will get the same result.