Vidyalelo
MySQL · Q411

MySQL

Programming · MySQL · question 411

Q411

Accessing data from which of these is faster? memory, disk

A.
memory
Answer
B.
disk
C.
same speed
D.
machine dependent

Answer: Option A

Solution

Answer: Option A
Solution:
This question asks about where it's faster to get data: from memory or from disk?

Think of it like this:
- Memory is like your desk where you keep the things you're currently working on. It's fast to grab something from your desk.
- Disk is like a filing cabinet where you store lots of information. It takes longer to find something in a filing cabinet.

So, which is faster? Memory is much faster than disk!

Therefore, the answer is Option A: memory