final website construction

Ace your homework & exams now with Quizwiz!

Being inside the includes folder, create a CENTERED horizontal menu using hyperlinks for page4 and page3.

<center> <a href="page4.html">page4</a> <a href="page3.html">page3</a> </center>

Write the code to create a checkbox input box as done in program 3

<input type="checkbox" name="IT"<if ($CS == "CS") echo checked;> value="CS" > CS

Write the code to create two radio buttons as done in program 2.

<input type="radio" name="Coffee" value="American" > American <input type="radio" name="Coffee" value="Instant"> Instant

Write the code of one input text field as done in program 4.

<input type="text" name="anyFieldName" value="<php echo $anyFieldName >">

Create one input text field named telephone as done in program 2.

<input type="text" name="telephone" value="">

Name the three main opening tags of the dropdown menu used in program 2.

<li> <ul> <nav>

Ignoring the row spacing, create a menu using the html, CSS3 learned in this class, in program 2, to display two (2) horizontal options/links, named page1 and page2

<nav> <ul> <li> <a href="page1">page1</a> <a href="page2">page2</a> </li> </ul> </nav>

What does the FILEZILLA program do, as learned in this class.

Allows you to Create/Delete/Upload/Download folders/files to/from your FIU server.

What does the WINSCP program do?, as learned in this class.

Allows you to Create/Delete/Upload/Download folders/files to/from your ocelot.aul.fiu.edu FIU server.

What does the Putty program do, as learned in this class.

Allows you to have full remote control of your FIU server, as a user.

What does this code do: <a href="includes/page1.html"><center>page 1</center></a> <a href="includes/page2.html"><center>page 2</center></a>

Displays page 1 page 2 vertically centered.

What does this code do: <a href="includes/page1.html"><center>page 1</center></a> <a href="includes/page2.html"><center>page 2</center></a>

Displays page 1, page 2 vertically centered.

What does HTML stands for, or what is the meaning of HTML?

Hyper Text Markup Language

What is the location of the index.html file, as learned in this class.

In the first level of the public_html folder.

What is the difference between paragraphs and breaks, as learned in this class.

Paragraphs terminate a text paragraph and adds an additional line at the end, breaks terminates a text line and moves the cursor to the next line.

What is the purpose of the code in controller3.php

To Receive all information from the calling pages and process such data

What is the purpose of the code in Controller3.php?

To Receive all information from the calling pages and process such data.

What is the purpose of the code in controller4.php?

To Receive all information from the calling pages and process such data.

In which operating system(s) does PUTTY work, as learned in this class.

Various current Operating Systems.

In which operating system(s) does WINSCP work, as learned in this class.

Windows

How were we required to display the Front End labels and data from Program2.php on Controller2.php

echo Telephone $Telephone."<br>";

How were we required to display the Front End labels and data from Program2.php on Controller2.php?

echo Telephone $Telephone."<br>";

Write the code that finds out which button was pressed, Use two buttons as an example.

if ( $_POST['Save'] ) { echo $save ; } else if ( $_POST['Find'] ) { echo 'Find'); }

Find out which submit button was pressed, as done in Controller2.php.

if( $_POST['anyButtonName']) { echo 'You pressed the anyButtonName'; }

In Ubuntu, what will this code do: ../../../chmod * 755

it will give us an error

What is the command in the <form> tag to send hidden data

method="post"

Close an SQL Connection.

mysqli_close($connection)

Connect to an SQL Database.

mysqli_connect($server, $username, $password, $database)

In Linux, what is the name of the folder to place all your programs and folders for your website, used in this class.

public_html

In ocelot.aul.fiu.edu, what is the name of the folder where you place all your programs and folders for your website, as learned in this class.

public_html

Which is an example of a commented line of code in HTML?

<!-- this is a test -->

Which command tells us that we are using HTML5?

<!DOCTYPE html>

How do you display left justified input fields on Program 2?

<td style="width: 5%; text-align: left;">Telephone &nbsp; </td>

Write the code for a textarea input box as done in program 3.

<textarea name="SpecialNeeds" rows="5" cols="42">any data</textarea>

In HTML, create a title with your first name, last name. Example Joe Smith.

<title>Joe Smith</title>

Write the code that will display an image called theGraph.png that when pressed, it will load the web page called fiu.edu.

<a href="http://fiu.edu"><img src="theGraph.png" /></a>

Write the code from delete.php program, as done in program 4.

"DELETE FROM customers WHERE Telephone='$Telephone'";

Write the code to save a record containing the following fields: Email as the primary key not accepting empty fields of length 20 and 1 textarea input field called one.

"INSERT INTO customers ( Email, one ) VALUES( '$Email', '$one' )";

Write the code to modify a record

"UPDATE customers SET one = '$one', three = '$three' WHEN Email = '$Email'";

Write the code to modify a record.

"UPDATE customers SET one = '$one', three = '$three' WHERE Email = '$Email'";

How do you extract data from your Program2.php Front End?

$Telephone = $_POST['Telephone'];

Write the code to connect to a database called WebDB using PHP.

$db_selected = mysqli_select_db( $connection, "WebDB" );

Which is an example of a commented line of code in PHP?

/*this is a test*/

Which is an example of a single commented line of code in PHP?

//this is a test

Assume that you are at the directory/folder were the index.html file is located. Using a hyperlink named page 3, call the program located at includes/page3.html.

<a href="includes/page3.html">page 3</a>

Create one table with one row and two columns as done in Program 2.

<table> <tr> <td> <td> </td> </td> </tr> </table>

Display FIU is Great in green color, Ariel font and size 2, As done in program 1.

<font color=green size=2 face=Ariel>FIU is Great</font>

Assume that you are in the same folder where the index file is found, create the heading of a form to call page3, located in the includes folder, passing its data, hidding.

<form method="post" action="includes/page3">

Write a html program that will have the two main parts in html, as learned in this class,

<html> <head> </head> <body> </body> </html>

Which of the following clears the Front End data as done in Program2?

<input name="clear" type="reset" value="ClearScreen">

Write the code to create a checkbox input box as done in program 4.

<input type="checkbox" name="CS" <php if ($CS == "CS") echo checked;> value="CS" > CS

Write the code to create two checkboxes input box as done in program 2.

<input type="checkbox" name="IT" value="IT" > IT <input type="checkbox" name="CS" value="CS" > CS

In which operating system(s) does FILEZILLA work, as learned in this class.

Most current Operating Systems.

What is the purpose of DOCTYPE html, as learned in this class.

To inform the browers that you are using HTML 5.

What is the purpose of the controller4.php page, as done in program 4?

To process the input of the program4.php front end.

What is the purpose of the <form> tag, as done in program 2?

To send data to a program being called by it, after creating all fields in it.


Related study sets

English 12B- Unit 1: Heroes (The Middle Ages, 400-1500)

View Set

Module 1 The Revenue Cycle and Regulatory Compliance Vocab

View Set

Sternal Angle - 5cm below jug notch

View Set