CGS 4854 Exam 1 Study Guide

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan 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 code that will clear the screen in program 2?

<input type="reset" name="ClearScreen" value="Clear Screen">

Create another menu to display 2 vertical links.

<nav align = "center"> <ul> //row <li><a href="../includes/pgm1.html">Program 1 </a> </li> //column <ul> //row <li><a href="page1.html">page 1</li> //vertical column <li><a href="page2.html">page 2</li> //vertical column </ul> </li> <li<a href="pgm2.php"> Program 2 </a> </li> </ul> </nav>

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

Windows

Connect to ssh

ssh -X [email protected]

What is the setup of your website?(folders)

1. public_html (contains) -images -index.html -includes

Write the code of two input text fields in program 2

<Input type = text name = "text" value = "Hi there"> <Input type = text name = "text" value = "d and d">

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>

How do you create a checkbox?

<input type = "checkbox" name = "Checkbox1" value ="C

How do you create a color button?

<input type = color name = "Color">

How do you create a form in HTML?

<form method="post" action="Controller PGM3.php">

Write the headings and the closing of the form that calls the constructor2.

<form method="post" action="constructor2.php"> </form>

Assume you're in the same folder in the index, create a form that will call the program and send the data hidden and send data to another file.

<form method="post" action="controller2.php"> </form>

Name the main CSS commands to create a menu

<nav> <ul> <il> </il> <ul> </nav>

What are WINSCP and FILEZILLA used for?

A software used to transfer files over the internet

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

Hyper Text Markup Language

form POST is hidden and form ______________ is URL

GET

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> <td align="center"> <a href="../index.html" Page5> Home </a> </td> </tr>

Write the modified menu in program 1 (that calls program 2).

<tr> <td align="center"> <a href="program2.php" Program 2> Program 2</a> </td> </tr>

Display table to the left of the screen showing the frames of the borders.

<table width="50%" border="5" align="left"> <tr> <td valign="middle" align="center"> <font face ="courier"> hi baby you are my favorite </face> </td> </tr> </table>

Write the code to display your project/company name, as done in program 2

<table> <tr> <font face = "Calibri" size ="11" align ="center"> Apple </font> </tr> </table>

Write the code in constructor 2 to find out which button was pressed. Just an example.

If($_POST['save'] { Echo "saved"; }

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

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

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.

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

In the first level/folder of the public_html folder

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.

chmod 711

This command sets permissions so that, (U)ser / ow can write and execute. (G)roup can't read, can't execute. (O)there can't read, can't write and can execute.

Assuming that you are inside constructor 2 write that code that will extract the data from the front end

$FirstName = $_POST['FirstName']; Echo 'FirstName is . $FirstName';

chmod 755

This command allows everyone to read and execute the file owner is allowed to write to the file as well.

What does cellpadding do?

space between the cell wall and the cell content

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

<textarea name = "comments"> </textarea>

How do you create a form in JavaScript?

function validateForm() { }

How do you create a file button?

<input type = file name = myFile>

Write the heading and closing of the form that calls the controller2.php program

<form method = "post" action = controller2.php"> </form>

Display welcome using x font x size x color.

<font face ="Arial" color ="blue" size= "11" align="center"> welcome</font>

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

Write the code to extract and display the data from the field name FirstName inputted in program 2 as done in controller2.php program

$FirstName = $_POST['FirstName']; Echo 'FirstName . $FirstName';

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

Write the code to create a radio button.

<Input type=radio name="rad" value="1997">

Using CSS create 2 horizontal options with links that will take you to different pages (a dropdown menu).

<nav align = "center"> <ul>//row <li><a href="page1.html">Page 1 </a> </li> //horizontal column <li<a href="page2.html"> Page 2 </a> </li> //horizontal column </ul> </nav>

How do you create a dropdown?

<select name="Floor" style="width: 90%;"> <option disable selected value="Select One"> --Select One-- </option> <option value="Title" <select>

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>

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>

How did you create a clear button in PGM2?

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

Create a table with one row and inside that row create two columns

<table width ="100%" bordercolor="blue"> <tr> <td> <font face="times" color ="red"> darien </font> </td> <td> <font face="Arial" color ="black"> durnita </font> </td> </tr> </table>

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

<title> Joe Smith </title>

Write the code to create a checkbox.

<input type = checkbox name="sally" value="sally"> <input type = checkbox name="sam" value="sam">

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

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.

In two different lines create "We are the Webs Design" using different alignment to the left, center, right/color/etc.

<center> <font face ="times" color ="blue"> we </font> </center> <font face ="arial" color ="red"> are </font> //something like this ^

Write the code to create a submit button as done in program 2

<input type=submit name ="submit" value="submit">

Write the code to create a drop down.

<select name="age" style="width: 100%;"> <option value="Under 20"> Under 20 </option> <option value="20-30"> 20-30 </option> </select>

Create one row and one column that will display something with different colors, sizes, and fonts

<table width="100%" bordercolor ="black> <tr> <td> <font face ="arial" color="blue> you ain't gunna get the chance </font> </td> </tr> </table>

Assume that you are in the folder where the index file is found, create hyperlink that will call page 1 located in the includes folder

<tr> <td align="center"> <a href="page1.html" Page1> Page 1</a> </td> </tr>

Name the programming languages that we have used so far in this class

Html, CSS, PHP

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

Most current Operating Systems

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.

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

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

to inform the browers that are using HTML5.

What is the name of the folder to place all your program and folders for your website in this class.

public_html

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>

Create a horizontal menu with hyperlinks.

//we have this repeated <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>

What does cell spacing do?

Space between two cells

What will this code do: chmod 755 ../../../*

it would cause an error

Create a CSS section named whatever and change that background color and change the font and color of letters. As shown on the html head section in this class. (CSS in the HEAD, not BODY).

<html> <head> Text // instead of text maybe <style type="text/css"> { background: red; color: blue; font family: Arial; } </head> <body> </body> </html>

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.

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

public_html


Set pelajaran terkait

FIN081- Financial Statement Analysis (Part 2)

View Set

Music Appreciation Module 2 Chp 7-12

View Set

Biology 102 MindTap Questions CH 10 12 & 15

View Set