刷题
导入试题
【单选题】
若变量已正确定义为 int 型,要给 a、 b、 c 输入数据,正确的输入语句是___
A. read(a,b,c)
B. scanf("%d %d %d",a,b,c)
C. scanf("%D%D%D",&a,&b,&c)
D. scanf("%d%d%d",&a,&b,&c)
查看试卷,进入试卷练习
微信扫一扫,开始刷题
答案
D
解析
暂无解析
相关试题
【单选题】
执行后的输出结果是___。
A. 0
B. 1/2
C. 0.5
D. 1
【单选题】
每个C语句和数据声明的最后必须有一个___
A. “”
B.
C. ‘ ’
D. \
【单选题】
C语言中字符串常量是由一对___起来的若干字符序列(写汉字)
A. “ ”
B.
C. ‘ ’
D. \
【单选题】
一个循环体内又包含另一个完整的循环结构,称为___
A. 循环递归
B. 循环终止
C. 死循环
D. 循环的嵌套
【单选题】
在循环结构中用___语句提前结束本次循环
A. default
B. break
C. continue
D. switch
【单选题】
如果有一个数组s[5],那么此数组的第一个元素是:___
A. s[1]
B. s[0]
C. s[5]
D. s[2]
【单选题】
二维数组s[4][5]共有20个元素,那么第5个元素是___
A. s[1][5]
B. s[0][4]
C. s[5][5]
D. s[0][5]
【单选题】
如果有定义:int w=4,x=3,y=2,z=1;则表达式w<x?w:z<y?z:x的结果为___
A. 1
B. 1/2
C. 0.5
D. 2
【判断题】
C程序是由函数构成的,每一个函数完成相对独立的功能。
A. 对
B. 错
【判断题】
被main函数调用的函数只能是库函数。
A. 对
B. 错
【判断题】
在C源程序中,之间的注释信息也被编译,但对程序运行结果不发生影响。
A. 对
B. 错
【判断题】
在C语言中,字母的大小写不被区分。
A. 对
B. 错
【判断题】
对C语言中用到的任何一个变量都要先定义其类型再使用。
A. 对
B. 错
【判断题】
字符型数据和整数之间是不可以通用的。
A. 对
B. 错
【判断题】
字符常数和字符串常数的存储是相同的,都是以字符的ASCLL码值进行存放。
A. 对
B. 错
【判断题】
C语言中的标识符以字母或下划线开头,可跟任何字符。
A. 对
B. 错
【判断题】
条件运算符“?:”的优先级高于赋值运算符。
A. 对
B. 错
【判断题】
C程序中的一个变量可以被定义为两个或多个不同的类型。
A. 对
B. 错
【判断题】
转义字符是一种常量。
A. 对
B. 错
【判断题】
赋值语句是一种表达式语句。
A. 对
B. 错
【判断题】
复合语句是由多条语句组成的,因此它不是一条语句。
A. 对
B. 错
【判断题】
return后面括号里的表达式的值即是此函数的值。
A. 对
B. 错
【判断题】
任何数组在使用时必须先定义。
A. 对
B. 错
【判断题】
指针就是地址,因此一个变量的指针就是该变量的地址。
A. 对
B. 错
【判断题】
只有在函数被调用时,其形式参数才临时地占有存储空间。
A. 对
B. 错
【判断题】
变量根据其作用域的范围可以分作局部变量和全局变量。
A. 对
B. 错
【判断题】
while和do…while循环不论什么条件下它们的结果都是相同的。
A. 对
B. 错
【判断题】
语句x*=y+8 等价于 x=x*(y+8)。
A. 对
B. 错
【判断题】
C语言中"%"运算符的运算对象必须是整型。
A. 对
B. 错
【判断题】
关系运算符<= 与 == 的优先级相同。
A. 对
B. 错
【判断题】
表达式 (j=3, j++) 的值是4。
A. 对
B. 错
【判断题】
循环结构中的continue语句是使整个循环终止执行。
A. 对
B. 错
【判断题】
标准函数scanf()可以从键盘上接受不同数据类型的数据项。
A. 对
B. 错
【判断题】
在if语句的三种形式中,如果要想在满足条件时执行一组多个语句,则必须把这一组语句用{}括起来组成一个复合语句。
A. 对
B. 错
【判断题】
case语句后如没有break语句,顺序向下执行。
A. 对
B. 错
【判断题】
do-while循环至少要执行一次循环语句
A. 对
B. 错
【判断题】
函数的实参可以是常量,变量或表达式。
A. 对
B. 错
【判断题】
下划线是标示符中的合法字符。
A. 对
B. 错
【判断题】
预处理命令的前面必须加一个“#”号。
A. 对
B. 错
【判断题】
可以从键盘上接收不同数据类型的数据项。
A. 对
B. 错
推荐试题
【单选题】
A vSphere administrator wants to enable a virtual machine with Secure Boot, but in VM setting, Secure Boot option was not found under Boot Options. What could be the cause?___
A. The virtual hardware is not compatible.
B. The virtual machine has missing drivers.
C. The virtual machine OS does not support secure boot.
D. VMware Tools is not upgraded.
【单选题】
A virtual machine is connected on a distributed port group where the average bandwidth configured in the traffic shaping policy is 100 Mbps. The VM network adapter is configured with a reservation of 200 Mbps. What is the VM’s effective bandwidth?___
A. 200 Mbps
B. 100 Mbps
C. 150 Mbps
D. 400 Mbps
【多选题】
What are two reasons why a datastore in a Storage DRS cluster cannot enter maintenance mode?(Choose two.)___
A. Storage latency is too high to allow Storage DRS initiate Storage vMotion.
B. Storage DRS is configured for a VMFS3 datastore.
C. Storage
D. RS is disabled on the virtual disk.
【多选题】
What two methods are used to configure VMware vSphere Storage I/O Control shares and limits? (Choose two.)___
A. Assign shares and limits to VM virtual disks.
B. Assign shares and limits to datastores.
C. Assign shares and limits to Storage (DRS) clusters.
D. Assign shares and limits using VM storage policies.
【多选题】
ESXi 6.5 introduces VMFS6, which supports both 512e and 512n devices. What three configurations are supported when using these devices? (Choose three.) ___
A. Hosts with both 512e and 512n devices.
B. Storage vMotion between both 512e and 512n devices.
C. Datastore Extents spanned between both 512e and 512n devices.
D. Storage DRS clusters containing only both 512e and 512n devices.
【多选题】
A vSphere Administrator observes that the Primary VM configured with Fault Tolerance is executing slowly. After further investigation, it is determined that the Secondary VM is on an overcommitted ESXi host. What two methods will correct the problem? (Choose two.)___
A. Use Storage vMotion to migrate the Secondary VM to another datastore.
B. Use vMotion to migrate the Secondary VM to a different ESXi host.
C. Configure a CPU limit on the Primary VM which will also apply to the Secondary VM.
D. Turn off and turn on FT in order to recreate the Secondary VM on a different datastore.
【多选题】
Which two features require the use of Host Profiles? (Choose two.)___
A. Host Customizations
B. shared storage
C. Auto
D. eploy
【多选题】
What three processes on the vCenter Server Appliance (VCSA) does“vmware-watchdog monitor? (Choose three.) ___
A. vmware-eam
B. vmcad
C. vmware-vpostgres
D. vpxd
E. vsan-health
【多选题】
What three processes on the vCenter Server Appliance (VCSA) does“vmware-watchdog monitor? (Choose three.) ___
A. vmware-eam
B. vmcad
C. vmware-vpostgres
D. vpxd
E. vsan-health
【多选题】
Which two statements correctly describe VM-Host affinity rules? (Choose two.) ___
A. When there is more than one VM-Host affinity rule in a vSphere DRS cluster, the rules are applied equally.
B. After creating a VM-Host affinity rule, its ability to function in relation to other rules is predetermined.
C. When there is more than one VM-Host affinity rule in a vSphere
D. RS cluster, the rules will be ranked.
【多选题】
An administrator wants to enable proactive HA by moving virtual machines automatically if a hardware alert is triggered. What are the three required settings? (Choose three.)___
A. Set vSphere DRS Automation to Partially Automated.
B. Turn on Proactive HA.
C. Set the Proactive HA Automation Level to Manual.
D. Set the Proactive HA Automation Level to Automated.
E. Turn on vSphere HA and vSphere DRS.
【多选题】
If vCenter Server 5.5 installation has one or more services deployed remotely, which three services are relocated to vCenter Server 6.5 on upgrade? (Choose three.)___
A. vCenter Inventory Services
B. vSphere Authentication Proxy
C. vSphere Web Client
D. vSphere
E. SXi Dump Collector
【多选题】
What two debugging levels can a virtual machine be configured to? (Choose two.)___
A. Verbose
B. Debugging
C. Statistics
D. Trivia
【多选题】
What are three benefits of using a few large-capacity LUNs instead of many small-capacity LUNs? (Choose three.) ___
A. Better performance because there is less contention for a single volume.
B. More flexibility for resizing virtual disks.
C. Less wasted storage space.
D. More flexibility to create virtual machines without adding new LUNs.
E. Fewer VMFS datastores to manage.
【多选题】
Which two configurable options are available in Boot Options for a virtual machine? (Choose two.)___
A. Tools Upgrades
B. Encryption
C. Firmware
D. Force BIOS setup
【多选题】
Which three VMware-recommended best practices should an administrator follow before upgrading to vSphere 6.5? (Choose three.)___
A. Disconnect ESXi host from vCenter.
B. VMware Tools are installed in the virtual machine.
C. Ensure that the system hardware complies with ESXi requirements.
D. Back up the host.
E. Check the interoperability of any other software integrated with vSphere.
【多选题】
What are two requirements to enable EVC in vSphere DRS cluster? (Choose two.)___
A. CPUs must be from the same vendor.
B. EVC must use the lowest possible baseline supported by the hardware.
C. CPUs must be in the same family and of the same speed.
D. No VMs may be running in the cluster.
【多选题】
What three conditions could result in VMware Flash Read Cache being unable to claim a disk? (Choose three.)___
A. The disk is not listed in the VMware hardware compatibility guide.
B. The disk is not detected as an SSD.
C. The disk is not detected as local.
D. The disk is in use by VMFs.
【多选题】
Boot from SAN is supported on which three storage technologies? (Choose three.)___
A. VMware vSAN
B. FCoE
C. NFS 4.1
D. iSCSI
E. FC
【多选题】
Which two components are part of storage I/O multipathing on ESXi? (Choose two.)___
A. SATP
B. VASA
C. PSP
D. VAAI
【多选题】
Which two statements are true about Highly Available vSphere Auto Deploy infrastructure? (Choose two.)___
A. It helps prevent data loss.
B. It is a prerequisite for using vSphere Auto Deploy with stateful install.
C. It requires two or more Auto
D. eploy servers.
【多选题】
The virtual machine log rotation size can be changed for all VMs by which two interfaces? (Choose two.)___
A. PowerCLI
B. vSphere Web Client
C. ESXi host client
D. esxcli
【多选题】
Which two configuration options can exclude virtual disks from snapshot operations? (Choose two.)___
A. Use RDM in virtual mode for virtual disk.
B. Use virtual disks in Independent – Persistent mode.
C. Use a virtual disk larger than 2 TB in size.
D. Use RDM in physical mode for virtual disk.
【多选题】
Which two storage configurations on the source server are unsupported with VMware Converter? (Choose two.)___
A. Linux LVM
B. software RAID
C. GPT/MBR hybrid disks
D. Windows basic volumes
E. Windows dynamic volumes
【多选题】
Which two statements about vCenter HA are correct? (Choose two.)___
A. ESXi 5.5 or later is required.
B. vCenter HA network latency between nodes must be less than 50 ms.
C. NFS datastore is supported.
D. It must be deployed on a 3
E. SXi host cluster with DRS enabled.
【多选题】
An attempt to delete NFS datastore from a ESXi host returns the error: Sysinfo error on operation returned the following status:< Busy> Which two statements could explain this failure? (Choose two.)___
A. NFS datastore is a part of Storage DRS Cluster.
B. NFS.VolumeRemountFrequency value is set to 30.
C. Storage I/O Control is enabled on NFS datastore.
D. NFS datastore has running or registered virtual machines.
【多选题】
An administrator finds that the Microsoft Exchange virtual machines are exhibiting network latency. What two in-guest changes can help decrease latency? (Choose two.)___
A. LRO
B. TSO
C. SR-IOV
D. PVRDMA
【多选题】
Which two types of iSCSI adapters require VMkernel networking configuration? (Choose two.)___
A. dependent hardware
B. in-guest
C. software
D. independent hardware
【多选题】
Which two statements are true for NFS v4.1 firewall behavior? (Choose two.)___
A. It closes port 2049.
B. It sets allowed. All flag to TRUE.
C. It sets allowed. All flag to FALSE.
D. It opens port 2049.
【多选题】
A vSphere Administrator attempts to enable Fault Tolerance for a virtual machine but receives the following error: Secondary VM could not be powered on as there are no compatible hosts that can accommodate it. What two options could cause this error? (Choose two.)___
A. The other ESXi host(s) are in Maintenance Mode.
B. Hardware virtualization is not enabled on the other ESXi host(s).
C. The other ESXi host(s) are in Quarantine Mode.
D. Hardware MMU is enabled on the other
E. SXi host(s).
【多选题】
Storage capabilities be populated in what two ways? (Choose two.)___
A. The administrator can use tags to describe capabilities.
B. Default capabilities are provided by vCenter Server.
C. Datastores can advertise their capabilities through VAAI.
D. Datastores can advertise their capabilities through VASA.
【多选题】
In network troubleshooting it is important to know what upstream switch the ESXi host is connected to. Which two features does ESXi provide to help identify the upstream switch? (Choose two.)___
A. Promiscuous mode
B. DPM
C. LLDP
D. CDP
【多选题】
Virtual Volumes supports which three VMware features? (Choose three.)___
A. Instant Clones
B. Distributed Resource Scheduler
C. Linked Clones
D. vMotion
E. Storage Distributed Resource Scheduler
【多选题】
vSphere DRS helps to balance virtual machines with available resources in a vSphere cluster. What three types of resources can be taken into account for balancing? (Choose three.)___
A. CPU
B. physical NIC saturation of an ESXi host
C. virtual NIC saturation of a virtual machine
D. RAM
E. storage latency
【多选题】
Which three design requirements must be satisfied to enable RAID-6 objects in a VMware vSAN cluster? (Choose three.)___
A. vSAN Advanced license or higher
B. vSAN stretched cluster
C. at least six hosts contributing storage
D. deduplication and compression
E. all flash configuration
【多选题】
When using "Cluster resource percentage" for host failover capacity in vSphere HA Admission Control, the total resource requirements are calculated from which two values? (Choose two.)___
A. Total vCPUs assigned to each VM.
B. Average CPU usage on each VM over time.
C. Memory reservations on each VM.
D. Total memory assigned to each VM.
E. Average active memory on each VM over time.
F. CPU reservations on each VM.
【多选题】
Which are four attributes of the Active vCenter HA node? (Choose four)___
A. It uses the vCenter HA network to communicate with the Witness node.
B. It constantly replicates vPostgres data with the Witness node.
C. It uses a public IP address for the management interface.
D. It runs the active vCenter Server Appliance instance.
E. It uses the vCenter HA network for replication of data to the Passive node.
F. It provides a quorum to protect against split-brain situations.
【多选题】
Which are two vCenter Server two-factor authentication methods? (Choose two.)___
A. RSA SecurID
B. Smart Card
C. SAML
D. Symantec VIP
【多选题】
An administrator is creating VMkernel adapters on an ESXi 6.5 host and wants to create separate VMkernel adapters for every type of traffic in the default TCP/IP stack. Which three types of traffic can be explicitly enabled on a separate VMkernel adapter? (Choose three.)___
A. Virtual SAN traffic
B. NFS traffic
C. vMotion traffic
D. vSphere HA traffic
E. Fault Tolerance logging traffic
【多选题】
When migrating a Windows vCenter Server 6.0 to the vCenter Server Appliance 6.5, which two will be migrated by default? (Choose two.)___
A. Local Windows OS users and groups
B. Configuration
C. Custom ports
D. FQDN
E. Historical and Performance data
欢迎使用我爱刷题
×
微信搜索我爱刷题小程序
温馨提示
×
请在电脑上登陆“www.woaishuati.com”使用