【单选题】
What is the optimal configuration when building a virtual machine for a single-threaded Windows application? ___
A. Deploy single-threaded applications on uniprocessor virtual machines.
B. Deploy single-threaded applications on symmetric multi-processor virtual machines.
C. Tune single-threaded applications to take advantage of symmetric multi-processor resources.
D. Tune Single-threaded applications at the hypervisor level.
查看试卷,进入试卷练习
微信扫一扫,开始刷题
相关试题
【单选题】
An administrator has created the resource pool configuration shown in the Exhibit. Based on the exhibit, which virtual machine(s) can be successfully powered on? ___
A. VM-M1 only
B. VM-K1 only
C. VM-K1 and VM-K2 only
D. VM-K1, VM-K2, and VM-M1
【单选题】
Which vSphere 6 Enterprise Edition feature will allow an organization to ensure that critical multi-threaded applications have the maximum possible uptime? ___
A. Fault Tolerance
B. High Availability
C. Distributed Resource Scheduler
D. App HA
【单选题】
An administrator has a virtual machine that requires four times the compute resources than other virtual machines on the same ESXi 6.x host. How should the administrator configure the virtual machine settings, in order to be prepared for any resource contention? ___
A. Set the shares of the priority virtual machine to High and the rest to Low.
B. Set the shares of the priority virtual machine to High.
C. Set the shares of the priority virtual machine to High and the rest to Normal.
D. Set the shares of the priority virtual machine to Normal and the rest to Low.
【单选题】
Which type of Adapter does not require vmkernel networking? ___
A. Independent Hardware iSCSI Adapter
B. Dependent Hardware iSCSI Adapter
C. Software iSCSI Adapter
D. Software FCoE Adapter
【单选题】
During the installation of ESXi 6.0, the following error message is reported: Hardware Virtualization is not a feature of the CPU, or is not enabled in the BIOS. Which condition would generate this message? ___
A. LAHF/SAHF is not enabled in the BIOS.
B. NX/XD is not enabled in the BIOS.
C. SSE3 is not enabled in the BIOS.
D. Hyperthreading is not enabled in the BIOS.
【单选题】
An administrator is unable to login to vCenter Server when using the vSphere web client. The administrator successfully accessed vCenter Server using the client earlier the same day. What is the most appropriate first step the administrator should take to resolve this issue? ___
A. Verify the web browser being used has Adobe Flash plugin version 11.5 or later
B. Verify the vCenter Single Sign-On service is running on the vCenter Server
C. Verify the vSphere Web Server service is running on the vCenter Server
D. Verify the administrator has permissions configured in vCenter Server
【单选题】
An administrator has configured an alarm to be notified when a virtual machine meets two conditions: <high virtual CPU> <high active memory consumption> The alarm is malfunctioning and triggering when either condition is met instead of both. What can be done to correct the issue? ___
A. Edit the alarm and select Trigger if ALL of the following conditions are satisfied.
B. Edit the alarm and select Trigger if ANY of the following conditions are satisfied.
C. Create two separate alarms, one for CPU and one for memory.
D. Delete the existing alarm and create a new event based alarm.
【单选题】
What must be enabled to ensure that VM Component Protection (VMCP) works in a High Availability cluster? ___
A. VMware Tools Virtual Machine Communication Interface (VMCI)
B. Fault Tolerance
C. Atomic Test and Set (ATS)
D. All Paths Down (APD) Timeout
【单选题】
An administrator wants to add a web server to an existing multi-tier application consisting of three virtual machines: <A web server> <A database server An application server> The web server should be added to the application when the primary web server reaches: <70% vCPU utilization> <55% active memory> Which option will achieve this result? ___
A. Create a virtual machine alarm with an action to run a script that starts a new instance of the web server.
B. Create a host cpu and memory alarm with an action to run a script that starts a new instance of the webserver.
C. Configure HA application monitoring for the web server and set it to trigger deployment of a new instance of the web server.
D. Configure Fault Tolerance on the virtual machine and leave the secondary machine disabled until needed.
【单选题】
An administrator has an application that requires connection directly to PCI devices through a virtual machine. What is a limitation of this configuration? ___
A. Devices must be reserved for PCI passthrough on at least one host on which the virtual machine will run.
B. Snapshots are not supported with DirectPath I/O passthrough devices.
C. A maximum of 18 PCI vSphere
D. irectPath devices can be added to a virtual machine.
【单选题】
The vSphere administrator is configuring directory services for an ESXi host: What should the vSphere administrator do to configure the host to use CAM services? ___
A. Check the Use vSphere Authentication Proxy checkbox.
B. Set Select Directory Service Type to CAM services.
C. Specify CAM$ for the
D. omain.
【单选题】
Which statement is true regarding the licensing of vCenter Server? ___
A. The license for vCenter Server must be provided at the time of installation.
B. Changing the license assigned to vCenter Server requires a restart of the vCenter Server service.
C. Virtual machines can still be powered on if the vCenter Server license expires.
D. Licensing for a single vCenter Server installation is determined by the number of managed virtual machines.
【单选题】
When configuring vSphere Replication for a virtual machine, what is the lowest Recovery Point Objective (RPO) that can be selected? ___
A. 1 min
B. 5 min
C. 10 min
D. 15min
【单选题】
A developer needs to create a multi-tier development stack for a home lab. Which vSphere product will support the architecture required for the least software cost? ___
A. vSphere Hypervisor
B. vSphere Essentials
C. VMware Player
D. VMware Workstation
【单选题】
An administrator is installing Windows into a virtual machine. The DVD has been mounted on the Host and configured for the virtual machine as shown in the Exhibit. Based on the exhibit, when the virtual machine is booted, why would it attempt to search for a PXE server? ___
A. The CD/DVD device is not connected.
B. The ISO is in the incorrect storage location.
C. The OS minimum requirements have not been met.
D. The CD/DVD device is not set to Client Device.
【单选题】
What component must be installed prior to deploying a vCenter Server in vSphere 6.x? ___
A. vCenter Identity Services
B. Platform Services Controller
C. vCenter Single Sign-On
D. Client Integration Plug-In
【单选题】
What is a valid plug-in status for a plug-in that has been added to a vSphere client? ___
A. Disabled
B. Unknown
C. Stopped
D. Installed
【单选题】
Users of an application are reporting performance issues. The following performance values are observed in the vSphere Web Client: <Host CPU utilization is 90%> <Virtual Machine memory utilization is consistently greater than 90% CPU Ready values are higher than 20%> What could be the cause of the application performance issue? ___
A. The host is lacking the CPU resources required to meet the demand.
B. The host is lacking the memory resources required to meet the demand.
C. The virtual machine is lacking the CPU resources required to meet the demand.
D. The virtual machine is lacking the memory resources required to meet the demand.
【单选题】
An administrator creates an ESXi cluster using vSphere Auto Deploy. The ESXi hosts are configured to get a management IP address from a DHCP server. The administrator needs to troubleshoot the management network on one of the hosts. Which DCUI option should the administrator use to renew the DHCP lease? ___
A. Restart Management Network
B. Restore Network Settings
C. Test Management Network
D. Configure Management Network
【单选题】
An administrator is re-provisioning an ESXi host and moving it to another datacenter. Which DCUI option should the administrator use to revert the system configuration to the default settings? ___
A. Reset System Configuration
B. Rebuild Default System Configuration
C. Revert System Configuration
D. Renew Default System Configuration
【单选题】
An administrator has just completed installing an ESXi 6.x host, but doesn't know what address has been configured. Where is the ESXi host IP address configured? ___
A. RVC console
B. Direct Console User Interface
C. vSphere Web Client
D. vSphere Client
【单选题】
When is it possible to place a VMFS5 datastore in maintenance mode? ___
A. When it is a member of a Storage DRS cluster
B. When it is a member of Virtual SAN cluster
C. When it is a member of a multi-extent datastore
D. When it is a member of a Virtual Volume
【单选题】
Immediately after installing ESXi, an administrator observes that the Configure Lockdown Mode option is grayed out in the Direct Console User Interface (DCUI). What is the most likely explanation? ___
A. The host has not yet been added to a vCenter Server.
B. The BIOS on the host does not have NX/XD enabled.
C. The ESXi host is running in evaluation mode.
D. The host requires a reboot before this feature is available.
【单选题】
Immediately after installing ESXi, an administrator observes that the Configure Lockdown Mode option is grayed out in the Direct Console User Interface (DCUI). What is the most likely explanation? ___
A. The host has not yet been added to a vCenter Server.
B. The BIOS on the host does not have NX/XD enabled.
C. The ESXi host is running in evaluation mode.
D. The host requires a reboot before this feature is available.
【单选题】
Which Single Sign-On deployment mode should an administrator use for two 6.x vCenter Servers configured with linked mode? ___
A. Basic Single Sign-On with vCenter Server Heartbeat
B. Multisite Single Sign-On
C. Basic Single Sign-On
D. Single Sign-On with Linked Mode
【单选题】
What is required when changing a virtual machine name using the vSphere Web Client? ___
A. Verify connectivity to the ESXi host where the virtual machine is running and its inventory list is accessible.
B. Verify in which datastore the virtual machine resides and that you have access and its inventory list is accessible.
C. Verify that virtual machine files are stored in the same datastore and can be accessed in the datastore browser list.
D. Verify the virtual machine is not running in Fault Tolerant mode and that it is not in a Distributed Resource Scheduler cluster.
【单选题】
An administrator deploys vRealize Operations into a vSphere 6.x environment. After the deployment, the administrator notices that badges are not appearing. What is a likely cause of this behavior? ___
A. Badges do not appear until you register vRealize Operations with vCenter Server.
B. Badges do not appear until you register a vCenter Server in vRealize Operations.
C. The vRealize Operations appliance needs to be redeployed.
D. The vCenter Server appliance needs to be redeployed.
【单选题】
How are ports scaled on vSphere Standard Switches (vSS)? ___
A. Ports on a vSS can be dynamically scaled up and down.
B. Ports on a vSS can only be statically scaled up or down.
C. Ports on a vSS can only be dynamically scaled down.
D. Ports on a vSS can only be dynamically scaled up.
【单选题】
A High Availability (HA) cluster is configured to respond to a given number of host failures. The cluster contains virtual machines configured with these settings: VM1 has a 1GHz CPU reservation and no Memory reservation VM2 has a 2GHz CPU reservation and no Memory reservation VM3 has no CPU reservation and no Memory reservation . Given this information, what is the correct slot size for the cluster? ___
A. The CPU Reservation should be set to 32MHz and the memory reservation should be set to 32MB plus memory overhead.
B. The CPU reservation should be set to 1 GHz and the memory reservation should be set to 0MB plus memory overhead.
C. The CPU reservation should be set to 2 GHz, and the memory reservation should be set to 0MB plus the virtual machine memory overhead.
D. The CPU reservation should be set to 2 GHz, and the memory reservation should be set to 32MB, plus the virtual machine memory overhead.
【单选题】
An administrator is planning a vSphere infrastructure with the following specific networking requirements: <The ability to shape inbound (RX) traffic> <Support for Private VLANs (PVLANs)> <Support for LLDP (Link Layer Discovery Protocol)>. What is the minimum vSphere Edition that will support these requirements? ___
A. vSphere Essentials Plus
B. vSphere Standard
C. vSphere Enterprise
D. vSphere
E. nterprise Plus
【单选题】
When you add an ESXi 6.x host to a new Cluster, which vSphere object owns the CPU and Memory resources of the hosts? ___
A. vCenter Server
B. Datacenter
C. Cluster
D. Host
【单选题】
A user is trying to retrieve objects from a SharePoint server and finds the request is taking an excessive amount of time. An administrator tries to isolate the issue and notes the following: Application performance is poor when compared to virtual machines on other hosts. Performance improves when the virtual machine is moved to another host. The virtual machine encounters higher than expected CPU %Ready times. What conclusion can be reached regarding the performance issues for this virtual machine? ___
A. Host Power Management is directly impacting virtual machine performance.
B. The virtual machine has a large number of snapshots.
C. The Path Selection Policy for the storage device is set differently on the affected host.
D. Network I/O control is configured for the portgroup.
【单选题】
A virtual machine template is accidently removed from the vCenter Server Inventory. Which method would be used to recover the template back into the environment?___
A. Use the datastore browser to locate the template, then right click and add the .vmtx file to inventory.
B. Use the datastore browser to locate the template, then right click and add the .vmx file to inventory.
C. Using the Managed Object Browser and adding the template from the ManagedObjectReference:GuestFileManager object.
D. Using the Managed Object Browser and adding the template from the ManagedObjectReference:VirtualDiskManager object.
【单选题】
A vSphere administrator needs to backup a virtual machine that has a Microsoft SQL Server Database installed. Which solution allows for an application quiesce to occur during backup?___
A. VMware vCenter Converter
B. VMware vCenter Site Recovery Manager
C. VMware vSphere Replication
D. VMware vSphere Data Protection Advanced
【单选题】
An administrator is migrating a virtual machine from a Test cluster to a Production cluster. The two environments do not have any shared storage. What is the easiest way to accomplish this task? ___
A. Perform a Storage vMotion.
B. Perform a regular vMotion.
C. Perform a Virtual to Virtual migration.
D. Perform a backup and restore using VMware Data Protection.
【单选题】
An administrator must determine an appropriate backup solution, given these conditions: 50 of the virtual machines are in a resource pool named Finance. 50 of the virtual machines are in a resource pool named QA. Which solution allows an administrator the ability to backup 100 virtual machines? ___
A. Use Snapshot Manager on the vCenter Server to backup the virtual machines.
B. Use the VMware Consolidated Backup (vcb) tool on the ESXi Host to backup the virtual machines.
C. Use the VMware Data Recovery (VDR) Appliance on the vCenter Server to backup the virtual machines.
D. Use the VMware Data Protection (VDP) Appliance on one of the
E. SXi Hosts to backup the virtual machines.
【单选题】
What is a benefit of using Enhanced vMotion Compatibility for an environment? ___
A. EVC masks CPU features to allow compatibility between hosts that are dissimilar.
B. EVC allows for cross platform vMotion to occur.
C. EVC enables Long
D. istance vMotion.
【单选题】
How many Link Aggregation Groups (LAGs) can be configured on a vSphere 6.x Distributed Switch? ___
A. 64
B. 96
C. 128
D. 256
【单选题】
How many Link Aggregation Groups (LAGs) can be configured on a vSphere 6.x Distributed Switch? ___
A. 64
B. 96
C. 128
D. 256
【单选题】
An administrator needs to verify that vMotion operations can be performed in a vSphere data center.What round trip time (RTT) latency is the maximum value that will allow vMotion operations to succeed? ___
A. 50ms RTT
B. 100ms RTT
C. 150ms RTT
D. 200ms RTT
推荐试题
【多选题】
某新建矿山项目在安全设施未经验收合格的情况下即投入生产。根据《安全生产法》,负有安全监管职责的部门对该项目建设单位和相关人员可以实施的处罚有___。
A. 责令停产停业整顿,限期改正
B. 警告
C. 建设单位逾期未改正的,对建设单位处 50 万元以上 100 万元以下的罚款
D. 建设单位逾期未改正的,对相关责任人员处 2 万元以上 5 万元以下的罚款
E. 吊销安全生产许可证
【多选题】
根据《安全生产培训管理办法》,___的机构应当将教师、教学和实习实训设施等情况报告所在地安全监管部门。
A. 从事危险化学品生产单位主要负责人安全培训
B. 从事金属冶炼企业的安全生产管理人员安全培训
C. 从事矿山起重作业的特种作业人员安全培训
D. 从事危险化学品使用单位主要负责人安全培训
E. 从事注册安全工程师安全培训
【多选题】
根据《生产安全事故报告和调查处理条例》,下列生产安全事故等级的判定中,正确的有___
A. 某建筑公司发生坍塌事故,造成 1000 万元经济损失,属于一般事故
B. 某煤矿发生透水事故,造成 12 人死亡,属于重大事故
C. 某市政公司发生中毒室息事故,造成 58 人重伤,属于较大事故
D. 某化工厂发生爆炸事故,造成 35 人死亡,属于特别重大事故
E. 某制衣厂发生火灾,造成 3 人死亡,属于较大事故
【多选题】
根据《道路交通安全法》,关于道路通行条件的说法,正确的有___。
A. 因工程建设需要占用、挖据道路,影响交通安全的,应当征得公安机关交通管理部门的同意
B. 穿越道路架设、增设管线设施,应当征得道路主管部门的同意
C. 道路两侧及隔离带上种植的树木或者其他植物,不得遮挡交通信号灯、交通标志
D. 铁路与道路平面交叉的道口,应当设置警示灯、警示标志或者安全防护设施
E. 道路出现坍塌,公安机关交通管理部门应当及时修复
【多选题】
根据《国务院关于预防煤矿生产安全事故的特别规定》,关于关闭煤矿的说法,正确的有___
A. 停产整顿期间,擅自从事生产的煤矿,应予以关闭
B. 经整顿验收不合格的煤矿,应予以关闭
C. 证照不全从事生产的煤矿,应予以关闭
D. 对 6 个月内 2 次或者 2 次以上发现有重大安全生产隐患的煤矿,应予以关闭
E. 对 1 个月内 3 次或者 3 次以上发现未依照国家有关规定对井下作业人员进行安全生产教育和培训或者特种作业人员无证上岗的煤矿,应予以关闭
【多选题】
根据《行政处罚法》,可以从轻或者减轻处罚的情形有___。
A. 不满 14 周岁的人有违法行为的
B. 主动消除或者减轻违法行为危害后果的
C. 受他人胁迫有违法行为的
D. 配合行政机关查处违法行为有立功表现的
E. 违法行为轻微并及时纠正,没有造成危害后果的
【多选题】
根据《注册安全工程师管理规定》,下列注册安全工程师的配备中,符合规定的有___
A. 某煤矿企业有 600 人,配备安全生产管理人员 20 人,其中注册安全工程师 2 人
B. 某安全评价机构有 20 名安全评价人员,其中有 3 名注册安全工程师
C. 某化工企业有 1000 人,配备安全生产管理人员 30 人,其中注册安全工程师 6 人
D. 某机械制造企业未配备注册安全工程师,但委托安全生产中介机构的注册安全工程师提供安全生产服务
E. 某制衣厂有 85 人,配备 1 名注册安全工程师
【多选题】
根据《危险化学品安全管理条例》,危险化学品道路运输企业、水路运输企业中___交通部门考核合格取得从业资格。
A. 驾驶人员、船员
B. 装卸管理人员
C. 押运人员
D. 申报人员
E. 运输车辆、船舶维修人员
【多选题】
根据《危险化学品重大危险源监督管理暂行规定》,关于危险化学品重大危险源安全管理的说法,正确的有___。
A. 重大危险源的化工生产装置,应当装备满足安全生产要求的自动化控制系统
B. 重大危险源中储存剧毒物质的场所或者设施,应当设置视频监控系统
C. 重大危险源安全评估报告完成后,应当在 30 日内向地方安全监管部门报告
D. 重大危险源涉及剧毒气体,应当配备两套以上气密型化学防护服
E. 重大危险源出现重大变化,危险化学品单位应当及时更新档案
【多选题】
根据《工贸企业有限空间作业安全管理与监督暂行规定》,关于有限空间作业安全保障的说法,正确的有___。
A. 存在有限空间作业的工贸企业必须建立有限空间作业审批制度
B. 有限空间作业必须遵循“先检测、再通风、后作业”的程序
C. 存在有限空间作业的工贸企业应当对本企业有限空间进行辨识,建立管理台账并及时更新
D. 有限空间作业应当采用纯氧通风换气,保持空气流通
E. 有限空间作业中断超过 30 分钟的,应当重新检测有限空间,合格后方可进入
【多选题】
根据《危险化学品输送管道安全管理规定》,施工单位实施___的作业,应当在开工前履行通知程序,与管道单位共同制定应急预案并采取相应的安全防护措施,管道单位应当指派专人到现场进行管道安全保护指导。
A. 在管道附属设施上方架设通信线路
B. 穿越管道施工
C. 在管道线路中心线一侧 30 米处扩建公路
D. 在管道线路中心线一侧 30 米处设置避雷接地体
E. 在管道附属设施周边 300 米处爆破
【多选题】
根据《特种设备安全法》,关于特种设备的说法,正确的有___。
A. 特种设备使用单位可以在特种设备投入使用后三十日内,向负责特种设备安全监管的部门办理使用登记,取得使用登记证书
B. 特种设备使用单位应当使用取得许可生产并经检验合格的特种设备
C. 进口特种设备,应当向使用地负责特种设备安全监管的部门履行提前告知义务
D. 达到设计使用年限的特种设备即使按照安全技术规范要求检验或评估合格,也必须强制报废
E. 特种设备出厂时,应当随附安全技术要求的设计文件等相关技术资料和文件
【单选题】
在数据结构的讨论中把数据结构从逻辑上分为___
A. 内部结构与外部结构
B. 静态结构与动态结构
C. 线性结构与非线性结构
D. 紧凑结构与非紧凑结构
【单选题】
不是数据的逻辑结构是___
A. 散列结构
B. 线性结构
C. 树结构
D. 图结构
【单选题】
设数据结构A=(D,R),其中D={1,2,3,4},R={r},r={<1,2>,<2,3>,<3,4>},则数据结构A是___
A. 线性结构
B. 树型结构
C. 图型结构
D. 集合
【单选题】
线性表的顺序存储结构是一种________的存储结构.___
A. 随机存取
B. 顺序存取
C. 索引存取
D. 散列存取
【单选题】
线性表的链式存储结构是一种 的存储结构.___
A. 随机存取
B. 顺序存取
C. 索引存取
D. 散列存取
【单选题】
下列叙述中属于顺序存储结构的优点的是___
A. 删除运算方便
B. 插入运算方便
C. 存储密度大
D. 可以方便地用于各种逻辑结构的存储表示
【单选题】
一算法的执行时间函数为10n4-12n+1,则其时间复杂度是___。
A. O(1)
B. O(n)
C. O(n4)
D. O(log2n)
【单选题】
数据结构是指___。
A. 一种数据类型
B. 数据的存储结构
C. 一组性质相同的数据元素的集合
D. 相互之间存在一种或多种特定关系的数据元素的集合
【单选题】
链表不具有的特点是___.
A. 可随机访问任一元素
B. 插入删除不需要移动元素
C. 不必事先估计存储空间
D. 所需空间与线性表长度成正比
【单选题】
在一个长度为n的顺序表的任一位置插入一个新元素的渐进时间复杂度为___。
A. O(n)
B. O(log2n)
C. O(1)
D. O(n2)
【单选题】
带头结点的单链表first为空的判定条件是 ___
A. first == NULL
B. first->next == NULL
C. first->next == first
D. first != NULL
【单选题】
在一个单链表中,若删除p所指结点的后续结点,则执行___
A. p—>next= p—>next—>next;
B. p= p—>next; p—>next= p—>next—>next;
C. p—>next= p—>next
D. p= p—>next—>next;
【单选题】
在一个单链表中,若p所指结点不是最后结点,在p之后插入s所指结点,则执行___
A. s—>next=p; p—>next=s
B. s—>next=p—>next; p—>next=s
C. s—>next=p—>next; p=s
D. p—>next=s; s—>next=p
【单选题】
在一个单链表中,若q所指结点是p所指结点的前驱结点,若在q与p之间插入一个s所指的结点,则执行 ___
A. s→next=p→next; p→next=s
B. p→next=s; s→next=q
C. p→next=s→next; s→next=p
D. q→next=s; s→next=p
【单选题】
线性表是具有n个______的有限序列(n≠0)___
A. 表元素
B. 字符
C. 数据元素
D. 数据项
【单选题】
采用线性链表表示一个向量时,要求占用的存储空间地址___。
A. 必须是连续的
B. 部分地址必须是连续的
C. 一定是不连续的
D. 可连续可不连续
【单选题】
下面关于线性表的叙述错误的是___。
A. 线性表采用顺序存储必须占用一片连续的存储空间
B. 线性表采用链式存储不必占用一片连续的存储空间
C. 线性表采用链式存储便于插入和删除操作的实现
D. 线性表采用顺序存储便于插入和删除操作的实现
【单选题】
在一个长度为n 的顺序表中,向第i个元素(1≤i≤n+1)之前插入一个新元素时,需要向后移动________个元素。___
A. n-i
B. n-i+1
C. n-i-1
D. i
【单选题】
设一个链表最常用的操作是在末尾插入结点和删除尾结点,则选用___最节省时间。
A. 单链表
B. 单循环链表
C. 带尾指针的单循环链表
D. 带头结点的双循环链表
【单选题】
静态链表中指针表示的是___。
A. 内存地址
B. 数组下标
C. 下一元素地址
D. 左、右孩子地址
【单选题】
链表不具有的特点是___。
A. 插入、删除不需要移动元素
B. 可随机访问任一元素
【单选题】
用带头结点的单链表表示的链式队列的队头在链表的___位置。
A. 链头
B. 链尾
C. 链中
D. 第2个结点
【单选题】
顺序表和链表相比存储密度较大,这是因为 ___。
A. 顺序表的存储空间是预先分配的
B. 顺序表不需要增加指针来表示元素之间的逻辑关系
C. 链表中所有节点的地址是不连续的
D. 顺序表中所有元素的存储地址是连续的
【单选题】
判定一个循环队列Q(最多有MAXQSIZE个元素空间)为空的条件为 ___
A. Q.front==Q.rear
B. Q.front!=Q.rear
C. Q.front==(Q.rear+1)%MAXQSIZE
D. Q.front!=(Q.rear+1)%MAXQSIZE
【单选题】
判定一个循环队列Q(最多有MAXQSIZE个元素空间)为满的条件 ___
A. Q->front==Q->rear
B. Q->front!=Q->rear
C. Q->front==(Q->rear+1)%MAXQSIZE
D. Q->front!=(Q->rear+1)%MAXQSIZE
【单选题】
在循环队列中用数组A[0..m-1] 存放队列元素,其队头和队尾指针分别为front和rear,则当前队列中的元素个数是___
A. ( front - rear + 1) % m
B. ( rear - front + 1) % m
C. ( front - rear + m) % m
D. ( rear - front + m) % m
【单选题】
栈和队列的共同点是 ___
A. 都是先进后出
B. 都是先进先出
C. 只允许在端点处插入和删除元素
D. 没有共同点
【单选题】
栈操作的特点是 ___
A. 只能进行插入
B. 只能进行删除
C. 先进先出
D. 先进后出