Sally B. Loving, 82, who taught home economics and social studies at Washington-Lee High School in Arlington from its opening in 1925 until her retirement in 1962, died Thursday at Arlington Hospital after a heart attack.

Widely known in Arlington County for her required course in Virginia and United States government, which she taught for many years, Miss Loving's specialty was the reenactment of the democratic process by her civics classes.

When state and national elections were held, her classes held mock elections with students nominating candidates representing both major parties.

Her classes selected student cabinet officers to debate issues of the day and appoint Supreme Court justices, who wore borrowed robes, to preside at court sessions to illustrate the judicial branch of the government.

In the late 1950s, a group of her students instituted the practice of requiring registration of students voting in school elections. They also borrowed official voting machines for a touch of realism.

When Miss Loving retired in 1962, she was the last member of the original faculty of Washington-Lee to do so.At that time, she received an award from the Freedoms Foundation at Valley Forge "for service in promoting citizenship, patriotism and greater understanding of the American way of life."

Miss Loving was born in Fluvanna County, Va., where she began her teaching career in a one-room school-house after graduating from high school.

She graduated from the old State Teachers College in Harrisonburg, Va., now James Madison University, in 1924. She later did postgraduate work at the University of Virginia and at Columbia University.

After graduating from college, she taught high school subjects in makeshift quarters at the old Cherrydale Elementary School in Arlington while Washington-Lee High School was being constructed.

Miss Loving organized the Kalegathos Chapter of the National High School Honor Society at Washington-Lee in 1937 and sponsored the group for nearly 25 years.

For her 80th birthday, members of the Washington-Lee class of 1942 established a scholarship fund in her honor.

Miss Loving was a past president and a member of the Arlington Business and Professional Women's Club. She was a charter member of the Arlington Historical Society and a member of the Order of the Eastern Star, the Salvation Army's Women's Auxiliary, the Orthopedic Hospital Auxiliary, the Arlington Retired Teachers Association, the Virginia Education Association and the Church Women United.

In 1951, she was named Arlington County Woman of the Year.

At the time of her death, she was chairman of the elders at Garfield Memorial Christian Church in McLean.

Survivors include a sister, Jennie L. Sadler, and two brothers, J. Walton and Richard E. Loving, all of Culpeper, Va.

The family suggests that expressions of sympathy be in the form of contributions to the Sally Loving Scholarship Fund, c/o Mrs James E. Huddleston, 2528 N. Upland St., Arlington 22207.