Log In
1 vote

In a classful addressing, first four bits in Class $A$ IP address is

  1. $1010$ 
  2. $1100$ 
  3. $1011$ 
  4. $1110$
in Computer Networks
recategorized by

2 Answers

5 votes
In class A, the first bit of the first octet is always set to 0 (zero).

Class A 0xxx : x can be 0 or 1

Class B 10xx

Class C 110x

Class D 1110

No option is correct

In class A, the first bit of the first octet is always set to 0 (zero).surprise

ok let's a take an example

00000001.00000001.00000001.00000001                 (

This is class A address or not?


Whenever class is A, address starts with 0.

Converse may not be true
are you talking about first address of every network of class A or something else?

Yes sir,

first address of every network of class A


and what is question asking?

question is asking first four bits in Class IP address is

and you are talking about first four bit of every network of class A is 

Both are different Right?

It is not mentioned in question it is first address or last address or any other address. 


Ok sir, I understood the difference..

But I have still doubt that any address (first, last or in between)  in class A can start with 1?
any useful link for that?
What is the possible answer for given problem?

I think none of these...

now i think you are talking about last bit of first octet. Right?



what's the problem with it is class A address when we say the first bit of first octet it means 01101101 

ans is none is correct so marks to all  if any one would have  started with 0 then it could be the ans


May be my way of explanation was not perfect..

What I mean to say is this: 

Refer: Wikipedia

same thing i was asking to you in my previous comment.

These network ID bits are used to identify the class of IP address.

and what first address you are talking about?

Please write whole ip address for example.

What Shiva has originally written as an answer, is correct.

Now, the arguments put forward by the other user here stands upon the misunderstanding that 1st 4 bits of 1st octet can be the lower order 4 bits of a byte, i.e.,

00000000 => 0

00000001 => 1

00000010 => 2



00001010 => 10

00001011 => 11

00001100 => 12


00001110 => 14

This is not what the question means by 1st four bits of Class A IP address.

Also, the other argument regarding the Network id bits, is not relevant to this question.

Now, in the above mentioned e.g. by a user,



Notice the Bold 0 above.

The 1st bit of the 1st octet is the MSB bit. And 1st 4 bits of the 1st octet will begin with the pattern


Where X can be 0 or 1.

All the options to this question, begins with '1XXX'

Therefore, all are wrong options.

Reference link


sir  your answer is correct  :

First octad of Class A  has 8 bits out of which 1st Bit is used for subnetting which means network address divided into two partsi;e 0 and 1 .0 part is used in class A  and  other part for B,C


For more details click:

1 vote

Answer : All    


1010 is 10 in Decimal A in Hexadecimal

1011 is 11 in Decimal B in Hexadecimal

1100 is 12 in Decimal C in Hexadecimal

1110 is 13 in Decimal D in Hexadecimal

Range of class A Network is from 0-128 in which first Ip and Last Ip address is not used as valid Ip address because they are to serve spacial purpose 

First Ip address in class A network Let say   it is having a valid no in n/w id and all 0's in host id part which indicates the network id of entire network.

Last Ip address of class A is used as Directed Broadcast Address for Exp :


We have to take first 8 bits to find first octect number of Ip na?? Only with first 4 bits 1010 we cant say first octect is 10.

We need to take 1010xxxx to find first number.

Since first bit of all options are 1, and we need to think it as a first bit of a byte(8 bits) any given option first octect is greater than


Correct me plz if I am wrong
Sir, my understanding is like this....Please correct me if something is wrong..

I think shiva is right because range for class A is 0-127 why it is because 1 bit is reserved for class A I.e 0 

So we have 7 bits  with that our range is 0-127 

Here in the question , it's talking about first 4 bit 

In the first 4 bit first bit should be 0

@shekhar chauhan :

1110 is 14 and 1101 is 13.

Related questions

1 vote
1 answer
In classful addressing, an IP address belongs to _____ format. A B C D
asked Jul 12, 2016 in Computer Networks jothee 499 views
1 vote
1 answer
Match the following : ... : a-iii, b-iv, c-i, d-ii a-iii, b-i, c-iv, d-ii a-i, b-ii, c-iii, d-iv a-iv, b-iii, c-ii, d-i
asked Jul 24, 2016 in Computer Networks makhdoom ghaya 937 views
2 votes
3 answers
How many distinct stages are there in $DES$ algorithm, which is parameterized by a $56$-bit key ? $16$ $17$ $18$ $19$
asked Jul 21, 2016 in Computer Networks makhdoom ghaya 3k views
1 vote
1 answer
An analog signal has a bit rate of $6000$ bps and a baud rate of $2000$ baud. How many data elements are carried by each signal element $0.336$ bits/baud $3$ bits/baud $120,00,000$ bits/baud None of the above
asked Jul 21, 2016 in Computer Networks makhdoom ghaya 1.6k views