Question
a.
If A > = B then B : = C + D + X
b.
If (N = 45) THEN X : = X + 2 ELSEX : = 0
c.
If A < = B then A : = C * D
d.
If (A > = B) X : Y else X : = Z
Posted under Electronics and Communication Engineering
Interact with the Community - Share Your Thoughts
Uncertain About the Answer? Seek Clarification Here.
Understand the Explanation? Include it Here.
Q. Which of the following conditional statements is not valid in Pascal?
Similar Questions
Explore Relevant Multiple Choice Questions (MCQs)
Q. A computer program is used to read N and compute N !. IF N = 6, the result will be
View solution
Q. Consider the following statement in Basic
15 INPUT X, Y, Z
20 IF Y > X THEN 25
21 IF Z > Y THEN 30
25 PRINT Y
30 PRINT Z, X
35 END
IF X, Y, Z are 150, 200, 250 then the output will be
View solution
Q. The port of PC to which mouse is connected is called
View solution
Q. FORTRAN expression for √(3b²-5a²) is
View solution
Q. Assertion (A): Mnemonics are used in assembly level program.
Reason (R): Computer cannot understand mnemonics.
View solution
Q. Which of the following is a valid real variable in FORTRAN 77?
View solution
Q. Consider the following logical IF statement in FORTRAN 77
IF (SALT. GE. PEPPER) GOTO 11
GOTO 13
The above statement using arithmetic IF statement would be
View solution
Q. Assertion (A): Microprocessor 8085 can address 65536 memory locations.
Reason (R): Microprocessor 8085 has 16 address lines.
View solution
Q. If initial value of PROD is zero and a program adds X to PROD, Y times we get the result
View solution
Q. Which has volatile memory?
View solution
Q. Consider the following logical IF statement in FORTRAN 77
IF (SALT. EQ. PEPPER) GO TO 11
GOTO 13
The above statement using arithmetic IF statement would be
View solution
Q. Consider the following DO statement in Fortran 77
DO 23 X = 10.0, 2.0
The number of DO loop executions in the above statement is
View solution
Q. Contents of RAM cannot be altered.
View solution
Q. Which of the following operations will give the result 2 in C?
View solution
Q. If J = 12 and X = 24.4 , the result of the following FORTRAN 77 program will be
READ *, J, X
K = J ** 2
Z = 3 * X
Print *, J, K, Z
View solution
Q. Consider the following about 'arrays' in C
1. An array is a collection of similar elements.
2. An array can not have 10 numbers 5 of which are ints and 5 are floats.
3. An array can have ints and chars in the same array.
Which of the above are correct?
View solution
Q. A computer program is used to read M and print the sum 2 + 4 + 6 + 8 +.........+ 2M. If M = 9 , the print out will show the number
View solution
Q. Read the following rules for scanning Boolean expressions in Pascal
1. The expressions are scanned from left to right.
2. The operations are scanned in the order NOT, AND, OR.
3. All operators (i.e., NOT, AND and OR) are scanned together.
4. In one scanning all the operators of only one type are scanned.
Which of the above are correct?
View solution
Q. IC 74181 performs arithmetic operations when M = 1.
View solution
Q. Initially the number decimal 8 is stored. If instruction RAL is executed twice, the final number stored will be
View solution
Recommended Subjects
Are you eager to expand your knowledge beyond Electronics and Communication Engineering? We've handpicked a range of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of various subjects. Happy exploring!