填空题 下面一段程序定义了一个名字为“books”的记录,其4个域的域名及数据类型如下: 域名 数据类型 数据长度 title 字符型 40 author 字符型 20 price 单精度实型 10 请将下面{{U}} 【11】 {{/U}}补充完整。 Type books title As String*40 author As string*20 Price{{U}} 【11】 {{/U}} End Type
  • 1、
【正确答案】 1、As Integer    
【答案解析】[解析] 考查Visual Basic的基本数据类型以及如何定义一个Type记录类型数据。本题用Type定义数据类型books,books含有三个不同的数据类型。根据题意,price赋以单精度实型,应以Integer表达,故[11]处填:AsInteger。