
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
50 questions
SỬ DỤNG INTERNET

Quiz
•
University
50 questions
Quiz Kinh tế chính trị Mác-Lênin

Quiz
•
University
50 questions
CB_101-150

Quiz
•
University
50 questions
Ôn tập môn học tin học đại cương 1

Quiz
•
University
50 questions
ÔN VĐK TX1_Trắc nghiệm

Quiz
•
University
42 questions
Ôn Tập Cuối Kỳ 1 lớp 6 Năm 2024 - 2025

Quiz
•
6th Grade - University
48 questions
Ôn tập tin học 3 học kì 1 KNTT

Quiz
•
University
50 questions
5. CB_201-250

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University