
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
Already have an account?
Similar Resources on Wayground
48 questions
APD - Trắc nghiệm mẫu Câu hỏi về máy tính
Quiz
•
University
50 questions
Chapter 4 - Management Information System
Quiz
•
University
47 questions
cns chương 2
Quiz
•
University
50 questions
Excel
Quiz
•
University
43 questions
Xâu, mảng trong Python
Quiz
•
University
50 questions
Đề Cương Khoa Học Tự Nhiên 8
Quiz
•
1st Grade - University
50 questions
251 - 300
Quiz
•
University
50 questions
Mạng máy tính
Quiz
•
University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University
