Learn and practice Aptitude questions and answers with explanation for interview, competitive exam (Pariksha Corner )

Thursday, January 23, 2020

P, Q, R are three languages. PQ = R and P and R are regular.

P, Q, R are three languages. PQ = R and P and R are regular. This implies
AQ has to be regular
BQ cannot be regular
CQ need not be regular
DQ cannot be a CFL
View Answer

If the access time of a symbol table can be made logarithmic

If the access time of a symbol table can be made logarithmic, it greatly reduces the search time. This can be implemented by
Aa linear list
Ba search tree
Chashing mechanism
Dself-organisation chart
View Answer

In a syntax directed translation scheme, the value of an

In a syntax directed translation scheme, the value of an attribute of a node is a function of the attributes of its children. Such an attribute is called a / an
Asynthesised attribute
Bcanonical attribute
Cinherited attribute
Dfunctional attribute
View Answer

When there is a large variation in the size of incoming jobs

When there is a large variation in the size of incoming jobs, the best method of memory allocation is
Afirst fit
Bbest fit
Cworst fit
Drandom
View Answer

In round-robin CPU scheduling, as the time quantum increases

In round-robin CPU scheduling, as the time quantum increases, the average turn around time
Adecreases
Bincreases
Cremains almost same
Dvaries erratically
View Answer

A dirty bit points to a

A dirty bit points to a
Acorrupted page
Bwrong page in the memory
Cthe page that has never been accessed
Dthe page whose data is to be updated because of new computations
View Answer

page replacement policies may lead to Belady's anomaly ?

Which of the following page replacement policies may lead to Belady's anomaly ?
AFIFO
BLRU
CMRU
DReplacement of least active page
View Answer

Categories