From ec2579c0b3277ba4aa3a267233193a7dd58abff9 Mon Sep 17 00:00:00 2001 From: Wang Weiye Date: Tue, 6 Dec 2022 14:30:16 +0800 Subject: [PATCH] 20221206 afternoon --- 工具/寻找tex文件中未赋答案的题目.ipynb | 6 +- 工具/寻找阶段末尾空闲题号.ipynb | 2 +- 工具/添加题目到数据库.ipynb | 6 +- 工具/讲义生成.ipynb | 22 +- 工具/识别题库中尚未标注的题目类型.ipynb | 42 +-- 题库0.3/Problems.json | 399 ++++++++++++++++++++++++ 6 files changed, 438 insertions(+), 39 deletions(-) diff --git a/工具/寻找tex文件中未赋答案的题目.ipynb b/工具/寻找tex文件中未赋答案的题目.ipynb index 60ae52de..4074aa0f 100644 --- a/工具/寻找tex文件中未赋答案的题目.ipynb +++ b/工具/寻找tex文件中未赋答案的题目.ipynb @@ -110,7 +110,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3.8.8 ('base')", + "display_name": "Python 3.9.7 ('base')", "language": "python", "name": "python3" }, @@ -124,12 +124,12 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.8.8" + "version": "3.9.7" }, "orig_nbformat": 4, "vscode": { "interpreter": { - "hash": "d311ffef239beb3b8f3764271728f3972d7b090c974f8e972fcdeedf230299ac" + "hash": "e4cce46d6be9934fbd27f9ca0432556941ea5bdf741d4f4d64c6cd7f8dfa8fba" } } }, diff --git a/工具/寻找阶段末尾空闲题号.ipynb b/工具/寻找阶段末尾空闲题号.ipynb index 70c37b8d..59127149 100644 --- a/工具/寻找阶段末尾空闲题号.ipynb +++ b/工具/寻找阶段末尾空闲题号.ipynb @@ -9,7 +9,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "首个空闲id: 12096 , 直至 020000\n", + "首个空闲id: 12117 , 直至 020000\n", "首个空闲id: 20227 , 直至 030000\n", "首个空闲id: 30496 , 直至 999999\n" ] diff --git a/工具/添加题目到数据库.ipynb b/工具/添加题目到数据库.ipynb index caf649ca..87f88ac2 100644 --- a/工具/添加题目到数据库.ipynb +++ b/工具/添加题目到数据库.ipynb @@ -7,10 +7,10 @@ "outputs": [], "source": [ "#修改起始id,出处,文件名\n", - "starting_id = 12096\n", - "origin = \"2023届高三上学期考试院提供适应性测试卷\"\n", + "starting_id = 12117\n", + "origin = \"2021届杨浦区一模\"\n", "filename = r\"C:\\Users\\Wang Weiye\\Documents\\wwy sync\\临时工作区\\自拟题目5.tex\"\n", - "editor = \"20221202\\t王伟叶\"" + "editor = \"20221206\\t王伟叶\"" ] }, { diff --git a/工具/讲义生成.ipynb b/工具/讲义生成.ipynb index 544d0bbb..dfa1cbfd 100644 --- a/工具/讲义生成.ipynb +++ b/工具/讲义生成.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, + "execution_count": 2, "metadata": {}, "outputs": [ { @@ -15,9 +15,9 @@ "题块 2 处理完毕.\n", "正在处理题块 3 .\n", "题块 3 处理完毕.\n", - "开始编译教师版本pdf文件: 临时文件/测验10_教师_20221202.tex\n", + "开始编译教师版本pdf文件: 临时文件/2021届杨浦区一模_教师_20221206.tex\n", "0\n", - "开始编译学生版本pdf文件: 临时文件/测验10_学生_20221202.tex\n", + "开始编译学生版本pdf文件: 临时文件/2021届杨浦区一模_学生_20221206.tex\n", "0\n" ] } @@ -41,7 +41,7 @@ "# enumi_mode = 0\n", "\n", "#2023届测验卷与周末卷\n", - "exec_list = [(\"标题替换\",\"测验10\")]\n", + "exec_list = [(\"标题替换\",\"2021届杨浦区一模\")]\n", "enumi_mode = 1\n", "\n", "# 日常选题讲义\n", @@ -51,15 +51,15 @@ "\"\"\"---其他预处理替换命令结束---\"\"\"\n", "\n", "\"\"\"---设置目标文件名---\"\"\"\n", - "destination_file = \"临时文件/测验10\"\n", + "destination_file = \"临时文件/2021届杨浦区一模\"\n", "\"\"\"---设置目标文件名结束---\"\"\"\n", "\n", "\n", "\"\"\"---设置题号数据---\"\"\"\n", "problems = [\n", - "\"12096:12107\",\n", - "\"12108:12111\",\n", - "\"12112:12116\"\n", + "\"12117:12128\",\n", + "\"12129:12132\",\n", + "\"12133:12137\"\n", "\n", "]\n", "\"\"\"---设置题号数据结束---\"\"\"\n", @@ -211,7 +211,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3.8.8 ('base')", + "display_name": "Python 3.9.7 ('base')", "language": "python", "name": "python3" }, @@ -225,12 +225,12 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.8.8" + "version": "3.9.7" }, "orig_nbformat": 4, "vscode": { "interpreter": { - "hash": "d311ffef239beb3b8f3764271728f3972d7b090c974f8e972fcdeedf230299ac" + "hash": "e4cce46d6be9934fbd27f9ca0432556941ea5bdf741d4f4d64c6cd7f8dfa8fba" } } }, diff --git a/工具/识别题库中尚未标注的题目类型.ipynb b/工具/识别题库中尚未标注的题目类型.ipynb index ee7256a6..3d083fca 100644 --- a/工具/识别题库中尚未标注的题目类型.ipynb +++ b/工具/识别题库中尚未标注的题目类型.ipynb @@ -9,27 +9,27 @@ "name": "stdout", "output_type": "stream", "text": [ - "012096 填空题\n", - "012097 填空题\n", - "012098 填空题\n", - "012099 填空题\n", - "012100 填空题\n", - "012101 填空题\n", - "012102 填空题\n", - "012103 填空题\n", - "012104 填空题\n", - "012105 填空题\n", - "012106 填空题\n", - "012107 填空题\n", - "012108 选择题\n", - "012109 选择题\n", - "012110 选择题\n", - "012111 选择题\n", - "012112 解答题\n", - "012113 解答题\n", - "012114 解答题\n", - "012115 解答题\n", - "012116 解答题\n" + "012117 填空题\n", + "012118 填空题\n", + "012119 填空题\n", + "012120 填空题\n", + "012121 填空题\n", + "012122 填空题\n", + "012123 填空题\n", + "012124 填空题\n", + "012125 填空题\n", + "012126 填空题\n", + "012127 填空题\n", + "012128 填空题\n", + "012129 选择题\n", + "012130 选择题\n", + "012131 选择题\n", + "012132 选择题\n", + "012133 解答题\n", + "012134 解答题\n", + "012135 解答题\n", + "012136 解答题\n", + "012137 解答题\n" ] } ], diff --git a/题库0.3/Problems.json b/题库0.3/Problems.json index fd239c8e..81e1fc41 100644 --- a/题库0.3/Problems.json +++ b/题库0.3/Problems.json @@ -298431,6 +298431,405 @@ "remark": "", "space": "12ex" }, + "012117": { + "id": "012117", + "content": "设全集$U=\\mathbf{R}$, $A=(-\\infty,2)$, 则$\\overline{A}=$\\blank{50}.", + "objs": [], + "tags": [], + "genre": "填空题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2021届杨浦区一模试题1", + "edit": [ + "20221206\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "012118": { + "id": "012118", + "content": "设复数$z=1-2\\mathrm{i}$, ($\\mathrm{i}$是虚数单位), 则$|z|=$\\blank{50}.", + "objs": [], + "tags": [], + "genre": "填空题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2021届杨浦区一模试题2", + "edit": [ + "20221206\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "012119": { + "id": "012119", + "content": "若关于$x,y$的方程组$\\begin{cases}2x+y=4, \\\\3x-ay=8 \\end{cases}$无解, 则实数$a=$\\blank{50}.", + "objs": [], + "tags": [], + "genre": "填空题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2021届杨浦区一模试题3", + "edit": [ + "20221206\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "012120": { + "id": "012120", + "content": "已知球的半径为$2$, 则它的体积为\\blank{50}.", + "objs": [], + "tags": [], + "genre": "填空题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2021届杨浦区一模试题4", + "edit": [ + "20221206\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "012121": { + "id": "012121", + "content": "若直线$l_1:2x+my+1=0$与$l_2:y=3x-1$互相垂直, 则实数$m=$\\blank{50}.", + "objs": [], + "tags": [], + "genre": "填空题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2021届杨浦区一模试题5", + "edit": [ + "20221206\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "012122": { + "id": "012122", + "content": "已知$\\sin \\alpha =-\\dfrac{\\sqrt 5}5$, $\\alpha \\in (-\\dfrac{\\pi }2,\\dfrac{\\pi }2)$ , 则$\\sin (\\alpha +\\dfrac{\\pi }2)=$\\blank{50}.", + "objs": [], + "tags": [], + "genre": "填空题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2021届杨浦区一模试题6", + "edit": [ + "20221206\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "012123": { + "id": "012123", + "content": "已知$(x+\\dfrac 2x)^n$的二项展开式中, 所有系数的和为$256$, 则展开式中的常数项为\\blank{50}(结果用数值表示).", + "objs": [], + "tags": [], + "genre": "填空题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2021届杨浦区一模试题7", + "edit": [ + "20221206\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "012124": { + "id": "012124", + "content": "$f(x)$是偶函数, 当$x\\ge 0$时, $f(x)=2^x-1$, 则不等式$f(x)>1$的解集为\\blank{50}.", + "objs": [], + "tags": [], + "genre": "填空题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2021届杨浦区一模试题8", + "edit": [ + "20221206\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "012125": { + "id": "012125", + "content": "方程$1+\\log_2x=\\log_2(x^2-3)$的解为\\blank{50}.", + "objs": [], + "tags": [], + "genre": "填空题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2021届杨浦区一模试题9", + "edit": [ + "20221206\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "012126": { + "id": "012126", + "content": "平面直角坐标系中, 满足到$F_1(-1, 0)$的距离比到$F_2(1, 0)$的距离大$1$的点的轨迹为曲线$T$, 点$P_n(n, y_n)$(其中$y_n>0$, $n\\in \\mathbf{N}$, $n\\ge 1$)是曲线$T$上的点, 原点$O$到直线$P_nF_2$的距离为$d_n$, 则$\\displaystyle\\lim_{n\\to \\infty} d_n=$\\blank{50}.", + "objs": [], + "tags": [], + "genre": "填空题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2021届杨浦区一模试题10", + "edit": [ + "20221206\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "012127": { + "id": "012127", + "content": "如图所示矩形$ABCD$中, $AB=2$, $AD=1$, 分别将边$BC$与$DC$等分成$8$份, 并将等分点自下而上依次记作$E_1,E_2,\\cdots,E_7$, 自左到右依次记作$F_1,F_2,\\cdots,F_7$, 满足$\\overrightarrow{AE_i}\\cdot \\overrightarrow{AF_j}\\le 2$, (其中$i,j\\in \\mathbf{N}$, $1\\le i, j\\le 7$)的有序数对$(i,j)$共有\\blank{50}对.\n\\begin{center}\n\\begin{tikzpicture}[>=latex,scale = 2]\n\\draw (0,0) node [below left] {$A$} coordinate (A) rectangle (2,1) node [above right] {$C$} coordinate (C);\n\\draw (2,0) node [below right] {$B$} coordinate (B) (0,1) node [above left] {$D$} coordinate (D);\n\\foreach \\i in {1,2,...,7} {\\draw [->] (A) -- ($(B)!{(\\i)/8}!(C)$) node [right] {\\small $E_{\\i}$};};\n\\foreach \\i in {1,2,...,7} {\\draw [->] (A) -- ($(D)!{(\\i)/8}!(C)$) node [above] {\\small $F_{\\i}$};};\n\\end{tikzpicture}\n\\end{center}", + "objs": [], + "tags": [], + "genre": "填空题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2021届杨浦区一模试题11", + "edit": [ + "20221206\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "012128": { + "id": "012128", + "content": "已知函数$y=f(x)$在定义域$\\mathbf{R}$上是单调函数, 值域为$(-\\infty ,\\ 0)$, 满足$f(-1)=-\\dfrac 13$, 且对于任意$x,\\ y\\in \\mathbf{R}$, 都有$f(x+y)=-f(x)f(y)$. $y=f(x)$的反函数为$y=f^{-1}(x)$, 若将$y=kf(x)$(其中常数$k>0$)的反函数的图像向上平移1个单位, 将得到函数$y=f^{-1}(x)$的图像, 则实数k的值为\\blank{50}.", + "objs": [], + "tags": [], + "genre": "填空题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2021届杨浦区一模试题12", + "edit": [ + "20221206\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "012129": { + "id": "012129", + "content": "设$a>b>0$, $c\\ne 0$, 则下列不等式中, 恒成立的是\\bracket{20}.\n\\fourch{$\\dfrac 1a>\\dfrac 1b$}{$ac^2>bc^2$}{$ac>bc$}{$\\dfrac ca<\\dfrac cb$}", + "objs": [], + "tags": [], + "genre": "选择题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2021届杨浦区一模试题13", + "edit": [ + "20221206\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "012130": { + "id": "012130", + "content": "下列函数中, 值域为$(0\\text,+\\infty)$的是\\bracket{20}.\n\\fourch{$y=x^2$}{$y=\\dfrac 2x$}{$y=2^x$}{$y=|\\log_2x|$}", + "objs": [], + "tags": [], + "genre": "选择题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2021届杨浦区一模试题14", + "edit": [ + "20221206\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "012131": { + "id": "012131", + "content": "从正方体的$8$个顶点中选取$4$个作为顶点, 可得到四面体的个数为\\bracket{20}.\n\\fourch{$\\mathrm{C}_8^4-12$}{$\\mathrm{C}_8^4-8$}{$\\mathrm{C}_8^4-6$}{$\\mathrm{C}_8^4-4$}", + "objs": [], + "tags": [], + "genre": "选择题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2021届杨浦区一模试题15", + "edit": [ + "20221206\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "012132": { + "id": "012132", + "content": "设集合$A=\\{y|y=a^x, \\ x>0\\}$(其中常数$a>0$, $a\\ne 1$), $B=\\{y|y=x^k,\\ x\\in A\\}$(其中常数$k\\in \\mathbf{Q}$), 则``$k<0$''是``$A\\cap B=\\varnothing$''的\\bracket{20}.\n\\twoch{充分非必要条件}{必要非充分条件}{充分必要条件}{既非充分又非必要条件}", + "objs": [], + "tags": [], + "genre": "选择题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2021届杨浦区一模试题16", + "edit": [ + "20221206\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "" + }, + "012133": { + "id": "012133", + "content": "如图所示, 在直三棱柱$ABC-A_1B_1C_1$中, 底面是等腰直角三角形, $\\angle ACB=90^{^\\circ}$, $CA=CB=CC_1=2$. 点$D,D_1$分别是棱$AC,A_1C_1$的中点.\n\\begin{center}\n\\begin{tikzpicture}[>=latex]\n\\draw (0,0,0) node [above right] {$C$} coordinate (C);\n\\draw (2,0,0) node [right] {$B$} coordinate (B);\n\\draw (0,0,2) node [left] {$A$} coordinate (A);\n\\draw (A) ++ (0,2,0) node [left] {$A_1$} coordinate (A_1);\n\\draw (B) ++ (0,2,0) node [right] {$B_1$} coordinate (B_1);\n\\draw (C) ++ (0,2,0) node [above] {$C_1$} coordinate (C_1);\n\\draw ($(A)!0.5!(C)$) node [above left] {$D$} coordinate (D);\n\\draw ($(A_1)!0.5!(C_1)$) node [above left] {$D_1$} coordinate (D_1);\n\\draw (A) -- (B) -- (B_1) -- (C_1) -- (A_1) -- (A);\n\\draw (D_1) -- (B_1) (A_1) -- (B_1);\n\\draw [dashed] (D) -- (B) (A) -- (C) -- (B) (D) -- (D_1) (C) -- (C_1) (C_1) -- (B);\n\\end{tikzpicture}\n\\end{center}\n(1)\t求证: $D,B,B_1,D_1$四点共面;\\\\\n(2)\t求直线$BC_1$与平面$DBB_1D_1$所成角的大小.", + "objs": [], + "tags": [], + "genre": "解答题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2021届杨浦区一模试题17", + "edit": [ + "20221206\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "12ex" + }, + "012134": { + "id": "012134", + "content": "设常数$k\\in \\mathbf{R}$, $f(x)=k\\cos ^2x+\\sqrt 3\\sin x\\cos x$, $x\\in \\mathbf{R}$.\\\\\n(1) 若$f(x)$是奇函数, 求实数$k$的值;\\\\\n(2) 设$k=1$, $\\triangle ABC$中, 内角$A,B,C$的对边分别为$a,b,c$. 若$f(A)=1$, $a=\\sqrt 7$, $b=3$, 求$\\triangle ABC$的面积$S$.", + "objs": [], + "tags": [], + "genre": "解答题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2021届杨浦区一模试题18", + "edit": [ + "20221206\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "12ex" + }, + "012135": { + "id": "012135", + "content": "某校运会上无人机飞行表演, 在水平距离$x\\in [10,24]$(单位: 米)内的飞行轨迹如图所示, $y$表示飞行高度(单位: 米).其中当$x\\in [10,20]$时, 轨迹为开口向上的抛物线的一段(端点为$MQ$), 当$x\\in [20,24]$时, 轨迹为线段$QN$, 经测量, 起点$M(10,24)$, 终点$N(24,24)$, 最低点$P(14,8)$.\n\\begin{center}\n\\begin{tikzpicture}[>=latex,scale = 0.1]\n\\draw [->] (-5,0) -- (30,0) node [below] {$x$};\n\\draw [->] (0,-5) -- (0,50) node [left] {$y$};\n\\draw (0,0) node [below left] {$O$};\n\\draw [domain = 10:20] plot (\\x,{pow(\\x-14,2)+8});\n\\draw (20,44) node [above] {$O$} coordinate (O) -- (24,24) node [right] {$N$} (10,24) node [above] {$M$} (14,8) node [below] {$P$} (0,24) node [left] {$A$} coordinate (A);\n\\draw [dashed] (0,24) --++ ({atan(2*sqrt(180)-28)}:25) coordinate (T);\n\\draw [dashed] (0,24) --++ (24,24);\n\\draw (A) pic [\"$\\theta$\", draw, angle eccentricity = 1.5, angle radius = 10] {angle = T--A--O}; \n\\end{tikzpicture}\n\\end{center}\n(1) 求$y$关于$x$的函数解析式;\\\\\n(2) 在$A(0,24)$处有摄像机跟踪拍摄, 为确保始终拍到无人机, 求拍摄视角$\\theta$的最小值.(精确到$0.1^\\circ$)", + "objs": [], + "tags": [], + "genre": "解答题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2021届杨浦区一模试题19", + "edit": [ + "20221206\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "12ex" + }, + "012136": { + "id": "012136", + "content": "设$A_1,A_2$分别是椭圆$\\Gamma :\\dfrac{x^2}{a^2}+y^2=1$($a>1$)的左、右顶点, 点$B$为椭圆的上顶点.\\\\\n(1) 若$\\overrightarrow{A_1B}\\cdot \\overrightarrow{A_2B}=-4$, 求椭圆$\\Gamma$的方程;\\\\\n(2) 设$a=\\sqrt 2$, $F_2$是椭圆的右焦点, 点$Q$是椭圆第二象限部分上一点, 若线段$F_2Q$的中点$M$在$y$轴上, 求$\\triangle F_2BQ$的面积;\\\\ \n(3) 设$a=3$, 点$P$是直线$x=6$上的动点, 点$C$和$D$是椭圆上异于左右顶点的两点, 且$C$, $D$分别在直线$PA_1$和$PA_2$上, 求证: 直线$CD$恒过一定点.", + "objs": [], + "tags": [], + "genre": "解答题", + "ans": "", + "solution": "", + "duration": -1, + "usages": [], + "origin": "2021届杨浦区一模试题20", + "edit": [ + "20221206\t王伟叶" + ], + "same": [], + "related": [], + "remark": "", + "space": "12ex" + }, + "012137": { + "id": "012137", + "content": "设数列$\\{a_n\\}$与$\\{b_n\\}$满足: $\\{a_n\\}$的各项均为正数, $b_n=\\cos a_n$, $n\\in \\mathbf{N}$, $n\\ge 1$.\\\\\n(1) 设$a_2=\\dfrac{3 \\pi}4$, $a_3=\\dfrac{\\pi}3$, 若$\\{b_n\\}$是无穷等比数列, 求数列$\\{b_n\\}$的通项公式;\\\\ \n(2) 设$0