
hđh
Authored by Ha Tra
Computers
University
Used 296+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
47 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Đoạn mã nào trong các tiến trình có thể gây ra lỗi khi được thực thi đồng thời?
Exit Section
Remainer Section.
Critical Section.
Entry Section.
2.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Đồng bộ hoá (Process Synchronization) là công việc cần phải áp dụng cho loại tiến trình nào?
Tiến trình độc lập (Independent process)
Tiến trình cộng tác (Cooperating process).
Tiến trình người dùng (User process).
Tiến trình hệ thống (System process).
3.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Đoạn mã nào được sử dụng để kiểm soát quá trình đồng bộ?
Program code.
Remainder section.
Critical section.
Entry section.
4.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Đoạn mã nào có thể chạy cùng lúc mà không gây ra sai sót dữ liệu?
Remainder section.
Program code
Entry section.
Critical section.
5.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Biến số đơn nguyên (atomic varible) là gì?
Biến số chỉ chứa duy nhất một kiểu dữ liệu được định nghĩa trước.
Các thao tác lên biến số này tuần tự được thực thi trong CPU.
Các thao tác lên biến số này được song song thực hiện trong CPU
Biến số chỉ có ý nghĩa địa phương, sử dụng nội bộ trong tiểu trình.
6.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Giải thuật Peterson sử dụng các biến số điều khiển nào để giải quyết bài toán đồng bộ giữa hai tiến trình?
boolean flag[2];
int sync = 2
choosing[i] = true và int number[i];
boolean flag[2] và int turn;
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Một tiến trình Px thực hiện thao tác signal() trên một biến số Semaphore n thì có tác dụng gì?
n++ và sau đó nếu n > 0 thì wake_up() tiến trình Px.
n++ và sau đó nếu n > 0 thì wake_up() một tiến trình đang bị blocked.
n++ và sau đó nếu n <= 0 thì wake_up() tiến trình đang bị blocked.
n++ và sau đó nếu n <= 0 thì wake_up() tiến trình Px.
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
42 questions
Tin học 11
Quiz
•
11th Grade - University
50 questions
ÔN TẬP GK1-TIN 6
Quiz
•
3rd Grade - University
45 questions
Word cơ bản
Quiz
•
University
43 questions
Quiz về Quyền sở hữu trí tuệ và Công dân số
Quiz
•
University
49 questions
Chapter 2 - Management Information System
Quiz
•
University
52 questions
Engineering Software Products - Chương 1
Quiz
•
University
50 questions
TIN HỌC 6 - ÔN TẬP GK1 2425
Quiz
•
6th Grade - University
47 questions
Câu hỏi trắc nghiệm về Microsoft Word
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade