
Basic Java IO Quiz
Authored by Hoang Khoa
Information Technology (IT)
12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Mục đích của gói Java IO là gì?
Để tạo graphical user interfaces
Để quản lý kết nối cơ sở dữ liệu
Để thực hiện các thao tác mạng
Để xử lý đầu vào và đầu ra
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Class nào được sử dụng để đọc dữ liệu từ một nguồn trong Java IO?
InputStream
BufferedReader
OutputStream
FileWriter
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Loại luồng nào xử lý các byte 8-bit?
Luồng ký tự
Luồng byte
Luồng dữ liệu
Luồng đối tượng
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Class nào được sử dụng để ghi dữ liệu nhị phân vào một tệp?
FileOutputStream
FileReader
BufferedWriter
PrintWriter
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Phương thức 'read()' trả về gì khi nó đến cuối tệp?
EOF
null
-1
0
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Class nào được sử dụng để tạo buffered output stream?
BufferedInputStream
BufferedOutputStream
FileOutputStream
DataOutputStream
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Ưu điểm chính của việc sử dụng character streams là gì?
Chúng dễ triển khai hơn
Chúng yêu cầu ít bộ nhớ hơn
Chúng xử lý dữ liệu văn bản và hỗ trợ quốc tế hóa
Chúng nhanh hơn luồng byte
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 Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?