Module quiz: Introduction to data structures :Coding Interview Preparation (Meta Front-End Developer Professional Certificate) Answers 2025
1. What do TSV files use to separate data?
✔️ Tabs
❌ Topic
❌ Types
2. What happens when you make a deep copy of an array?
✔️ You create a new instance of the array.
❌ Only an index
❌ Optimize memory
3. Retrieving a value with index > size
✔️ It would throw an error.
❌ Return null
❌ Warning message
4. What is a class?
✔️ A blueprint for an object.
❌ A type of array
❌ An object with functionality
5. What are instance variables?
✔️ Characteristics of the class (attributes of an object).
❌ Immediate impact when compiled
❌ Many forms
6. Children in a binary tree
✔️ 2
❌ 1
❌ 4
7. FIFO approach
✔️ Queues
❌ Stacks (LIFO)
❌ Lists
8. Meaning of synchronization
✔️ Only one process can access the data structure at a time.
❌ Increasing object size
❌ FCFS access
9. Key characteristic of a tree
✔️ Every value descends from the root node.
❌ Root at bottom
❌ Leaf nodes must have ≥2 children
10. Why are heaps called heaps?
✔️ Data is arranged loosely—elements are “heaped” together.
❌ Importance based on location
❌ Store many data types
📘 Summary Table
| Q | Correct Answer |
|---|---|
| 1 | Tabs |
| 2 | New instance of array |
| 3 | Throws error |
| 4 | Blueprint for object |
| 5 | Class attributes |
| 6 | 2 |
| 7 | Queues |
| 8 | One process access |
| 9 | All descend from root |
| 10 | Loosely organized → heaped |