ECE :: Microprocessors
-
Which of the following DO statements is invalid in FORTRAN 77?
-
Read the following statements about files in Pascal
- A file is a data structure which consists of a sequence of components of the same type.
- The number of components in a file is variable.
- The components in a file can be accessed only sequentially starting from the beginning of the file.
-
Consider the following C program int ram
float alpha, gamma
ram = 6400
alpha = 0.562
gamma = alpha * ram + 1
Now consider the following statements about this program- ram is an integer variable
- alpha, gamma are real variables
- *, + are arithmetic operators
- 0.562 may be an integer constant or real constant
-
Let JCOKE = 98 and LPEPSI = 42 Consider the statement
The value of JCOKE after the execution of above statement will be
IF (JCOKE - 3 * LPEPSI) 5, 6, 7
5 JCOKE = JCOKE + 5
6 JCOKE = JCOKE + 8
7 JCOKE = JCOKE + 11 -
Which of the following is not a valid integer constant in C (for 16 bit)?
-
Assume that x = 5 and y = 2. Then in Java operation x + = y, the result is