Gas Hydrates, - ASP.NET (MCQ) questions and answers

1)   Which of the following Web.config files correctly enables the Web application to track the LastVisit of anonymous users in a variable of type DateTime?


a.
<anonymousIdentification enabled="true"/>
<profile>
<properties>
<add name="LastVisit" type="System.DateTime" allowAnonymous="true" />
</properties>
</profile>
b.
<anonymousIdentification enabled="true"/>
<profile>
<properties>
<add name=" LastVisit " allowAnonymous="true" />
</properties>
</profile>
c.
<anonymousIdentification enabled="true" />
<profile>
< properties>
< add name=" LastVisit " type="System. DateTime " />
</properties>
</profile>
d.
<profile>
<properties>
<add name="LastVisit" type="System. DateTime "/>
</properties>
</profile>

Answer  Explanation 

ANSWER:
<anonymousIdentification enabled="true"/>
<profile>
<properties>
<add name="LastVisit" type="System.DateTime" allowAnonymous="true" />
</properties>
</profile>

Explanation:
No explanation is available for this question!


2)   Prajakta moves towards South-East a distance of 70 km, then she moves towards West and travels a distance of 140 km.
From here she moves towards North-West a distance of 70 km and finally she moves a distance of 40 km towards east.

How far is she now from the starting point?


a. 10 km
b. 20 km
c. 30 km
d. 40 km
Answer  Explanation 

ANSWER: 10 km

Explanation:
Required distance = AE = 140 - 40 = 10 km

direction 1585 14


3)   Read the following information to answer the given questions
  • Raja walked 10 m from A to B in the East.
  • Then he turned to the right and walked 3 m.
  • Again, he turned to the right and walked 14 m.
How far is Raja from A?


a. 8 m
b. 10 m
c. 12 m
d. 14 m
Answer  Explanation 

ANSWER: 10 m

Explanation:
directions 1614 13


4)   If South-East becomes North, North-East becomes West and so on. What will West become?

a. South-East
b. South-West
c. North-East
d. North-West
Answer  Explanation 

ANSWER: South-East

Explanation:
direction 1585 15


5)   If you are facing north-east and move 12 m forward, turn left and move 5 m, then you are -

a. East of your initial position
b. West of your initial position
c. South of your initial position
d. North of your initial position
Answer  Explanation 

ANSWER: North of your initial position

Explanation:
direction 1598 14


6)   One morning, Manish and Ali were talking to each other face to face at a crossing. If Ali's shadow was exactly to the left of Manish, which direction was Manish facing?

a. East
b. West
c. South
d. North
Answer  Explanation 

ANSWER: North

Explanation:
The sun rises in the East. Hence, any shadow falls in the West.

Ali's shadow was to the left of Manish.

Hence, Manish was facing towards North.

direction 14 1605


7)   Pointing to an old woman, Aryan said ‘’Her son is my son’s uncle.”
How is Aryan related to old woman?


a. Mother
b. Sister
c. Son
d. Daughter
Answer  Explanation 

ANSWER: Son

Explanation:
Aryan’s son → Son’s Uncle = Aryan’s Brother.

So, the old woman’s son is Aryan’s brother i.e. the old woman is Aryan’s mother.
blood relation 1529 16


8)   In a coded message, SLOW MOVE, GET BACKWARDS, FIRE AWAY is written as VFMD ZMWE, BEN PCTLDCOXU, QHOE CDCI.
  • Based on this coding scheme, spot the codes for following words
SALTY


a. UCFNI
b. UCFIN
c. UCINF
d. UCHIN
Answer  Explanation 

ANSWER: UCFNI

Explanation:

LetterGETAWYFIRBCKDSMOVL
CodeBENCDIQHOPTLXUZMWF
LetterSALTY
CodeUCFNI


9)   Which validation control in ASP.NET can be used to determine if the data is entered into a TextBox control is of type Currency?

a. ValidationSummary
b. CompareValidator
c. RequiredFieldValidator
d. None of the above.
Answer  Explanation 

ANSWER: CompareValidator

Explanation:
No explanation is available for this question!


10)   Read the following information carefully and answer the questions below.

1. In a family of six persons, L, M, N, F, P, Q, there are two married couples.
2. F is grandmother of L and mother of M.
3. N is wife of M and mother of Q.
4. Q is the grand-daughter of P.

How many male members are there in the family?


a. 1
b. 2
c. 3
d. Cannot be determined
Answer  Explanation 

ANSWER: Cannot be determined

Explanation:
Here, the gender of L cannot be determined.
blood relation 1567 20


1 2 3 4 5 6 7 8 9 10 ...