高中数学基本算法语句同步测试卷能力提升卷.pdfVIP

  • 1
  • 0
  • 约1.05万字
  • 约 14页
  • 2025-10-15 发布于北京
  • 举报

高中数学基本算法语句同步测试卷能力提升卷.pdf

【编号94347】高中数学《基本算法语句》同步测试卷(能

力提升卷)

学校::班级:考号:

一、选择题:共3题每题5分共15

1.

下列问题,设计程序求解时,要用到循环语句的有().

①输入每个同学的数学成绩,求全班同学的平均分;

②求分段函数的函数值;

③求连续100个自然数的平方和;

④输入100个数,从中找出最大的数.

A.1个B.2个C.3个D.4个

2.

阅读下面的程序:

若输出的结果为5,则输入a的值为().

A.2.5B.2C.-2D.±2

3.

下列程序的功能是().

[No.94347]HighSchoolMathematicsBasicAlgorithm

StatementsSynchronousTestPaper(AbilityImprovement

Paper)

School:Name:Class:ExamNumber:

1.Multiplechoicequestions:3questionsintotal,5pointsineachquestion,15in

total

1.Whendesigningaprogramtosolvethefollowingproblems,loop

statementsshouldbeused().

1.Enterthemathscoreofeachstudentandfind

theaveragescoreofthewholeclass;2.Findthe

functionvalueofthepiecewisefunction;3.Find

thesumofthesquaresof100consecutivenatural

numbers;4.Enter100numbersandfindthe

largestnumber.

A.1B.2C.3D.4

2.Readthefollowing

procedure:

Iftheoutputresultis5,thenthevalueofinputais().

A.2.5B.2C.-2D.±2

3.Thefunctionofthefollowing

programis().

A.计算1+3+5+…+2012B.计算×3×5×…×2012

C.求方程1×3×5×…×i=2012中的i值D.求满足1×3×5×…×i2012的最小整数i

二、解答题:共4题每题12分共48

4.

在中,是直角,角A,B,C所对的边分别为a,b,c,c=13,b=12,求的

面积,写出解决该问题的算法步骤和对应的程序.

5.

已知函数,写出求函数值的程序.

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档