Zusammenfassung der Ressource
Frage 1
Frage
What does PHP stand for?
Antworten
-
Private Home Page
-
PHP: Hypertext Preprocessor
-
Personal Hypertext Processor
-
Professional Hypertext Processor
Frage 2
Frage
PHP server scripts are surrounded by delimiters, which?
Antworten
-
<&>...</&>
-
<?php...?>
-
<script>...</script>
-
<?php>...</?>
Frage 3
Frage
3. How do you output "Hello World" in PHP
Frage 4
Frage
All variables in PHP start with which symbol?
Frage 5
Frage
What is the correct way to end a PHP statement?
Frage 6
Frage
The PHP syntax is most similar to:
Antworten
-
Perl and C
-
VBScript
-
JavaScript
-
Assembly
Frage 7
Frage
How do you get information from a form that is submitted using the "get" method?
Antworten
-
Request.Form;
-
$_GET[];
-
Request.QueryString;
Frage 8
Frage
When using the POST method, variables are displayed in the URL:
Frage 9
Frage
In PHP you can use both single quotes ( ' ' ) and double quotes ( " " ) for strings:
Frage 10
Frage
Include files must have the file extension ".inc"
Frage 11
Frage
What is the correct way to include the file "time.inc" ?
Antworten
-
<?php include "time.inc"; ?>
-
<?php include:"time.inc"; ?>
-
<?php include file="time.inc"; ?>
-
<!-- include file="time.inc" -->
Frage 12
Frage
What is the correct way to create a function in PHP?
Frage 13
Frage
What is the correct way to open the file "time.txt" as readable?
Antworten
-
fopen("time.txt","r");
-
open("time.txt");
-
open("time.txt","read");
-
fopen("time.txt","r+");
Frage 14
Frage
PHP allows you to send emails directly from a script
Frage 15
Frage
What is the correct way to connect to a MySQL database?
Antworten
-
mysqli_open(host,username,password,dbname);
-
mysqli_db(host,username,password,dbname);
-
mysqli_connect(host,username,password,dbname);
Frage 16
Frage
What is the correct way to add 1 to the $count variable?
Antworten
-
$count =+1
-
++count
-
$count++;
-
count++;
Frage 17
Frage
What is a correct way to add a comment in PHP?
Antworten
-
/*...*/
-
*\...\*
-
<!--...-->
-
<comment>...</comment>
Frage 18
Frage
PHP can be run on Microsoft Windows IIS (Internet Information Server)
Frage 19
Frage
In PHP, the die() and exit() functions do the exact same thing.
Frage 20
Frage
Which one of these variables has an illegal name?