Cấu trúc khai báo tệp để đọc là:
Thao tác tệp trong C++

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Lương Thị Thế Trân THPT Trảng Bàng
Used 2+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ifstream <biến tệp>;
ofstream <biến tệp>;
ifstream <tên tệp>;
ofstream <tên tệp>;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để làm việc với tệp, ta sử dụng thư viện nào dưới đây?
iostream
fstream
math.h
stdio.h
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cấu trúc khai báo tệp để ghi là:
ifstream <biến tệp>;
ofstream <biến tệp>;
ifstream <tên tệp>;
ofstream <tên tệp>;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ta có biến tệp TEP1 chứa 3 số a, b,c.
Câu lệnh để khai báo biến tệp là:
ifstream TEP1;
ofstream TEP1;
int a, b, c;
float a, b, c;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ta có biến tệp TEP1 dùng để ghi kết quả tính tổng.
Câu lệnh để khai báo biến tệp là:
ifstream TEP1;
ofstream TEP1;
int a, b, c;
float a, b, c;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cấu trúc mở tệp là:
<biến tệp> . open (<tên tệp>);
<tên tệp> . open (< biến tệp>);
<biến tệp> . close (<tên tệp>);
<tên tệp> . close (< biến tệp>);
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cấu trúc đóng tệp là:
<biến tệp> . open (<tên tệp>);
<tên tệp> . open (< biến tệp>);
<biến tệp> . close ( );
<tên tệp> . close ( );
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
bài tập mảng tiết 1

Quiz
•
11th Grade
20 questions
BAI 26_10

Quiz
•
10th Grade
20 questions
Python_if_else

Quiz
•
1st Grade - University
25 questions
BÀI KIỂM TRA LÝ THUYẾT 3

Quiz
•
9th - 12th Grade
16 questions
TỆP VÀ LÀM VIỆC VỚI TỆP

Quiz
•
11th Grade
15 questions
Thư điện tử

Quiz
•
9th Grade
20 questions
Bài 11. Tệp và quản lý tệp

Quiz
•
10th Grade
16 questions
Kiểu Xâu

Quiz
•
8th - 11th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University