ECE :: Microprocessors
-
Consider the following program in Basic
5 READ R
10 D = 2 * R
20 A = 3.1416 * D * D / 4
30 PRINT A
Assuming that R = 3.0, the output A = -
Consider the following statements about Java variables
- Java variable must start with a letter or underscore or dollor sign.
- Java variable can not start with a digit.
- After the first character the variable can have any combination of letters or numbers.
- Capitalization of letters must be consistent.
-
A microprocessor is generally
-
Consider the following program in C
int k;
float a, b, c;
k = a* b* c / 100 + 2.5 / 2 - 0.3 * 9
if a - 5.0, b = 2.0 and c = 3.0 the final result k = -
A computer program is used to read N and print the sum 12 + 22 + 32 +.....+ N2. If N = 10, the print out will show the number
-
Which of the following arithmetic operations requires only one operand in FORTRAN 77?
-
Which of the following array names is invalid in Fortran 77?
-
A nibble corresponds to