CGS 4854 Exam 2

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

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 is the purpose of the code in controller4.php

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

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

To process the input of the program4.php front end

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

<li> <ul> <nav>

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

Windows.

How do you display right justified input fields on Program 2

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

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>

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

Displays page 1 page 2 horizontally centered

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

In the first level/folder of the public_html folder.

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.

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

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

What is the purpose of the <form> tag, as done in this class

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

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' WHERE Email = '$Email'";

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

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

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 of one input text field as done in program 4

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

How do you display left justified input fields on Program 4

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

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

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

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

It will give 755 rigths to all files and folders

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 single commented line of code in PHP

//this is a test

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">

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

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>

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 radio buttons as done in program 2.

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


Ensembles d'études connexes

NR228 Edapt Fat Soluble Vitamins

View Set

Oganizational reward/Compensation Test 2 Study Guide

View Set

Chapter 3: Social Science Theories and Their Implications to Education

View Set

Multiple Choice Questions from textbook

View Set