CGS 4854 Exam 1 Study Guide
“Exam Goldmine: Every Question You’re Likely to See — Answered”
Write the code to display your last name, first name, and exam 1 at the title section of the
website - <html>
<head> <title> Vigueras, Ariel, Exam 1 </title> </head>
</html>
Write the code for a textarea input box as done in program 2 - <textarea name =
"comments"> </textarea>
What is the purpose of controller2.php as used in program 2 - The controller2.php will allow
access to all of the data that was submitted under the form tag
As discussed/explained in class, what are the purposes of:
A) Back-end section - What the user does not see and they don't interact with, it is all of the
code written that computes the front end.
As discussed/explained in class, what are the purposes of:
B) Front-end section - What the user sees and interacts with where they input data and get
information.
As discussed/explained in class, what are the purposes of:
C) Controller - Serves as the back end section that receives all user input and calls other
programs.
Name the programming languages that we have used so far in this class - Html, CSS, PHP
, Write the code to display the label and contents of ANY TWO FIELDS as done in controller2.php
- $FirstName = $_POST['FirstName'];
Echo 'FirstName is . $FirstName';
$LastName = $_POST['LastName'];
Echo 'LastName is . $LastName';
What is the purpose of the <form> tag as done in program 2 - The <form> tag will send all
the data in the current page, HIDDEN, to the page assigned to the action command.
Name the sections used to create a CSS3 menu as done in program 2. Not the CSS3 code just
the section names. - //this section is used to align the menu in the center
<nav align ="center">
</nav>
//this section is a row rul is row
<ul> </ul>
//this section is a column lic is column
<li></li>
//we use this to include links within each column
<a></a>
What will this code do: chmod 755 ../../../* - it would cause an error
Create a CENTERED horizontal menu using hyperlinks for page4 and Home. Remember all pages
must be inside the includes folder. - <tr>
<td align="center">
<a href="page4.html" Page4> Page 4 </a>
</td>
“Exam Goldmine: Every Question You’re Likely to See — Answered”
Write the code to display your last name, first name, and exam 1 at the title section of the
website - <html>
<head> <title> Vigueras, Ariel, Exam 1 </title> </head>
</html>
Write the code for a textarea input box as done in program 2 - <textarea name =
"comments"> </textarea>
What is the purpose of controller2.php as used in program 2 - The controller2.php will allow
access to all of the data that was submitted under the form tag
As discussed/explained in class, what are the purposes of:
A) Back-end section - What the user does not see and they don't interact with, it is all of the
code written that computes the front end.
As discussed/explained in class, what are the purposes of:
B) Front-end section - What the user sees and interacts with where they input data and get
information.
As discussed/explained in class, what are the purposes of:
C) Controller - Serves as the back end section that receives all user input and calls other
programs.
Name the programming languages that we have used so far in this class - Html, CSS, PHP
, Write the code to display the label and contents of ANY TWO FIELDS as done in controller2.php
- $FirstName = $_POST['FirstName'];
Echo 'FirstName is . $FirstName';
$LastName = $_POST['LastName'];
Echo 'LastName is . $LastName';
What is the purpose of the <form> tag as done in program 2 - The <form> tag will send all
the data in the current page, HIDDEN, to the page assigned to the action command.
Name the sections used to create a CSS3 menu as done in program 2. Not the CSS3 code just
the section names. - //this section is used to align the menu in the center
<nav align ="center">
</nav>
//this section is a row rul is row
<ul> </ul>
//this section is a column lic is column
<li></li>
//we use this to include links within each column
<a></a>
What will this code do: chmod 755 ../../../* - it would cause an error
Create a CENTERED horizontal menu using hyperlinks for page4 and Home. Remember all pages
must be inside the includes folder. - <tr>
<td align="center">
<a href="page4.html" Page4> Page 4 </a>
</td>