web 14,15

web 14,15

Professional Development

25 Qs

quiz-placeholder

Similar activities

Ramadan Promo & ISO

Ramadan Promo & ISO

Professional Development

20 Qs

Sales and Order Quiz

Sales and Order Quiz

Professional Development

20 Qs

Part 2

Part 2

Professional Development

20 Qs

WEEK 1

WEEK 1

Professional Development

20 Qs

Edukasi Rupiah Kepada PERBARINDO Tahun 2024

Edukasi Rupiah Kepada PERBARINDO Tahun 2024

Professional Development

20 Qs

Alwaannnn ( Warna Bahasa Arab )

Alwaannnn ( Warna Bahasa Arab )

1st Grade - Professional Development

20 Qs

DTA KBQ Janmashtami Special

DTA KBQ Janmashtami Special

Professional Development

20 Qs

2ND QUIZ AMIP

2ND QUIZ AMIP

Professional Development

20 Qs

web 14,15

web 14,15

Assessment

Quiz

Other

Professional Development

Practice Problem

Easy

Created by

Karthika J

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...

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following function opens a file in PHP?

fopen()
open()
fop()
file_open()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The _________ mode in PHP is used to open for writing only. Remove all previous content, if file doesn’t exist, it creates .

a+
a
r+
w

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The _________ mode in PHP is used to open for reading and writing, start at END (append) and creates file if it doesn’t exist.

a+
a
r+
r

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following function is used to close a file in PHP?

fclose()
close()
fcs()
file_close()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The________ function in PHP is used to read only one character at a time

fgets()
fread()
fgetc()
get()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The________ function in PHP is used to read a line of text from an open file.

fgets()
fread()
fgetc()
get()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In PHP the________ function is used to write a string of characters to a file.

fwrite()
fputc()
put()
fgets()

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?