How many bits does an IP address consist of?
- A.32
- B.24
- C.16
- D.12
Correct answer
Explanation
The correct answer is A, 32. An IPv4 address, which is what the question means by an IP address, is thirty-two bits long. It is written in dotted-decimal form as four numbers separated by full stops, and each number stands for eight bits, or one octet, so it can run only from 0 to 255 — for example 192.168.1.1. Thirty-two bits give about 4.3 billion possible addresses, and because these began to run out, IPv6 was designed with 128-bit addresses written in hexadecimal. Every IPv4 address has a network part and a host part, separated by the subnet mask, and the addresses fall in classes A to E. Option B is wrong because 24 bits is the length of the manufacturer's OUI prefix in a MAC address. Option C is wrong because 16 bits is the size of a port number. Option D is wrong because 12 bits is not the length of any address. Exam tip: IPv4 is 32 bits, a MAC address 48 bits and IPv6 128 bits.
Practice Questions
View allWhich language uses the symbolic representation of machine codes needed to program a particular processor or processor family?
- A.Machine Language
- B.Assembly Language
- C.High-Level Language
- D.All of the above
Show answer
Assembly language replaces the binary machine codes of a processor with short symbols called mnemonics, such as MOV, ADD and JMP.
Read the full explanation →Which one of the following is the characteristic of Artificial Intelligence ?
- A.Replicates human decision making
- B.Stores relevant information
- C.Stores similar kind of data for a specific purpose
- D.Allows user to interact with media
Show answer
Artificial Intelligence is the ability of a machine to perform tasks that normally need human intelligence, such as reasoning, learning and taking decisions.
Read the full explanation →What is an interactive combination of text, graphics, video, audio and images termed as ?
- A.JPEG
- B.Multimedia
- C.AVA
- D.PNG
Show answer
Multimedia means using several forms of media, such as text, graphics, audio, video, images and animation, together, often in a way the user can interact with.
Read the full explanation →Which among the following is a malicious software?
- A.Hacking
- B.Password Cracking
- C.Trojan Horse
- D.Firewall
Show answer
A Trojan is a program that looks useful or harmless but secretly carries harmful code, so it is a piece of malicious software, or malware.
Read the full explanation →Which one of the following is not an application software?
- A.Spreadsheet
- B.AutoCAD
- C.MS PowerPoint
- D.Linker
Show answer
A linker is system software, a programming tool that joins compiled pieces of code into one program that can run; it does not do a task for the end user.
Read the full explanation →