Programming in PHP - UNIT IV

Programming in PHP - UNIT IV

12th Grade

10 Qs

quiz-placeholder

Similar activities

BTEC Level 3 Nat Ext Dip in Computing - Unit 2.1 Hardware and Software

BTEC Level 3 Nat Ext Dip in Computing - Unit 2.1 Hardware and Software

11th - 12th Grade

10 Qs

Keyboarding Terms

Keyboarding Terms

9th - 12th Grade

10 Qs

Quiz - Pengenalan Sistem Operasi

Quiz - Pengenalan Sistem Operasi

12th Grade

15 Qs

BAB 1 INFORMATIKA

BAB 1 INFORMATIKA

9th - 12th Grade

10 Qs

CIW

CIW

9th - 12th Grade

15 Qs

Bermain Gambar

Bermain Gambar

1st Grade - Professional Development

15 Qs

SHEET QUIZ

SHEET QUIZ

9th - 12th Grade

15 Qs

Programming in PHP - UNIT IV

Programming in PHP - UNIT IV

Assessment

Quiz

Computers

12th Grade

Practice Problem

Hard

Created by

MS.SHYAMALADEVI C

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?