Which of the following problems are decidable?
1) Does a given program ever produce an output?
2) If L is a contextfree language, then, is L’ also contextfree?
3) If L is a regular language, then, is L’ also regular?
4) If L is a recursive language, then, is L’ also recursive?
Option A. 1, 2, 3, 4
Option B. 1, 2
Option C. 2, 3, 4
Option D. 3, 4
True Answer D
Explanation :
CFL's are not closed under complementation. Regular and recursive languages are closed under complementation.
Which of the following problems are decidable?
1) Does a given program ever produce an output?
2) If L is a contextfree language, then, is L’ also contextfree?
3) If L is a regular language, then, is L’ also regular?
4) If L is a recursive language, then, is L’ also recursive?
‘को’ से किस कारक चिह्न का बोध होता है?
Option A. कर्म कारक
Option B. करण कारक
Option C. संबंध कारक
Option D. अधिकरण कारक
True Answer A
Explanation :
हिंदी में आठ कारक होते हैं। उन्हें विभक्ति चिह्नों के साथ निचे वर्णित किया गया है।
1. कर्ता  ने
2. कर्म  को
3. करण  से, के साथ, के द्वारा
4. संप्रदान  के लिए, को
5. अपादान  से (पृथक)
6. संबंध  का, के, की, रा, रे, री
7. अधिकरण  में, पर
8. संबोधन  हे ! अरे ! ओ!
‘को’ से किस कारक चिह्न का बोध होता है?
An unordered list contains n distinct elements. The number of comparisons to find an element in this list that is neither maximum nor minimum is
Option A. θ(n log n)
Option B. θ(n)
Option C. θ(log n)
Option D. θ(1)
True Answer D
Explanation :
Ans Θ(1), because all elements are distinct, select any three numbers and output 2nd largest from them.
An unordered list contains n distinct elements. The number of comparisons to find an element in this list that is neither maximum nor minimum is
What will be the output of the following Python code?

data = [[[1, 2], [3, 4]], [[5, 6], [7, 8]]]


print(data[1][0][0])
Option A. 1
Option B. 2
Option C. 4
Option D. 5
True Answer D
Explanation :
Execute in the shell to verify.
What will be the output of the following Python code?

data = [[[1, 2], [3, 4]], [[5, 6], [7, 8]]]


print(data[1][0][0])