CGS 4854 2

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

Which is an example of a single commented line of code in mySql <\this is a test\> <!this is a test> /*this is a test*/ <!--this is a test-->

/*this is a test*/

What are proportional fonts They are proportional to the height of its letters and symbols Where every letter occupies the space of They use varying widths to display each of its letters and symbols Their letters and symbols are proportional to the columns alignment

They use varying widths to display each of its letters and symbols

In terminal, how do you connect to a database named webDB find webDB; connect webDB; attach webDB; join webDB;

connect webDB;

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

17

in Ubuntu, what will this code do: ../../../chmod * 755 It will give 755 rights to all files located 3 folders behind/up It will give 755 rights to all files located 3 folders forward it will give 755 rigths to all files and folders it will give us an error

it will give us an error

How do you display left justified input fields on Program 3 <style="width: 5%; align-middle;">Telephone &nbsp; </th> <input style="width: 5%; text-align: center;">Telephone &nbsp; </input> <table style="width: 5%; align: right;">Telephone &nbsp; </td> <td style="width: 5%; text-align: left;">Telephone &nbsp; </td>

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

In addition to HTML what other language was used to create our customer table in our website Javascript Python CSS3 PHP

PHP

What is the purpose of the contact_me program in program 3 To send data to the Contact_me_Controller.php To Send data to the back-end To send data to our email system To send data to mySql

To send data to the Contact_me_Controller.php

Where is the location of the index.html file, as learned in this class. Inside the includes folders in the second level/folder of the public.html folder Outside the public_html folder in the first level/folder of the public_html folder

in the first level/folder of the public_html folder

How did you send your email in program 3 mail[to, subject, body]; mail($to, $subject, $body); <body> mail[$to, $subject, $body];</body> <html><body> mail[$to, $subject, $body];</body></html>

mail($to, $subject, $body);

Which is an example of a single commented line of code in html >#this is a test< <!#this is a test--> </*this is a test*/!> <!-- this is a test -->

<!-- this is a test -->

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

33

Which of the following clears the Front End data as done in Program3 <input name="clear" type="text" value"Clear"> <input name="clear" type="submit" value"Clear"> <input name="clear" type="" value"Clear"> <input type="reset" name="clear" value"Clear">

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

In terminal, how do you know the names of the databases you have display databases; show databases; list databases; exhibit databases;

show databases;

In terminal, how do you delete a table delete tablename; erase tablename; drop tablename; discard tablename;

drop tablename;

How do you display right justified input fields on Program 3? <styles="width: 5%; right_align;">Telephone &nbsp; </th> <input style:"width: 5%; text-align=middle;">Telephone &nbsp; </input> <td style="width: 5%; text-align: right;">Telephone &nbsp; </td> <table style="width: 5%; align: left;">$Telephone &nbsp; </td>

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

Write the code to create a mySql table with a NOT NULL primary key, any names are ok "CREATE TABLE".$tableName."( Email VARCHAR(20) NOT NULL, PRIMARY_KEY(Email) )"; "CREATE TABLE".$tableName."( Email VAR(20) NOT NULL, PRIMARY_KEY(Email) )"; "CREATE TABLE".$tableName."( Email VARCHAR(20) NOT NULL, PRIMARY_KEY[&Email] )"; "CREATE TABLE".$tableName."( $Email VARCHAR(20) NOT NULL, PRIMARY_KEY(Email) )";

"CREATE TABLE".$tableName."( Email VARCHAR(20) NOT NULL, PRIMARY_KEY(Email) )";

Write the code from delete.php program, as done in program 3 "DELETE FROM customers WHERE Telephone='$Telephone'"; "ERASE FROM customers WHERE Telephone='$Telephone'"; "REMOVE FROM customers WHERE Telephone='$Telephone'"; "CANCEL FROM customers WHILE Telephone='$Telephone'";

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

How do you extract data from your Program3.php Front End Telephone = $_POST('Telephone'); POST{$Telephone}; $Telephone = $_POST['Telephone']; Telephone = $POST['Telephone'];

$Telephone = $_POST['Telephone'];

Write the code to modify a record "MODIFY Customers SET one = '$one', three = '$three' WHILE Email = '$Email'"; "UPDATE Customers SET one = '$one', three = '$three' WHERE Email = '$Email'"; "UPDATE Customers SET one = '$one', three = '$three' WHEN Email = '$Email'"; "MODIFY Customers SET one = '$one', three = '$three' WHILE Email = '$Email'";

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

Which is an example of a single commented line of code in PHP //this is a test <%this is a test%> <%/*this is a test*/> <!--this is a test--#>

//this is a test

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

31

Write a html program that will have two main parts in html, as learned in this class. <html> <body> </body> <head> </head> </html> <html> <head> <body> </body> </head> </html> <html> <body> <head> </head> </body> </html> <html> <head> </head> <body> </body> </html>

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

Write the code to connect and have full access to your mySql ssh [email protected] mysqli_select_db( $connection, "WebDB" ); ssh -X [email protected] mysql -h ocelot.aul.fiu.edu -u userName -p

mysql -h ocelot.aul.fiu.edu -u userName -p

What is the purpose of the <form> tag, as done in this class To display data in a formatted manner so it looks organized on the front end To format data properly so that the controller6.php can extract it properly To sent data to a program being called by it, after creating all fields in it To create all fields in it

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


Kaugnay na mga set ng pag-aaral

Nursing Fundamental LEC chapter 5

View Set

human growth and development exam 2

View Set

Lab 3: Mystery Mutant Yeast & RD Mutants

View Set

TCM (Traditional Chinese Medicine)

View Set