广西2020版高考数学一轮复习考点规范练49算法初步文.docx

上传人:inwarn120 文档编号:1093112 上传时间:2019-04-12 格式:DOCX 页数:12 大小:2.20MB
下载 相关 举报
广西2020版高考数学一轮复习考点规范练49算法初步文.docx_第1页
第1页 / 共12页
广西2020版高考数学一轮复习考点规范练49算法初步文.docx_第2页
第2页 / 共12页
广西2020版高考数学一轮复习考点规范练49算法初步文.docx_第3页
第3页 / 共12页
广西2020版高考数学一轮复习考点规范练49算法初步文.docx_第4页
第4页 / 共12页
广西2020版高考数学一轮复习考点规范练49算法初步文.docx_第5页
第5页 / 共12页
点击查看更多>>
资源描述

1、1考点规范练 49 算法初步一、基础巩固1.如图,若依次输入的 x 分别为 ,相应输出的 y 分别为 y1,y2,则 y1,y2的大小关系是( )56, 6A.y1=y2 B.y1y2 C.y1cos 成立,所以输出的 y1=sin ;56 56 56 56=12当输入的 x 为 时,sin cos 不成立,所以输出的 y2=cos ,所以 y17,程序运行终止,故所有的输出结果之和为 1+4+9+16=30.4.执行如图所示的程序框图,若输入的 x=2 017,则输出的 i=( )3A.2 B.3 C.4 D.5答案 B解析 根据题意,得 a=2017,i=1,b=- ,i=2,a=- ,b

2、 ,i=3,a= ,b=2017,不满足 b x,退出循12016 1201620162017 20162017环,输出 i=3.故选 B.5.(2018 海南期末)如图给出了一个程序框图,令 y=f(x),若 f(a)1,则 a 的取值范围是( )A.(- ,2)(2,5B.(- ,-1)(1, + )C.(- ,2)(2, + )D.(- ,-1)(1,5答案 D解析 根据程序框图可知 f(x)=x2,x 2,2x-3,25. 由 f(a)1,得 a 2,a21或 21或 a5,1a1,4由上述三个不等式组可解得 a5 B.i7 C.i9 D.i9答案 D解析 由程序框图可知,第一次循环

3、 S=0+2=2,i=1+2=3;第二次循环: S=2+8=10,i=2+3=5;第三次循环: S=10+32=42,i=5+2=7;第四次循环: S=42+128=170,i=7+2=9,满足条件,退出循环体,故判断框内应补充的条件为 i9,故选 D.9.执行如图所示的程序框图,若输出的 S= ,则判断框内填入的条件可以是( )2524A.k7 B.k7 C.k8 D.k49,得 x7,所以当输入的 x1,19时,输出的 x 大于 49 的概率为 .19-719-1=2311.执行如图所示的程序框图,若输入 n 的值为 3,则输出的 S 的值为 . 7答案 1解析 开始: i=1,S=0,

4、第一次循环: S=0+ -1,显然 13 不成立,1+1- 1= 2所以 i=1+1=2;第二次循环: S=( -1)+ -1,显然 23 不成立,所以 i=2+1=3;2 2+1- 2= 3第三次循环: S=( -1)+ =2-1=1,3 3+1- 3因为 33 成立,所以输出 S=1.12.运行如图所示的程序,当输入 a,b 分别为 2,3 时,最后输出的 m 的值为 . INPUT a,bIF ab THENm=aELSEm=bEND IFPRINT mEND答案 38解析 a= 2,b=3,a8.故 S=7.三、高考预测18.若如图所示的程序框图输出的 S 是 126,则条件 可以为( )A.n5? B.n6? C.n7? D.n8?答案 B解析 该程序是输出 S=2+22+2n的值 .由于 S=2+22+26=126,因此 中应填 n6 .故选 B.12

展开阅读全文
相关资源
猜你喜欢
  • EN 3139-2001 en Aerospace Series - Rivets Solid 100 Degree Countersunk Normal Head in Corrosion Resisting Steel FE-PA11 Passivated Inch Based Series《航空航天系列 基于英寸系列钝化的FE-PA11型耐腐蚀钢100.pdf EN 3139-2001 en Aerospace Series - Rivets Solid 100 Degree Countersunk Normal Head in Corrosion Resisting Steel FE-PA11 Passivated Inch Based Series《航空航天系列 基于英寸系列钝化的FE-PA11型耐腐蚀钢100.pdf
  • EN 314-1-2004 en Plywood - Bonding Quality - Part 1 Test Methods《胶合板 胶合质量 第1部分 试验方法》.pdf EN 314-1-2004 en Plywood - Bonding Quality - Part 1 Test Methods《胶合板 胶合质量 第1部分 试验方法》.pdf
  • EN 314-2-1993 en Plywood - Bonding Quality - Part 2 Requirements《胶合板 胶合质量 第2部分 要求》.pdf EN 314-2-1993 en Plywood - Bonding Quality - Part 2 Requirements《胶合板 胶合质量 第2部分 要求》.pdf
  • EN 3140-2001 en Aerospace Series - Rivets Solid 100 Degree Countersunk Normal Head in Corrosion Resisting Steel FE-PA2601 Passivated Inch Based Series《航空航天系列 耐腐蚀钢FE-PA2601制钝化英制100度.pdf EN 3140-2001 en Aerospace Series - Rivets Solid 100 Degree Countersunk Normal Head in Corrosion Resisting Steel FE-PA2601 Passivated Inch Based Series《航空航天系列 耐腐蚀钢FE-PA2601制钝化英制100度.pdf
  • EN 3141-1996 en Aerospace Series - Rivets Solid Universal Head in Heat Resisting Nickel Base Alloy NI-P11  Cadmium Plated Inch Based Series《航空航天系列 耐高温镍基合金钢NI-P11镀镉带通用头的全铆钉 英制系列》.pdf EN 3141-1996 en Aerospace Series - Rivets Solid Universal Head in Heat Resisting Nickel Base Alloy NI-P11 Cadmium Plated Inch Based Series《航空航天系列 耐高温镍基合金钢NI-P11镀镉带通用头的全铆钉 英制系列》.pdf
  • EN 3142-1996 en Aerospace Series - Rivets Solid Universal Head in Heat Resisting Nickel Base Alloy NI-P11  Inch Based Series《航空航天系列 耐高温镍基合金钢NI-P11带通用头的全铆钉 英制系列》.pdf EN 3142-1996 en Aerospace Series - Rivets Solid Universal Head in Heat Resisting Nickel Base Alloy NI-P11 Inch Based Series《航空航天系列 耐高温镍基合金钢NI-P11带通用头的全铆钉 英制系列》.pdf
  • EN 3145-2001 en Areospace Series - Round Bars Hot Rolled in Steel - Normal Tolerances - Diameter 6 mm Less Than or Equal to D Less Than or Equal to 250 mm - Dimensions《航空航天系列 热轧圆钢棒.pdf EN 3145-2001 en Areospace Series - Round Bars Hot Rolled in Steel - Normal Tolerances - Diameter 6 mm Less Than or Equal to D Less Than or Equal to 250 mm - Dimensions《航空航天系列 热轧圆钢棒.pdf
  • EN 3146-2001 en Aerospace Series - Round Bars Hot Rolled in Steel - Close Tolerances - Diameter 6 mm Less Than or Equal to D Less Than or Equal to 250 mm - Dimensions《航空航天系列 紧公差 直径.pdf EN 3146-2001 en Aerospace Series - Round Bars Hot Rolled in Steel - Close Tolerances - Diameter 6 mm Less Than or Equal to D Less Than or Equal to 250 mm - Dimensions《航空航天系列 紧公差 直径.pdf
  • EN 3148-2008 en Aerospace series - Shank nuts self-locking flange restrained - Installation procedure《航空和航天系列 法兰受控自锁紧细牙杆螺母 安装程序》.pdf EN 3148-2008 en Aerospace series - Shank nuts self-locking flange restrained - Installation procedure《航空和航天系列 法兰受控自锁紧细牙杆螺母 安装程序》.pdf
  • 相关搜索

    当前位置:首页 > 考试资料 > 中学考试

    copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
    备案/许可证编号:苏ICP备17064731号-1