Home
10th Grade
11th And 12th
11th Grade
12th Grade
3rd Grade
4th Grade
5th Grade
6th Grade
7th Grade
8th Grade
9th Grade
Advance Accountancy
Auditing
Computer Aptitude
Direct And Indirect Taxation
Exams
General Hindi
Indian Finance System
Information Technology And Application In Business
Macro Economics
Town Planning
Aerospace And Aeronautical
Analytical Instrumentation
Banking Awareness
Banking Exam
Biochemistry
Bioinformatics
Biology
Biotechnology
Business Statistics
C Program
C Programming
C++ Programming
Career Aptitude Test
Cell Biology
Central Superior Service (css)
Chemical Engineering
Chemistry
Civil Engineering
Commerce
Computer
Computer Fundamentals
Computer Science
Cost Accounting
Css
Database
Drug And Pharmaceutical Biotechnology
Ecat And Mcat Entry Test
Economics
Electrical Engineering
Electrical Engineering Questions
Electrical Measurement And Instrumentation
Engineering
English
English Literature
Environment Management
Environmental Biotechnology
Enzyme Technology
Financial Management And Financial Markets
Gate
General Knowledge
Graduate Assessment Test (gat)
Health And Physical
Heat Transfer
Html
Human Anatomy And Physiology
Human And Cultural Diversity
Human Resource Management
Ias
Indian Economy
Indian Economy
Indian General Awareness
Indian Geography
Indian Geography
Indian History
Indian History
Indian Polity
Instrumentation Transducers
International Relations
Java Program
Javascript
Judiciary And Law
Life Sciences
Management
Marketing And Marketing Management
Mass Transfer
Mechanical Engineering
Mechanics Of Materials
Medical Subjects
Microbiology
Networking
Php
Placement Tests
Professional Communication
Quantitative Aptitude
Reasoning Aptitude
Renewable Energy
Science
Sociology
Sql
Surveying
Total Quality Management
Uidai Aadhaar Supervisor Certification
Virology
Notificatin
Exam
Blog
Contact Us
Php File System(Engineering > Computer Science And Engineering > Php ) Questions and Answers
Home
Topic
Engineering
Computer Science And Engineering
Php
Php File System
Question 1.
Which one of the following function is capable of reading a specific number of characters form a file?
filegets()
fget()
fgets()
fileget()
Explanation:-
Answer: Option C. ->
fgets()
Question 2.
Which one of the following PHP function is used to determine a file’s last access time?
fileatime()
filetime()
filectime()
fileltime()
Explanation:-
Answer: Option A. ->
fileatime()
Question 3.
Which one of the following function is capable of reading a file into a string variable?
file_contents()
file_get_contents()
file_content()
file_get_content()
Explanation:-
Answer: Option B. ->
file_get_contents()
Question 4.
Which one of the following function is capable of reading a file into an array?
file_arr()
arrfile()
file()
arr_file()
Explanation:-
Answer: Option C. ->
file()
Question 5.
The filesize() function returns the file size in ___________
bytes
gigabytes
bits
kilobytes
Explanation:-
Answer: Option A. ->
bytes
Question 6.
Which function sets the file filename’s last-modified and last-accessed times?
touched()
sets()
touch()
set()
Explanation:-
Answer: Option C. ->
touch()
Question 7.
Which one of the following function operates similarly to fgets(), except that it also strips any HTML and PHP tags form the input?
fgetss()
fgetsh()
fgetsp()
fgetsa()
Explanation:-
Answer: Option A. ->
fgetss()
Question 8.
Which one of the following function outputs the contents of a string variable to the specified resource?
filewrite()
fwrites()
filewrites()
fwrite()
Explanation:-
Answer: Option D. ->
fwrite()
Question 9.
Which function is useful when you want to output the executed command’s result?
out_cmm()
system()
cmm()
out_system()
Explanation:-
Answer: Option B. ->
system()
Question 10.
Which one of the following function reads a directory into an Array?
scandirectory()
readdir()
readdirectory()
scandir()
Explanation:-
Answer: Option D. ->
scandir()
1
2
Next →
One click Login
Login With Google
Old way of Login
Login With Email