Final answer:
Krypton is a noble gas with a full outer shell and is placed in group 18 of the periodic table, indicating it has 8 valence electrons.
Step-by-step explanation:
The valence electrons of an element refer to the number of electrons in the outermost shell of an atom that can participate in forming chemical bonds. For krypton, which is a noble gas with the atomic number 36, it has a full outer shell. In the periodic table, krypton is placed in group 18, which is characteristic of noble gases with eight valence electrons. Therefore, the correct answer to the number of valence electrons in krypton is B) 8.