0
0
Intro to Computingfundamentals~20 mins

What a database is in Intro to Computing - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Database Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding the purpose of a database

Imagine you have a large collection of books at home. Which of the following best describes what a database does?

AIt is like a bookshelf that organizes books so you can find any book quickly.
BIt is like a notebook where you write stories by hand.
CIt is like a television that shows movies.
DIt is like a backpack that carries books around.
Attempts:
2 left
💡 Hint

Think about how you find a book quickly when you have many books.

trace
intermediate
2:00remaining
Tracing data retrieval from a database

Look at the flowchart below that shows how a database retrieves information when you ask for it.

What is the correct order of steps when you search for a contact's phone number in a database?

A2,1,3,4
B1,3,2,4
C1,2,3,4
D1,2,4,3
Attempts:
2 left
💡 Hint

Think about what happens first: the user action or the database action.

Comparison
advanced
2:00remaining
Comparing databases and spreadsheets

Which statement correctly explains a key difference between a database and a spreadsheet?

AA spreadsheet stores data in tables, but a database stores data only as text files.
BA spreadsheet automatically backs up data, but a database never saves data.
CA database cannot sort data, but a spreadsheet can sort data easily.
DA database can handle large amounts of data efficiently and supports multiple users at once, while a spreadsheet is mainly for smaller data and single users.
Attempts:
2 left
💡 Hint

Think about how many people can use each tool and how much data they can handle.

identification
advanced
2:00remaining
Identifying database components

Which of the following is NOT a typical component of a database system?

AQuery processor that interprets user requests.
BSpreadsheet formulas for calculations.
CStorage engine that saves data on disk.
DTransaction manager that ensures data consistency.
Attempts:
2 left
💡 Hint

Consider which component is more related to spreadsheets than databases.

🚀 Application
expert
3:00remaining
Choosing the right database for a scenario

You are designing an app that needs to store user profiles with flexible fields that can change often. Which type of database is best suited for this?

ANoSQL database that allows flexible data structures.
BSpreadsheet software like Excel.
CFlat file database stored in plain text files.
DRelational database with fixed tables and columns.
Attempts:
2 left
💡 Hint

Think about which database type handles changing data structures easily.