To protect animals, zoos A.are trying to keep all kinds of animals B. are trying to free the animals C.teach people more about animals D. want people to feed the animals 查看更多

 

题目列表(包括答案和解析)

根据下面的基本语句可知,输出的结果T为(  )
   T=1;
   For i=1 to 10;
   T=T+i;
   NEXT
  输出T.

查看答案和解析>>

阅读下列程序:
Read  S←1
For  I  from  1  to  5  step 2
S←S+I
Print S
End for
End
输出的结果是
2,5,10
2,5,10

查看答案和解析>>

4、阅读下列算法语句:
Read  S←1
For  I  from  1  to  5  step 2
S←S+I
End for
PrintS
End
输出的结果是
10

查看答案和解析>>

有一种密码把英文的明文(真实文)按字母分解,其中英文的a,b,c,…,z的26个字母分别对应1,2,3,…,26.即如下表所示:
精英家教网
且给出如下的一个变换公式:y=
x+1
2
(1≤x≤26,x为奇数)
x
2
+13(1≤x≤26,x为偶数)
,便可将明文转换成密文.如:
6→
6
2
+13=16
,即f变成p;9→
9+1
2
=5
,即i变成e.
(1)按上述方法将明文to译成密文;(2)按上述方法将明文译成密文是qc,找出其明文.

查看答案和解析>>

A class collects $50 to buy flowers for a classmate who is in the hospital. Roses cost $3 each, and carnations cost $2 each. No other flowers are to be used. How many different bouquets could be purchased for exactly $50?_______

 

查看答案和解析>>


同步练习册答案