Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam CISSP All Questions

View all questions & answers for the CISSP exam

Exam CISSP topic 1 question 184 discussion

Actual exam question from ISC's CISSP
Question #: 184
Topic #: 1
[All CISSP Questions]

A software developer wishes to write code that will execute safely and only as intended. Which of the following programming language types is MOST likely to achieve this goal?

  • A. Weakly typed
  • B. Dynamically typed
  • C. Strongly typed
  • D. Statically typed
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Rollizo
Highly Voted 2 years, 1 month ago
Selected Answer: C
Statically-typed programming languages do type checking (i.e., the process of verifying and enforcing the constraints of types on values) at compile-time, whereas dynamically-typed languages do type checks at runtime. Weakly-typed languages make conversions between unrelated types implicitly; whereas, strongly-typed languages don’t allow implicit conversions between unrelated types.
upvoted 9 times
jackdryan
1 year, 6 months ago
C is correct
upvoted 1 times
...
Rollizo
2 years, 1 month ago
conversions between unrelated types can produce unexpected behaviour
upvoted 1 times
...
pingundas
2 years, 1 month ago
The question says "execute" which is = runtime, so dynamically could be right. (PS: amazed at how many answers defaults answers do make sense)
upvoted 1 times
pingundas
2 years ago
I meant do not make sense
upvoted 1 times
...
...
...
DJOEK
Highly Voted 1 year, 10 months ago
Selected Answer: C
According to CISSP, the most likely programming language type to achieve the goal of executing safely and only as intended is a strongly typed language. Strongly typed languages require explicit declarations of variables and enforce strict rules for how variables can be used, making it more difficult for developers to make errors that could compromise the security of the code. In contrast, weakly typed languages have more flexible rules for variable declarations and use, making it easier for developers to make mistakes that could compromise the security of the code. Dynamically typed languages are similar to weakly typed languages in that they do not require explicit declarations of variables, but they also allow variables to change type during execution, which can increase the risk of security vulnerabilities. Statically typed languages are similar to strongly typed languages in that they require explicit declarations of variables and enforce strict rules for how variables can be used, but they also perform type checking at compile time rather than runtime, which can help to identify and fix potential security issues before the code is deployed.
upvoted 6 times
...
Soleandheel
Most Recent 11 months, 2 weeks ago
C. Strongly typed Strongly typed programming languages enforce strict type checking and do not allow implicit type conversion, which can help prevent unintended behavior and make the code more robust and safe.
upvoted 1 times
...
74gjd_37
1 year, 2 months ago
Selected Answer: C
The concept of strongly typed programming languages as a means to achieve safe and intended code execution is a fundamental concept in computer science and software development, and it is widely accepted and taught in various resources, including official study guides and CBKs for the CISSP certification.
upvoted 1 times
...
georgegeorge125487
1 year, 3 months ago
Selected Answer: C
C is correct
upvoted 1 times
...
Firedragon
2 years ago
Selected Answer: C
C. https://www.techtarget.com/whatis/definition/strongly-typed
upvoted 2 times
...
ataaf
2 years, 1 month ago
Dynamic type checking checks the values stored in a program’s variables as it is running to ensure data matches the expected type. Languages that implement these features are known as typesafe, and they support important security goals related to integrity of data
upvoted 2 times
...
BDSec
2 years, 2 months ago
Strongly
upvoted 1 times
...
Yanjun
2 years, 2 months ago
Selected Answer: C
should be strongly
upvoted 3 times
Nickolos
2 years, 2 months ago
Why is that?
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...