"The Office" — It began as a modest adaptation of a British classic and then came into its own. Now, after nine seasons of workplace insanity, the Dunder Mifflin gang bids farewell in a 1 hour-and-15- minute episode that figures to provoke both laughter and tears. Here’s hoping that Dwight, Jim and Pam (Rainn Wilson, John Krasinski, Jenna Fischer) and their pals get a proper sendoff. 8 p.m. Thursday, NBC.

The buzz and ratings may have waned, but “American Idol” still has a chance to produce a big star. Tonight, one very talented woman begins her quest to follow in the footsteps of Kelly Clarkson and Carrie Underwood. 7 p.m., Fox.

 Can “Scandal” make our jaws hit the floor one more time in its raucous Season 2 finale? We’re pretty much counting on it. 9:02 p.m., ABC.