How to find Subnets and Hosts from given IP [closed] - networking

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I have been learning subnetting for my exam and I came through this question.
but why it this? I first thought: 172.20.0.0 can have 254 subnets and 254 Hosts per each subnet. I obviously was wrong. can you please explain me how to get this?
thanks guys

The netmask 255.255.252.0 has 10 zero bits at the end.
2 ^ 10 = 1024, minus a broadcast and a network address = 1022.
If you're using the classful way of dividing your network, 172.20.* is a B network, with a 16 bit size of the network part. That gives 16-10 = 6 bits to spare, that can be split into 2 ^ 6 = 64 networks.

Related

16F877 microcontroller memory size 8k [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
16F877 microcontroller memory size is 8k(8192 X 14 bits)
8192 derived from , 1k = 1024 byte
so, 8k= 1024 X 8 = 8192 its clear for me..
but what is 14 bits and why is multiplied with 8192 please explain...
The 16F877 has 14 bit wide instructions. Therefore 8192 X 14 bits refers to having 8192 instructions each of which take up 14 bits.
Microchip is counting the flash memory of the PIC16 family in words (one word is 14 Bit wide).
But they are counting the memory of the PIC18, PIC24 and PIC 32 family in Bytes. So you had to pay attention if you want to compare the memory of the different families.

Hex - how many in the series 000 through to FFF? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 9 years ago.
Improve this question
I am trying to find out how many combinations are possible for 000 through to FFF under hex format? thanks
There are 16 choices for each of the 3 digits, so:
16*16*16 = 4096

what is the use of salt specifically the word "perturb" [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 9 years ago.
Improve this question
While developing a brute force based cracking algorithm for unix password I met with this line: "salt is a two-character string chosen from the set [a-zA-Z0-9./]. This string is used to perturb the algorithm in one of 4096 different ways."
I did not get 4096 ways?? 2^12 but how??
The set [a-zA-Z0-9./] is made up of 64 characters. Selecting two characters each from the full 64 character set gives 64 * 64 possibilities, or 4096.

How do we get the remainder in division arithmetic for computer architecture? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am learning binary division following the step-by-step procedure. I am stuck at Step One Repeat One in the remainder section. To get the remainder, the formula is Remainder = Remainder - Divisor.
How do we get to remainder: 11100110? I just don't understand how we have 1110 on the left half of the register. Any guides or help would greatly be appreciated!
Thanks:
The example is 10/5 using an 8 bit ALU.
I have attached a picture of the example for reference

What english words can be created using hexadecimal? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
I'm setting up an old wireless router for a friend which uses WEP (Yeah, very old, not actually very secure, but enough to keep the non-technical people in her apartment complex from sucking bandwidth) and I need to have a 10 digit hexadecimal key as the password.
So the question is, what english words can be made using the hexadecimal character set:
1 2 3 4 5 6 7 8 9 0 A B C D E F
BEEF is an example. I think that leet character would be allowed as well, So the number 0 could be used for the letter o. This lets you make the word BEA7.
Java CAFEBABE, COFEEBABE or DEADBEEF for instance. You might like to check HexWords or Ned Batchelder Hex Words for a lot more examples.

Resources