Compiler for Embedded System MCQ Quiz – Objective Question with Answer for Compiler for Embedded System

11. Which of the following allows the reuse of the software and the hardware components?

A. platform-based design
B. memory design
C. peripheral design
D. input design

Answer: A

The platform design allows the reuse of the software and the hardware components in order to cope with the increasing complexity in the design of embedded systems.

 

12. Which of the following is the design in which both the hardware and software are considered during the design?

A. platform-based design
B. memory-based design
C. software/hardware codesign
D. peripheral design

Answer: C

The software/hardware codesign is the one that has both hardware and software design concerns. This will help in the right combination of the hardware and the software for an efficient product.

 

13. What does API stand for?

A. address the programming interface
B. application programming interface
C. accessing peripheral through the interface
D. address the programming interface

Answer: B

The platform-based design helps in the reuse of both the hardware and the software components. The application programming interface helps in extending the platform towards software applications.

 

14. Which activity is concerned with identifying the task at the final embedded systems?

A. high-level transformation
B. compilation
C. scheduling
D. task-level concurrency management

Answer: D

There are many design activities associated with the platforms in the embedded system and one such is the task-level concurrency management which helps in identifying the task that needed to be present in the final embedded systems.

 

15. In which design activity, the loops are interchangeable?

A. compilation
B. scheduling
C. high-level transformation
D. hardware/software partitioning

Answer: C

The high-level transformation is responsible for the high optimizing transformations, that is, the loops can be interchanged so that the accesses to array components become more local.

 

16. Which design activity helps in the transformation of the floating-point arithmetic to fixed-point arithmetic?

A. high-level transformation
B. scheduling
C. compilation
D. task-level concurrency management

Answer: A

The high-level transformation is responsible for the high optimizing transformations, that is, for the loop interchanging, and the transformation of the floating-point arithmetic to the fixed point arithmetic can be done by the high-level transformation.

 

17. Which design activity is in charge of mapping operations to hardware?

A. scheduling
B. high-level transformation
C. hardware/software partitioning
D. compilation

Answer: C

The hardware/software partitioning is the activity that is in charge of mapping operations to the software or the hardware.

 

18. Which of the following is approximated during hardware/software partitioning, during task-level concurrency management?

A. scheduling
B. compilation
C. task-level concurrency management
D. high-level transformation

Answer: A

The scheduling is performed in several contexts. It should be approximated with the other design activities like the compilation, hardware/software partitioning, and task-level concurrency management. The scheduling should be precise for the final code.

 

19. Which of the following is a process of analyzing the set of possible designs?

A. design space exploration
B. scheduling
C. compilation
D. hardware/software partitioning

Answer: A

The design space exploration is the process of analyzing the set of designs and the design which meets the specification is selected.

 

20. Which of the following is a meet-in-the-middle approach?
A. peripheral based design
B. platform-based design
C. memory-based design
D. processor design

Answer: B

The platform is an abstraction layer that covers many possible refinements to a lower level and mainly follows a meet-in-the-middle approach.

 

21. What does FRIDGE stand for?

A. fixed-point programming design environment
B. floating-point programming design environment
C. fixed-point programming decoding
D. floating-point programming decoding

Answer: A

Certain tools are available which are developed for the optimization programs and one such tool is the FRIDGE or fixed-point programming design environment, commercially made by Synopsys System Studio.

 

22. Which of the following tool can replace the floating-point arithmetic with fixed-point arithmetic?

A. SDS
B. FAT
C. VFAT
D. FRIDGE

Answer: D

There are certain tools available that are developed for the optimization programs and one such tool is the FRIDGE or fixed-point programming design environment, commercially made available by Synopsys System Studio. This tool can is used in the transformation program, that is the conversion of floating-point arithmetic to fixed-point arithmetic. This is widely used in signal processing.

 

23. Which programming algorithm is used in the starting process of the FRIDGE?

A. C++
B. JAVA
C. C
D. BASIC

Answer: C

The FRIDGE tool uses C programming algorithm in the initial stage and is converted to a fixed-C algorithm which extends C by two extends.

 

24. In which loop transformation, a single loop is split into two?

A. loop tiling
B. loop fusion
C. loop permutation
D. loop unrolling

Answer: B

Many loop transformations are done for the optimization of the program and one such loop transformation is the loop fusion in which a single loop is split and the loop fission includes the merging of the two separate loops.

 

25. Which loop transformations have several instances of the loop body?

A. loop fusion
B. loop unrolling
C. loop fission
D. loop tiling

Answer: B

The loop unrolling is a standard transformation that creates several instances of the loop body and the number of copies of the loop is known as the unrolling factor.

Scroll to Top