
hđh

Quiz
•
Computers
•
University
•
Easy
Ha Tra
Used 296+ times
FREE Resource
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
Similar Resources on Wayground
46 questions
tn tdc

Quiz
•
University
42 questions
HDH CHUONG 2

Quiz
•
University
48 questions
Chương 3

Quiz
•
University
47 questions
T_Chương 1

Quiz
•
University
47 questions
12a7

Quiz
•
12th Grade - University
50 questions
Ôn Tập Kiểm Tra Lịch Sử Khối 11

Quiz
•
University
45 questions
Câu hỏi về Thuật toán Di truyền

Quiz
•
University
48 questions
PTMĐ_C2: Phân tích tĩnh

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th 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
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University