问题 单项选择题

下列关于C语言数据文件的叙述中正确的是( )。

A.文件由ASCII码字符序列组成,C语言只能读写文本文件

B.文件由二进制数据序列组成,C语言只能读写二进制文件

C.文件由记录序列组成,可按数据的存放形式分为二进制文件和文本文件

D.文件由数据流形式组成,可按数据的存放形式分为二进制文件和文本文件

答案

参考答案:D

单项选择题
阅读理解
阅读理解。
                                                              Hotel Icaria Barcelona
Hotel Location
     Hotel Icaria Barcelona is 330 yards from Barcelona's Nova Icaria Beach. It is
located in the Olympic Port area, a 10-minute walk from Ciutadella Park and
Barcelona Zoo. Ciutadella Metro Station is half a mile away, and is just 2 stops
from Barcelona Cathedral (大教堂) and the historic Gothic Quarter.
Hotel Facilities
General Restaurant, 24-Hour Front Desk, Non-Smoking Rooms, Rooms/Facilities for Disabled Guests,
Family Rooms, Luggage Storage, Smoking Area.
ActivitiesSauna, Fitness Centre, Wellness Centre, Table Tennis, Hiking, Cycling, Steam Bath, Outdoor
Swimming Pool.
ServicesMeeting Facilities, Business Centre, Laundry, Dry Cleaning, VIP Room Facilities, Ironing Service,
Fax/Photocopying, Ticket Service.
InternetWi-fi is available in the entire hotel and is free of charge.
Hotel Policies
     These are general hotel policies for Hotel Icaria Barcelona. As they may vary per room type, please also
check the room description.
Check in14:00-00:00Check outUntil 12:00 hours
Children and
extra beds
     One child under 2 years stays free of charge in a baby cot (婴儿床).
     All children under 12 years stay free of charge when using existing bedding.
     One older child or adult is charged 34 per night and person in an extra bed.
Groups      When booking more than 5 rooms, different policies and additional supplements may apply.
Terms & Conditions
     Your reservation is absolutely secure. All personal data is encrypted and will only be used to process your
booking. For more information, read our PRIVACY STATEMENT. Booking.com will not charge you any
reservation fees for making this booking.
1. Hotel Icaria Barcelona allows you easy access to the following EXCEPT _____.
A. the stadiums where you can have sports
B. the seaside where you can relax yourself
C. the places where you can take trains or buses
D. the building where you can attend a religious service
2. The underlined word "encrypted" in the last section probably means "_____".
A. analysed
B. stored
C. collected
D. protected
3. It can be inferred from the advertisement that _____.
A. smoking is completely forbidden in the hotel
B. every room follows the same hotel policies
C. policies may be in your favour if you book 6 rooms
D. an extra bed can be provided for you free of charge