web 14,15

web 14,15

Professional Development

25 Qs

quiz-placeholder

Similar activities

Análise do The Messy Middle

Análise do The Messy Middle

Professional Development

20 Qs

Plan O

Plan O

Professional Development

20 Qs

Ultimate office trivia quiz

Ultimate office trivia quiz

KG - Professional Development

25 Qs

Songs & Song Artists

Songs & Song Artists

3rd Grade - Professional Development

20 Qs

Induction Post Training Test

Induction Post Training Test

Professional Development

20 Qs

MEGA QUIZ-Pension Plans & Annuity Plans

MEGA QUIZ-Pension Plans & Annuity Plans

Professional Development

20 Qs

आज का शब्द और अनुवाद प्रतियोगिता- 15.06.2023

आज का शब्द और अनुवाद प्रतियोगिता- 15.06.2023

Professional Development

20 Qs

7B.2 (Part 2)

7B.2 (Part 2)

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?