Electronics and Communication Engineering - Microprocessors

41.
Which of the following is not a data base function?
DAVERAGE
MAX
DCOUNT
DSTDEV
Answer: Option
Explanation:

MAX is not data base function.


42.
Consider the following statements about Infix and Post fix notations in Pascal
  1. In Infix notation operators appear between the operands on which they operate.
  2. In Post fix notation operators appear after the operand.
  3. The Infix expression A + B - C + D will appear as AB + C - D + in post fix notation.
Which of the above are correct?
All
1 and 2 only
1 and 3 only
2 and 3 only
Answer: Option
Explanation:

All are correct.


43.
Which of the following statement number is not valid in Basic
12
521
662512
99999
Answer: Option
Explanation:

Statement number is basic should have only 5 digits.


44.
Consider the following in object oriented programming
  1. An object is a self contained element of a computer program which represents a related group of interests.
  2. Each object has a specific role in a program.
  3. All objects can work with other objects in defined ways.
  4. Objects are also called instances
Which of the above are correct?
All
1, 2 and 3 only
1 and 2 only
1, 2 and 4 only
Answer: Option
Explanation:

All are correct.


45.

Assertion (A): In C a character constant is either a single alphabet or digit or special symbol enclosed within single inverted commas.

Reason (R): In C the maximum length of a character constant can be 2 characters.

Both A and R are correct and R is correct explanation of A
Both A and R are correct but R is not correct explanation of A
A is correct R is wrong
A is wrong R is correct
Answer: Option
Explanation:

A character constant is a single alphabet or digit or special character enclosed within single inverted comma.