
PHP (Forms and Variables)
Quiz
•
Computers
•
9th - 11th Grade
•
Practice Problem
•
Medium
NATHAN FRANKENBERGER
Used 9+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What does the action attribute control in the <form> tag?
How the form is displayed
Where the data from the form is sent
If the data is displayed in the address bar
If the form is interactive
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What denotes a variable in PHP?
#
_
!
$
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
When using "Post" as your form method, what variable will contain all the values sent by the form?
$GET
$POST
$_POST
$_GET
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
When using "Get" as your form method, what variable will contain all the values sent by the form?
$GET
$POST
$_POST
$_GET
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
$_GET and $_POST are best descibed as
arrays
doubles
Strings
integers
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given <input type='text' name='last'>, how would this data be accessed after the form has been submitted (assume method was POST)
$_POST['text]
$_POST['last']
$_POST[]
$_POST['input']
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Escape sequences are valid inside which type of String?
' '
" "
$ .... $
// ........ //
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
15 questions
Linux-2 Quiz 2 -- LAMP
Quiz
•
1st - 12th Grade
15 questions
Excel
Quiz
•
10th - 12th Grade
15 questions
LA1.C1: Introduction to Small Basic
Quiz
•
9th Grade
20 questions
Advantages and Disadvantages of Collecting Data
Quiz
•
10th Grade
16 questions
Unit 8 Practice Test For CSP
Quiz
•
9th Grade
16 questions
AI Checkpoint 1 Revision
Quiz
•
9th - 12th Grade
15 questions
Programming
Quiz
•
10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
