Which of the following is NOT primarily a data-structure operation?

Options

  • A. Traversal
  • B. Searching
  • C. Encryption
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

C. Encryption

Detailed Explanation

Encryption is primarily a security and cryptography operation rather than a data-structure operation. Data structures organize and manage data, with operations such as insertion, deletion, traversal, searching, updating, and sorting. Encryption transforms readable data, called plaintext, into protected data called ciphertext using an encryption algorithm and key. Although encrypted information can certainly be stored inside data structures, encryption itself is not a fundamental operation of those structures.