• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 2 fuera de 6 páginas
Examen

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

Document preview thumbnail
Vista previa 2 fuera de 6 páginas

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

Vista previa del contenido

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';

Información del documento

Subido en
7 de octubre de 2026
Número de páginas
6
Escrito en
2026/2027
Tipo
Examen
Contiene
Preguntas y respuestas
$13.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
ExamsCollection
3.9
(45)
Vendido
260
Seguidores
9
Artículos
40196
Última venta
23 horas hace




Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes