Answer:
Unfavorable climate can act as a barrier to communication leading to wrong perceptions or decision. Noise: Noise is a physical barrier to effective communication. Noise may have its origin from an external source or may exist even in the communication loop. You do not achieve effective communication by merely shouting.
Explanation:
Answer:
I think computers are more important
Explanation:
The average person drives a vehicle to work to go and work on a computer.
Answer:
1. When calculating the division of each number in some range of floating type number.
2. One cannot use real numbers for exact comparison. Two real numbers are rarely equal. Real numbers are have representational errors.
Explanation:
1. In structured programming, we make use of a floating-point number with a fractional part for a loop control variable. a given scenario is when we just want to calculate the division of each number in some range of floating type number. However, the downsides to using a floating-point number with a fractional part for a loop control variable are:
- They can cause 'off-by-one' failure
- A floating point number cannot represent all simple fractions exactly
2. The pitfalls of using real numbers for the index variable in a for loop:
- Two real numbers are hardly equal
- One cannot use real numbers for exact comparison
- The existence of representational errors
Answer:
(A) myArray BYTE 10, 20, 30
Explanation:
The general syntax of array declaration in assembly is given by
Array_Name TYPE value1, value2,...
where type can be BYTE, WORD, DWORD, QWORD, REAL4 etc
where values can be in decimal, binary, or hexadecimal
example:
Let us define an array of type unsigned byte and named myArray containing decimal values of 10, 20, and 30.
myArray BYTE 10, 20, 30
Hence only option A is the valid data definition.
Answer:
Explanation:
The following code is written in Java and like requested prompts the user for a number to continue or a letter to exit. Then loops and keeps adding all of the numbers to the sum variable and adding 1 to the count for each number entered. Finally, it prints the sum and the average using printf and the variables.
import java.util.Scanner;
class Examine1 {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int sum = 0;
int count = 0;
System.out.println("Enter a number to continue or a letter to exit.");
while(in.hasNextInt()) {
System.out.println("Enter a number:");
sum += in.nextInt();
count += 1;
}
System.out.printf("The sum is %s.%n", sum);
System.out.printf("The average is %s.", (sum / count));
}
}