算法初步专题训练:程序框图与基本语句题型.pdfVIP

  • 0
  • 0
  • 约1.23万字
  • 约 12页
  • 2025-10-20 发布于北京
  • 举报

算法初步专题训练:程序框图与基本语句题型.pdf

专练52算法初步

命题范围:程序框图与基本算法语句.

[基础强化]

一、选择题

1.用辗转相除法求得168与486的最大公约数是()

A.3B.4C.6D.16

2.阅读如图所示的程序框图,若输入的a,b,c分别是21,32,75,则输出的a,b,c

分别是()

A.5,21,32B.21,32,75

C.32,21,75D.75,32,21

3.执行如图所示的程序框图,若输出的结果为3,则可输入的实数x值的个数为()

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

第3题第4题第5题

4.执行如图所示的程序框图,则输出的n=()

A.17B.19C.21D.23

5.[2023·石室中学高三模拟]执行如图所示的程序框图,运行相应的程序.若输入的

1.20.4

a,b,c分别为0.4,1.2,log0.41.2,则输出的结果为()

A.aB.b

C.cD.无法确定

Specialization52

AlgorithmPreliminary

Propositionscope:programblockdiagramandbasicalgorithmstatements.

[Basic

Strengthening]

1.Multiplechoicequestions

1.Useeuclideandivisiontofindthegreatestcommondivisorof168and486()

A.3B.4C.6D.16

2.Readtheblockdiagramasshowninthefigure.Iftheinputa,b,andcare21,32,and75respectively,thenthe

outputa,b,andcare()respectively.

A.5,21,32B.21,32,75C.32,21,75D.75,32,21

3.Executetheprogramblockdiagramasshowninthefigure.Iftheoutputresultis3,thenthenumberofrealxvaluesthatcanbeinputis()

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

QuestionQuestion4Question5

文档评论(0)

1亿VIP精品文档

相关文档