Abstraction

Thematic in computer science is abstraction, whereby lower-level implementation details are hidden below higher-level ideas.

Answer the below in abstraction.txt.

Questions

  1. (2 points.) Recall that we described stacks and queues as "abstract data types" as opposed to "data structures." In what sense are stacks and queues abstractions?

  2. (2 points.) Recall that say is a function in Scratch. In what sense is say an abstraction?

  3. (2 points.) Recall that string is defined in the CS50 Library. In what sense is string an abstraction?

Debrief

  1. Which resources, if any, did you find helpful in answering this problem’s questions?

  2. About how long did you spend on this problem’s questions?