Jackie B :
1. Compiled and interpreted language is a bit of a misnomer. Any language can be compiled. Any language can be interpreted. That said, compiling means you change it to instructions a CPU can execute before hand, interpreting means things are done on the fly. The waters get more muddy because sometimes "transpiling" on language to another language is called compiling, e.g. TypeScript goes to JavaScript normally.
2. RAM and storage, asked probably means to say that RAM is random access memory and storage is volatile. But you can use RAM as storage. You can mount a file system into RAM. Also if you wanna get really loose with definitions, you can probably find examples of durable RAM in microcontrollers. Either way though, RAM fast and temporary, storage slow and permanent. That's the simple answer.
3. Recursion is basically when a function calls itself. Like if you need to do something for all numbers N to 0, you may call your function with N, then within the function check if it's 0, then if it's not, call the same function with N - 1.
4. Process and thread. This one I'm probably most rusty on because the languages I use abstract those features away. I had to look it up for a refresher just now. Processes are individual memory spaces the OS makes. Threads are linked to processes and operate in that memory space. "Thread" is probably one of the most overloaded terms in CS. It can also refer to a literal CPU thread. It can also refer to a "lightweight" thread that isn't a true OS level thread. But in the context of "process and thread" I'd use the OS level concept.
5. Breath first search isn't a thing hehe, but I think they meant breadth first search. And yes, it's the opposite of depth first search. Basically you search wide first instead of deep first. Imagine you're looking for your keys. You glace at the table and then the couch. Then you start lifting things on the table and checking under couch cushions. That's BFS. DFS would be you look on the table, lift things, then look at the couch and then check under the cushions.
2026-08-25 14:44:03