Menu mobile
Home
PYTHON
Python Tutorial
Program Example
Interview Questions
JAVA
Java Tutorial
Program Example
Interview Questions
C Language
C Tutorial
Program Example
Interview Questions
Web Design
HTML
CSS
Java Script
PHP
Assignment
MS Office
HTML
CSS
Java Script
JQuery
AngularJs
QUIZ ON : C - FILE PROCESSING
FILE PROCESSING
00:00:00
English
Hindi
Question No# :
01
If a file is open in ‘write’ mode, then
यदि फ़ाइल ‘राइट’ मोड में खुली है, तो
A.
If it does not exist, an error is
returned
यदि यह मौजूद
नहीं है, तो एक
त्रुटि वापस आ
जाती है
B.
If it does not exist, it is created
यदि यह मौजूद
नहीं है, तो यह
बनाया जाता है
C.
If it exists, then data is written at
the end
यदि यह मौजूद
है, तो डेटा अंत
में लिखा गया है
D.
If it exists, error is returned
यदि यह मौजूद
है, तो त्रुटि
वापस आ जाती है
Question No# :
02
file-*fp;
fp=fopen("trial",-"r");
return-0;
}----------" title="
What does fp point to in the program?
int main()
{
FILE *fp;
fp=fopen("trial", "r");
return 0;
}
">
What does fp point to in the program?
int main()
{
FILE *fp;
fp=fopen("trial", "r");
return 0;
}
What does fp point to in the program?
int main()
{
FILE *fp;
fp=fopen("trial", "r");
return 0;
}
A.
The first character in the file
The first character in the file
B.
A structure which contains a char
pointer which points to the first
character of a file
A structure which contains a char
pointer which points to the first
character of a file
C.
The name of the file
The name of the file
D.
The last character in the file
The last character in the file
Question No# :
03
The statement fopen("data.txt", "w+") will open a file named data.txt for both reading and writing.
The statement fopen("data.txt", "w+") will open a file named data.txt for both reading and writing.
A.
TRUE
सही
B.
FALSE
गलत
Question No# :
04
The two type of file structures existing in VSAM file are
The two type of file structures existing in VSAM file are
A.
Key sequenced structures, entry
sequenced structures
Key sequenced structures, entry
sequenced structures
B.
Key sequenced structure, exit sequenced
structures
Key sequenced structure, exit sequenced
structures
C.
Entry sequenced structures, exit
sequenced structures
Entry sequenced structures, exit
sequenced structures
D.
None of the above
None of the above
Question No# :
05
In a multilist organisation
In a multilist organisation
A.
records that have an equivalent value
for a given secondary index item are
linked together to form a list
records that have an equivalent value
for a given secondary index item are
linked together to form a list
B.
records are loaded in ordered sequence
defined by collating sequence by content
of key
records are loaded in ordered sequence
defined by collating sequence by content
of key
C.
records are directly accessed by records
key field
records are directly accessed by records
key field
D.
none of the above
none of the above
Question No# :
06
A command that lets you change one or more fields in a record is look up.
A command that lets you change one or more fields in a record is look up.
A.
TRUE
सही
B.
FALSE
गलत
Question No# :
07
In relational schema each tuple is divided into fields called relations.
In relational schema each tuple is divided into fields called relations.
A.
TRUE
सही
B.
FALSE
गलत
Question No# :
08
The fprintf() function can be used to display the output on the screen.
The fprintf() function can be used to display the output on the screen.
A.
TRUE
सही
B.
FALSE
गलत
Question No# :
09
What is the purpose of getc()?
What is the purpose of getc()?
A.
read a character from STDIN
read a character from STDIN
B.
read a character from a file
read a character from a file
C.
read all file
read all file
D.
read file randomly
read file randomly
Question No# :
10
Using fprintf function, we can print on the standard output device.
Using fprintf function, we can print on the standard output device.
A.
TRUE
सही
B.
FALSE
गलत
Previous
1
Next
CCC Online Test 2021
CCC Practice Test Hindi
Python Programming Tutorials
Best Computer Training Institute in Prayagraj (Allahabad)
Best Java Training Institute in Prayagraj (Allahabad)
Best Python Training Institute in Prayagraj (Allahabad)
O Level Online Test in Hindi
Bank SSC Railway TET UPTET Question Bank
career counselling in allahabad
Sarkari Naukari Notification
Best Website and Software Company in Allahabad
Sarkari Exam Quiz