一页掌握 · K11 第11章 专业英语

全量 32 题 · 核心 3 组 + 超纲附录 0 题 · 四段式解析 · 难度 ★1/★★0/★★★31 · 进度本地保存
32
K11 总题数
3
核心分组
0
超纲附录
2
教材章节
1
考点小节
12
历年真题
0
自主练习
0
案例分析
1
★ 基础识记
0
★★ 进阶推理
31
★★★ 冲刺拔高
0
🔥 高频考点
← 返回总览 📝 自主刷题
筛选
分类
难度
叠加
模式
0 / 32

① 考点骨架

框架
  • 多媒体 / IT 专业术语英文阅读(阅读理解型考点)
  • 英文缩写释义(术语→中文对照,为本章核心)
  • 真题形态:给出英文术语/缩写,判断其中文含义;或给出中文释义,匹配对应英文/缩写

② 核心概念 / 公式 / 数据速记

③ 易混边界提示

易混边界:与相邻 K 节点区分点
  • K11 仅考核"英文术语/缩写的中英文对应",不考核技术原理;例如 JPEG 出现在 K7(压缩编码)考题时归 K7,仅在考"JPEG 含义"时归 K11
  • MPEG/JPEG 等既可能作标准代号(偏 K10 标准化)也可能作术语(偏 K11),反审时以"是否在考英文释义"为准

逐题演练(核心分组 3 组 + 附录 0 题)

1专业英语6 题▾
#1 ★★★ 历年真题 2016年上半年
#历年真题#多媒体核心
Murphy's Law suggests, "If anything can go wrong, it will." Murphy has motivated numerous pearls of wisdom about projects, machines, people, and why things go wrong. A project is a [temporary] sequence of unique, complex, and connected( )having one goal or purpose and that must be completed by a specific time, within budget, and according to( ). Project management is the( )of scoping, planning, staffing, organizing, directing, and controlling the development of an acceptable information system at a minimum cost within a specified time frame. Project management is a cross life cycle activity because it overlaps all phases of any systems development methodology. For any systems development project, effective project management is necessary to ensure that the project meets the deadline, is developed within a (an)( )budget, and fulfills customer expectations and specifications. Corporate rightsizing has changed the structure and culture of most organizations, and hence, project management. More flexible and temporary interdepartlnental(不同部门间的)teams that are given greater responsibility and authority for the success of organizations have replaced rigid hierarchical command structures and permanent teams. Contemporary system development methodologies depend on having teams that include both technical and nontechnical users, managers, and information technologists all directed to the project goal. These( )teams require leadership and project management.
Aactivities
Btasks
Cservices
Dsoftware
答案:A
📍 考点定位
考查项目管理基础中“项目”的核心定义要素,出自教材第10章项目管理概述。
💡 关键概念
项目是为创造独特产品、服务或成果而进行的临时性工作。其本质是由一系列相互关联的“活动(activities)”组成的序列,具有明确的起止时间、预算约束和交付目标。
🛠 解题技巧
语境搭配+术语记忆法。题干描述项目构成,标准PMBOK/软考教材定义中,项目由“activities(活动)”串联而成。排除B/C/D:tasks偏具体任务分配,services偏交付物类型,software偏领域限定。遇到此类英文定义题,直接匹配教材原词“sequence of activities”。
⚠ 易混总结
易混淆概念:Activity(活动) vs Task(任务) vs Work Package(工作包)。在活动分解结构WBS中,Activity是执行层面的基本单元,Task常用于进度计划软件的调度单位,Work Package是WBS最底层可估算成本的模块。考试中常互换挖空,需严格对应教材表述。
<!-- polish:v1 -->
#2 ★★★ 历年真题 2016年上半年
#历年真题#多媒体核心
Murphy's Law suggests, "If anything can go wrong, it will." Murphy has motivated numerous pearls of wisdom about projects, machines, people, and why things go wrong. A project is a [temporary] sequence of unique, complex, and connected( )having one goal or purpose and that must be completed by a specific time, within budget, and according to( ). Project management is the( )of scoping, planning, staffing, organizing, directing, and controlling the development of an acceptable information system at a minimum cost within a specified time frame. Project management is a cross life cycle activity because it overlaps all phases of any systems development methodology. For any systems development project, effective project management is necessary to ensure that the project meets the deadline, is developed within a (an)( )budget, and fulfills customer expectations and specifications. Corporate rightsizing has changed the structure and culture of most organizations, and hence, project management. More flexible and temporary interdepartlnental(不同部门间的)teams that are given greater responsibility and authority for the success of organizations have replaced rigid hierarchical command structures and permanent teams. Contemporary system development methodologies depend on having teams that include both technical and nontechnical users, managers, and information technologists all directed to the project goal. These( )teams require leadership and project management.
Aprocess
Bactivity
Cstep
Dtask
答案:A
📍 考点定位
考查项目管理的过程属性定义,出自教材第10章项目管理概述。
💡 关键概念
项目管理不是静态的职位或单次动作,而是一个动态的“过程(process)”,涵盖启动、规划、执行、监控、收尾五大阶段,通过持续干预实现目标。
🛠 解题技巧
逻辑属性判断法。题干主语为“Project management”,谓语需体现其系统性特征。管理在学术定义中必为“process(过程)”。排除activity/step/task:三者均偏向离散动作或节点,无法涵盖管理的连续性与循环性。填空时认准“management + process”固定搭配。
⚠ 易混总结
易混淆概念:Process(过程) vs Methodology(方法论) vs Framework(框架)。过程强调“做什么及先后顺序”(如PMBOK流程组);方法论强调“怎么做及最佳实践”(如敏捷、瀑布);框架提供“边界与原则”(如PRINCE2)。本题特指管理行为的连续性,故选process。
<!-- polish:v1 -->
#3 ★★★ 历年真题 2024年下半年
#历年真题#多媒体核心
Cloud computing is a phrase used to describe a variety of computing concepts that involve a large number of computers ( ) through a real-time communication network such as the Internet. In science, cloud computing is a ( ) for distributed computing over a network, and means the ( ) to run a program or application on many connected computers at the same time. The architecture of a cloud is developed at three layers: infrastructure, platform, and application. The infrastructure layer is built with virtualized compute, storage, and network resources. The platform layer is for general-purpose and repeated usage of the collection of software resources. The application layer is formed with a collection of all needed software modules for SaaS applications. The infrastructure layer serves as the ( ) for building the platform layer of the cloud. In turn, the platform layer is a foundation for implementing the ( ) layer for SaaS applications.
Aimplemented
Boptimized
Cconnected
Dvirtualized
答案:C
📍 考点定位
考查云计算的基础架构特征与网络互联方式,出自教材第10章云计算与大数据技术。
💡 关键概念
云计算的本质是通过实时通信网络(如互联网)将大量物理计算机“连接(connected)”起来,形成虚拟化的资源池,对外提供按需计算服务。
🛠 解题技巧
技术特征匹配法。题干强调“large number of computers ___ through a network”,云计算依赖分布式互联,核心动词是“connected(连接)”。排除implemented(部署于单机)、optimized(性能调优)、virtualized(虚拟化是结果而非网络动作)。抓住“network”提示,直接选表示网络拓扑关系的connected。
⚠ 易混总结
易混淆概念:Connected(网络连接) vs Virtualized(资源抽象) vs Distributed(分布计算)。云计算三要素常被混淆:底层靠物理机connected组网,中层靠hypervisor virtualized抽离资源,上层靠distributed computing实现并行处理。本题考底层组网状态,勿选virtualized。
<!-- polish:v1 -->
#4 ★★★ 历年真题 2024年下半年
#历年真题#多媒体核心
Cloud computing is a phrase used to describe a variety of computing concepts that involve a large number of computers ( ) through a real-time communication network such as the Internet. In science, cloud computing is a ( ) for distributed computing over a network, and means the ( ) to run a program or application on many connected computers at the same time. The architecture of a cloud is developed at three layers: infrastructure, platform, and application. The infrastructure layer is built with virtualized compute, storage, and network resources. The platform layer is for general-purpose and repeated usage of the collection of software resources. The application layer is formed with a collection of all needed software modules for SaaS applications. The infrastructure layer serves as the ( ) for building the platform layer of the cloud. In turn, the platform layer is a foundation for implementing the ( ) layer for SaaS applications.
Afunction
Bmethod
Cability
Dapproach
答案:C
📍 考点定位
考查云计算的核心能力定义,出自教材第10章云计算与大数据技术。
💡 关键概念
云计算在科学语境中指代一种分布式计算范式,其核心价值在于赋予系统“同时(ability)”在海量互联节点上并发执行程序或应用的算力能力。
🛠 解题技巧
语义重心分析法。题干“means the ___ to run... at the same time”,空格后接不定式表目的/能力。结合“at the same time(并发/同时)”提示,此处强调系统的“能力(ability)”。排除function/method/approach:它们侧重功能模块、技术手段或解决路径,无法准确对应“to do something”的能力状语结构。
⚠ 易混总结
易混淆概念:Ability(能力) vs Capability(潜能/资质) vs Capacity(容量/吞吐量)。在云计算考题中,Ability多指系统“能做什么”(如并发运行程序);Capacity多指硬件“能装多少/跑多快”(如存储TB级、CPU GHz);Capability偏综合技术实力。本题考“运行程序的资格/本领”,锁定ability。
<!-- polish:v1 -->
#5 ★★★ 历年真题 2024年下半年
#历年真题#多媒体核心
Cloud computing is a phrase used to describe a variety of computing concepts that involve a large number of computers ( ) through a real-time communication network such as the Internet. In science, cloud computing is a ( ) for distributed computing over a network, and means the ( ) to run a program or application on many connected computers at the same time. The architecture of a cloud is developed at three layers: infrastructure, platform, and application. The infrastructure layer is built with virtualized compute, storage, and network resources. The platform layer is for general-purpose and repeated usage of the collection of software resources. The application layer is formed with a collection of all needed software modules for SaaS applications. The infrastructure layer serves as the ( ) for building the platform layer of the cloud. In turn, the platform layer is a foundation for implementing the ( ) layer for SaaS applications.
Aresource
Bsoftware
Capplication
Dservice
答案:C
📍 考点定位
考查云计算的核心定义与架构基础,对应教材“网络计算与云服务”相关考点。
💡 关键概念
云计算是将海量分散的计算、存储和网络资源整合成虚拟资源池,通过互联网按需提供服务的模式。它本质上是分布式计算的网络化延伸,核心价值在于打破单机限制,实现多设备协同运行程序或应用。
🛠 解题技巧
【语境词义锁定法】题干后半句明确指出“to run a program or application”(用于运行程序或应用),说明该空描述的是云计算最终面向用户的交付对象。排除底层资源(A)和宽泛的软件(B),在服务(D)与应用(C)中,结合“运行具体程序”的语境,C项最契合终端用户直接使用的应用层特性。掌握“云=分布式+资源池化+应用交付”三步逻辑可快速破题。
⚠ 易混总结
⚠易混总结:IaaS、PaaS与SaaS的层级关系。IaaS提供虚拟机/存储等基础设施;PaaS提供开发运行环境;SaaS直接提供完整应用软件。本题题干强调“运行程序或应用”,对应的是面向最终用户的SaaS层或应用交付层,需注意区分底层资源供给与上层应用使用的边界。
<!-- polish:v1 -->
#6 ★★★ 历年真题 2024年下半年
#历年真题#多媒体核心
Cloud computing is a phrase used to describe a variety of computing concepts that involve a large number of computers ( ) through a real-time communication network such as the Internet. In science, cloud computing is a ( ) for distributed computing over a network, and means the ( ) to run a program or application on many connected computers at the same time. The architecture of a cloud is developed at three layers: infrastructure, platform, and application. The infrastructure layer is built with virtualized compute, storage, and network resources. The platform layer is for general-purpose and repeated usage of the collection of software resources. The application layer is formed with a collection of all needed software modules for SaaS applications. The infrastructure layer serves as the ( ) for building the platform layer of the cloud. In turn, the platform layer is a foundation for implementing the ( ) layer for SaaS applications.
Aswitch
Bsubstitute
Csynonym (同义词)
Dreplacement
答案:C
📍 考点定位
考查云计算的专业术语界定与同义替换,出自教材“云计算概述”及IT英语词汇考点。
💡 关键概念
在计算机科学领域,“云计算”并非一种全新的底层技术,而是对“分布式计算”这一传统概念的通俗化包装与商业化命名。两者在技术原理上高度一致,均指通过网络将多台计算机联合起来完成复杂任务。
🛠 解题技巧
【专业术语对应法】题干结构为“A is a ___ for B”,考查A与B的逻辑关系。结合常识与教材定义,云计算是分布式计算的网络化演进,二者指代同一类技术思想,故填“同义词(synonym)”。排除法:switch(交换机/切换)、substitute(替代品,含临时性)、replacement(取代物,暗示旧技术被淘汰)均不符合学术严谨表述。记住固定搭配“cloud computing is a synonym for distributed computing”可直接得分。
⚠ 易混总结
⚠易混总结:Synonym vs. Replacement/Substitute。在IT文献中,新技术常作为旧技术的“同义词(synonym)”或“演进版本(evolution)”出现,而非简单“取代(replacement)”。云计算并未淘汰分布式计算,而是为其提供了更便捷的服务接口与商业模式,二者是“名实关系”而非“替代关系。”
<!-- polish:v1 -->
2专业英语阅读5 题▾
#1 ★★★ 历年真题 多媒体应用设计师2021 上半年专业英语阅读真题 阅读理解 · 5 题(不拆散)
#历年真题#多媒体核心
Health effects of 3D Some viewers have(71)of headaches and eyestrain after watching 3D films. Motion sickness, in addition to other health concerns, are more easily induced by 3D presentations. One published study shows that of those who watch 3D films, nearly 55% experience varying levels of headaches, nausea and disorientation. There are two primary effects of 3D film that are(72)for human vision: crosstalk between the eyes, caused by imperfect image separation, and the(73)between convergence and accommodation, caused by the difference between an object's perceived position in front of or behind the screen and the real origin of that light on the screen. It is believed that approximately 12% of people are unable to properly see 3D(74) due to a variety of medical conditions. According to another experiment up to 30% of people have very weak stereoscopic vision preventing them(75)depth perception based on stereo disparity. This nullifies or greatly decreases immersion effects of digital stereo to them.
(1)
Acomplain
Bcomplained
Ccomplains
Dcomplaining
(2)
Atrue
Birregular
Cunnatural
Dorderly
(3)
Amismatch
Bindependence
Cunlike
Ddisagree
(4)
Aimages
Bsculptures
Ccoloration
Dpatterns
(5)
Ain
Bon
Cto
Dfrom
#2 ★★★ 历年真题 多媒体应用设计师2020 下半年专业英语阅读真题 阅读理解 · 5 题(不拆散)
#历年真题#多媒体核心
What is a Touch Screen? A touch screen allows user commands to be issued by(71)corresponding buttons on the screen. Since their introduction in the 1970s, touch screens have become popular for computer and media technology. Chances are, if you have used an(72)teller machine (ATM), owned a personal digital assistant (PDA), or played with the newer cell phones, you have already used touch screen technology. There are several commonly used systems that allow for touch screens to work. Each method allows for commands to be translated by the computer as a(73)of touching a certain point on the screen. Many convert the coordinates of the touch locations to specific actions to be taken by the system. One of the most common systems for touch screens is called(74). Covering the transparent panel of the screen are conductive and resistive metallic layers that have an electric current between them. When the screen is touched, the electrical current can tell the exact spot of contact and(75)the coordinates to the operating system. This is similar to how a mouse works with a computer.
(1)
Apress
Bpressing
Cto press
Dpressed
(2)
Aauthority
Bautomatic
Cautomated
Dauto
(3)
Areason
Bway
Cmethod
Dresult
(4)
Aresistive
Bresisting
Cresist
Dresistant
(5)
Areceive
Bmake
Csend
Dtake
#3 ★★★ 历年真题 多媒体应用设计师2019 下半年专业英语阅读真题 阅读理解 · 5 题(不拆散)
#历年真题#多媒体核心
What is Virtual Reality? The definition of virtual reality comes,(71), from the definitions for both 'virtual' and 'reality'. The definition of 'virtual' is near and reality is what we experience as human beings. So the term 'virtual reality' basically means 'near-reality'. This could, of course, mean anything but it usually refers to a specific type of reality(72). We know the world through our senses and(73)systems. In school we all learned that we have five senses: taste, touch, smell, sight and hearing. These are however only our most obvious sense organs. The truth is that humans have many more senses than this, such as a sense of balance for example. These other sensory inputs, plus some special processing of sensory information by our brains ensures that we have a rich flow of information from the environment to our minds. Everything that we know about our reality comes by way of our senses. In other words, our entire experience of reality is simply a(74)of sensory information and our brains sense-making mechanisms for that information. It stands to reason then, that if you can present your senses with made-up information, your perception of reality would also change in response to it. You would be presented with a version of reality that isn't really there, but from your perspective it would be perceived as(75). Something we would refer to as a virtual reality. So, in summary, virtual reality entails presenting our senses with a computer generated virtual environment that we can explore in some fashion.
(1)
Anaturally
Busually
Cregularly
Dsoftly
(2)
Aoperation
Bactivity
Cinteraction
Demulation
(3)
Aendocrine
Bmuscular
Cperception
Dsensory
(4)
Asimulation
Bemulsion
Cevaluation
Demulation
(5)
Agenuine
Breal
Cactual
Dtrue
#4 ★★★ 历年真题 多媒体应用设计师2018 上半年专业英语阅读真题 阅读理解 · 5 题(不拆散)
#历年真题#多媒体核心
what does the multimedia actually mean? (71), multimedia means two or more media. If the publisher of this book wanted to join the current hype about multimedia, he could advertise the book as using multimedia technology. After all, it contains two media: text and graphics (the figures). Nevertheless, when most people refer to multimedia, they generally mean the(72)of two or more continuous media, that is, media have to be played during some well-defined timed times interval, usually with the users(73). In practice, the two media are normally audio and video, that is, sound plus moving pictures. In the multimedia environment, we have(74)and text at the same time, we can also add the photograph, animation, good-quality sound, and full motion video. All of the technologies make computers more interesting and much(75)to use. For example, a multimedia program can play a segment of movie: a cat was playing a reel of thread, with "mewing..." The tableau can be immediately captured and pasted to a text at the side of a paragraph of words.
(1)
Aliterally
Busually
Cregularly
Dsoftly
(2)
Apart
Btotal
Cmixture
Dcombination
(3)
Aoperation
Bactivity
Cinteraction
Dprocess
(4)
Avideo
Banimation
Csound
Dgraphics
(5)
Amore rigid
Bmore difficult
Ceasier
Dharder
#5 ★★★ 历年真题 多媒体应用设计师2017 上半年专业英语阅读真题 阅读理解 · 5 题(不拆散)
#历年真题#多媒体核心
The beauty of software is in its function, in its internal structure, and in the way in which it is created by a team. To a user, a program with just the right features presented through an intuitive and(71)interface is beautiful. To a software designer, an internal structure that is partitioned in a simple and intuitive manner, and that minimizes internal coupling is beautiful. To developers and managers, a motivated team of developers making significant progress every week, and producing defect-free code, is beautiful. There is beauty on all these levels. Our world needs software - lots of software. Fifty years ago software was something that ran in a few big and expensive machines. Thirty years ago it was something that ran in most companies and industrial settings. Now there is software running in our cell phones, watches, appliances, automobiles, toys, and tools. And need for new and better software never(72). As our civilization grows and expands, as developing nations build their infrastructures, as developed nations strive to achieve ever greater efficiencies, the need for more and more software(73)to increase. It would be a great shame if, in all that software, there was no beauty. We know that software can be ugly. We know that it can be hard to use, unreliable, and carelessly structured. We know that there are software systems whose tangled and careless internal structures make them expensive and difficult to change. We know that there are software systems that present their features through an awkward and cumbersome interface. We know that there are software systems that crash and misbehave. These are(74)systems. Unfortunately, as a profession, software developers tend to create more ugly systems than beautiful ones. There is a secret that the best software developers know. Beauty is cheaper than ugliness. Beauty is faster than ugliness. A beautiful software system can be built and maintained in less time, and for less money, than an ugly one. Novice software developers don't understand this. They think that they have to do everything fast and quick. They think that beauty is(75). No! By doing things fast and quick, they make messes that make the software stiff, and hard to understand.
(1)
Acomplex
Bboring
Cirregular
Dintuitive
(2)
Adecreases
Bends
Cchanges
Dstays
(3)
Astops
Bcontinues
Cfails
Dbegins
(4)
Abeautiful
Bugly
Csimple
Dfast
(5)
Acostly
Bimpossible
Ca luxury
Dnecessary
3常见多媒体缩写;第11章 专业英语1 题▾
#1 ★ 历年真题 2023年下半年
#历年真题#多媒体核心
目前最为流行的数字化音乐格式是MP3音乐,MP3指的是( )。
AMPEG-3
BMPEG-1 Audio Layer3
CDolby-AC3
D3D声场
答案:B
📍 考点定位
考查MPEG音频压缩标准体系,出自教材“多媒体数据压缩编码技术”核心考点。
💡 关键概念
MP3并非独立制定的新标准,而是MPEG(动态图像专家组)组织在MPEG-1规范下推出的第三层音频压缩协议(Layer 3)。它利用心理声学模型剔除人耳听不到的冗余声音信息,实现高压缩比的同时保持较好音质,是互联网音乐传播的事实标准。
🛠 解题技巧
【标准编号拆解法】遇到音视频格式缩写,优先还原全称并拆解层级。MPEG系列标准中,MPEG-1负责CD级质量(含Video、Audio Layer1/2/3),MPEG-2负责DVD级,MPEG-4负责流媒体/移动设备。MP3的“3”代表Layer 3,且属于MPEG-1时代产物,直接锁定B。排除A(MPEG-3已废弃并入MPEG-4)、C(杜比数字音频标准)、D(音效技术非编码格式)。
⚠ 易混总结
⚠易混总结:MPEG-1 Audio Layer 1/2/3 与 MPEG-2/4 的关系。Layer 1压缩比低(约4:1),Layer 2用于DVD广播(约6:1),Layer 3即MP3(约10:1~12:1)。切勿将MP3误认为MPEG-3标准,MPEG-3原计划用于HDTV但因MPEG-4发展迅速而被取消。记忆口诀:“MP3属MPEG-1,三层递进压音频”。
<!-- polish:v1 -->
开发者:李磊 联系电话:15920082829
前 功能:v2数据模型 / v1自动迁移 / 导出导入快照 / 错因标签 / 学习时长 / 今日待复习 不修改v1数据,v2是叠加层。IIFE自包含。 */ (function(){ 'use strict'; // 1. 检测当前K号 var m = (document.title.match(/K\s*(\d+)/) || [])[1]; if(!m){ return; } var KN = m; var V1_KEY = 'k'+KN+'_master_v1'; var V1W_KEY = V1_KEY+'_w'; var V2_KEY = 'k'+KN+'_v2'; var DUR_PREFIX = 'study_duration_'; var todayStr = (function(){ var d=new Date(); return d.getFullYear()+'-'+String(d.getMonth()+1).padStart(2,'0')+'-'+String(d.getDate()).padStart(2,'0'); })(); // 2. 安全存储(与页面已有降级逻辑一致) var _mem = {}; var _ls = (function(){ try{ localStorage.setItem('__t','1'); localStorage.removeItem('__t'); return localStorage; }catch(e){ return null; } })(); function rd(k){ try{ return _ls? _ls.getItem(k): (_mem[k]!=null?_mem[k]:null); }catch(e){ return _mem[k]!=null?_mem[k]:null; } } function wr(k,v){ try{ if(_ls) _ls.setItem(k,v); else _mem[k]=v; }catch(e){ _mem[k]=v; } } // 3. v2读写 function loadV2(){ try{ var o = JSON.parse(rd(V2_KEY)||'{}'); return (o && typeof o==='object')? o : {}; } catch(e){ return {}; } } function saveV2(o){ wr(V2_KEY, JSON.stringify(o)); } // 4. v1->v2 自动迁移(只迁一次,不动v1) function migrateV1ToV2(){ if(rd(V2_KEY)) return; // 已有v2不覆盖 var v2 = {}; try{ var mastered = JSON.parse(rd(V1_KEY)||'[]'); mastered.forEach(function(stid){ v2[stid] = { status:'mastered', reviewCount:1, failCount:0, lastSeen:Date.now(), nextReview: Date.now()+3*86400*1000, easeFactor:2.5, wrongReasons:[], note:'' }; }); var wrong = JSON.parse(rd(V1W_KEY)||'[]'); wrong.forEach(function(stid){ if(v2[stid]){ v2[stid].status='wrong'; v2[stid].failCount=1; } else { v2[stid] = { status:'wrong', reviewCount:0, failCount:1, lastSeen:Date.now(), nextReview:Date.now()+86400*1000, easeFactor:2.5, wrongReasons:[], note:'' }; } }); saveV2(v2); }catch(e){} } migrateV1ToV2(); // 5. 记录一题(答对/答错) function recordQ(stid, ok){ var v2 = loadV2(); var rec = v2[stid] || { status:'new', reviewCount:0, failCount:0, lastSeen:0, nextReview:0, easeFactor:2.5, wrongReasons:[], note:'' }; rec.lastSeen = Date.now(); rec.reviewCount = (rec.reviewCount||0)+1; if(ok){ rec.status = 'mastered'; rec.easeFactor = Math.min(3.0, (rec.easeFactor||2.5)+0.1); rec.nextReview = Date.now() + 3*86400*1000; // 3天后复习 } else { rec.status = 'wrong'; rec.failCount = (rec.failCount||0)+1; rec.easeFactor = Math.max(1.3, (rec.easeFactor||2.5)-0.2); rec.nextReview = Date.now() + 24*86400*1000; // 明天复习 } v2[stid] = rec; saveV2(v2); return rec; } // 6. 包装原pickOpt var origPick = window.pickOpt; if(typeof origPick === 'function'){ window.pickOpt = function(opt, ev){ // 先执行原逻辑 origPick(opt, ev); // 后记录v2 try{ var q = opt.closest('.q'); if(!q) return; var stid = q.dataset.stid; if(!stid) return; var ok = opt.dataset.ok === '1'; recordQ(stid, ok); if(!ok){ showWrongReasonBar(q, stid); } }catch(e){} }; } // 7. 错因标签条(答错后在题卡下方弹) var REASONS = ['概念混淆','计算错误','记忆模糊','审题错']; function showWrongReasonBar(q, stid){ // 移除已有的 var old = q.querySelector('.se-reasonbar'); if(old) old.remove(); var bar = document.createElement('div'); bar.className = 'se-reasonbar'; bar.style.cssText = 'margin-top:10px;padding:10px 12px;background:#FFF7E6;border:1px solid #FFD591;border-radius:8px;font-size:13px;'; var html = '
📝 这题错在哪?(点标签记录)
'; REASONS.forEach(function(r){ html += ''; }); html += '
'; bar.innerHTML = html; bar.querySelectorAll('button').forEach(function(btn){ btn.addEventListener('click', function(){ var reason = btn.dataset.reason; var v2 = loadV2(); var rec = v2[stid] || { wrongReasons:[] }; if(rec.wrongReasons.indexOf(reason) < 0) rec.wrongReasons.push(reason); v2[stid] = rec; saveV2(v2); btn.style.background = '#FFD591'; btn.style.color = '#fff'; btn.disabled = true; }); }); q.appendChild(bar); } // 8. 右上角工具栏(导出/导入/快照) function buildToolbar(){ var bar = document.createElement('div'); bar.style.cssText = 'position:fixed;top:12px;right:12px;z-index:9999;font-family:"PingFang SC","Microsoft YaHei",sans-serif;'; bar.innerHTML = ''+ ''; document.body.appendChild(bar); var gear = bar.querySelector('#seGear'); var menu = bar.querySelector('#seMenu'); gear.addEventListener('click', function(e){ e.stopPropagation(); menu.style.display = menu.style.display==='none'?'block':'none'; }); document.addEventListener('click', function(){ menu.style.display='none'; }); menu.addEventListener('click', function(e){ e.stopPropagation(); }); menu.querySelectorAll('button[data-act]').forEach(function(btn){ btn.addEventListener('click', function(){ var act = btn.dataset.act; if(act==='export') doExport(); else if(act==='import') doImport(); else if(act==='snapshot') doSnapshot(); menu.style.display='none'; }); }); } function doExport(){ var dump = { _meta:{ app:'yizhang-wo-K', version:2, exportedAt:new Date().toISOString(), k:KN } }; try{ for(var i=0;i<_ls.length;i++){ var k = _ls.key(i); if(/^k\d+_(master_v1|v2)/.test(k) || k.indexOf(DUR_PREFIX)===0){ dump[k] = _ls.getItem(k); } } }catch(e){} var blob = new Blob([JSON.stringify(dump, null, 2)], {type:'application/json'}); var a = document.createElement('a'); var d = new Date(); var stamp = d.getFullYear()+String(d.getMonth()+1).padStart(2,'0')+String(d.getDate()).padStart(2,'0'); a.href = URL.createObjectURL(blob); a.download = 'study-backup-'+stamp+'.json'; document.body.appendChild(a); a.click(); a.remove(); } function doImport(){ var inp = document.createElement('input'); inp.type = 'file'; inp.accept = '.json'; inp.addEventListener('change', function(){ var f = inp.files[0]; if(!f) return; var rd2 = new FileReader(); rd2.onload = function(){ try{ var data = JSON.parse(rd2.result); Object.keys(data).forEach(function(k){ if(k==='_meta') return; wr(k, typeof data[k]==='string'? data[k] : JSON.stringify(data[k])); }); alert('导入完成,已恢复 '+Object.keys(data).length+' 个键'); setTimeout(function(){ location.reload(); }, 800); }catch(e){ alert('导入失败:JSON解析错误'); } }; rd2.readAsText(f); }); inp.click(); } function doSnapshot(){ var v2 = loadV2(); var total = Object.keys(v2).length; var mastered = Object.keys(v2).filter(function(k){ return v2[k].status==='mastered'; }).length; var wrong = Object.keys(v2).filter(function(k){ return v2[k].status==='wrong'; }).length; var dur = rd(DUR_PREFIX+todayStr) || 0; var win = window.open('', '_blank'); win.document.write('学习快照 K'+KN+'

K'+KN+' 学习快照

'+ '

总题数(v2记录):'+total+'

已掌握:'+mastered+'

错题:'+wrong+'

今日学习:'+Math.floor(dur/60)+'分'+(dur%60)+'秒

'); } // 9. 学习时长(Page Visibility API,每秒累计) function loadDur(){ try{ return parseInt(rd(DUR_PREFIX+todayStr)||'0',10); }catch(e){ return 0; } } function saveDur(s){ wr(DUR_PREFIX+todayStr, String(s)); } var visible = !document.hidden; setInterval(function(){ if(document.hidden) return; var d = loadDur(); d++; saveDur(d); }, 1000); document.addEventListener('visibilitychange', function(){ // 切走时不累计(interval里已判断document.hidden) }); // 初始化工具栏 if(document.readyState === 'loading'){ document.addEventListener('DOMContentLoaded', buildToolbar); } else { buildToolbar(); } // 暴露给总览页用 window.__studyEngine = { getK: function(){ return KN; }, getV2: loadV2, recordQ: recordQ, todayStr: todayStr, loadDur: loadDur }; })();