Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem Design and develop a PHP program to compare two String arrays. You will show a page consisting of a Header, two text areas and

image text in transcribedimage text in transcribed

Problem Design and develop a PHP program to compare two String arrays. You will show a page consisting of a Header, two text areas and two buttons as follows (see next page for Ul) Header shows the university, course, your name and assignment details Two text areas (called -Array 1 and Array 2) take the inputs from the users. Users can type or copy/paste the array elements Two buttons (called - Clear and Submit) Clear button resets or clears the two text areas (input boxes). Submit button processes the inputs. The output of the submit button is shown in 4 different section:s (arrays as-is, exclusive elements in Array 1. exclusive elements in Array 2, and common elements between the arrays). ssumptions: [1] You can assume that the elements are unique in each of the arrays. Checking for uniqueness is not required for this assignment [2] The number of elements in each array can be upto 2000. However, you can do the testing for 10 elements in each array. [3] You can assume that users type each array element on a separate line. Evaluation Criteria [2 points] Header showing the University name, class name and number, students name and assignment number" is present [5 points] Clear button is functional (clears the two text areas and the output box) [3 points] The output of Submit button is shown on the same page (not in a separate tab. Not in a pop-up window) [5 points] Submit button prints the exclusive elements in Array 1 [5 points] Submit button prints the exclusive elements in Array 2 [5 points] Submit button prints the comman elements present in both Array 1 and Array Submission Details Submit a ZIP file consisting of [1] your PHP files and [2] sample outputs for two of your test cases (these would be screen shots)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Next Generation Databases NoSQLand Big Data

Authors: Guy Harrison

1st Edition

1484213300, 978-1484213308

More Books

Students also viewed these Databases questions