FIU Robinson Exam 1

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/57

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

58 Terms

1
New cards

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.

2
New cards

As learned in this class, in which operating system(s) does WINSCP work

Windows 10

3
New cards

Using a hyperlink named page 3, call the program located at includes/page3.html

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

4
New cards

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

Various current Operating Systems.

5
New cards

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

6
New cards

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

Most current Operating Systems.

7
New cards

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

it will give us an error

8
New cards

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

public_html

9
New cards

As learned in this class, what is the difference between paragraphs and breaks

breaks terminates a text line and moves cursor to the next line

paragraphs terminates a text paragraph and adds a break command at the end

10
New cards

Name the MAIN two sections of HTML that we have learned in this class

<head> </head> and <body> </body>

11
New cards

As learned in this class, which is the code to display a graphic

<imgsrc="../images/fiulogoCIS3.png" alt="FIU School of Computing & Information Sciences"

width="100" height="90" border=0 />

12
New cards

Which is the code to call a website using a graphic, as learned in this class?

<a href="http://cs.fiu.edu">

<img src="../images/fiulogoCIS3.png" alt="FIU School of Computing & Information Sciences"

width="100" height="90" border=0 />

13
New cards

As learned in this class, 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

14
New cards

As learned in this class, what does the FACE command do

Is the command that assigns the font name in html

15
New cards

As learned in this class, inside a column, using the font tag, display CLASS, using courier font, color brown size 5

<td><font face=courier size=5 color=brown> CLASS </font> </td>

16
New cards

As learned in this class, name 5 (five) attributes in tables learned in program one

height, width, border, bgcolor, cellspacing

17
New cards

As learned in this class, what does the cellpading attribute do

Allows us to create padding around the cell content

18
New cards

As learned in this class, what does the cellspacing attribute do

It specifies the space between cells.

19
New cards

As learned in this class, what is the purpose of the <font> tag

Set font attributes to text written between <font> and </font> in html

20
New cards

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

21
New cards

As learned in this class, write the code to create 2 Radio Button

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

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

22
New cards

As learned in this class, write the code to create a submit button as done in program 2.

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

23
New cards

As learned in this class, write the code to extract and display the data from any field inputed on a front end, as done on the controller2.php program

$Others = $_POST['Others'];

echo others = $Others;

24
New cards

As learned in this class, what is the <form> tag purpose as done in program 2

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

25
New cards

As learned in this class, write the opening and closing of the tag that calls the constructor2.php program passing in all data, "hidden", on pgm2 front-end

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

26
New cards

As learned in this class, 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'); }

27
New cards

As learned in this class, write the code of one input text field in pgm 2

<input type="text" name="Telephone" value="" style="width: 100%;">

28
New cards

As learned in this class, what is the purpose of the controller2.php page, as done in program 2

To process the input of program 2 front end

29
New cards

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

<input type="CheckBox" name="Message1" value="Complaint">Complaint

<input type="Checkbox" name="Message2" value="Problem">Problem

30
New cards

As learned in this class, name the three main opening tags of the dropdown

<li> <ul> <nav>

31
New cards

Write the code to connect and have full access to your MySQL

mysql -h ocelot.aul.fiu,edu -u username -p

32
New cards

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

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

33
New cards

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

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

34
New cards

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

35
New cards

Write in sequence the following commands: delete a table, display all your databases names, connect to your MySQL

drop tablename; show database; mysql -h ocelot.aul.fiu.edu -u username -p

36
New cards

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, hiding.

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

37
New cards

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>

38
New cards

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

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

39
New cards

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

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

40
New cards

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

method="post"

41
New cards

Which command tell us that we are using HTML5?

<!DOCTYPE html>

42
New cards

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

<title>Joe Smith</title>

43
New cards

How do you extract data from your Program2.php front end?

$Telephone = $_POST['Telephone'];

44
New cards

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

/this is a test/

45
New cards

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

echo Telephone $Telephone."<br>";

46
New cards

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>

47
New cards

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

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

48
New cards

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

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

49
New cards

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

In the first level of the public_html folder.

50
New cards

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

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

51
New cards

What is inline CSS3 code?

CSS3 code located in the body section overriding internal CSS3 code

52
New cards

Write the code for a dropdown input as done in program 2

<select name="Age" style="width: 100%"size="1";>
<option value="Under_200">Under 200</option>

53
New cards

What is internal CSS3 code

CSS3 code located in the head section

54
New cards

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

<!-- this is a test -->

55
New cards

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

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

56
New cards

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

57
New cards

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

To inform the browers that you are using HTML 5.

58
New cards

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>