Exxam 2 - Edited by Rei

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

What is the main difference (as explained in class) between GUI

GUI Interactions are used via mouse (pointer and is limited to what the GUI allows Terminal Mode It's a console interactions are done through a keyboard, allows full access to an OS.

What is the purpose of the controller2.php page, as done in program 2?

To receive all information from the calling page and process such data.

Post

( $_POST[ 'anyButtonName2' ] )

Write the code to extract and display the data from a field named FirstName, inputted in program 2 as done on the controller2.php program (Worth .50)

$Firstname = $_POST['FirstName']; echo $FirstName;

Write the code to create two radio buttons (Worth .50)

<input type="radio" name="gender" value="Male"> Male <input type="radio" name="gender" value="Female"> Female

Write the code to create a dropdown input as done in program 2, containing 3 choices

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

Create one table using border 2, color red, with one row and inside this row create two columns (Worth .33)

<table border="2" color="red"> <tr> <td> text </td> <td> text </td> </tr> </table>

Inside Column one using the font tag display GREAT, using Arial font, color yellow size 3 (Worth .33)

<td><font face="Arial" color="yellow" size="3"> GREAT </font></td>

Inside column two using the font tag, display CLASS, using Courier font, color brown size 5 (Worth .33)

<td><font face="Courier" color="Brown" size="5> CLASS </font></td>

Write the code to create a textArea as done in program2

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

What does the filezilla program do? (Worth .50)

FTP client that runs on multiple OS (Lets you access ocelot using FTP/SFTP

What does the WINSCP Program do? (Worth .50)

FTP client that runs on windows (Lets you access ocelot using FTP/SFTP

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

If ( $_POST[ 'anyButtonName' ] ) { Echo "anyButtonName was pressed" } Else if( $_POST[ 'anyButtonName2' ] ) { Echo "anybuttonName2 was pressed" }

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

Produce a error

What operating system does WINSCP work? (Worth .50)

Windows

In which Operating systems does filezilla work? (Worth .50)

Windows, Mac, Linux

Write the heading and closing of the form that calls the constructor2.php `passing in all data, "hidden", on the front-end of program 2.

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

Write the code of two text input field in program 2

<input type="text" name="FirstName" Value="" > <input type="text" name="LastName" Value="">

Write the code of two input text fields in program 2

<input type="text" name="FirstName" value="" > <input type="text" name="LastName" value="" >

Name the main CSS commands, used in the html body section, to create a CSS3 menu as done in program 2. Not the CSS3 code just the sections names

<nav> <ul> <li>

Write the code to create 2 check boxes

<input type= "checkbox" name= "robotics" value= ""> Robotics <input type= "checkbox" name= "engineering" value= ""> Engineering

Write the code to create a submit button as done in progrram 2 (Worth .50)

<input type="submit" name="save" Value="save">

Advantage of php

Everything is hidden server side

What is the purpose of the <form> tag as done in program 2 (Worth .50)

To send all data in the current page, HIDDEN, to the page assigned to the action command

Echo

<?php echo $CaseID ?>

Include

<?php include( 'header.php' ); ?>


Kaugnay na mga set ng pag-aaral

Ballast Practice Questions Full Exam - DONE

View Set

Present tense of -ar verbs Review

View Set

The Iroquois Creation Myth: "The World on Turtle's Back"

View Set

CS160 - Midterm 1: Practice Test

View Set