Skip to content

Commit 84878bd

Browse files
committed
Add 50 new questions on Operating Systems, Memory Management, and Networking topics
1 parent 3a3fe83 commit 84878bd

File tree

1 file changed

+355
-0
lines changed

1 file changed

+355
-0
lines changed

data/questionBank.json

Lines changed: 355 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7156,5 +7156,360 @@
71567156
],
71577157
"difficulty": "Hard",
71587158
"title": "为什么在 Java 中线程崩溃(如 StackOverflowError 或 NPE)不会导致 JVM 进程崩溃?"
7159+
},
7160+
{
7161+
"type": "Question",
7162+
"category": [
7163+
"Operating System",
7164+
"操作系统",
7165+
"Process Scheduling",
7166+
"进程调度"
7167+
],
7168+
"difficulty": "Medium",
7169+
"title": "比较不同的进程调度算法(如 FCFS, SJF, RR, 优先级, MLFQ)的优缺点。"
7170+
},
7171+
{
7172+
"type": "Question",
7173+
"category": [
7174+
"Operating System",
7175+
"操作系统",
7176+
"Process Scheduling",
7177+
"进程调度"
7178+
],
7179+
"difficulty": "Easy",
7180+
"title": "什么是抢占式调度和非抢占式调度?它们有什么区别?"
7181+
},
7182+
{
7183+
"type": "Question",
7184+
"category": [
7185+
"Operating System",
7186+
"操作系统",
7187+
"Memory Management",
7188+
"内存管理"
7189+
],
7190+
"difficulty": "Medium",
7191+
"title": "比较不同的页面置换算法(如 OPT, FIFO, LRU, Clock, LFU)的原理和优缺点。"
7192+
},
7193+
{
7194+
"type": "Question",
7195+
"category": [
7196+
"Operating System",
7197+
"操作系统",
7198+
"Memory Management",
7199+
"内存管理"
7200+
],
7201+
"difficulty": "Medium",
7202+
"title": "解释缺页中断(Page Fault)的处理过程。"
7203+
},
7204+
{
7205+
"type": "Question",
7206+
"category": [
7207+
"Operating System",
7208+
"操作系统",
7209+
"I/O Management",
7210+
"I/O管理"
7211+
],
7212+
"difficulty": "Medium",
7213+
"title": "比较不同的磁盘调度算法(如 FCFS, SSTF, SCAN, C-SCAN, LOOK, C-LOOK)的目标和特性。"
7214+
},
7215+
{
7216+
"type": "Question",
7217+
"category": [
7218+
"Operating System",
7219+
"操作系统",
7220+
"File System",
7221+
"文件系统"
7222+
],
7223+
"difficulty": "Medium",
7224+
"title": "解释文件系统的基本组成:索引节点(inode)和目录项(dentry)的作用和关系。"
7225+
},
7226+
{
7227+
"type": "Question",
7228+
"category": [
7229+
"Operating System",
7230+
"操作系统",
7231+
"File System",
7232+
"文件系统"
7233+
],
7234+
"difficulty": "Easy",
7235+
"title": "什么是虚拟文件系统(VFS)?它的作用是什么?"
7236+
},
7237+
{
7238+
"type": "Question",
7239+
"category": [
7240+
"Operating System",
7241+
"操作系统",
7242+
"File System",
7243+
"文件系统"
7244+
],
7245+
"difficulty": "Medium",
7246+
"title": "比较文件的不同存储方式(连续、链表、索引)的优缺点。"
7247+
},
7248+
{
7249+
"type": "Question",
7250+
"category": [
7251+
"Operating System",
7252+
"操作系统",
7253+
"File System",
7254+
"文件系统"
7255+
],
7256+
"difficulty": "Easy",
7257+
"title": "硬链接(Hard Link)和软链接(Symbolic Link)有什么区别?"
7258+
},
7259+
{
7260+
"type": "Question",
7261+
"category": [
7262+
"Operating System",
7263+
"操作系统",
7264+
"I/O Management",
7265+
"I/O管理"
7266+
],
7267+
"difficulty": "Medium",
7268+
"title": "解释缓冲 I/O 与非缓冲 I/O,直接 I/O 与非直接 I/O 的区别。"
7269+
},
7270+
{
7271+
"type": "Question",
7272+
"category": [
7273+
"Operating System",
7274+
"操作系统",
7275+
"Networking",
7276+
"网络",
7277+
"I/O Management",
7278+
"I/O管理"
7279+
],
7280+
"difficulty": "Medium",
7281+
"title": "解释阻塞 I/O、非阻塞 I/O、同步 I/O、异步 I/O 的区别和联系。"
7282+
},
7283+
{
7284+
"type": "Question",
7285+
"category": [
7286+
"Operating System",
7287+
"操作系统",
7288+
"Memory Management",
7289+
"内存管理"
7290+
],
7291+
"difficulty": "Medium",
7292+
"title": "什么是 Linux 的 Page Cache?它的作用和优缺点是什么?"
7293+
},
7294+
{
7295+
"type": "Question",
7296+
"category": [
7297+
"Operating System",
7298+
"操作系统",
7299+
"Memory Management",
7300+
"内存管理"
7301+
],
7302+
"difficulty": "Easy",
7303+
"title": "Page Cache 和 Buffer Cache 有什么区别和联系?"
7304+
},
7305+
{
7306+
"type": "Question",
7307+
"category": [
7308+
"Operating System",
7309+
"操作系统",
7310+
"Memory Management",
7311+
"内存管理"
7312+
],
7313+
"difficulty": "Medium",
7314+
"title": "Page Cache 如何保证数据一致性?(Write Through vs Write Back)"
7315+
},
7316+
{
7317+
"type": "Question",
7318+
"category": [
7319+
"Operating System",
7320+
"操作系统",
7321+
"I/O Management",
7322+
"I/O管理"
7323+
],
7324+
"difficulty": "Medium",
7325+
"title": "解释 DMA(直接内存访问)的工作原理及其解决了什么问题。"
7326+
},
7327+
{
7328+
"type": "Question",
7329+
"category": [
7330+
"Operating System",
7331+
"操作系统",
7332+
"I/O Management",
7333+
"I/O管理"
7334+
],
7335+
"difficulty": "Easy",
7336+
"title": "设备驱动程序的作用是什么?"
7337+
},
7338+
{
7339+
"type": "Question",
7340+
"category": [
7341+
"Operating System",
7342+
"操作系统",
7343+
"I/O Management",
7344+
"I/O管理"
7345+
],
7346+
"difficulty": "Medium",
7347+
"title": "键盘敲入一个字母时,操作系统内部发生了什么?(中断处理过程)"
7348+
},
7349+
{
7350+
"type": "Question",
7351+
"category": [
7352+
"System Design",
7353+
"系统设计",
7354+
"Algorithms",
7355+
"算法",
7356+
"Hash Table",
7357+
"哈希表"
7358+
],
7359+
"difficulty": "Medium",
7360+
"title": "什么是一致性哈希?它解决了什么问题?"
7361+
},
7362+
{
7363+
"type": "Question",
7364+
"category": [
7365+
"System Design",
7366+
"系统设计",
7367+
"Algorithms",
7368+
"算法",
7369+
"Hash Table",
7370+
"哈希表"
7371+
],
7372+
"difficulty": "Medium",
7373+
"title": "一致性哈希中的虚拟节点是如何解决数据倾斜问题的?"
7374+
},
7375+
{
7376+
"type": "Question",
7377+
"category": [
7378+
"Networking",
7379+
"网络",
7380+
"System Design",
7381+
"系统设计"
7382+
],
7383+
"difficulty": "Hard",
7384+
"title": "解释 Reactor 模式及其不同的实现方式(单 Reactor 单线程/多线程,多 Reactor 多线程)。"
7385+
},
7386+
{
7387+
"type": "Question",
7388+
"category": [
7389+
"Networking",
7390+
"网络",
7391+
"System Design",
7392+
"系统设计"
7393+
],
7394+
"difficulty": "Hard",
7395+
"title": "Reactor 模式和 Proactor 模式有什么区别?"
7396+
},
7397+
{
7398+
"type": "Question",
7399+
"category": [
7400+
"Networking",
7401+
"网络",
7402+
"Operating System",
7403+
"操作系统"
7404+
],
7405+
"difficulty": "Medium",
7406+
"title": "什么是 I/O 多路复用?"
7407+
},
7408+
{
7409+
"type": "Question",
7410+
"category": [
7411+
"Networking",
7412+
"网络",
7413+
"Operating System",
7414+
"操作系统"
7415+
],
7416+
"difficulty": "Hard",
7417+
"title": "比较 select、poll、epoll 的实现原理和优缺点。"
7418+
},
7419+
{
7420+
"type": "Question",
7421+
"category": [
7422+
"Networking",
7423+
"网络",
7424+
"Operating System",
7425+
"操作系统"
7426+
],
7427+
"difficulty": "Medium",
7428+
"title": "epoll 的水平触发(LT)和边缘触发(ET)有什么区别?"
7429+
},
7430+
{
7431+
"type": "Question",
7432+
"category": [
7433+
"Operating System",
7434+
"操作系统",
7435+
"Networking",
7436+
"网络",
7437+
"I/O Management",
7438+
"I/O管理"
7439+
],
7440+
"difficulty": "Medium",
7441+
"title": "什么是零拷贝(Zero-copy)?"
7442+
},
7443+
{
7444+
"type": "Question",
7445+
"category": [
7446+
"Operating System",
7447+
"操作系统",
7448+
"Networking",
7449+
"网络",
7450+
"I/O Management",
7451+
"I/O管理"
7452+
],
7453+
"difficulty": "Hard",
7454+
"title": "解释实现零拷贝的几种方式(mmap+write, sendfile)及其原理。"
7455+
},
7456+
{
7457+
"type": "Question",
7458+
"category": [
7459+
"Operating System",
7460+
"操作系统",
7461+
"Networking",
7462+
"网络",
7463+
"I/O Management",
7464+
"I/O管理"
7465+
],
7466+
"difficulty": "Medium",
7467+
"title": "零拷贝和 PageCache 的关系是什么?传输大文件时为什么不建议用零拷贝?"
7468+
},
7469+
{
7470+
"type": "Question",
7471+
"category": [
7472+
"Operating System",
7473+
"操作系统",
7474+
"Networking",
7475+
"网络"
7476+
],
7477+
"difficulty": "Easy",
7478+
"title": "衡量网络性能的主要指标有哪些?(带宽、延时、吞吐率、PPS)"
7479+
},
7480+
{
7481+
"type": "Question",
7482+
"category": [
7483+
"Operating System",
7484+
"操作系统",
7485+
"Networking",
7486+
"网络",
7487+
"Linux"
7488+
],
7489+
"difficulty": "Easy",
7490+
"title": "如何使用 Linux 命令(如 ifconfig/ip, netstat/ss, sar, ping, ethtool)查看网络配置和性能指标?"
7491+
},
7492+
{
7493+
"type": "Question",
7494+
"category": [
7495+
"Operating System",
7496+
"操作系统",
7497+
"Networking",
7498+
"网络",
7499+
"Linux"
7500+
],
7501+
"difficulty": "Medium",
7502+
"title": "netstat/ss 命令输出中 Recv-Q 和 Send-Q 在不同 socket 状态下分别代表什么?"
7503+
},
7504+
{
7505+
"type": "Question",
7506+
"category": [
7507+
"Linux",
7508+
"Linux",
7509+
"Data Analysis",
7510+
"数据分析"
7511+
],
7512+
"difficulty": "Medium",
7513+
"title": "如何使用 Linux Shell 命令(awk, sort, uniq, wc)从 Nginx 日志中分析 PV 和 UV?"
71597514
}
71607515
]

0 commit comments

Comments
 (0)