Lưu Trọng Tú 22IT.EB085
Lưu Trọng Tú 22IT.EB085
Lưu Trọng Tú 22IT.EB085
Which command is used to clear the screen and display the operating system prompt
on the first line of the display?
A. Cd
B. Md
C. Cls
D. Rename
A. 26 characters
B. 87 characters
C. 127 characters
D. 156 characters
C. Supervisor
D. Performance monitor
A. UNIX
B. MS-DOS
C. CP/M
D. PASCAL
A. 1
B. 2
C. 3
D. 4
6. What is the name of the operating system that reads and reacts in terms of actual
time?
D. Batch system
A. Time sharing
B. Multi-tasking
C. Operating environment
D. Spreadsheet
A. Interrupt servicing
B. Interrupt handling
C. Polling
D. Spooling
A. Middle
B. Lower
C. Upper
12. An operating system is a program that operates between users and …….?
A. Computer software
B. Computer hardware
13. In the classification of the operating system model, the type with multiple processors
shares the transmission line, data, clock, memory, and peripheral devices in the form of……..
B. Multitasking system
B. /etc/init
C. /etc/user
D. /etc/swap
15. What is the register that contains the memory address of the next instruction to be
fetched?
A. Program counter
B. Stack pointer
16. Which is the suitable real-time system for a car assembly line?
17. Which one of the following error will be handle by the operating system?
A. Power failure
18. The turnaround time for short jobs during multiprogramming is usually Shortened and
that for long jobs is slightly ___________?
A. Shortened
B. Unchanged
C. Lengthened
D. Shortened
A. Fork
B. Create
C. New
Bài tập 1 :
cho chuỗi : 7,0,1,2,0,3,0,4,2,3,0,3,2,1,2,0,1,7,0,1
với 3 khung trang, ban đầu đều trống.
Có bao nhiêu lỗi trang xảy ra khi sử dụng các thuật toán thay thế sau đây: LRU, FIFO, OPT
LRU
RS 7 0 1 2 0 3 0 4 2 3 0 3 2 1 2 0 1 7 0 1
F0 7 7 7 2 2 2 2 4 4 4 0 0 0 1 1 1 1 1 1 1
F1 0 0 0 0 0 0 0 0 3 3 3 3 3 3 0 0 0 0 0
F2 1 1 1 3 3 3 2 2 2 2 2 2 2 2 2 7 7 7
PF * * * * * * * * * * * *
Có 12 lỗi trang
FIFO
RS 7 0 1 2 0 3 0 4 2 3 0 3 2 1 2 0 1 7 0 1
F0 7 7 7 2 2 2 2 4 4 4 0 0 0 0 0 0 0 7 7 7
F1 0 0 0 0 3 3 3 2 2 2 2 2 1 1 1 1 1 0 0
F2 1 1 1 1 0 0 0 3 3 3 3 3 2 2 2 2 2 1
PF * * * * * * * * * * * * * * * * *
Có 17 lỗi trang
OPT
RS 7 0 1 2 0 3 0 4 2 3 0 3 2 1 2 0 1 7 0 1
F0 7 7 7 2 2 2 2 2 2 2 2 2 2 2 2 2 2 7 7 7
F1 0 0 0 0 0 0 4 4 4 0 0 0 0 0 0 0 0 0 0
F2 1 1 1 3 3 3 3 3 3 3 3 1 1 1 1 1 1 1
PF * * * * * * * * *
Có 9 lỗi trang
Bài 2:
Xét một hệ thống có bộ nhớ luận lý có 8 trang, mỗi trang có 256 dòng, mỗi dòng chứa 32
từ, mỗi từ là 8 byte được ánh xạ vào bộ nhớ vật lý có 64 trang.
c. Có bao nhiêu mục trong bảng phân trang? Mỗi mục chứa bao nhiêu bit?
c. Có bao nhiêu mục trong bảng phân trang? Mỗi mục chứa bao nhiêu bit?