2012年计算机二级Access模拟试题及参考答案(11)
一、基本操作题 在考生文件夹下,samp1.mdb数据库文件中已建立表对象tVisitor,同时在考生文件夹下还存有exam.mdb数据库文件。试按以下操作要求,完成表对象tVisitor的编辑和表对象tLine的导入: (1)设置游客ID字段为主键; (2)设置姓名字段为必填字段; (3)设
在考生文件夹下,“samp1.mdb”数据库文件中已建立表对象“tVisitor”,同时在考生文件夹下还存有“exam.mdb”数据库文件。试按以下操作要求,完成表对象“tVisitor”的编辑和表对象“tLine”的导入:
(1)设置“游客ID”字段为主键;
(2)设置“姓名”字段为“必填”字段;
(3)设置“年龄”字段的“有效性规则”属性为:大于等于10且小于等于60;
(4)设置“年龄”字段的“有效性文本”属性为:“输入的年龄应在10岁到60岁之间,请重新输入。”;
(5)在编辑完的表中输入如下一条新记录,其中“照片”字段数据设置为考生文件夹下的“照片1.bmp”图像文件。
(6)将“exam.mdb”数据库文件中的表对象“tLine”导入到“samp1.mdb”数据库文件内,表名不变。
二、简单应用题
考生文件夹下存在一个数据库文件“samp2.mdb”,里面已经设计好两个表对象“tBand”和“tLine”。试按以下要求完成设计:
(1)创建一个查询,查找并显示“团队ID”、“导游姓名”、“线路名”,“天数”,“费用”,等五个字段的内容,所建查询命名为“qT1”;
(2)创建一个查询,查找并显示旅游“天数”在五到十天之间(包括五天和十天)的“线路名”、“天数”和“费用”,所建查询名为“qT2”;
(3)创建一个查询,能够显示“tLine”表的所有字段内容,并添加一个计算字段“优惠后价格”,计算公式为:优惠后价格=费用*(1-10%),所建查询名为“qT3”;
(4)创建一个查询,删除“tBand”表中出发时间在2002年以前(不含2002年)的团队记录,所建查询命名为“qT4”。
三、综合应用题
考生文件夹下存在一个数据库文件“samp3.mdb”,里面已经设计好表对象“tBand”和“tLine”,同时还设计出以“tBand”和“tLine”为数据源的报表对象“rBand”。试在此基础上按照以下要求补充报表设计:
(1)在报表的报表页眉节区位置添加一个标签控件,其名称为“bTitle”,标题显示为“团队旅游信息表”,字体名称为“宋体”,字体大小为22,字体粗细为“加粗”,倾斜字体为“是”;
(2)在“导游姓名”字段标题对应的报表主体区位置添加一个控件,显示出“导游姓名”字段值,并命名为“tName”;
(3)在报表的报表页脚区添加一个计算控件,要求依据“团队ID”来计算并显示团队的个数。计算控件放置在“团队数:”标签的右侧,计算控件命名为“bCount”;
(4)将报表标题设置为“团队旅游信息表”。
注意:不允许改动数据库文件中的表对象“tBand”和“tLine”,同时也不 允许修改报表对象“rBand”中已有的控件和属性。

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

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

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

Hot Topics

SQL IF statements are used to conditionally execute SQL statements, with the syntax as: IF (condition) THEN {statement} ELSE {statement} END IF;. The condition can be any valid SQL expression, and if the condition is true, execute the THEN clause; if the condition is false, execute the ELSE clause. IF statements can be nested, allowing for more complex conditional checks.

The main reasons why you cannot log in to MySQL as root are permission problems, configuration file errors, password inconsistent, socket file problems, or firewall interception. The solution includes: check whether the bind-address parameter in the configuration file is configured correctly. Check whether the root user permissions have been modified or deleted and reset. Verify that the password is accurate, including case and special characters. Check socket file permission settings and paths. Check that the firewall blocks connections to the MySQL server.

The advantage of multithreading is that it can improve performance and resource utilization, especially for processing large amounts of data or performing time-consuming operations. It allows multiple tasks to be performed simultaneously, improving efficiency. However, too many threads can lead to performance degradation, so you need to carefully select the number of threads based on the number of CPU cores and task characteristics. In addition, multi-threaded programming involves challenges such as deadlock and race conditions, which need to be solved using synchronization mechanisms, and requires solid knowledge of concurrent programming, weighing the pros and cons and using them with caution.

Methods to solve the cross-domain problem of Vue Axios include: Configuring the CORS header on the server side using the Axios proxy using JSONP using WebSocket using the CORS plug-in

How to configure Zend in Apache? The steps to configure Zend Framework in an Apache Web Server are as follows: Install Zend Framework and extract it into the Web Server directory. Create a .htaccess file. Create the Zend application directory and add the index.php file. Configure the Zend application (application.ini). Restart the Apache Web server.

The key to PHPMyAdmin security defense strategy is: 1. Use the latest version of PHPMyAdmin and regularly update PHP and MySQL; 2. Strictly control access rights, use .htaccess or web server access control; 3. Enable strong password and two-factor authentication; 4. Back up the database regularly; 5. Carefully check the configuration files to avoid exposing sensitive information; 6. Use Web Application Firewall (WAF); 7. Carry out security audits. These measures can effectively reduce the security risks caused by PHPMyAdmin due to improper configuration, over-old version or environmental security risks, and ensure the security of the database.

This article describes how to effectively monitor the SSL performance of Nginx servers on Debian systems. We will use NginxExporter to export Nginx status data to Prometheus and then visually display it through Grafana. Step 1: Configuring Nginx First, we need to enable the stub_status module in the Nginx configuration file to obtain the status information of Nginx. Add the following snippet in your Nginx configuration file (usually located in /etc/nginx/nginx.conf or its include file): location/nginx_status{stub_status

Apache server is a powerful web server software that acts as a bridge between browsers and website servers. 1. It handles HTTP requests and returns web page content based on requests; 2. Modular design allows extended functions, such as support for SSL encryption and dynamic web pages; 3. Configuration files (such as virtual host configurations) need to be carefully set to avoid security vulnerabilities, and optimize performance parameters, such as thread count and timeout time, in order to build high-performance and secure web applications.
