增加一道关联题目并修改一道题目的叙述

This commit is contained in:
weiye.wang 2023-04-08 09:06:09 +08:00
parent 17ee5d5bf1
commit e5bf2adcee
4 changed files with 35 additions and 8 deletions

View File

@ -1,6 +1,6 @@
import os,re,json
"""这里编辑题号(列表)后将在vscode中打开窗口, 编辑后保存关闭, 随后运行第二个代码块"""
problems = "14816"
problems = "30060"
def generate_number_set(string,dict):
string = re.sub(r"[\n\s]","",string)

View File

@ -1,8 +1,8 @@
import os,re,json,time
"""---设置原题目id与新题目id列表, 新id的数目不能小于旧id的数目---"""
old_ids = "12213,248,31233,282,8912,9784"
new_ids = "31386:40000"
old_ids = "12104"
new_ids = "31392"
"""---设置完毕---"""
"""---完成编辑后记得运行第二个单元格---"""

View File

@ -10,7 +10,7 @@ paper_type = 1 # 随后设置一下后续的讲义标题
"""---设置题块编号---"""
problems = [
"000363,000625,002372,003421,010951,31386,012255,013097,013118,031323,31387,008866,012199,012548,013134","000960,002162,013063,002418,013982,014505,031229,031388,010958,31389,31390,31391,002268"
"000778,001253,001325,003747,013721,031392,010938,011148,004157,030327,030060,010197,001339,002918,004009","001262,004435,030398,030051,012859,031321,012543,001352,005650,005123,030337,007939,002968,012902,030356"
]
@ -20,7 +20,7 @@ problems = [
if paper_type == 1:
enumi_mode = 0 #设置模式(1为整卷统一编号, 0为每一部分从1开始编号)
template_file = "模板文件/复习讲义模板.txt" #设置模板文件名
exec_list = [("标题数字待处理","04"),("标题文字待处理","易错题-解析几何")] #设置讲义标题
exec_list = [("标题数字待处理","01"),("标题文字待处理","易错题-函数1")] #设置讲义标题
destination_file = "临时文件/"+exec_list[0][1]+"_"+exec_list[1][1] # 设置输出文件名
elif paper_type == 2:
enumi_mode = 1 #设置模式(1为整卷统一编号, 0为每一部分从1开始编号)

View File

@ -301777,7 +301777,9 @@
"20221202\t王伟叶"
],
"same": [],
"related": [],
"related": [
"031392"
],
"remark": "",
"space": ""
},
@ -416367,7 +416369,7 @@
},
"030060": {
"id": "030060",
"content": "如图, 用长为$l$的铁丝弯成中间为矩形, 两端为半圆形的空心框架, 若矩形一边长为$2x$, 试用解析式将此框架围成的面积$y$表示为$x$的函数.\n\\begin{center}\n \\begin{tikzpicture}[>=latex]\n \\draw (2,0) -- (2,1.5) arc (0:180:1) -- (0,0) arc (180:360:1) -- cycle;\n \\draw [<->] (0,0.3) -- (2,0.3) node [midway, fill = white] {$2x$};\n \\end{tikzpicture}\n\\end{center}",
"content": "如图, 用长为$l$的铁丝弯成中间为矩形的一组对边, 两端为半圆形的空心框架, 若矩形对边的距离为$2x$, 试用解析式将此框架围成的面积$y$表示为$x$的函数.\n\\begin{center}\n \\begin{tikzpicture}[>=latex]\n \\draw (2,0) -- (2,1.5) arc (0:180:1) -- (0,0) arc (180:360:1) -- cycle;\n \\draw [<->] (0,0.3) -- (2,0.3) node [midway, fill = white] {$2x$};\n \\end{tikzpicture}\n\\end{center}",
"objs": [
"K0221002B"
],
@ -416395,7 +416397,8 @@
"origin": "2022届高三第一轮复习讲义-20220924修改",
"edit": [
"20220701\t王伟叶",
"20220924\t王伟叶"
"20220924\t王伟叶",
"20230408\t刘亚东"
],
"same": [],
"related": [
@ -449451,6 +449454,30 @@
"remark": "因题目简单, 故从9784改为填空题, 内容不变",
"space": ""
},
"031392": {
"id": "031392",
"content": "已知定义在$(-3,3)$上的偶函数$y=f(x)$的导函数是$f'(x)$, 当$x\\ge 0$时, $y=f(x)$的图像如图所示, 则关于$x$的不等式$\\dfrac{f'(x)}{x}>0$的解集为\\blank{50}.\n\\begin{center}\n\\begin{tikzpicture}[>=stealth, line cap = round, line join = round,scale = 0.6]\n\\draw [->] (-1,0) -- (4,0) node [below] {$x$};\n\\draw [->] (0,-3) -- (0,2) node [left] {$y$};\n\\draw (0,0) node [below left] {$O$};\n\\draw [domain = 0:3] plot (\\x,{1-pow(\\x-1,2)});\n\\draw [dashed] (1,0) node [below] {$1$} -- (1,1) (3,-3) -- (3,0) node [below right] {$3$};\n\\draw (2,0) node [below left] {$2$};\n\\end{tikzpicture}\n\\end{center}",
"objs": [],
"tags": [
"第二单元"
],
"genre": "填空题",
"ans": "",
"solution": "",
"duration": -1,
"usages": [],
"origin": "2023届高三上学期考试院提供适应性测试卷试题9-20230408修改",
"edit": [
"20221202\t王伟叶",
"20230408\t刘亚东"
],
"same": [],
"related": [
"012104"
],
"remark": "",
"space": ""
},
"040001": {
"id": "040001",
"content": "参数方程$\\begin{cases}x=3 t^2+4, \\\\ y=t^2-2\\end{cases}$($0 \\leq t \\leq 3$)所表示的曲线是\\bracket{20}.\n\\fourch{一支双曲线}{线段}{圆弧}{射线}",