Dozens of public high schools in eight states will introduce a program next year allowing 10th graders who pass a battery of tests to get a diploma two years early and immediately enroll in community college.

Students who pass but aspire to attend a selective college may continue with college preparatory courses in their junior and senior years, organizers of the new effort said. Students who fail the 10th-grade tests, known as board exams, can try again at the end of their 11th and 12th grades. The tests would cover not only English and math but also subjects like science and history.

The new system of high school coursework with the accompanying board examinations is modeled largely on systems in high-performing nations including Denmark, England, Finland, France and Singapore.

The program is being organized by the National Center on Education and the Economy, and its goals include insuring that students have mastered a set of basic requirements and reducing the numbers of high school graduates who need remedial courses when they enroll in college. More than a million college freshmen across America must take remedial courses each year, and many drop out before getting a degree.