问题
单项选择题
在设计程序时,应采纳的原则之一是
A.不限制goto语句的使用
B.减少或取消注解行
C.程序越短越好
D.程序结构应有助于读者理解
答案
参考答案:D
解析: 滥用goto语句将使程序流程无规律,可读性差,因此A) 不选;注解行有利于对程序的理解,不应减少或取消,B) 也不选;程序的长短要依照实际情况而论,而不是越短越好,C) 也不选。
在设计程序时,应采纳的原则之一是
A.不限制goto语句的使用
B.减少或取消注解行
C.程序越短越好
D.程序结构应有助于读者理解
参考答案:D
解析: 滥用goto语句将使程序流程无规律,可读性差,因此A) 不选;注解行有利于对程序的理解,不应减少或取消,B) 也不选;程序的长短要依照实际情况而论,而不是越短越好,C) 也不选。
The blue of the sea is caused by the scattering of sunlight by tiny particles suspended in the water. Blue light, being of short wavelength, is scattered more efficiently than light of longer wavelengths. Although waters of the open ocean are commonly some shade of blue, green water is commonly seen near coasts, especially in tropical or subtropical regions. This is caused by yellow pigments being mixed with blue water. Phytoplankton are one source of the yellow pigment. Other microscopic plants may color the water brown or brownish-red. Near the shore, silt or sediment in suspension can give water a brownish hue. Outflow of large rivers can often be observed many miles offshore by the coloration of suspended soil particles. Marine phytoplankton (Greek for "plant wanderers") are microscopic single-celled plants that include diatoms, dinoflagellates, coccolithophorids, green algae, and blue-green algae, among others. The growth of these organisms, which photosynthesize light, depends on a delicate balance of nutrient enrichment via vertical mixing, which is often limited by the availability of nitrogen and light. Diatoms are one-celled plants with patterned glass coverings. Each glass, or silicon dioxide box, is ornamented with species-specific designs, pits, and perforations making them popular with microscopists and, more recently, electron scanning microscopists. |
The main idea of this passage is that ______.
A.light causes sea color
B.sea coloration is varied because of a combination of length of light waves and microscopic plant life and silt
C.microscopic plant life causes sea color
D.water composition causes sea color