(1)在深度为5的满二叉树中,叶子结点的个数为 A)32 B)31 C)16 D)15 (2)若某二叉树的前序遍历访问顺序是abdgcefh,中序遍历访问顺序是dgbaechf,则其后序遍历的结点访问顺序是 A)bdgcefha B)gdbecfha C)bdgaechf D)gdbehfca (3)一些重要的程序
(1)在深度为5的满二叉树中,叶子结点的个数为
A)32
B)31
C)16
D)15
(2)若某二叉树的前序遍历访问顺序是abdgcefh,中序遍历访问顺序是dgbaechf,则其后序遍历的结点访问顺序是
A)bdgcefha
B)gdbecfha
C)bdgaechf
D)gdbehfca
(3)一些重要的程序语言(如C语言和Pascal语言)允许过程的递归调用。而实现递归
调用中的存储分配通常用
A)栈
B)堆
C)数组
D)链表
(4)软件工程
A)消除软件危机
B)软件工程管理
C)程序设计自动化
D)实现软件可重用
(5)开发软件时对提高开发人员工作效率至关重要的是
A)操作系统的资源管理功能
B)先进的软件开发工具和环境
C)程序人员的数量
D)计算机的并行处理能力
(6)在软件测试设计中,软件测试的主要目的是
A)实验性运行软件
B)证明软件正确
C)找出软件中全部错误
D)发现软件错误而执行程序
(7)数据处理的最小单位是
A)数据
B)数据元素
C)数据项
D)数据结构
(8)索引属于
A)模式
B)内模式
C)外模式
D)概念模式
(9)下述关于数据库系统的叙述中正确的是
A)数据库系统减少了数据冗余
B)数据库系统避免了一切冗余
C)数据库系统中数据的一致性是指数据类型一致
D)数据库系统比文件系统能管理更多的数据
(10)数据库系统的核心是
A)数据库
B)数据库管理系统
D)软件工程
(11)在以下数据库系统(由数据库应用系统、操作系统、数据库管理系统、硬件四部分组成)层次示意图中,数据库应用系统的位置是
A)1
B)3
C)2
D)4
[1] [2] [3] [4] 下一页
(12)数据库系统四要素中,什么是数据库系统的核心和管理对象?
A)硬件
B)软件
C)数据库
D)人
(13)Access数据库中哪个数据库对象是其他数据库对象的基础?
A)报表
B)查询
C)表
D)模块
(14)通过关联关键字“系别”这一相同字段,表二和表一构成的关系为
A) 一对一
B) 多对一
C) 一对多
D)多对多
(15)某数据库的表中要添加internet站点的网址,则该采用的字段类型是
A)OLE对象数据类型
B)超级连接数据类型
C)查阅向导数据类型
D)自动编号数据类型
(16)在Access的5个最主要的查询中,能从一个或多个表中检索数据,在一定的限制条件下,还可以通过此查询方式来更改相关表中记录的是
A) 选择查询
B) 参数查询
C) 操作查询
D) SQL查询
(17)哪个查询是包含另一个选择或操作查询中的SQL SELECT语句,可以在查询设计网格的“字段”行输入这些语句来定义新字段,或在“准则”行来定义字段的准则?
A)联合查询
B)传递查询
C)数据定义查询
D)子查询
(18)下列不属于查询的三种视图的是
A) 设计视图
B) 模板视图
C) 数据表视图
D) SQL视图
(19)要将“选课成绩”表中学生的成绩取整,可以使用
A) Abs([成绩])
B) Int([成绩])
C) Srq([成绩])
D) Sgn([成绩])
(20)在查询设计视图中
A) 可以添加数据库表,也可以添加查询
B) 只能添加数据库表
C) 只能添加查询
D) 以上两者都不能添加
(21)窗体是Access数据库中的一种对象,以下哪项不是窗体具备的功能
A) 输入数据
B) 编辑数据
C) 输出数据
D) 显示和查询表中的数据
(22)窗体有3种视图,用于创建窗体或修改窗体的窗口是窗体的
A)“设计”视图
B)“窗体”视图
C)“数据表”视图
D)“透视表”视图
(23)“特殊效果”属性值用于设定控件的显示特效,下列属于“特殊效果”属性值的是
①“平面”、②“颜色”、③“凸起”、④“蚀刻”、⑤“透明”、⑥“阴影”、⑦“凹陷”、⑧“凿痕”、⑨“倾斜”
A) ①②③④⑤⑥
B) ①③④⑤⑥⑦
C) ①④⑥⑦⑧⑨
D) ①③④⑥⑦⑧
(24)窗口事件是指操作窗口时所引发的事件,下列不属于窗口事件的是
A)“加载”
B)“打开”
C)“关闭”
D)“确定”
(25)下面关于报表对数据的处理中叙述正确的是
A)报表只能输入数据
B)报表只能输出数据
C)报表可以输入和输出数据
D)报表不能输入和输出数据
上一页 [1] [2] [3] [4] 下一页
(26)用于实现报表的分组统计数据的操作区间的是
A)报表的主体区域
C)报表页眉或报表页脚区域
D)组页眉或组页脚区域
(27)为了在报表的每一页底部显示页码号,那么应该设置
A)报表页眉
B)页面页眉
C)页面页脚
D)报表页脚
(28)要在报表上显示格式为“7/总10页”的页码,则计算控件的控件源应设置为
A)[Page]/总[Pages]
B)=[Page]/总[Pages]
C)[Page]&“/总”&[Pages]
D)=[Page]&“/总”&[Pages]
(29)可以将Access数据库中的数据发布在Internet网络上的是
A)查询
B)数据访问页
C)窗体
D)报表
(30)在数据访问页的工具箱中,为了在一个框内插入滚动的文本应选择的图标是
(31)下列关于宏操作的叙述错误的是
A)可以使用宏组来管理相关的一系列宏
B)使用宏可以启动其它应用程序
C)所有宏操作都可以转化为相应的模块代码
D)宏的关系表达式中不能应用窗体或报表的控件值
(32)用于最大化激活窗口的宏命令是
A)Minimize
B)Requery
C)Maximize
D)Restore
(33)在宏的表达式中要引用报表exam上控件Name的值,可以使用引用式
A)Reports!Name
B)Reports!exam!Name
C)exam!Name
D)Reports exam Name
(34)可以判定某个日期表达式能否转换为日期或时间的函数是
A)CDate
B)IsDate
C)Date
D)IsText
(35)以下哪个选项定义了10个整型数构成的数组,数组元素为NewArray(1)至NewArray(10)?
A) Dim NewArray(10)As Integer
B)Dim NewArray(1 To 10)As Integer
C)Dim NewArray(10) Integer
D)Dim NewArray(1 To 10) Integer
填空题:
(1)在树形结构中,树根结点没有 【1】 。
(2)Jackson结构化程序设计方法是英国的M.Jackson提出的,它是一种面向 【2】 的设计方法。
(3)面向对象的模型中,最基本的概念是对象和 【3】 。
(4)软件设计模块化的目的是 【4】 。
(5)数据模型按不同应用层次分成3种类型,它们是概念数据模型、 【5】 和物理数据模型。
(6)二维表中的一行称为关系的 【6】 。
(7)三个基本的关系运算是 【7】 、 【8】 和联接。
(8)窗体由多个部分组成,每个部分称为一个 【9】 ,大部分的窗体只有 【10】 。
节
主体
(9)【11】 是窗体上用于显示数据、执行操作、装饰窗体的对象。
(10)一个主报表最多只能包含 【12】 子窗体或子报表。
(11)在数据访问页的工具箱中,图标 的名称是 【13】 。
(12)数据访问页有两种视图,分别为页视图和 【14】 。
(13)VBA中定义符号常量的关键字是 【15】 。
上一页 [1] [2] [3] [4] 下一页
参考答案
选择题:
01-05 B D A B B 06-10 D C B B B 11-15 D C C C B 16-20 A D B B A
21-25 C A D D B 26-30 D C D&nbs

Stored procedures are precompiled SQL statements in MySQL for improving performance and simplifying complex operations. 1. Improve performance: After the first compilation, subsequent calls do not need to be recompiled. 2. Improve security: Restrict data table access through permission control. 3. Simplify complex operations: combine multiple SQL statements to simplify application layer logic.

The working principle of MySQL query cache is to store the results of SELECT query, and when the same query is executed again, the cached results are directly returned. 1) Query cache improves database reading performance and finds cached results through hash values. 2) Simple configuration, set query_cache_type and query_cache_size in MySQL configuration file. 3) Use the SQL_NO_CACHE keyword to disable the cache of specific queries. 4) In high-frequency update environments, query cache may cause performance bottlenecks and needs to be optimized for use through monitoring and adjustment of parameters.

The reasons why MySQL is widely used in various projects include: 1. High performance and scalability, supporting multiple storage engines; 2. Easy to use and maintain, simple configuration and rich tools; 3. Rich ecosystem, attracting a large number of community and third-party tool support; 4. Cross-platform support, suitable for multiple operating systems.

The steps for upgrading MySQL database include: 1. Backup the database, 2. Stop the current MySQL service, 3. Install the new version of MySQL, 4. Start the new version of MySQL service, 5. Recover the database. Compatibility issues are required during the upgrade process, and advanced tools such as PerconaToolkit can be used for testing and optimization.

MySQL backup policies include logical backup, physical backup, incremental backup, replication-based backup, and cloud backup. 1. Logical backup uses mysqldump to export database structure and data, which is suitable for small databases and version migrations. 2. Physical backups are fast and comprehensive by copying data files, but require database consistency. 3. Incremental backup uses binary logging to record changes, which is suitable for large databases. 4. Replication-based backup reduces the impact on the production system by backing up from the server. 5. Cloud backups such as AmazonRDS provide automation solutions, but costs and control need to be considered. When selecting a policy, database size, downtime tolerance, recovery time, and recovery point goals should be considered.

MySQLclusteringenhancesdatabaserobustnessandscalabilitybydistributingdataacrossmultiplenodes.ItusestheNDBenginefordatareplicationandfaulttolerance,ensuringhighavailability.Setupinvolvesconfiguringmanagement,data,andSQLnodes,withcarefulmonitoringandpe

Optimizing database schema design in MySQL can improve performance through the following steps: 1. Index optimization: Create indexes on common query columns, balancing the overhead of query and inserting updates. 2. Table structure optimization: Reduce data redundancy through normalization or anti-normalization and improve access efficiency. 3. Data type selection: Use appropriate data types, such as INT instead of VARCHAR, to reduce storage space. 4. Partitioning and sub-table: For large data volumes, use partitioning and sub-table to disperse data to improve query and maintenance efficiency.

TooptimizeMySQLperformance,followthesesteps:1)Implementproperindexingtospeedupqueries,2)UseEXPLAINtoanalyzeandoptimizequeryperformance,3)Adjustserverconfigurationsettingslikeinnodb_buffer_pool_sizeandmax_connections,4)Usepartitioningforlargetablestoi


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

SublimeText3 Chinese version
Chinese version, very easy to use

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

SublimeText3 English version
Recommended: Win version, supports code prompts!

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.
