Please note: It is just a given in our industry that your code has to run! If your code does not run, you will not receive any points.
You will be creating a PHP-driven web site that is a practice quiz for people taking the civics portion of the United States Naturalization Test. There are 100 possible questions for this portion of the test; however, in practice applicants are given only 10 questions, chosen randomly. An applicant must answer 6 out of 10 questions correctly to pass the civics portion of the naturalization test.
Your task is to use the 100 sample questions provided in the official Civics (History and Government) Questions for the Naturalization Test document. (Dr. Alfaro will provide a PHP code snippet with two arrays, one of questions and one of answers, which you may use.) Your application should display ten questions at random along with a text input box for each answer. The user should be able to input a short answer, and the script will compare the user’s answers against the correct answers. Be sure to convert any special characters to HTML!
When checking for correct answers, CASE SHOULD NOT MATTER. Also, your code should check to see if the answer string is included anywhere within the answer. So, if a correct answer is “Constitution”, any of the following answers should score as correct:
the constitution
our Constitution
The Constitution is the supreme law of the land
CONSTITUTION
It is up to you how you want to store and retrieve the questions. However, your project must meet these minimum requirements:
Displays 10 questions chosen at random (by the PHP; not by you!) and ten corresponding text boxes for short answers.
When the user submits the test, the user will see their grade and whether they passed or failed the practice exam (60% is passing). It will also indicate which questions the user got wrong so they can go back and study!
Upon submission, the page should also display a date-time stamp stating when the exam was submitted.
Your code must include an array, and this array must actually be used to create the quiz. (No creating an array that is never accessed!)
Your code must contain a PHP include to show that you know how to do this.
Your code must contain at least one function that is actually utilized in the application.
Your code must utilize at least one loop (for, while, do-while, or foreach).
On the page which displays the user’s score, there should be a link or button that allows the user to go back and take the quiz again with a new set of 10 random questions.
Use semantic HTML code and best practices (an h1, at least one h2, alt text for images, etc.).
Add CSS as appropriate to make this a professional-looking portfolio piece. (We may be showing this to clients in the capstone next term!)
NO SQL!! DO NOT USE SQL.
ONLY PHP, HTML, and CSS
Submit your completed file final-yourlastname.tar.gz below.
Our Unique Features
Custom Papers Means Custom Papers
This is what custom writing means to us: Your essay starts from scratch. Plagiarism is unacceptable. We demand the originality of our academic essay writers and they only deliver authentic and original papers. 100% guaranteed! If your final version is not as expected, we will revise it immediately.
Qualified and Experienced Essay Writers
Our team consists of carefully selected writers with in-depth expertise. Each writer in our team is selected based on their writing skills and experience. Each team member is able to provide plagiarism-free, authentic and high-quality content within a short turnaround time.
Free Unlimited Revisions
If you think we missed something, send your order for a free revision. You have 10 days to submit the order for review after you have received the final document. You can do this yourself after logging into your personal account or by contacting our support.
Prompt Delivery and 100% Assuarance
We understand you. Spending your hard earned money on a writing service is a big deal. It is a big investment and it is difficult to make the decision. That is why we support our claims with guarantees. We want you to be reassured as soon as you place your order. Here are our guarantees: Your deadlines are important to us. When ordering, please note that delivery will take place no later than the expiry date.
100% Originality & Confidentiality
Every paper we write for every order is 100% original. To support this, we would be happy to provide you with a plagiarism analysis report on request.We use several writing tools checks to ensure that all documents you receive are free from plagiarism. Our editors carefully review all quotations in the text. We also promise maximum confidentiality in all of our services.
24/7 Customer Support
We help students, business professionals and job seekers around the world in multiple time zones. We also understand that students often keep crazy schedules. No problem. We are there for you around the clock. If you need help at any time, please contact us. An agent is always available for you.
Try it now!
How it works?
Follow these simple steps to get your paper done
Place your order
Fill in the order form and provide all details of your assignment.
Proceed with the payment
Choose the payment system that suits you most.
Receive the final file
Once your paper is ready, we will email it to you.
Our Services
Our services are second to none. Every time you place an order, you get a personal and original paper of the highest quality.
Essays
While a college paper is the most common order we receive, we want you to understand that we have college writers for virtually everything, including: High school and college essays Papers, book reviews, case studies, lab reports, tests All graduate level projects, including theses and dissertations Admissions and scholarship essays Resumes and CV’s Web content, copywriting, blogs, articles Business writing – reports, marketing material, white papers Research and data collection/analysis of any type.
Admissions
Any Kind of Essay Writing!
Whether you are a high school student struggling with writing five-paragraph essays, an undergraduate management student stressing over a research paper, or a graduate student in the middle of a thesis or dissertation, homeworkmarketpro.com has a writer for you. We can also provide admissions or scholarship essays, a resume or CV, as well as web content or articles. Writing an essay for college admission takes a certain kind of writer. They have to be knowledgeable about your subject and be able to grasp the purpose of the essay.
Reviews
Quality Check and Editing Support
Every paper is subject to a strict editorial and revision process. This is to ensure that your document is complete and accurate and that all of your instructions have been followed carefully including creating reference lists in the formats APA, Harvard, MLA, Chicago / Turabian.
Reviews
Prices and Discounts
We are happy to say that we offer some of the most competitive prices in this industry. Since many of our customers are students, job seekers and small entrepreneurs, we know that money is a problem. Therefore, you will find better prices with us compared to writing services of this calibre.