Which of the following is the decimal and hexadecimal equivalents of the binary number 10011101?
A. 155, 0x9B
B. 157, 0x9D
C. 159, 0x9F
D. 185, 0xB9
Answer: Option B
Solution(By Examveda Team)
To turn a binary number into decimal, you just have to add the values of each bit that is a 1. The values of 10011101 are 128, 16, 8, 4, and 1. 128 + 16 + 8 + 4 + 1 = 157.
Hexadecimal is a base-16 number system. The values of hexadecimal are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F-16 characters total, from which to create all the numbers you'll ever need. So, if 1001 in binary is 9, then the hexadecimal equivalent is 9. Since we then have 1101, which is 13 in binary, the hexadecimal answer is D and the complete hexadecimal answer is 0x9D.
Which of the following services use TCP?
1. DHCP
2. SMTP
3. HTTP
4. TFTP
5. FTP
A. 1 and 2
B. 2, 3 and 5
C. 1, 2 and 4
D. 1, 3 and 4
What layer in the TCP/IP stack is equivalent to the Transport layer of the OSI model?
A. Application
B. Host-to-Host
C. Internet
D. Network Access
A. 1 only
B. 1 and 2
C. 3 and 4
D. 4 only
Join The Discussion