# Demonstration of GitHub Classroom Q & A#

## ๐จโ๐ซ Purpose#

GitHub Classroom not only allows us to automatically test programming/code. Other types of questions are supported too.

1. ๐ฒ Multiple-Choice Questions (one or more answers, separated by spaces or commas)

2. ๐ช True/False Questions (write True/False)

3. ๐ฉ Numerical answers requiring some calculation (write the numerical answer in the requested units; significant figures are not checked)

4. ๐งฎ Numerical answers requiring no calculation (usually just counting) (write the answer as a number)

5. ๐ Matching Questions (write pairs sequentially).

The way we do it, it is important that you always put your answer in the indicated position and never use the bold-faced word โAnswerโ elsewhere. Other than that restriction, the rest of your notebook is yours to play with.

## ๐ Instructions#

The next few questions demonstrate the workflow. For each question type, you are first given an example; then you need to do another question of the same type on your own.

1. ๐ฒ Which of the following phenomena are strongly associated with the particle-like nature of light.

B. Compton Scattering

C. Electron Diffraction

D. Stern-Gerlach Experiment

E. Photoelectric effect

Answer: A, E, B

More information can be found in the course notes.

2. ๐ฒ Which of the following changes would double the energy of a photon:

A. Doubling its frequency

B. Doubling its wavelength

C. Doubling its momentum

D. Doubling its speed

E. Doubling its effective (relativistic) mass

F. Doubling its wavenumber.

3. ๐ช Doubling the wavelength of radiation doubles its frequency. (True/False)

The wavelength, $$\lambda$$, of light is related to frequency, $$\nu$$ by the equation $$\nu = \frac{c}{\lambda}$$. So doubling the wavelength halves the frequency.

4. ๐ช Doubling the wavelength of radiation halves its speed. (True/False)

5. ๐ฉ A helium-neon laser emits light at 632.8 nm. What is the energy of the photons generated by this laser, in Joules?

import numpy
import scipy
from scipy import constants

Energy = constants.h*constants.c/632.8e-9
print("Energy of the photon in Joules", Energy)

Energy of the photon in Joules 3.139136942397169e-19


Using the formula $$E = \frac{h c}{\lambda}$$.

6. ๐ฉ What is the frequency of light in Hz ($$s^{-1}$$) of light with wavelength 500 nm?

7. ๐งฎ Two quantum particles move at the same speed, but particle 2 has half the mass of particle 1. The De Broglie wavelength of particle 2 is greater than that of particle 1 by a factor of ____?

The De Broglie wavelength is $$\lambda = \frac{h}{p}$$. Halving the mass of a particle halves its momentum and doubles its wavelength.

8. ๐งฎ When light with wavelength 600 nm shines on a metal surface, electrons are photoelectrically ejected. Next, a light with wavelength 300 nm is shone on the surface. The kinetic energy of the emitted electrons increases by a factor of ____?

See the course notes.

9. ๐ Assign the following equations to the person most strongly associated with them.

Person

Equation

A. De Broglie

1. $$\, E=h \nu$$

B. Einstein

2. $$\, p=\frac{h}{\lambda}$$

C. Planck

3. $$\, \text{Kinetic Energy} = h \nu - W$$

D. Rydberg

4. $$\, h \nu \propto \frac{1}{m^2} - \frac{1}{n^2}$$

Answer: A, 2, B, 3, C, 1, D, 4

10. ๐ Assign the following types of experiment to the person most strongly associated with them.

Person

Experiment

A. Davisson and Germer

1. Electron Scattering

B. Compton

2. Photon Scattering