B. hand gestures
these are not verbal.
Answer:
The Variable is out of scope
Explanation:
In programming variables exists with scopes This could be local or global. When a variable is declared as a global variable it is available to all methods and procedures in the program. Java programming language as well as C++ and several others use the open and close braces to define the scope in programs. consider the following example
<em>public class ANot {</em>
<em> public static void main(String[] args) {</em>
<em> int i = 0;</em>
<em> while ( i<10){</em>
<em> int sum = 0;</em>
<em> sum = sum+i; </em>
<em> }</em>
<em> }</em>
<em>}</em>
In this example, the variable i is global and can be assessed within the while loop but the variable sum is local to the while loop and cannot be assessed outside of it
Answer:
Output:
15
20
25
Explanation:
In first iteration value of num is 10. Condition is checked 10 is less than 21 so value of num is incremented by 5 and value 15 is printed than again condition is checked 15<21 so value of num is incremented again and 20 is printed. Again condition is checked 20<21. So 25 is printed. Then 4th time when condition is checked vakue of num is 25 and while loop condition becomes false because 25 is not less than 21 and program is terminated here.
Answer:
Advantages: computers don't make human error
It can be used for communication
Ease of access
Disadvantages: computers can be a distraction
Potential loss of privacy
It can limit learning and create a dependency
A programming language is not used to talk from human to human. It is used to talk from a human to a computer. Computers are very dumb compared to us, so they need to be taught or spoken to in simple terms. Asking them something complex is far beyond their understanding, as they cannot learn anything beyond what has already been taught to them. Using print: “Hello, World” is the way to tell them to do stuff way less complex than when we say ‘write the words Hello, World on the screen’. A programming language is also not very easy to create. Talking to a computer in a dumb way reduces the process to make a new language for the computer to understand.