ok, I figured out the joists.
in the image below, I have a family room for a walkout basement. How do I fix that gap between the wall and the ceiling? I'm not sure why that happens. The wall on the left is complete, the front and center wall is obviously an exterior wall, and the right wall in the image is also an interior wall.