web 14,15

web 14,15

Professional Development

25 Qs

quiz-placeholder

Similar activities

CSS and HTML Concepts

CSS and HTML Concepts

Professional Development

21 Qs

HTML_CSS_JAVASCRIPT

HTML_CSS_JAVASCRIPT

University - Professional Development

20 Qs

PWS GCQ Night

PWS GCQ Night

Professional Development

20 Qs

GSlides Quiz

GSlides Quiz

9th Grade - Professional Development

20 Qs

varioPRINT 6000 Titan

varioPRINT 6000 Titan

Professional Development

20 Qs

VIVANTA 23

VIVANTA 23

Professional Development

20 Qs

web development

web development

Professional Development

20 Qs

Quiz #1 Back-End

Quiz #1 Back-End

Professional Development

20 Qs

web 14,15

web 14,15

Assessment

Quiz

Other

Professional Development

Easy

Created by

Karthika J

Used 1+ times

FREE Resource

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()

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?