A bill that would require public and charter schools to offer students a computer science course as a one-semester elective at least once each school year recently passed out of the Senate Committee on Education and Career Development by a vote of 11-0, said State Sen. Jeff Raatz,R-Richmond.