Monitory - Statistics

General Stats
  • This quiz has been taken 11 times
  • The average score is 45 of 63
Answer Stats
Hint Answer % Correct
}
100%
}
100%
}
100%
}
100%
}
100%
}
100%
}
100%
if(s->condCount > 0){
100%
init(s->condition, 0);
100%
init(s->mutex, 1);
100%
int condCount;
100%
lock(s->condition);
100%
lock(s->mutex);
100%
lock(s->mutex);
100%
s->condCount++;
100%
s->condCount--;
100%
s->condCount = 0;
100%
semaphor mutex, condition;
100%
notify deklarace struct Monitor{
100%
unlock(s->condition);
100%
unlock(s->mutex);
100%
unlock(s->mutex);
100%
enter void enter(struct Monitor *s){
100%
notify inicializace void initS(struct Monitor *s){
100%
leave void leave(struct Monitor *s){
100%
notify void notify(struct Monitor *s){
100%
wait void wait(struct Monitor *s){
100%
}
50%
}
50%
}
50%
}
50%
}
50%
}
50%
}
50%
else
50%
else
50%
if(s->condCount > 0){
50%
if(s->prioCount > 0)
50%
if(s->prioCount > 0)
50%
init(s->condition, 0);
50%
init(s->mutex, 1);
50%
init(s->priority, 0);
50%
int condCount, prioCount;
50%
lock(s->condition);
50%
lock(s->mutex);
50%
lock(s->priority);
50%
s->condCount++;
50%
s->condCount--;
50%
s->condCount = s->prioCount = 0;
50%
semaphore mutex, condition, priority;
50%
s->prioCount++;
50%
s->prioCount--;
50%
signal deklarace struct Monitor{
50%
unlock(s->condition);
50%
unlock(s->mutex);
50%
unlock(s->mutex);
50%
unlock(s->priority)
50%
unlock(s->priority);
50%
condSignal void condSignal(struct Monitor *s){
50%
condWait void condWait(struct Monitor *s){
50%
signal inicializace void Init(struct Monitor *s){
50%
monitorEnter void monitorEnter(struct Monitor *s){
50%
monitorExit void monitorExit(struct Monitor *s){
50%
No matching quizzes found
Score Distribution
Percent of People with Each Score
Percentile by Number Answered
Your Score History
You have not taken this quiz