
Programming in PHP - UNIT IV
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
MS.SHYAMALADEVI C
Used 1+ times
FREE Resource
Enhance your content in a minute
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()
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
Data Security Worksheet
Quiz
•
10th Grade - University
14 questions
LA5.C5: Branching and Subroutines
Quiz
•
9th Grade - University
10 questions
PUNCTUATION SPACING RULES
Quiz
•
9th - 12th Grade
10 questions
COMPUTER PROGRAMMING Q2_FLOWCHART (2 points each)
Quiz
•
11th - 12th Grade
15 questions
LATIHAN SOAL PEMROGRAMAN
Quiz
•
9th Grade - University
10 questions
To Change or Not to Change?
Quiz
•
12th Grade
15 questions
1.1.1 The structure and function of the processor
Quiz
•
11th Grade - University
15 questions
Quiz 1
Quiz
•
1st - 12th 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
