Visual Studio Code Using Xampp Platform Project
College of Computing and InformaticsAssignment 1
Deadline: Sunday 10/10/2021 @ 23:59
[Total Mark for this Assignment is 5]
Student Details:
Name: ###
ID: ###
CRN: ###
Instructions:
•
•
•
•
•
•
•
•
•
•
You must submit two separate copies (one Word file and one PDF file) using the Assignment Template on
Blackboard via the allocated folder. These files must not be in compressed format.
It is your responsibility to check and make sure that you have uploaded both the correct files.
Zero mark will be given if you try to bypass the SafeAssign (e.g. misspell words, remove spaces between
words, hide characters, use different character sets, convert text into image or languages other than English
or any kind of manipulation).
Email submission will not be accepted.
You are advised to make your work clear and well-presented. This includes filling your information on the cover
page.
You must use this template, failing which will result in zero mark.
You MUST show all your work, and text must not be converted into an image, unless specified otherwise by
the question.
Late submission will result in ZERO mark.
The work should be your own, copying from students or other resources will result in ZERO mark.
Use Times New Roman font for all your answers.
Question One
Pg. 01
Learning
Outcome(s):
Describe methods
and tools in
designing a
creative and
dynamic website.
Question One
1.5 Marks
Requirements:
1. Install the XAMPP platform on your computer. XAMPP is a free and
open-source cross-platform web server solution stack package
developed by Apache Friends, consisting mainly of the Apache HTTP
Server, MariaDB database, and interpreters for scripts written in the
PHP and Perl programming languages.
2. Open the XAMPP control panel and run/start the Apache server.
3. Texteditor such as Notepad++, or Notepad, visual studio code to write
the code.
4. Save the file with extension .php in following path C:\xampp\htdocs
Q1/ Create an HTML form that accepts the user’s input to enter his/her
name. Then, display the name using PHP.
Note:
1. Your program output should look as shown below.
2. Include the screenshot of the program output as a part of your answer.
Question Two
Pg. 02
Learning
Outcome(s):
Question Two
1 Marks
Identify which of the following name is a valid identifier name. If the name is not valid,
Describe methods
and tools in
designing a
creative and
dynamic website.
explain the reason(s).
Note: Some of the answers are given to you as an example.
//Each answer 0.2 mark
Name
$box
Valid / Invalid
Reasons(s)
Valid
–
$public
$IT 401
1main
car?
st1_name$
_void
Invalid
Start with number
Question Three
Pg. 03
Learning
Outcome(s):
Describe methods
and tools in
designing a
creative and
dynamic website.
Question Three
2 Marks
In this question, you will request input from the user, then move the user’s
response from one file to another. Create two separate files. The first will
contain a form with one input field asking for the user’s favorite course. Use the
post method for the form. The second file will contain PHP code to process
the user’s response and display the message “Your favorite course is
$course”. You will need to use a conditional statement to handle the issue
where the form was sent without filling out the data by using the “isset()”
function. After the user clicks the submit button, echo back your favorite course
is $course, where $course is the input from the form.
Note:
1. Your output should look as shown below.
2. Include the screenshot of the program output as a part of your answer.
First File
Second File
Pg. 04
Question Three
Question Four
Pg. 05
Learning
Outcome(s):
Instructors
Describe methods
and tools in
designing a
creative and
dynamic website.
Question Four
0.5 Marks
What is the difference between accessing a variable by name and by
reference?
Top-quality papers guaranteed
100% original papers
We sell only unique pieces of writing completed according to your demands.
Confidential service
We use security encryption to keep your personal data protected.
Money-back guarantee
We can give your money back if something goes wrong with your order.
Enjoy the free features we offer to everyone
-
Title page
Get a free title page formatted according to the specifics of your particular style.
-
Custom formatting
Request us to use APA, MLA, Harvard, Chicago, or any other style for your essay.
-
Bibliography page
Don’t pay extra for a list of references that perfectly fits your academic needs.
-
24/7 support assistance
Ask us a question anytime you need to—we don’t charge extra for supporting you!
Calculate how much your essay costs
What we are popular for
- English 101
- History
- Business Studies
- Management
- Literature
- Composition
- Psychology
- Philosophy
- Marketing
- Economics