MCQOPTIONS
Saved Bookmarks
This section includes 9 Mcqs, each offering curated multiple-choice questions to sharpen your Vhdl knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
CASE is more efficient than ELSIF. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 2. |
Which of the following is not a legal statement used Ii CASE? |
| A. | WHEN 1 => |
| B. | WHEN 1 TO 3 => |
| C. | WHEN 1|3 => |
| D. | WHEN 1 THEN |
| Answer» E. | |
| 3. |
Which of the following is most complex? |
| A. | IF THEN ELSE |
| B. | Nested IF THEN ELSE |
| C. | ELSIF |
| D. | CASE |
| Answer» C. ELSIF | |
| 4. |
What is the main use of a CASE statement? |
| A. | To design multiplexers |
| B. | To design Comparators |
| C. | To design Flip flop |
| D. | To design state machines |
| Answer» E. | |
| 5. |
It is possible to use a CASE statement without OTHERS. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 6. |
Which of the following operators can t be used in the choices of a CASE? |
| A. | Arithmetic |
| B. | Logical |
| C. | Relational |
| D. | Every type of operators can be used |
| Answer» D. Every type of operators can be used | |
| 7. |
The CASE statement in VHDL is similar to _________ in C. |
| A. | Switch |
| B. | If else |
| C. | Pointers |
| D. | Arrays |
| Answer» B. If else | |
| 8. |
It is not possible to use range with _________ types. |
| A. | Integer |
| B. | BIT_VECTOR |
| C. | STD_LOGIC |
| D. | Natural |
| Answer» C. STD_LOGIC | |
| 9. |
If one wants to perform no action, when any condition is true, then which of the following keyword can be used? |
| A. | NO OPERATION; |
| B. | NOP; |
| C. | NULL; |
| D. | NEXT; |
| Answer» D. NEXT; | |