Vidyalelo
MySQL · Q1152

MySQL

Programming · MySQL · question 1152

Q1152

Which of these is faster when accessing data?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 data is stored and how quickly we can access it. Think of it like this:

Imagine your computer has two places to store things:

* Memory (RAM): This is like your computer's workspace, super fast but temporary. Think of it like a small, organized desk where you can quickly grab whatever you need.
* Disk (Hard drive/SSD): This is like a filing cabinet, slower but permanent. It holds all your data for long-term storage.

So, which is faster? Memory is much faster than disk! It's like the difference between grabbing a file from your desk vs. searching through a filing cabinet.

Therefore, the answer is Option A: memory.