Shared Flashcard Set

Details

CGS 4854 Final
Robinson Final
16
Computer Science
Undergraduate 4
04/20/2014

Additional Computer Science Flashcards

 


 

Cards

Term
In the JSP book, what is the purpose of the if block in a controller?
Definition
To determine which button was pressed in the page that called the controller
Term
In our controller webpages in the book, what is the percentage of Java plus HTML code in it.
Definition
100%
Term
Where do we have to use the following

import java.io.IOException;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

PHP, javaScript, JSP, servlet, or HTML ?
Definition
servlet
Term
Another form element is a password text box. Its type is password. Create a JSP that has a text box, a password text box and a button. Send the data from the form to a second JSP in which the values from the text box and the password text box are displayed.
Definition
//form // // // /form
Term
What do you need to do if you get a 404 error?
Definition
Change permissions
Term
In addition to HTML, name 3 other languages that can be used when building a website.
Definition
JavaScript, PHP, CSS
Term
What is the purpose of the index.html file?
Definition
Default page that server looks for
Term
Create a page that will pass data to another page using the browser. Create another page that will accept and print the data received from the previous page.
Definition
Pass:
Receive: $variable = $_GET['variable']
if ($variable == 'exam') echo $variable
Term
Write hyperlinks, use relative when possible: to Microsoft.com, to the file page2.html that is in same directory, to file page3.php that is in a subdirectory of current named SPECIAL, to file page4.html that is in a subdirectory named COMMON located inside SPECIAL directory.
Definition
Microsoft
Page2
Page3

Page4
Term
Where does PHP execute? Where does HTML execute?
Definition
Server, Browser
Term
Using view source page, what code can you see?
Definition
HTML, JavaScript
Term
Create a CSS file that will: set courier as default font, set 20 as font size, set black as text color, set white as background color.
Definition
.text {size:20; color: black; background-color: white; font: courier;}
Term
Name of program used to upload files to a web server from Windows, Mac, and Linux?
Definition
Filezilla
Term
In which OS can we use WinSCP to connect to a server?
Definition
Windows
Term
Create a table containing one row and three columns. In first column write "life is good" using previous css, and vertically and horizontally centered. In second column attach an image that will call http://fiu.edu. In third column attach an image called papajohn.
Definition
life is good [image] Papa Johns
Term
What is the difference between POST and GET?
Definition
GET pulls data from query string and does not allow sessions. POST does not show the query string and allows sessions.
Supporting users have an ad free experience!