0
0
Intro to Computingfundamentals~5 mins

NoSQL and alternative models in Intro to Computing - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What does NoSQL stand for and why is it used?
NoSQL means "Not Only SQL." It is used to store and manage data that doesn't fit well into traditional tables, like big or flexible data.
Click to reveal answer
beginner
Name four common types of NoSQL databases.
The four common types are: Document stores (like MongoDB), Key-Value stores (like Redis), Column stores (like Cassandra), and Graph databases (like Neo4j).
Click to reveal answer
beginner
How does a document store database organize data?
It stores data as documents, usually in JSON-like format, where each document can have different fields and structures, making it flexible.
Click to reveal answer
beginner
What is a key-value store and when is it useful?
A key-value store saves data as pairs: a unique key and its value. It's useful for fast lookups when you know the key, like caching user sessions.
Click to reveal answer
intermediate
Why might someone choose a graph database?
Graph databases are great for data with many relationships, like social networks or recommendation systems, because they store data as nodes and edges.
Click to reveal answer
Which NoSQL database type stores data as JSON-like documents?
AGraph database
BKey-value store
CColumn store
DDocument store
What is a key feature of column store databases?
AStore data in rows like tables
BStore data as key-value pairs
CStore data in columns for fast aggregation
DStore data as nodes and edges
Which NoSQL model is best for representing social networks?
AGraph database
BDocument store
CKey-value store
DColumn store
Why might NoSQL databases be preferred over traditional SQL databases?
AThey handle flexible or large-scale data better
BThey require fixed schemas
CThey always use SQL queries
DThey cannot scale horizontally
Which NoSQL type is best for fast access when you know the exact key?
ADocument store
BKey-value store
CGraph database
DColumn store
Explain the main differences between SQL and NoSQL databases.
Think about how data is organized and how flexible the structure is.
You got /4 concepts.
    Describe a real-life example where a graph database would be more useful than a document store.
    Consider how friends connect on social media.
    You got /4 concepts.