As tests for MIL and SIL take place closer to the test object, the test basis must have a higher degree of detail than in HIL. In MIL and SIL, the test object and the environment model must be defined in detail in order to create an accurate simulation of the real-world environment, so the test basis must include detailed information about the system and its components. In HIL, the test environment is more removed from reality, so the test basis does not need to be as detailed.
Questions 5
Which statement regarding the coding standard MlSRA-C:2012 Is true?
Options:
A.
MISRA-C defines rules and guidelines. Rules are verifiable by static analysis tools and are always required.
B.
MISRA-C defines rules and guidelines that are supposed to help avoid anomalies In object-oriented developed software (e.g. in C++)
C.
MISRA-C defines rules that include among others that the source code should not include nested comments.
D.
A typical rule in MISRA-C is that the developer has documented the implemented behavior wen.
MISRA-C defines rules and guidelines. Rules are verifiable by static analysis tools and are always required. MISRA-C:2012, also known as the Motor Industry Software Reliability Association (MISRA-C) C Coding Standard, is a set of coding rules and guidelines that are designed to help ensure the safety and reliability of software written in the C programming language. MISRA-C defines rules and guidelines that are intended to help avoid anomalies in code, such as buffer overflows and incorrect pointer manipulation. Rules are verifiable by static analysis tools, and are always required. Guidelines are best-practice recommendations, and are not always enforced.