
Programming in PHP - UNIT IV

Quiz
•
Computers
•
12th Grade
•
Hard
MS.SHYAMALADEVI C
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which PHP function is used to open a file?
fopen()
file_open()
open_file()
readfile()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What mode is used in fopen() to open a file for writing and create the file if it doesn’t exist?
"r"
"w"
"a"
"x"
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to read a file line by line in PHP?
fread()
fgets()
readfile()
file_get_contents()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which PHP extension is commonly used for working with MySQL databases?
PDO
SQLi
MySQLX
All of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which SQL command is used to fetch data from a database table in PHP?
INSERT
UPDATE
SELECT
DELETE
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which PHP function is used to execute an SQL query in MySQLi procedural style?
execute_query()
query_execute()
mysqli_query()
mysql_run()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you start a session in PHP?
start_session()
session_start()
begin_session()
open_session()
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
PRETEST

Quiz
•
11th Grade - University
10 questions
Technical Terms - Internet (A-Z) - Download

Quiz
•
12th Grade
10 questions
Introduction to PHP: Hypertext Preprocessor

Quiz
•
11th - 12th Grade
10 questions
Soal Jaringan Komputer

Quiz
•
10th - 12th Grade
10 questions
Mengumpulkan Kebutuhan Teknis Pengguna yang Menggunakan Jaringan

Quiz
•
12th Grade
10 questions
Technical Terms - Internet (A-Z) - FTP

Quiz
•
12th Grade
10 questions
Technical Terms - Internet (A-Z) - PHP

Quiz
•
12th Grade
10 questions
VoIP Basics Quiz

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade