Next J Next I 执行上面的语句后,K的值为______。 A.8 B.10 C.14 D.21 (33)VBA数据类型符号“%”表示的数据类型是______。 A.整型 B.长整型 C.单精度型 D.双精度型 (34)函数Mid("123456789",3,4)返回的值是______。 A.123 B.1234 C.3456 D.456
Next I
执行上面的语句后,K的值为______。
A.8
B.10
C.14
D.21
(33)VBA数据类型符号“%”表示的数据类型是______。
A.整型
B.长整型
C.单精度型
D.双精度型
(34)函数Mid("123456789",3,4)返回的值是______。
A.123
B.1234
C.3456
D.456
(35)运行下面程序代码后,变量J的值为______。
Private Sub Fun()
Dim J as Integer
J=10
DO
J=J+3
Loop While J
End Sub
A.10
B.13
C.19
D.21
二、填空题(每空2分,共30分)
请将每一个空的正确答案写在答题卡【1】~【15】序号的横线上,答在试卷上不得分。
(1)实现算法所需的存储单元多少和算法的工作量大小分别称为算法的 【1】 。
(2)数据结构包括数据的逻辑结构、数据的 【2】 以及对数据的操作运算。
(3)一个类可以从直接或间接的祖先中继承所有属性和方法。采用这个方法提高了软件的【3】 。
(4)面向对象的模型中,最基本的概念是对象和 【4】 。
(5)软件维护活动包括以下几类:改正性维护、适应性维护、 【5】 维护和预防性维护。
(6)SQL(结构化查询语言)是在数据库系统中应用广泛的数据库查询语言,它包括了数据定义、数据查询、 【6】 和 【7】 4种功能。
(7)文本型字段大小的取值最大为 【8】 个字符。
(8)使用查询向导创建交叉表查询的数据源必须来自 【9】 个表或查询。
(9)计算型控件用 【10】 作为数据源。
(10) 【11】 报表也称为窗体报表。
(11) 【12】 函数返回当前系统日期和时间。
(12)运行下面程序,其输出结果(str2的值)为 【13】 。
Dim str1, str2 As String
Dim i As Integer
str1 = "abcdef"
For i = 1 To Len(str1) Step 2
str2 = UCase(Mid(str1, i, 1)) + str2
Next
MsgBox str2
(13)运行下面程序,其运行结果k的值为 【14】 ,其最里层循环体执行次数为
【15】 。
Dim i, j, k As Integer
i = 1
Do
For j = 1 To i Step 2
k = k + j
Next
i = i + 2
Loop Until i > 8
全国计算机等级考试二级Access模拟试卷答案
一、选择题
(1)C
知识点:算法的基本概念
评析:计算机算法是指解题方案的准确而完整的描述,它有以下几个基本特征:可行性、确定性、有穷性和拥有足够的情报。
(2)C
知识点:线性表的概念
评析:栈和队列都是一种特殊的操作受限的线性表,只允许在端点处进行插入和删除。二者的区别是:栈只允许在表的一端进行插入或删除操作,是一种“后进先出”的线性表;而队列只允许在表的一端进行插入操作,在另一端进行删除操作,是一种“先进先出”的线性表。
(3)A

MySQLviewshavelimitations:1)Theydon'tsupportallSQLoperations,restrictingdatamanipulationthroughviewswithjoinsorsubqueries.2)Theycanimpactperformance,especiallywithcomplexqueriesorlargedatasets.3)Viewsdon'tstoredata,potentiallyleadingtooutdatedinforma

ProperusermanagementinMySQLiscrucialforenhancingsecurityandensuringefficientdatabaseoperation.1)UseCREATEUSERtoaddusers,specifyingconnectionsourcewith@'localhost'or@'%'.2)GrantspecificprivilegeswithGRANT,usingleastprivilegeprincipletominimizerisks.3)

MySQLdoesn'timposeahardlimitontriggers,butpracticalfactorsdeterminetheireffectiveuse:1)Serverconfigurationimpactstriggermanagement;2)Complextriggersincreasesystemload;3)Largertablesslowtriggerperformance;4)Highconcurrencycancausetriggercontention;5)M

Yes,it'ssafetostoreBLOBdatainMySQL,butconsiderthesefactors:1)StorageSpace:BLOBscanconsumesignificantspace,potentiallyincreasingcostsandslowingperformance.2)Performance:LargerrowsizesduetoBLOBsmayslowdownqueries.3)BackupandRecovery:Theseprocessescanbe

Adding MySQL users through the PHP web interface can use MySQLi extensions. The steps are as follows: 1. Connect to the MySQL database and use the MySQLi extension. 2. Create a user, use the CREATEUSER statement, and use the PASSWORD() function to encrypt the password. 3. Prevent SQL injection and use the mysqli_real_escape_string() function to process user input. 4. Assign permissions to new users and use the GRANT statement.

MySQL'sBLOBissuitableforstoringbinarydatawithinarelationaldatabase,whileNoSQLoptionslikeMongoDB,Redis,andCassandraofferflexible,scalablesolutionsforunstructureddata.BLOBissimplerbutcanslowdownperformancewithlargedata;NoSQLprovidesbetterscalabilityand

ToaddauserinMySQL,use:CREATEUSER'username'@'host'IDENTIFIEDBY'password';Here'showtodoitsecurely:1)Choosethehostcarefullytocontrolaccess.2)SetresourcelimitswithoptionslikeMAX_QUERIES_PER_HOUR.3)Usestrong,uniquepasswords.4)EnforceSSL/TLSconnectionswith

ToavoidcommonmistakeswithstringdatatypesinMySQL,understandstringtypenuances,choosetherighttype,andmanageencodingandcollationsettingseffectively.1)UseCHARforfixed-lengthstrings,VARCHARforvariable-length,andTEXT/BLOBforlargerdata.2)Setcorrectcharacters


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

WebStorm Mac version
Useful JavaScript development tools

SublimeText3 Linux new version
SublimeText3 Linux latest version

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Atom editor mac version download
The most popular open source editor

Dreamweaver CS6
Visual web development tools
