There are many types of hydrocarbons, but early on the simple types you'll learn about are the aliphatic compounds. These are divided into 4 main groups, the alkanes, alkenes, alkynes, and the alicyclics. Now the distinguishing features between the first 3 groups would be the type of bonds (single, double, triple). The fourth is easy to distinguish from its ring structure.
Examine the suffixes of these groups, alk-ane, alk-ene, alk-yne. Match these up to the bond types they have.
As for nomenclature: (tried to narrow the steps down as it applies to your question...there are so many more rules I can't remember right now
)
1) Identify the parent chain (the longest chain). The chains are not necessary always linear. In your question I would count the carbons from one carbon to the other until you reach a place where there is no where else to go. Follow the chain all the way to an endpoint, not just where the straight chain ends.
2) Check for double bonds/triple bonds, if they are present be sure to indicate which carbon the bond exists on. Number this to give it the lowest possible number, it takes precedence over substituent groups.
3) Identify substituent groups, name them accordingly and number them in the direction which gives the lowest possible number (but remember #2 takes precedence).
I am assuming you know how to name the parent chains and substituent groups along with the proper prefixes and suffixes. There are alot of rules to remember, but generally at this level they aren't that bad at all.