File Processing
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
PANDU WICAKSONO
Used 1+ times
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Manakah fungsi fopen yang benar, jika file yang ingin dibaca berada dalam satu folder?
fopen("test2.txt", "r");
fopen("C:\\Users\\user\\Documents\\Latihan\\test2.txt", "r");
fopen("C:\Users\user\Documents\Latihan\test2.txt", "r");
fopen("test2.txt", "w");
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
isi file test2: Pandu
fp = fopen("test2.txt", "r");
char ch = fgetc(fp);
printf("%c", ch);
apa output dari potongan kode diatas
Pandu
P
p
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
isi file test2: Pandu
FILE *fp = NULL;
fp = fopen("C:\\Users\\user\\Documents\\Development\\Latihan\\test2.txt", "r");
Lanjutkan kode diatas agar dapat membaca isi dari file test2
while (!feof(fp))
{
char ch = fgetc(fp);
printf("%c", ch);
}
while (feof(fp))
{
char ch = fgetc(fp);
printf("%c", ch);
}
while (!feof(fp))
{
char ch = fgets(fp);
printf("%c", ch);
}
while (!feof(fp))
{
char ch = fgetc(fp);
printf("%s", ch);
}
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
bagaimana membuat Buffer Area?
file *nama_variable;
File *nama_variable;
FILE *nama_variable;
*nama_variable
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
mode yang digunakan untuk membaca (read) dan menulis (write) file binary adalah
"rb" dan "wb"
"r" dan "w"
"r+" dan "w+"
"a" dan "b"
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
file header mana yang dapat digunakan untuk File Processing
<stdio.h>
<stdlib.h>
<string.h>
<stdarg.h>
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
fungsi yang digunakan untuk membaca per karakter adalah
fgets()
fgetc()
fgetcc()
fstring()
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
11 questions
Câu hỏi ôn tập HKII_Tin học 6
Quiz
•
8th Grade - Professio...
10 questions
Database
Quiz
•
University
7 questions
Backup, Restore, and Recovery
Quiz
•
9th Grade - University
10 questions
KIỂU DỮ LIỆU CÓ CẤU TRÚC
Quiz
•
11th Grade - University
10 questions
Pengantar Coding
Quiz
•
University
10 questions
Tes Awal AlPro Modul 6
Quiz
•
University
10 questions
OS Essentials - Chapter 14 (The IT Professional)
Quiz
•
KG - University
10 questions
Application Software
Quiz
•
11th Grade - University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Computers
8 questions
2 Step Word Problems
Quiz
•
KG - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
10 questions
14.2 Independent/Dependent Variables
Quiz
•
KG - University
18 questions
Great Lakes States
Quiz
•
KG - University
7 questions
DNA, Chromosomes, Genes, and Traits: An Intro to Heredity
Interactive video
•
11th Grade - University
7 questions
Reflexive Verbs in Spanish
Lesson
•
9th Grade - University
7 questions
Narrative Writing 1
Interactive video
•
4th Grade - University
