
hđh
Quiz
•
Computers
•
University
•
Practice Problem
•
Easy
Ha Tra
Used 296+ times
FREE Resource
Enhance your content in a minute
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.
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
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
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
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University
