Search Header Logo

PHP Class Test

Authored by Srijana Shet

Computers

University

Used 5+ times

PHP Class Test
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

62 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to open a file

fopen(filename, mode of opening file)

fopen(file, mode of reading file)

open(filename, mode of opening file)

none

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

if there is fopen function in program then there should always be

fread()_

fwrite()

fclose()

none

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

!feof stands for

file end of file

not file end of file

exlamatory file end of file

none

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

fread() reads contents of file

word by word till eof

paragraph by paragraph till end of file

line by line till eof

none

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When fwrite is used on already existing file the what will happen

new contents added to previous file contents

previous file contents deleted and new contents added

error displayed

none

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

when you try to open a non existing file then

error

statement file not available

question should i open new file in given name popped

new file will be created in the given name

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Can values got from forms in html be given to php

sometimes

yes

no

none

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?

Discover more resources for Computers