GATE Practice Question and Answer
8Q: What is conversion operator ? 1254 05b5cc75ce4d2b4197774fc1f
5b5cc75ce4d2b4197774fc1f- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer :
Explanation :
Class can have a public method for specific data type conversions.for example:class B{double value;public B(int i )operator double(){return value;}};B BObject;double i = BObject; // assigning object to variable i of type double.now conversion operator gets called to assign the value.
Q: Choose what replaces '?' in the following figure ? 1380 05b5cc758e4d2b4197774fc19
5b5cc758e4d2b4197774fc19- 1Qfalse
- 2Ofalse
- 3Mfalse
- 4Ntrue
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 4. "N"
Explanation :
Answer: D) N Explanation: The alphabetical value of the letters in the left hand column follows through the sequence of Prime Numbers, with the letters in the right hand column representing the corresponding reverse alphabetical values. So, M = Reverse of M = N.
Q: If the positions of the first and the fifth digits of the number 14278359 are interchanged, similarly the positions of the second and the sixth digits are interchanged and so on, then which of the following will be the second digit from the right end after the rearrangement ? 1798 05b5cc758e4d2b4197774fc14
5b5cc758e4d2b4197774fc14- 15false
- 22true
- 37false
- 44false
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 2. "2"
Explanation :
Answer: B) 2 Explanation: Given number is 14278359As given 1st and 5th digits, 2nd & 6th, 3rd & 7th and 4th & 8th digits are to to be interchanged.Therfore, the rearranged number is 83591427Then, the second digit from the right end is 2.
Q: Pradeep correctly remembers that his mother's is before twenty third February but after ninteenth February, whereas his brother correctly remembers that their mother's birthday is not on or after twentysecond February. On which day in February is definitely their mother's birthday ? 1626 05b5cc758e4d2b4197774fc0f
5b5cc758e4d2b4197774fc0f- 120 or 21true
- 220false
- 321false
- 4Nonefalse
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 1. "20 or 21"
Explanation :
Answer: A) 20 or 21 Explanation: According to Pradeep : 20,21 or 22...(1)According to his brother : not 22....(2)From (1)&(2), the birthday falls on February 20 or 21.
Q: In a certain code language 'how many goals scored' is written as '5397'; 'many more matches' is written as '982'; and 'he scored five' is written as '163'. How is 'goals' written in that code language ? 7016 05b5cc758e4d2b4197774fc05
5b5cc758e4d2b4197774fc05- 15false
- 27false
- 33false
- 4Data is not sufficienttrue
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 4. "Data is not sufficient"
Explanation :
Answer: D) Data is not sufficient Explanation: From the given data,how many goals scored = 5397....(1)many more matches = 982.....(2)he scored five = 163.....(3)from (1)&(2), many = 9 ....(4)from (1)&(3), scored = 3 ....(5)Using (4)&(5)in(1), we get goals = 5 or 7.
Q: Which of the following is the sixth to the left of the twentieth from the left end of the below arrangement ?BM%R#J@K!DF69L4*15NEP23AYQZ#7UG 1955 05b5cc758e4d2b4197774fc0a
5b5cc758e4d2b4197774fc0a- 1Ltrue
- 2Kfalse
- 34false
- 49false
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 1. "L"
Explanation :
Answer: A) L Explanation: The twentieth element in the above arrangement is 'E'.Then, the sixth element to the left of 'E' is 'L'.
Q: In agroup of six women, there are four dancers, four vocal musicians, one actress and three violinists. Girija and Vanaja are among the violinists while Jalaja and Shailaja do not know how to ply on the violin. Shailaja and Tanuja are among the dancers. Jalaja, Vanaja, Shailaja and Tanuja are all vocal musicians and two of them are also violinists. If Pooja is an actress, who among the following is both a dancer and a violinist ? 1928 05b5cc758e4d2b4197774fbfe
5b5cc758e4d2b4197774fbfe- 1Shailajafalse
- 2Vanajafalse
- 3Girijafalse
- 4Tanujatrue
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 4. "Tanuja"
Explanation :
Answer: D) Tanuja Explanation: The four vocal musicians and one actress in the group are given. Two dancers are Shailaja and Tanuja. Two violinists are Girija and Vanaja. Since Jalaja and Shailaja cannot be violinists, so remaining two violinists are Tanuja and Pooja. Clearly, Tanuja is both a violinist and a dancer.
Q: Twelve children take sixteen days to complete a work which can be completed by 8 adults in 12 days. After working for 3 days, sixteen adults left and six adults and four children joined them. How many days will they take to complete the remaining work ? 1249 05b5cc758e4d2b4197774fbf9
5b5cc758e4d2b4197774fbf9- 13 daysfalse
- 22 daysfalse
- 36 daystrue
- 412 daysfalse
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 3. "6 days"
Explanation :
Answer: C) 6 days Explanation: From the given data, 12 children 16 days work,One child’s one day work = 1/192. 8 adults 12 days work,One adult’s one day’s work = 1/96. Work done in 3 days = ((1/96) x 16 x 3) = 1/2 Remaining work = 1 – 1/2 = 1/2 (6 adults+ 4 children)’s 1 day’s work = 6/96 + 4/192 = 1/12 1/12 work is done by them in 1 day. 1/2 work is done by them in 12 x (1/2) = 6 days.