多选题Use the operators "", which statements are true? ()A0000 0100 0000 0000 0000 0000 0000 00005 gives 1000 0000 0000 0000 0000 0000 0000 0000B0000 0100 0000 0000 0000 0000 0000 00005 gives 1111 1100 0000 0000 0000 0000 0000 0000C1100 0000 0000 0000 0000 0000 0000 00005 gives 1111 1110 0000 0000 0000 0000 0000 0000D1100 0000 0000 0000 0000 0000 0000 00005 gives 0000 0110 0000 0000 0000 0000 0000 0000
多选题
Use the operators ">", which statements are true? ()
A
0000 0100 0000 0000 0000 0000 0000 0000<<5 gives 1000 0000 0000 0000 0000 0000 0000 0000
B
0000 0100 0000 0000 0000 0000 0000 0000<<5 gives 1111 1100 0000 0000 0000 0000 0000 0000
C
1100 0000 0000 0000 0000 0000 0000 0000>>5 gives 1111 1110 0000 0000 0000 0000 0000 0000
D
1100 0000 0000 0000 0000 0000 0000 0000>>5 gives 0000 0110 0000 0000 0000 0000 0000 0000
参考解析
解析:
Java的移位操作符一共有三种,分别是”>>”,”>>>”,”<<”,执行的操作分别是有符号右移,无符号右移,左移,有符号右移的意思是说移入的最高位和原最高符号位相同,无符号右移是移入位始终补零,左移时最低位始终补零,最高位被舍弃。移位操作符另一个非常值得注意的特点是其右操作数是取模运算的,意思是说对于一个int型数据而言,对它移位32位的结果是保持不变而非变成零,即:a>>32的结果是a而不是0,同理,对long型数是对右操作数取64的模,a>>64==a;还有一点需要注意的是移位操作符”>>>”只对int型和long型有效,对byte或者short的操作将导致自动类型转换,而且是带符号的。
相关考题:
You use the segment advisor to help determine objects for which space may be reclaimed.Which three statements are true about the advisor given by the segment advisor?() A. It may advise the use of online table redefinition for tables in dictionary managed tablespace.B. It may advise the use of segment shrink for tables in dictionary managed tablespaces it the no chained rows.C. It may advise the use of online table redefinition for tables in locally managed tablespacesD. It will detect and advise about chained rows.E. It may advise the use of segment shrink for free list managed tables.
Which statements are true regarding classless routing protocols?() A. The use of discontiguous subnets is not allowedB. The use of variable length subnet masks is permittedC. RIP v1 is a classless routing protocolD. IGRP supports classless routing within the same autonomous systemE. RIP v2 supports classless routing
Which two statements about the use of VLANs to segment a network are true?() A. VLANs increase the size of collision domains.B. VLANs allow logical grouping of users by function.C. VLANs simplify switch administration.D. VLANs enhance network security.
Which of the following statements is TRUE regarding crane operations ________.A.Radio communications allow the crane operator to disregard the use of hand signalsB.The crane operators and signalman must be familiar with the correct hand signalsC.The forward cranes can be operated from the bridgeD.The aft cranes can be operated from the aft steering station
Which of the following statements about teachers' instructions is NOT true?A.Instructions should be simple and clear.B.Instructions can be long and complicated for students to follow.C.Teachers can use body language to assist students to understand.D.Instructions should be kept to a minimum during activities.
Which of the following statements are true for routers but not true for Layer 3 Ethernet switches?(Choose all that apply.)()A、May have Ethernet as well as non-Ethernet interfacesB、Traditionally used as a standalone device for inter-VLAN communicationC、Makes use of TCAMsD、Uses subinterfaces to define trunksE、Can use both Layer 2 and Layer 3 to make forwarding decisionsF、Allows the definition of Switched Virtual Interfaces(SVI)
Which two statements about VACLs on Cisco Nexus 7000 Series Switches are true? ()A、 A single VACL can be shared across two or more VDCs.B、 Use of VACLs requires no special license to be installed.C、 VACLs make use of IP or MAC ACLs.D、 Only options drop and forward are permitted.
Which two statements are true about optical networks?()A、SONET and SDH both use time-division multiplexing.B、An optical transport network system uses time-division multiplexing.C、SONET and SDH both use wavelength-division multiplexing.D、An optical transport network system uses wavelength-division multiplexing.
Which two statements are true about overflow pools?()A、Overflow pools do not support PATB、Overflow pools can not use the egress interface IP address for NATC、Overflow pools must use PATD、Overflow pools can contain the egress interface IP address or separate IP addresses
Which statements are true regarding classless routing protocols?()A、The use of discontiguous subnets is not allowedB、The use of variable length subnet masks is permittedC、RIP v1 is a classless routing protocolD、IGRP supports classless routing within the same autonomous systemE、RIP v2 supports classless routing
Which two statements about the use of VLANs to segment a network are true? ()A、VLANs increase the size of collision domains.B、VLANs allow logical grouping of users by function.C、VLANs simplify switch administration.D、VLANs enhance network security.
Which of the following statements are true when creating NETBIOS names? ()A、 NETBIOS names can only use alphanumeric characters.B、 You can use a ’.’ in a NETBIOS name.C、 You can use an ’_’ (underscore) in a NETBIOS name.D、 NETBIOS names must be UPPERCASEE、 NETBIOS names can be a maximum of 32 characters
Use the operators "", "", which statements are true? () A、 0000 0100 0000 0000 0000 0000 0000 00005 gives 1000 0000 0000 0000 0000 0000 0000 0000B、 0000 0100 0000 0000 0000 0000 0000 00005 gives 1111 1100 0000 0000 0000 0000 0000 0000C、 1100 0000 0000 0000 0000 0000 0000 00005 gives 1111 1110 0000 0000 0000 0000 0000 0000D、 1100 0000 0000 0000 0000 0000 0000 00005 gives 0000 0110 0000 0000 0000 0000 0000 0000
Which two statements are true about pool-based destination NAT?()A、It also supports PAT.B、PAT is not supported.C、It allows the use of an address pool.D、It requires you to configure an address in the junos-global zone.
多选题Concerning the figure below, if a =b, which of the following statements must be true? (Indicate all such statements.)Ac=dBl and k are parallelCm and l are perpendicular
多选题Which of the following statements are true? (Indicate all such statements.)Aτ(5) =τ(7)Bτ(5) τ(7) =τ(35)Cτ(5) + τ(7) =τ(12)
多选题You use the segment advisor to help determine objects for which space may be reclaimed. Which three statements are true about the advisor given by the segment advisor?()AIt may advise the use of online table redefinition for tables in dictionary managed tablespace.BIt may advise the use of segment shrink for tables in dictionary managed tablespaces it the no chained rows.CIt may advise the use of online table redefinition for tables in locally managed tablespacesDIt will detect and advise about chained rows.EIt may advise the use of segment shrink for free list managed tables.
多选题Which of the following statements are true when creating NETBIOS names? ()ANETBIOS names can only use alphanumeric characters.BYou can use a ’.’ in a NETBIOS name.CYou can use an ’_’ (underscore) in a NETBIOS name.DNETBIOS names must be UPPERCASEENETBIOS names can be a maximum of 32 characters
单选题Which of the following statements is true according to the passage?AOil energy has been popular with the manufacturing industry.BSolar energy is too expensive for family use at present.CWind energy is much used in plateaus.DWater energy is widely used in costal regions.
多选题Which of the following statements are true for routers but not true for Layer 3 Ethernet switches?(Choose all that apply.)()AMay have Ethernet as well as non-Ethernet interfacesBTraditionally used as a standalone device for inter-VLAN communicationCMakes use of TCAMsDUses subinterfaces to define trunksECan use both Layer 2 and Layer 3 to make forwarding decisionsFAllows the definition of Switched Virtual Interfaces(SVI)
单选题Which of the following statements is TRUE regarding crane operations().ARadio communications allow the crane operator to disregard the use of hand signalsBThe crane operators and signalman must be familiar with the correct hand signalsCThe forward cranes can be operated from the bridgeDThe aft cranes can be operated from the aft steering station
多选题Which statements are true regarding classless routing protocols?()AThe use of discontiguous subnets is not allowedBThe use of variable length subnet masks is permittedCRIP v1 is a classless routing protocolDIGRP supports classless routing within the same autonomous systemERIP v2 supports classless routing
单选题Which of the following statements is TRUE, according to the author?AEveryone has a right to hold his own opinion.BFree expression of opinions often leads to confusion.CMost people tend to be careless in forming their opinions.DCasual use of the word “opinion” often brings about quarrels.
多选题Which two statements are true about pool-based destination NAT?()AIt also supports PAT.BPAT is not supported.CIt allows the use of an address pool.DIt requires you to configure an address in the junos-global zone.
多选题Which statements are true concerning the effect of the and operators?()AFor non-negative values of the left operand, the and operators will have the same effect.BThe result of (-1 1) is 0.CThe result of (-1 1) is -1.DThe value returned by will never be negative as long as the value of the right operand is equal to or greater than 1.EWhen using the operator, the leftmost bit of the bit representation of the resulting value will always be the same bit value as the leftmost bit of the bit representation of the left operand.
多选题Which two statements are true about optical networks?()ASONET and SDH both use time-division multiplexing.BAn optical transport network system uses time-division multiplexing.CSONET and SDH both use wavelength-division multiplexing.DAn optical transport network system uses wavelength-division multiplexing.
单选题According to the passage, which of the following statements is TRUE?A"Lindow Man" was named after the person who first found him.BHistorians usually use paper evidence, while archaeologists use hard evidence.C"Lindow Man" was found by two archaeologists in the south of England.D”Lindow Man” was good at manual work.