问题 单项选择题

下列哪个选项是short型数据的取值范围

A.-128~+127

B.-32768~ +32767

C.-2147483648~ +2417483647

D.-3.40282347E38 ~ +3.40282347E38

答案

参考答案:B

解析:短整型的数据类型的长度是16 bit,有符号,范围是-32768~+32767。 beyt类型有8位bit,数据范围是-128~+127。int类型占32位bit,范围是-2147483648~+2417 483647。float类型占32位bit,范围是-3.40282347E38~+3.40282347E38。

问答题

Turkey’s Bodrum peninsula is different. The tourist boom in this part of the world (1) turned some small villages into resorts yet left neighbouring beaches undisturbed, making it quite (2) southern France or the Spanish Coasts where few stretches of coastline are undevelopeD.
The (3) for this happy set of circumstances is simple. For thousands of years, travel here (4) easier by boat than by lanD.So when mass tourism arrived in the (5) 1980s, there was no coast road for ribbon development to follow. So the peninsula, just (6) hour from Bodrum airport, has not become one long littoral of resort.
The building (7) new hotels has mainly been confined to places easily reached by then relatively (8) roads. Such ease of access has made Gumbet, near Bodrum, a busy resort, while the little fishing village of Gumusluk, 12 miles further west and only recently reachable by (9) , remains tranquil and undisturbeD.
It’s worth thinking carefully about location when planning a family (10) on the peninsulA.Choose a place that is centrally located, preferably out of earshot (11) Bodrum town’s "lively"—which means nosy—nightlife, and you can then use (12) area’s comfortably small scale to your advantage. Today’s new roads mean most places can (13) reached in under an hour by taxi or the ubiquitous dolmus-minibus.
The (14) of facilities at the Tamarisk Beach Hotel near the small village of Ortakent makes (15) a good base. The family-run hotel—rooms and suites are in two-storey buildings (16) by palm trees and flowers in terracotta pots—sits above its own sandy (17) beach, shaded by tamarisk trees and sheltered by nearby islands.
The hotel is (18) child-friendly, too. Children, from infants up to young teenagers, can take part in a (19) of games and activities that include tuition in windsurfing, dinghy (20) catamaran sailing.

选择题