← Phòng luyện tập
Online Testing · 20 câu

.NET I/O: stream, encoding và ranh giới dữ liệu

20 câu về vị trí stream, đọc ngắn, UTF-8 theo chunk, buffer, gzip và thiết kế parser/retry/watcher.

Nội dung luyện tập

  • io position next byte
  • io toarray ignores cursor
  • io readable does not imply seekable
  • io utf16 units versus utf8 bytes
  • io short read is valid
  • io readexactly partial buffer on eof
  • io copyto starts at both cursors
  • io explicit wire endianness
  • io decoder keeps incomplete sequence
  • io strict utf8 rejects invalid byte
  • io bom preamble is separate
  • io reader buffer survives base seek
  • io gzip dispose finishes member
  • io bufferwriter advance commits prefix
  • io sequence delimiter left unconsumed
  • io pipe consumed versus examined
  • io bounded frame length before allocation
  • io retry requires replayable source
  • io synchronized stream not frame transaction
  • io watcher overflow needs reconciliation

Mỗi câu đúng 1 điểm. Mục tiêu 70%. Đáp án và giải thích mở sau khi nộp bài.

Chế độ làm bài