# UGCNET-Dec2014-II: 27

1 vote
3.4k views

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

1. $1010$
2. $1100$
3. $1011$
4. $1110$

recategorized

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
0

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

ok let's a take an example

00000001.00000001.00000001.00000001                 (1.1.1.1)

This is class A address or not?

0
Sir,

Whenever class is A, address starts with 0.

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

Yes sir,

first address of every network of class A

0

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.

0

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?
What is the possible answer for given problem?

I think none of these...

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

x_______.________.________.________

$\uparrow$
3

what's the problem with 1.1.1.1 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

2

May be my way of explanation was not perfect..

What I mean to say is this:

Refer: Wikipedia  https://en.wikipedia.org/wiki/Classful_network

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

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

0

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,

1.1.1.1

Or,

00000001.1.1.1

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

'0XXX'

Where X can be 0 or 1.

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

Therefore, all are wrong options.

0

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

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 1.0.0.0   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.

1
Sir,

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

2^7=128

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

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

0
@shekhar chauhan :

1110 is 14 and 1101 is 13.

## Related questions

1 vote
1
499 views
In classful addressing, an IP address 123.23.56.4 belongs to _____ format. A B C D
1 vote
How many distinct stages are there in $DES$ algorithm, which is parameterized by a $56$-bit key ? $16$ $17$ $18$ $19$
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