This Fourth of July, thousands of Americans will raise their hands and pledge allegiance to the United States during naturalization ceremonies.

To become U.S. citizens, they had to pass a test of basic knowledge of civics, history and geography, among other things.

To find out how you would do, take this quick 10-question quiz, or click here to try a tougher 50-question version. (To pass the test, applicants must answer six out of 10 questions right from a possible 100.)