diff --git a/工具/批量收录题目.py b/工具/批量收录题目.py index 881e817b..49ddde5d 100644 --- a/工具/批量收录题目.py +++ b/工具/批量收录题目.py @@ -1,9 +1,9 @@ #修改起始id,出处,文件名 -starting_id = 40506 +starting_id = 40527 raworigin = "" -filename = r"C:\Users\weiye\Documents\wwy sync\临时工作区\自拟题目10.tex" -editor = "20230402\t王伟叶" -indexed = True +filename = r"C:\Users\weiye\Documents\wwy sync\临时工作区\自拟题目9.tex" +editor = "20230403\t王伟叶" +indexed = False import os,re,json diff --git a/工具/批量生成题目pdf.py b/工具/批量生成题目pdf.py index bb6eb85e..485ea7da 100644 --- a/工具/批量生成题目pdf.py +++ b/工具/批量生成题目pdf.py @@ -18,42 +18,38 @@ filename = "测试" #字典字段为文件名, 之后为内容的题号 problems_dict = { -"函数1":"778,1253,1262,1325,1339,1352,2918,2968,3747,4009,4157,4435,4721,5123,5650,7939,10197,10938,11148,12179,12277,12543,12859,12902,13721,30060,30398,30406,10796,12104,30051,30327,30337,30356,31321", -"函数2":"87,342,655,1277,1329,2831,2851,2859,2905,2959,3648,4153,4320,4359,11066,11079,11144,11999,12063,12064,12178,12192,12842,12856,12903,13747,13840,14191,30410,12549,12717,30377,30381,30411,30416,30420,30424,30426", -"数列":"321,403,1781,1788,1810,3210,3219,3283,3309,3310,3312,4472,4476,6793,10777,10942,12067,12112,12239,12933,12979,13921,13925,30072,30473,30499", -"解析几何":"248,282,363,625,960,2162,2252,2268,2278,2372,2418,3421,3437,3438,4246,8760,8866,8912,9784,10951,10958,12199,12213,12255,12548,13060,13063,13069,13097,13118,13134,13982,14505,31229,31233,31323", -"概率统计":"332,340,401,412,654,2586,2605,2664,3574,3585,3640,4575,4584,7361,7423,7502,7630,10868,11993,14091,30227,30275,30495,30520,30540,31158,31196,31320" -# "2024届高二下学期周末卷01":"40001:40017", -# "2025届高一下学期周末卷01":"40018:40036", -# "2024届高二下学期周末卷02":"40037:40056", -# "2025届高一下学期周末卷02":"40057:40082", -# "2025届高一下学期周末卷03":"40083:40104", -# "2025届高一下学期周末卷03小测":"40105:40112", -# "2025届高一下学期周末卷04旧版":"40113:40130", -# "2025届高一下学期周末卷04小测":"40131:40139", -# "2024届高二下学期周末卷03":"40140:40160", -# "2024届高二上学期期末考试":"31267:31287", -# "2025届高一上学期期末考试":"31288:31308", -# "2024届高二下学期周末卷04":"40161:40180", -# "2025届高一下学期周末卷04":"40181:40201", -# "2024届高二下学期周末卷05":"40202:40225", -# "2025届高一下学期周末卷05":"40226:40245", -# "2024届空间向量校本作业":"22048:22083", -# "2024届二项式定理校本作业":"22084:22105", -# "2025届高一下学期周末卷05小测":"40246:40255", -# "2025届高一下学期周末卷06":"40256:40273", -# "2025届高一下学期周末卷06小测":"40274:40282", -# "2025届高一下学期期中复习一(集合逻辑不等式)":"40283:40298", -# "2024届高二下学期周末卷06":"40299:40316", -# "2024届高二下学期周末卷07":"40317:40335", -# "2025届高一下学期测验01":"40336:40349", -# "2025届高一下学期测验02":"40350:40367", -# "2025届高一下学期期中复习二(幂指对函数)":"40368:40386", -# "2025届高一下学期周末卷02小测":"40387:40395", -# "2025届高一下学期周末卷07":"40396:40413", -# "2025届高一下学期周末卷07小测":"40414:40421" +"2024届高二下学期周末卷01":"40001:40017", +"2025届高一下学期周末卷01":"40018:40036", +"2024届高二下学期周末卷02":"40037:40056", +"2025届高一下学期周末卷02":"40057:40082", +"2025届高一下学期周末卷03":"40083:40104", +"2025届高一下学期周末卷03小测":"40105:40112", +"2025届高一下学期周末卷04旧版":"40113:40130", +"2025届高一下学期周末卷04小测":"40131:40139", +"2024届高二下学期周末卷03":"40140:40160", +"2024届高二上学期期末考试":"31267:31287", +"2025届高一上学期期末考试":"31288:31308", +"2024届高二下学期周末卷04":"40161:40180", +"2025届高一下学期周末卷04":"40181:40201", +"2024届高二下学期周末卷05":"40202:40225", +"2025届高一下学期周末卷05":"40226:40245", +"2024届空间向量校本作业":"22048:22083", +"2024届二项式定理校本作业":"22084:22105", +"2025届高一下学期周末卷05小测":"40246:40255", +"2025届高一下学期周末卷06":"40256:40273", +"2025届高一下学期周末卷06小测":"40274:40282", +"2025届高一下学期期中复习一(集合逻辑不等式)":"40283:40298", +"2024届高二下学期周末卷06":"40299:40316", +"2024届高二下学期周末卷07":"40317:40335", +"2025届高一下学期测验01":"40336:40349", +"2025届高一下学期测验02":"40350:40367", +"2025届高一下学期期中复习二(幂指对函数)":"40368:40386", +"2025届高一下学期周末卷02小测":"40387:40395", +"2025届高一下学期周末卷07":"40396:40413", +"2025届高一下学期周末卷07小测":"40414:40421", +"2025届高一下学期周末卷08":"40527:40551" } diff --git a/工具/新题相似相同比对.py b/工具/新题相似相同比对.py index f8416375..6a338acd 100644 --- a/工具/新题相似相同比对.py +++ b/工具/新题相似相同比对.py @@ -1,7 +1,7 @@ import os,re,difflib,Levenshtein,time,json # 重要!!! 范围 -old_problems_range = "1:30000" +old_problems_range = "1:50000" threshold = 0.85 # 待比对的文件 diff --git a/题库0.3/Problems.json b/题库0.3/Problems.json index e4d4e714..c597c257 100644 --- a/题库0.3/Problems.json +++ b/题库0.3/Problems.json @@ -458650,5 +458650,480 @@ "related": [], "remark": "", "space": "" + }, + "040527": { + "id": "040527", + "content": "$-2023^{\\circ}$是第\\blank{50}象限角.", + "objs": [], + "tags": [], + "genre": "填空题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2025届高一下学期周末卷08", + "edit": [ + "20230403\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "040528": { + "id": "040528", + "content": "已知$\\alpha$满足$\\tan \\alpha=\\sqrt{2}$, 那么$2 \\sin ^2 \\alpha-\\cos ^2 \\alpha=$\\blank{50}.", + "objs": [], + "tags": [], + "genre": "填空题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2025届高一下学期周末卷08", + "edit": [ + "20230403\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "040529": { + "id": "040529", + "content": "若函数$y=\\tan (\\omega x+\\dfrac{\\pi}{3})$(其中常数$\\omega \\in \\mathbf{R}$)的最小正周期为$\\pi$, 则常数$\\omega$取值集合的元素个数为\\blank{50}.", + "objs": [], + "tags": [], + "genre": "填空题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2025届高一下学期周末卷08", + "edit": [ + "20230403\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "040530": { + "id": "040530", + "content": "函数$y=\\sin (x+\\dfrac{\\pi}{6})$, $x \\in[-\\dfrac{\\pi}{3}, \\dfrac{\\pi}{2}]$的最大值为\\blank{50}.", + "objs": [], + "tags": [], + "genre": "填空题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2025届高一下学期周末卷08", + "edit": [ + "20230403\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "040531": { + "id": "040531", + "content": "函数$y=\\sin (\\dfrac{\\pi}{2}(x+\\varphi))$($0<\\varphi<2 \\pi$)是奇函数, 那么常数$\\varphi$的最大值为\\blank{50}.", + "objs": [], + "tags": [], + "genre": "填空题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2025届高一下学期周末卷08", + "edit": [ + "20230403\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "040532": { + "id": "040532", + "content": "以$y=\\sin x$和$y=\\cos x$的图像的连续三个交点$A$、$B$、$C$作为$\\triangle ABC$的三个顶点, 则$\\triangle ABC$的面积为\\blank{50}.", + "objs": [], + "tags": [], + "genre": "填空题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2025届高一下学期周末卷08", + "edit": [ + "20230403\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "040533": { + "id": "040533", + "content": "设$\\omega>0$, 若函数$y=\\sin \\omega x$在区间$[0,2 \\pi]$上恰有两个零点, 则$\\omega$的取值范围是\\blank{50}.", + "objs": [], + "tags": [], + "genre": "填空题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2025届高一下学期周末卷08", + "edit": [ + "20230403\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "040534": { + "id": "040534", + "content": "函数$y=\\sin ^2 x+2 \\cos x$的定义域为$[-\\dfrac{2 \\pi}{3}, \\alpha]$, 值域为$[-\\dfrac{1}{4}, 2]$, 则$\\alpha$的取值范围是\\blank{50}.", + "objs": [], + "tags": [], + "genre": "填空题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2025届高一下学期周末卷08", + "edit": [ + "20230403\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "040535": { + "id": "040535", + "content": "为了得到函数$y=4 \\sin (2 x+\\dfrac{\\pi}{3})$的图像, 只需将函数$y=4\\sin 2x$的图像向\\blank{20}平移\\blank{50}个单位.", + "objs": [], + "tags": [], + "genre": "填空题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2025届高一下学期周末卷08", + "edit": [ + "20230403\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "040536": { + "id": "040536", + "content": "函数$y=\\sin (\\dfrac{\\pi}{6}-x)$的单调递减区间为\\blank{50}.", + "objs": [], + "tags": [], + "genre": "填空题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2025届高一下学期周末卷08", + "edit": [ + "20230403\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "040537": { + "id": "040537", + "content": "如果函数$y=\\sin 2 x+a \\cdot \\cos 2 x$的图象关于直线$x=-\\dfrac{\\pi}{8}$对称, 则$a=$\\blank{50}.", + "objs": [], + "tags": [], + "genre": "填空题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2025届高一下学期周末卷08", + "edit": [ + "20230403\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "040538": { + "id": "040538", + "content": "下列说法正确的是\\bracket{20}.\n\\twoch{函数$y=\\sin x$在第一象限内是严格增函数}{函数$y=\\cos x$的图像是中心对称图像}{函数$y=\\tan x$在其定义域内是严格增函数}{函数$y=\\dfrac{\\sin x}{x}$是周期函数}", + "objs": [], + "tags": [], + "genre": "选择题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2025届高一下学期周末卷08", + "edit": [ + "20230403\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "040539": { + "id": "040539", + "content": "下列函数中, 以$\\dfrac{\\pi}{2}$为周期且单调增区间为$[\\dfrac{\\pi}{4}, \\dfrac{\\pi}{2}]$的函数是\\bracket{20}.\n\\fourch{$|\\cos 2 x|$}{$|\\sin 2 x|$}{$\\sin 4 x$}{$\\cos 2 x$}", + "objs": [], + "tags": [], + "genre": "选择题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2025届高一下学期周末卷08", + "edit": [ + "20230403\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "040540": { + "id": "040540", + "content": "$C$、$S$分别表示一个扇形的周长和面积, 下列能作为有序数对$(C,S)$的取值的是\\bracket{20}.\n\\fourch{$(3,1)$}{$(5,1)$}{$(4,2)$}{$(4,3)$}", + "objs": [], + "tags": [], + "genre": "选择题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2025届高一下学期周末卷08", + "edit": [ + "20230403\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "040541": { + "id": "040541", + "content": "对于函数$f(x)=\\max \\{\\sin x, \\cos x\\}$, 下列说法中不正确的是\\blank{50}. (填上符合要求的全部序号)\\\\\n\\textcircled{1} $f(x)$的定义域是$\\mathbf{R}$; \\textcircled{2} $f(x)$的值域是$[-1,1]$; \\textcircled{3} $f(x)$是一个奇函数; \\textcircled{4} $x=2 k \\pi$或$2 k \\pi+\\dfrac{\\pi}{2}$, $k \\in \\mathbf{Z}$时$f(x)$的最大值是$1$; \\textcircled{5} $f(x)$的最小正周期是$2 \\pi$; \\textcircled{6} $f(x)$的递增区间是$[2 k \\pi+\\dfrac{\\pi}{4}, 2 k \\pi+\\dfrac{\\pi}{2}] \\cup[2 k \\pi+\\dfrac{5 \\pi}{4}, 2 k \\pi+2 \\pi]$, $k \\in \\mathbf{Z}$.", + "objs": [], + "tags": [], + "genre": "填空题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2025届高一下学期周末卷08", + "edit": [ + "20230403\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "040542": { + "id": "040542", + "content": "在$\\triangle ABC$中, 下列结论正确的是\\blank{50}.\\\\\n\\textcircled{1} $\\sin (A+B)+\\sin C=0$;\n\\textcircled{2} $\\cos (A+B)+\\cos C=0$;\n\\textcircled{3} $\\sin (2A+2B)+\\sin 2C=0$;\n\\textcircled{4} $\\cos (2A+2B)+\\cos 2C=0$.", + "objs": [], + "tags": [], + "genre": "填空题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2025届高一下学期周末卷08", + "edit": [ + "20230403\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "040543": { + "id": "040543", + "content": "在$\\triangle ABC$中, 有$A>B$, 下列结论正确的是\\blank{50}.\\\\\n\\textcircled{1} $\\sin A>\\sin B$;\n\\textcircled{2} $\\cos A<\\cos B$;\n\\textcircled{3} $\\sin A>\\cos B$;\n\\textcircled{4} $\\cot A<\\cot B$.", + "objs": [], + "tags": [], + "genre": "填空题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2025届高一下学期周末卷08", + "edit": [ + "20230403\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "040544": { + "id": "040544", + "content": "已知函数$f(x)=\\sin (2 x+\\pi)$, 则有\\blank{50}.\\\\\n\\textcircled{1} 函数$f(x)$的图像关于直线$x=\\dfrac{3 \\pi}{4}$对称;\n\\textcircled{2} 函数$f(x)$的图像关于点$(\\pi, 0)$对称;\n\\textcircled{3} 函数$f(x)$在区间$[\\dfrac{\\pi}{4}, \\dfrac{3 \\pi}{4}]$上为严格增函数;\n\\textcircled{4} 函数$f(x)$是偶函数.", + "objs": [], + "tags": [], + "genre": "填空题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2025届高一下学期周末卷08", + "edit": [ + "20230403\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "040545": { + "id": "040545", + "content": "已知函数$f(x)=|\\cos x|+\\cos |2 x|$, 下列结论正确的是\\blank{50}.\\\\\n\\textcircled{1} 函数$f(x)$是偶函数;\n\\textcircled{2} 函数$f(x)$的最小正周期是$\\pi$;\n\\textcircled{3} 函数$f(x)$在区间$[\\dfrac{3 \\pi}{4}, \\dfrac{5 \\pi}{4}]$上为严格增函数;\n\\textcircled{4} 当$x \\in[\\dfrac{3 \\pi}{4}, \\dfrac{5 \\pi}{4}]$时, 函数$f(x)$的最大值是$2$.", + "objs": [], + "tags": [], + "genre": "填空题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2025届高一下学期周末卷08", + "edit": [ + "20230403\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "040546": { + "id": "040546", + "content": "在$\\triangle ABC$中, 角$A$、$B$、$C$的对边分别是$a$、$b$、$c$, $a^2+c^2-b^2=a c$, $b=\\sqrt{3}$, 求$2 a+c$的取值范围.", + "objs": [], + "tags": [], + "genre": "解答题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2025届高一下学期周末卷08", + "edit": [ + "20230403\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "040547": { + "id": "040547", + "content": "判断下列函数的奇偶性:\\\\\n(1) $\\sin (2 x+\\varphi)$;\\\\ \n(2) $\\dfrac{1+\\sin x-\\cos x}{1+\\sin x+\\cos x}$.", + "objs": [], + "tags": [], + "genre": "解答题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2025届高一下学期周末卷08", + "edit": [ + "20230403\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "040548": { + "id": "040548", + "content": "讨论关于实数$x$的方程解的个数:\\\\\n(1) $\\sin x+\\cos x=k$, $x \\in[0, \\pi]$;\\\\\n(2) $\\sin ^2 x+\\cos x=k$, $x \\in[0, \\pi]$.", + "objs": [], + "tags": [], + "genre": "解答题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2025届高一下学期周末卷08", + "edit": [ + "20230403\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "040549": { + "id": "040549", + "content": "如图, 某城市有一矩形街心广场$ABCD$, 其中$AB=4$百米, $BC=3$百米. 现将挖掘一个三角形水池$DMN$种植荷花, 其中$M$点在$BC$边上, $N$点在$AB$边上, 且必须满足要求: $\\angle MDN=\\dfrac{\\pi}{4}$.\n\\begin{center}\n\\begin{tikzpicture}[>=latex, scale = 0.7]\n\\draw (0,0) node [below] {$A$} coordinate (A);\n\\draw (4,0) node [below] {$B$} coordinate (B);\n\\draw (4,3) node [above] {$C$} coordinate (C);\n\\draw (0,3) node [above] {$D$} coordinate (D);\n\\draw ($(A)!0.5!(B)$) node [below] {$N$} coordinate (N);\n\\draw (C) ++ (0,{-4/3}) node [right] {$M$} coordinate (M);\n\\draw (A)--(B)--(C)--(D)--cycle(D)--(N)--(M)--cycle;\n\\end{tikzpicture}\n\\end{center}\n(1) 若$AN=CM=2$百米, 判断$\\triangle DMN$是否符合要求, 并说明理由;\\\\\n(2) 设$\\angle CDM=\\theta$, 求$\\triangle DMN$的面积$S$关于$\\theta$的函数关系式, 并求出$S$的最小值.", + "objs": [], + "tags": [], + "genre": "解答题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2025届高一下学期周末卷08", + "edit": [ + "20230403\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "040550": { + "id": "040550", + "content": "已知函数$y=f(x)$, $x \\in \\mathbf{R}$是周期为$\\pi$的周期函数, 当$x \\in[-\\dfrac{\\pi}{2}, \\dfrac{\\pi}{2})$时, $f(x)=\\sin \\dfrac{x}{2}$.\\\\\n(1) 求$f(\\dfrac{365 \\pi}{3})$的值;\\\\\n(2) 当$x \\in[-\\dfrac{5 \\pi}{2},-\\dfrac{\\pi}{2})$时, 求$f(x)$的表达式;\\\\\n(3) 设$g(x)=f(x)+2|f(x)|$, 求方程$g(x)=\\dfrac{1}{2}$的解集.", + "objs": [], + "tags": [], + "genre": "解答题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2025届高一下学期周末卷08", + "edit": [ + "20230403\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "040551": { + "id": "040551", + "content": "已知函数$f(x)=4 \\sin x \\cos (x+\\dfrac{\\pi}{3})+\\sqrt{3}$, $x \\in \\mathbf{R}$.\\\\\n(1) 将函数$f(x)$化简为$y=A \\sin (\\omega x+\\varphi)+B$的形式, 写出其振幅、初相与最小正周期;\\\\\n(2) 求函数$f(x)$的单调增区间、最小值及此时所有$x$的取值;\\\\\n(3) 将函数$f(x)$的图像向右平移$\\dfrac{\\pi}{6}$个单位, 再将所得图像上各点的横坐标缩短为原来的$a$($0