
PHP-Midterm Exam
Authored by DENNIS GONZALES
Computers
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
60 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which PHP function is used to execute SQL queries?
mysqli_query()
mysql_query()
pdo_query()
sql_query()
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
It is a collection of 1024 Terabytes
Exabyte
Petabyte
Zettabyte
Yottabyte
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is used to retrieve data from a MySQL database?
mysqli_fetch_array()
mysql_fetch_all()
pdo_fetch_all()
mysqli_query()
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is used to establish a connection to a MySQL database?
mysqli_connect()
mysql_connect()
pdo_connect()
sql_connect()
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is used to initialize your session?
session_close()
session_start()
session_unset()
session_destroy()
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is used to retrieve the number of rows in a result set?
mysqli_num_rows()
mysql_num_rows()
pdo_num_rows()
sql_num_rows()
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which SQL statement is used to extract data from a database?
SELECT
INSERT
UPDATE
DELETE
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
60 questions
K11 - ĐỀ CƯƠNG
Quiz
•
11th Grade - University
55 questions
Microsoft Azure Fundamentals AZ-900 ENG #1
Quiz
•
University - Professi...
55 questions
Information Security Management System - Kuis 1
Quiz
•
University
55 questions
ITC 112 - Topic 1 Quiz
Quiz
•
University
59 questions
VGD review quiz
Quiz
•
University
65 questions
Tin ...
Quiz
•
University
59 questions
CompTIA A+ 220-1001 Chapter 17 - 20
Quiz
•
University
60 questions
JavaScript -MIDTERM EXAM
Quiz
•
University
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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