What always worked for me when taking tests with subnetting questions was to make a visual aid. For computer-based tests, I make the chart before I hit the "start" key.
Draw a grid, 16 spaces wide, from right-to-left label the grid at the top 1,2,4,8,16,32,64....etc and on the bottom, label it with the corresponding subnet mask (again, right-to-left)255,254,252,248,....
When you start getting questions about how many hosts per network, most efficient masking for X number of networks with y number of hosts each...etc, you have a chart right in front of you to work it out.
For "Which network is this host in?" kind of questions, it's fairly fast & easy when you look at the grid, or worse case, use bit tallys under the grid.
Remember that the bit values in the "Network" part of the address can be a zero or a one. Having a "255" in the network part of the subnet mask defines the RANGE of available subnets...the mask is all ones, the actual address probably isn't.
If you're getting questions on CIDR blocking and supernetting, refer to the grid from above, tally the bits, find the highest number of common bits...that's (most likely)your supernet.
Remember that the address class is based on the most significant bits of the address, not the subnet mask.
"Network Number" is all bits in the host portion of the address is zero, "Broadcast Address" is all one in the host portion. Everything in-between is a valid address (by CONVENTION). All zeros or all ones CAN be a valid host address, depending on the foundation of your network operating systems. The old BSD system used all ZEROS as a broadcast address....so on the old BSD system, 255 is a valid host address. The System V UNIX system used all ones as a broadcast address(and that seems to be the "winner"😉..so on a System V based network, a host address of Zero is OK. SO...by the RULES you CAN have a zero or 255 host address, by CONVENTION, those addresses are usually not used for hosts.
That's about it for me (it's still early, and I'm still pre-caffinated.....)
Good Luck
Scott