* This story has been updated to further clarify what this legislation would require.

Schools could be required to administer a civics test at least once to students in grades 7 through 12, starting in the 2020-21 school year.

The House concurred on the changes the Senate made on House Bill 564 by a 167-27 vote on Wednesday. It will now move to Gov. Tom Wolf's desk for enactment.

Students would not have to pass a civics test to graduate. However, if they take it and earn a perfect score on the exam, they would receive a certificate of recognition from the state Department of Education.

The exams would test a student's understanding of the "nature, purpose, principles and structure of the United States constitutional democracy... and the rights and responsibilities of citizenship," according to the bill.

The bill was sponsored by Rep. Karen Boback, R-Luzerne County, with dozens of bipartisan sponsors.

Each school would determine the test's format and how it's administered. Schools could use the United States Citizenship and Immigration Services' citizenship test to fulfill their requirements.

That citizenship test that immigrants must pass asks questions such as when the U.S. Constitution was written and how many U.S. senators there are.

The bill allows for students with individualized education programs to be excluded from taking the exam.

It also imposes a requirement on districts to report periodically to the education department the type of assessment given, how many students took the test, how many passed, what grade or grades it was administered, and what course or courses it was administered.