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

Wednesday, January 22, 2020

A bus arrives every 20 minutes to a bus stop, beginning at 6

A bus arrives every 20 minutes to a bus stop, beginning at 6-40 AM and continuing till 8-40 AM. A passenger, not knowing the schedule, randomly arrives between 7 AM and 7-30 AM. What is the probability that he weiits for more than 5 minutes for the bus ?
A1/6
B1/4
C3/4
D5/6
View Answer

The proposition p ^ ( ~ p V q ) is

The proposition p ^ ( ~ p V q ) is
Aa tautology
Ba contradiction
Clogically equivalent to p ^ q
Dlogically equivalent to q
View Answer

Match the methodology of List-A with the application of List

Match the methodology of List-A with the application of List-B :
Aa->III b->I c->IV d->II
Ba->IV b->III c->II d->I
Ca->III b->IV c->I d->II
Da->III b->II c->I d->IV
View Answer

Given two problems X and Y, Y is NP complete and X reduces

Given two problems X and Y, Y is NP complete and X reduces to Y in polynomial time. Which of the following is a valid statement ?
AX is NP hard
BX is NP complete
CX is an NP, but not necessarily NP complete
DIf X can be solved in polynomial time, so also can Y.
View Answer

Look at the following grammar

Look at the following grammar :

It generates strings of terminals that have
Aequal number of a`s and b`s
Bequal number of a`s and b`s
Ceven number of a`s and even number of b`s
Dodd number of a`s and even number of b`s.
View Answer

What does the machine shown in the figure do

What does the machine shown in the figure do ?
AComplements a given bit pattern
BFinds 2`s complement of a given pattern
CIncrements the given pattern by 1
DChanges the sign bit.
View Answer

The grammar S -> aSa | bS | c is

The grammar S -> aSa | bS | c is
ALL ( 1 ) but not LR ( 1 )
BLR ( 1 ) but not LL ( 1 )
CBoth LL ( 1 ) and LR ( 1 )
Dneither LL ( 1 ) nor LR ( 1 ).
View Answer

Categories