Answer:
x_inp = [ '1', '2', '3']
int_val = [ int(a) for a in x_inp ]
print("integer: int_val")
y_inp = [ '1.0', '2.0', '3.0']
flo_val = [ float(a) for a in y_inp ]
print("float: flo_val")
Explanation:
All the items in the arrays x_inp and y_inp are coverted to integer and float data types respectively with the for loop statement, which individually assigns the resolved integer and float values to the memory locations int_val and flo_val respectively.
The output becomes,
integer:
1
2
3
float:
1.0
2.0
3.0
Answer:
C. Lead embedded in the glass of the monitor.
Explanation:
Cathode Ray Tube (CRT) monitors have lead embedded in their glass. Exposure to small quantities of lead can lead to lead poisoning. There are about 2.2 kilograms of lead in a big CRT monitor.
This amount of lead is mixed with the glass to improve the optical quality and to stop radiation from affecting the user.
Exposure to lead can cause the following:
- Constipation.
- Irritability,
- Headaches
- Aggressive behavior and so much more.
Answer:
This online calculator is able to convert numbers from one number system to any other, showing a detailed course of solutions. And calculator designed for:
Decimal to binary conversion,
Binary to decimal conversion,
Decimal to hexadecimal conversion,
Decimal to binary conversion method,
Floating point decimal to binary conversion method,
Decimal to binary converter with steps,
Decimal fraction to binary converter.
Explanation:
Hope this helps!
Answer:
a. Anycast Addresses
b. Broadcast domain
c. Classless Interdomain Routing (CIDR)
d. Extended Unique Identifier (EUI-64) interface ID
e. Intra-Site Automatic Tunnel Addressing Protocol (ISATAP)
f. IP prefix
g. Loopback Address
h. Metric
i. Multicasting
j. Teredo
Explanation:
a. <u>Anycast Addresses</u>: An address type used in IPv6 to allow a one-to-many relationship between source and destination.
b. <u>Broadcast domain</u>: The bounds of a network that defines which devices must receive a packet that's broadcast by any other device.
c. <u>Classless Interdomain Routing (CIDR)</u>: A method of IP addressing in which the network and host IDs are determined by a prefix number that specifies how many bits of the IP address are network bits.
d. <u>Extended Unique Identifier (EUI-64) interface ID</u>: An auto configure IPv6 host address that uses the MAC address of the host plus an additional 16 bits.
e. <u>Intra-Site Automatic Tunnel Addressing Protocol (ISATAP)</u>: An automatic tunneling protocol used to transmit IPv6 packets between dual IP layer hosts across an IPv4 network.
f. <u>IP prefix</u>: A value used to express how many bits of an IP address are network ID bits.
g. <u>Loopback Address</u>: An address that always refers to the local computer. The loop address is primarily 127.0.01.
h. <u>Metric</u>: A value assigned to the gateway based on the speed of the interface used to access the gateway.
i. <u>Multicasting</u>: A network communication in which a packet is addressed so that more than one destination can receive it
j. <u>Teredo</u>: An automatic IPv6-over-IPv4 tunneling protocol that solves the problem of 6to4's requirement of a public IPv4 address and the inability to traverse NAT routers.
Answer:
The output of the given code as follows:
<u>Output:
</u>
1122
Explanation:
In the given java code the two for loop is defined, which can be described as follows:
- In the first loop, a"loop" variable is used, which starts from 1 and ends when the value of loop is less than 3, inside the loop a print function is used, that print value 1.
- In the next step, another for loop is declared, inside the loop a variable "loop2" variable is used, that's working is the same as the above loop, but in this loop, it will print a value, that is 2.