网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
单选题
Which of the following assignment is not correct?()
A

 float f = 11.1;

B

 double d = 5.3E12;

C

 double d = 3.14159;

D

 double d = 3.14;.


参考答案

参考解析
解析: 浮点数的赋值是带有小数点的数字缺省是double型的,如果在浮点数后面加f或者F则是float,后面加d或者D则是double,科学计数法形式的浮点数也是double型的,而double的精度比float高,将一个高精度的double赋值给一个低精度的float时需要进行强制类型转换,反之则不需要。
更多 “单选题Which of the following assignment is not correct?()A  float f = 11.1;B  double d = 5.3E12;C  double d = 3.14159;D  double d = 3.14;.” 相关考题
考题 Which of the following is not correct? ()AIt is useless to complain.BIt is useless complaining.CComplaining is useless.DIt is useless of complaining.

考题 Which of the following assignment is not correct?()         A、 float f = 11.1;B、 double d = 5.3E12;C、 double d = 3.14159;D、 double d = 3.14;.

考题 An administrator is adding memory to a server. Once the system boots up, the same amount of memory appears as before the upgrade. Which of the following is the MOST likely cause?()A、The memory is not the correct CAS latency.B、The memory is not installed in the correct slot.C、The memory does not have the correct timing.D、The memory is not the correct speed.

考题 Which of the following is the correct term for a virtual machine?()A、 HypervisorB、 Guest OSC、 Virtual CenterD、 Host OS

考题 An administrator has a rack server that is 5.25 inches (13.3 cm) tall, which of the following is the correct U size for this server?()A、 OneB、 ThreeC、 FourD、 Five

考题 An administrator has a rack server that is 3.5 inches (8.9 cm) tall. Which of the following is the correct U size for this server?()A、OneB、TwoC、ThreeD、Five

考题 A user reports that they are unable to print to a remote printer. Which of the following should the technician check FIRST?()A、Printer driverB、Protocol stackC、Network connectivityD、Correct patch application

考题 An administrator runs clstat on a cluster node and receives the following response: ’Can not get  Cluster Information.’ Which of the following daemons may need to be started in order to correct this problem?()A、 topsvcsB、 clinfoESC、 snmpinfoD、 clsmuxpdES

考题 A system administrator decides to review the system error log after installing new hardware. Which of the following is the correct command to use?()A、errptB、syslogC、prtdiagD、errlogger

考题 单选题Which of the following is the correct term for a virtual machine?()A  HypervisorB  Guest OSC  Virtual CenterD  Host OS

考题 单选题An administrator runs clstat on a cluster node and receives the following response: ’Can not get  Cluster Information.’ Which of the following daemons may need to be started in order to correct this problem?()A  topsvcsB  clinfoESC  snmpinfoD  clsmuxpdES

考题 单选题Which of the following assignment is not correct?()A  float f = 11.1;B  double d = 5.3E12;C  double d = 3.14159;D  double d = 3.14;.

考题 单选题I saw a ship stop at a(). Which of the following is not correct?A deckB harbourC pierD port

考题 单选题An administrator is adding memory to a server. Once the system boots up, the same amount of memory appears as before the upgrade. Which of the following is the MOST likely cause?()A  The memory is not the correct CAS latency.B  The memory is not installed in the correct slot.C  The memory does not have the correct timing.D  The memory is not the correct speed.

考题 单选题A technician needs to upgrade the memory in a laptop. Which of the following memory typeswould be the correct type?()A RIMMB DDR RAMC SDRAMD SODIMM

考题 单选题Which of the following statements is correct concerning the “flash point ” of a liquid?()A It is lower than the ignition temperatureB It is the temperature at which a substance will spontaneously igniteC It is the temperature at which a substance, when ignited, will continue to bumD It is the temperature at which the released vapors will fall within the explosive range

考题 单选题I think they are() Which of the following is not correct?A BritonB BritishC EnglishD Englishmen