• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 6 pages
Exam (elaborations)

CGS 4854 Exam 1 Study Guide | UPDATED Questions with 100% Verified Answers

Document preview thumbnail
Preview 2 out of 6 pages

CGS 4854 Exam 1 Study Guide | UPDATED Questions with 100% Verified Answers

Content preview

CGS 4854 Exam 1 Study Guide | UPDATED Questions
with 100% Verified Answers
Q1: Write the code to display your last name, first name, and exam
1 at the title section of the website
A: <html>
<head> <title> Vigueras, Ariel, Exam 1 </title> </head>
</html>


Q2: Write the code for a textarea input box as done in program 2
A: <textarea name = "comments"> </textarea>


Q3: What is the purpose of controller2.php as used in program 2
A: The controller2.php will allow access to all of the data that was submitted under the form
tag


Q4: As discussed/explained in class, what are the purposes of
A) Back-end section
A: What the user does not see and they don't interact with, it is all of the code written that
computes the front end.


Q5: As discussed/explained in class, what are the purposes of
B) Front-end section
A: What the user sees and interacts with where they input data and get
information.


Q6: As discussed/explained in class, what are the purposes of
C) Controller
A: Serves as the back end section that receives all user input and calls other programs.


Q7: Name the programming languages that we have used so far in
this class
A: Html, CSS, PHP


Q8: Write the code to display the label and contents of ANY TWO
FIELDS as done in controller2.php
A: $FirstName = $_POST['FirstName'];
Echo 'FirstName is . $FirstName';
$LastName = $_POST['LastName'];
Echo 'LastName is . $LastName';

, Q9: What is the purpose of the <form> tag as done in program 2
A: The <form> tag will send all the data in the current page, HIDDEN, to the page assigned
to the action command.


Q10: Name the sections used to create a CSS3 menu as done in
program 2. Not the CSS3 code just the section names.
A: //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>


Q11: What will this code do: chmod 755 ../../../*
A: it would cause an error


Q12: Create a CENTERED horizontal menu using hyperlinks for
page4 and Home. Remember all pages must be inside the
includes folder.
A: <tr>
<td align="center">
<a href="page4.html" Page4> Page 4 </a>
</td>
<td align="center">
<a href="../index.html" Page5> Home </a>
</td>
</tr>


Q13: What does cellpadding do?
A: space between the cell wall and the cell content


Q14: What does cell spacing do?
A: Space between two cells


Q15: Write the code to extract and display the data from the field
name FirstName inputted in program 2 as done in
controller2.php program
A: $FirstName = $_POST['FirstName'];
Echo 'FirstName . $FirstName';

Document information

Uploaded on
October 7, 2026
Number of pages
6
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$13.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
ExamsCollection
3.9
(45)
Sold
260
Followers
9
Items
40196
Last sold
21 hours ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions