Electronics and Communication Engineering - Microprocessors
Exercise : Microprocessors - Section 3
- Microprocessors - Section 1
- Microprocessors - Section 2
- Microprocessors - Section 3
- Microprocessors - Section 4
- Microprocessors - Section 5
- Microprocessors - Section 6
- Microprocessors - Section 7
- Microprocessors - Section 8
- Microprocessors - Section 9
- Microprocessors - Section 10
- Microprocessors - Section 11
- Microprocessors - Section 12
1.
Consider the following rules about integer constant in C
- An integer constant must have at least one digit.
- An integer constant must not have a decimal point.
- An integer constant may be positive or negative.
- The default sign is positive.
- A maximum of one comma or blank is allowed.
Answer: Option
Explanation:
No comma or blank is allowed in integer constant in C.
2.
Consider the following logical IF statement in Fortran 77
IF (SALT. LE. PEPPER) 11
GO TO 13
The above statement using arithmetic IF statement would beAnswer: Option
Explanation:
The logical IF statement means that IF SALT is less than or equal to PEPPER, control goes to statement 11 otherwise (i.e., SALT greater than PEPPER), control goes to 13 Same is true of arithmetic IF statement (a).
3.
Consider the following rules for constructing variable names in C
- It can have alphabets, digits or underscores but no other special character.
- The maximum number of characters is 8.
- The first character may be an alphabet or digit but not underscore.
Answer: Option
Explanation:
First character must be alphabet only.
4.
The correct way of writing the expression
in Pascal is

Answer: Option
Explanation:
Operators must be written. They are not implied.
5.
A microprocessor uses 3 MHz oscillator. The duration of one T state is
Answer: Option
Explanation:
= 0.333 x 10-6 s.
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers