MCQOPTIONS
Saved Bookmarks
This section includes 10 Mcqs, each offering curated multiple-choice questions to sharpen your Basic C knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
The __________ operator is commonly used to determine whether a number is even or odd. |
| A. | Addition |
| B. | Modulus |
| C. | Subtraction |
| D. | Integer division |
| Answer» C. Subtraction | |
| 2. |
To include a percentage in arithmetic operators we use __________ |
| A. | Decimal equivalent |
| B. | Percentage symbol |
| C. | We cannot use percentage |
| D. | Division |
| Answer» B. Percentage symbol | |
| 3. |
The __________ operator returns the remainder of the division. |
| A. | Addition |
| B. | Modulus |
| C. | Subtraction |
| D. | Integer division |
| Answer» C. Subtraction | |
| 4. |
The __________ operator is used to divide two integers. |
| A. | Addition |
| B. | Modulus |
| C. | Subtraction |
| D. | Integer division |
| Answer» E. | |
| 5. |
When an expression contains more than one operator with same priority, then they are evaluated according their __________ |
| A. | Precedence |
| B. | Associativity |
| C. | Binary |
| D. | Unary |
| Answer» C. Binary | |
| 6. |
Unary and Binary refer to the number of __________ needed by the operator. |
| A. | Operation |
| B. | Operand |
| C. | Expression |
| D. | Operator |
| Answer» C. Expression | |
| 7. |
__________ and __________ operators use same symbol. |
| A. | Addition, subtraction |
| B. | Addition, multiplication |
| C. | Multiplication, Division |
| D. | Subtraction, negation |
| Answer» E. | |
| 8. |
You can use __________ to override the order of precedence. |
| A. | Curly braces |
| B. | Parenthesis |
| C. | Third bracket |
| D. | Associativity |
| Answer» C. Third bracket | |
| 9. |
The __________ numbers indicate the order in which the computer performs the operation in an expression. |
| A. | Precedence |
| B. | Associativity |
| C. | Binary |
| D. | Ternary |
| Answer» B. Associativity | |
| 10. |
An arithmetic expression contains one or more __________ |
| A. | Arithmetic operators |
| B. | Logical operators |
| C. | Relational operators |
| D. | Short-hand operators |
| Answer» B. Logical operators | |