Select the correct regular expression for the given finite automata
Select the correct option.
L1={a^i b^j c^k | i=j or j=k}
L2={a^i bj ck | i=j or i=k}
L1={ a^n b^n | n > 0}
L2={ b^n a^n | n > 0}
The language L1 U L2 must be
P1: The concatenation of recursive enumerable language with empty language is recursive.
P2: The union of non recursively enumerable language with its complement is a recursive language.
Select the correct option.
L1={a^i b^j | i=kj for some positive integer k}
L2={a^i b^j | i=2j }
R1: (a* b* )* = ∊ + (a+b+ )+
R2: (a* + b* )* = ∊ + (a+ + b+ )+
select the correct option.
Select the correct option.
The language accepted by the given PDA is:
S→SPQR
P→pPt | ε
Q→qQ | ε
R→Rr | Qm | ε
Number of elements in FOLLOW(P) is: ___
S → S+T | T
S → T*S | T
T → T % T
T → F
F → F − Z | Z
Z → id
S →Sy| xSy | 𝟄
Select the correct option.
S → SS + | SS*| a
Select the correct option.
S-> ppA {“print *”}
S->q {“print #”}
A->Sr {“print $”}
A->r {“print &”}
Select the correct translation of “ppppqrr” from the given options:
Consider the following information about the processes :
Process
|
Arrival Time
|
Burst Time
|
P1
|
0
|
3
|
P2
|
2
|
6
|
P3
|
4
|
4
|
P4
|
6
|
5
|
P5
|
8
|
2
|
Calculate the average normalized turn around time using SJF scheduling algorithm
Consider the following information about the processes :
Process
|
Arrival Time
|
Burst Time
|
P1
|
0
|
3
|
P2
|
2
|
6
|
P3
|
4
|
4
|
P4
|
6
|
5
|
P5
|
8
|
2
|
Calculate the average normalized turn around time using SRTF scheduling algorithm
Consider the following information about the processes :
Process
|
Arrival Time
|
Burst Time
|
P1
|
0
|
3
|
P2
|
2
|
6
|
P3
|
4
|
4
|
P4
|
6
|
5
|
P5
|
8
|
2
|
Calculate the average normalized turn around time using HRRN scheduling algorithm
Consider a machine where a page size is 256 words and a frame number is mapped to a page number 4 times lesser. What is the physical address corresponding to logical address
0001010010111010?
S
|
E
|
M
|
0
|
0111 1111
|
1111 1000 0000 0000 0000 000
|
The decimal value closest to this floating-point number is____