Shared Flashcard Set

Details

IS3202_Quiz_5
PP
20
Business
Graduate
08/25/2010

Additional Business Flashcards

 


 

Cards

Term

What does PHP stand for?

A. Personal Hypertext Processor

B. PHP: Hypertext Preprocessor

C. Personal Home Page

D. Private Home Page

Definition
B
Term
Definition
A
Term

How do you write "Hello World" in PHP

A. "Hello World";

B. echo "Hello World";

C. Document.Write("Hello World");

Definition
B
Term

All variables in PHP start with which symbol?

A. !

B. &

C. $

Definition
C
Term

What is the correct way to end a PHP statement?

A. </php>

B. New line

C. ;

D. .

Definition
C
Term

The PHP syntax is most similar to:

A. Perl and C

B. VBScript

C. JavaScript

Definition
A
Term

How do you get information from a form that is submitted using the "get" method?

A. $_GET[];

B. Request.QueryString;

C. Request.Form;

Definition
A
Term

When using the POST method, variables are displayed in the URL:

A. True

B. False

Definition
False
Term

In PHP you can use both single quotes ( ' ' ) and double quotes ( " " ) for strings:

A. True

 B. False

Definition
True
Term

Include files must have the file extension ".inc"

A. True

B. False

Definition
False
Term

What is the correct way to include the file "time.inc" ?

A. <?php require("time.inc"); ?>

B. <?php include_file("time.inc"); ?>

C. <!--include file="time.inc"-->

D. <% include file="time.inc" %>

Definition
A
Term

What is the correct way to create a function in PHP?

A. new_function myFunction()

B. create myFunction()

C. function myFunction()

Definition
C
Term
Definition
A
Term

PHP allows you to send emails directly from a script

A. True

B. False

Definition
True
Term

What is the correct way to connect to a MySQL database?

A. connect_mysql("localhost");

B. dbopen("localhost");

C. mysql_open("localhost");

D. mysql_connect("localhost");

Definition
D
Term

What is the correct way to add 1 to the $count variable?

A. $count++;

B. count++;

C. $count =+1

D. ++count

Definition
A
Term

What is a correct way to add a comment in PHP?

A. <comment>…</comment>

B. /*…*/

C. *\..\*

D. <!--…-->

Definition
B
Term

PHP can be run on Microsoft Windows IIS(Internet Information Server):

A. True

B. False

Definition
True
Term

In PHP, the die() and exit() functions do the exact same thing.

A. True

B. False

Definition
True
Term

Which one of these variables has an illegal name?

A. $myVar

B. $my-Var

C. $my_Va

Definition
B
Supporting users have an ad free experience!