In summary, sex linked means the yellow gene is on the X chromosome. Female hamsters have two X chromosomes, and males have one X and one Y. A yellow female has two yellow genes, one on each X. A tort has one yellow gene on one X and none on the other. A male has only one X chromosome therefore can only be yellow or non yellow (unless he has a more complicated genetic make up e.g. XXY). Male hamsters have to inherit the X from their mother as they get the Y from their father (as females don't have a Y) which helps in determining outcomes.
In your questions, black female to yellow male - all females will be torts (as mum has only non yellow genes to give the girls, and dad has only yellow ones) and boys non yellow with the colour depending on what other genes the parents carry (as mum has only non yellow genes to give, and they boys inherit their X from mum as I mentioned). Black is a recessive colour so the yellow parent would need to carry it to have black pups, if there are no shared recessives then the pups would be golden and golden torts.
Yellow female to non-yellow male means all males will be yellow (remember they have to inherit their X from mum, and she has only yellow genes to give) and all females will be tort.
Banded is separate to the yellow gene and is dominant, therefore a hamster only needs one copy to show a band. Either parent can be banded and half of the offspring would have bands. You can't guarantee that the it would be the torts that have the bands though! There is such a thing as a yellow banded.
I would suggest you have a look at some resources on hamster genetics such as hamsterlopaedia or
Genetics and Inheritance
There is a table on the website which explains the answers to both questions.