Brookhaven National Laboratory
Spectroscopy
Python
What's in the shell?
NSLS II
100

This is BNL’s number one priority in everything we do.

What is safety?

100

Coming from Latin and Greek, the word spectroscopy is composed of the roots “spectrum” and “skopia” which mean this.

What are image and observation, respectively?

100

To make a comment in Python that won’t be read as code, one would use this special character.

What is the pound (number, hashtag) symbol?

100

The following code creates this output in the shell.

print(“26 + 4”)

What is 26 + 4?

100

This machine produces tiny beams of bright, broadband light.

What is a synchrotron?

200

This BNL program is your next step in your STEM journey and is abbreviated to HSRP.

What is the High School Research Program?

200

This type of light has wavelengths that fall between the infrared and ultraviolet ranges.

What is visible light?

200

Placing \n into your print parentheses results in the same function as using this keyboard key.

What is enter?

200

The following code creates this output in the shell.

print(26 + 4)

What is 30?

200

This professional ballfield is the same size as the inside of the NSLS II ring.

What is Yankee Stadium?

300

This is the total number of national laboratories across the United States.

What is seventeen?

300

This phenomenon happens when an excited electron in an atom relaxes to the ground state.

What is photon (light, energy) emission?

300

This special type character can be used in place of spaces when coding in Python.

What is an underscore?

300

This line of code needs to be included in order to see your graph or plot.

What is matplotlib.pyplot.show() or plt.show()?

300

This subatomic particle is what is stored in the NSLS II ring.

What is an electron?

400

This is BNL’s slogan.

What is “a passion for discovery?”

400

This is the model of light sensor we used from Adafruit.

What is the AS7341?

400

Declaring a variable in Python is to introduce it with a name whereas this word means to give it a value.

What is define?

400

The following code creates this output in the shell.

for index in range(0, 5, 1):

     print(index)

What is 0 1 2 3 4

400

What thing is used to bend the NSLS II beam.

What is a (electro)magnet?

500

These two world class facilities and initiatives at BNL have helped with our foundational research questions this week.

What are CSI (Computational Science Initiative) and NSLS II?

500

This is the type of spectroscopy we used with our light sensors.

What is emission spectroscopy?

500

The coding language, Python, is named after this TV show.

What is Monty Python and the Flying Circus?

500

The following code creates this output in the shell.


import numpy as np

x = np.linspace(1, 10, 10)

print(x)

What is [1. 2. 3. 4. 5. 6. 7. 8. 9. 10.]

500

This is the number of Nobel Prizes (in chemistry) earned using NSLS.

What is two?

M
e
n
u