Practice Question and Answer
8 Q: When is 'NSS Day' celebrated every year?
1751 05f6d8369f9079a64e3beb1fe
5f6d8369f9079a64e3beb1fe- 120 Septemberfalse
- 224 Septembertrue
- 325 Septemberfalse
- 418 Septemberfalse
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 2. "24 September"
Q: Write an algorithm to separate all ones & zeroes in an array. 1751 05b5cc7dbe4d2b4197775159f
5b5cc7dbe4d2b4197775159f- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer :
Explanation :
1. Have two indexes pointing to two ends of array, say i and j. 2. Approach towards each other with a check condition that they dont cross each other. 3. Each iteration of while loop, swap the numbers pointed by two indexes when num[i] index number is not equal to 1. void sort() { int a[]={1,0,0,0,1,1,0,1,0,1,0,0,1,0}; int i=0; int j=13; int temp; while(j>i) { if(a[i]==1) i++; if(a[j]==0) j--; if(a[i]==0) { temp=a[i]; a[i]=a[j]; a[j]=temp; } } for(i=0;i<14;i++) Console.Write(a[i]+", "); } Output: 1,1,1,1,1,1,0,0,0,0,0,0,0
Q: Honey is a major ingredient of
1751 05f8fe87f7793eb35d726fbe2
5f8fe87f7793eb35d726fbe2- 1Glucosefalse
- 2Sucrosefalse
- 3Fructosetrue
- 4Maltosefalse
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 3. "Fructose "
Q: What will be the difference between the first digit of the highest number as well as of the lowest number after the positions of the first two digits in each number of the following series 738, 429, 156, 273, 894 are reversed?
1751 062ea7504efd77421d963353b
62ea7504efd77421d963353b- 14false
- 25false
- 36false
- 47true
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 4. "7"
Q: Who won the men's full marathonrace at the IDBI Federal Life Insurance New Delhi Marathon?
1751 05e577a52c202fc4e80c07e67
5e577a52c202fc4e80c07e67- 1Sanjay Bhonslefalse
- 2Rashpal Singhtrue
- 3Anil Kumar Prakashfalse
- 4Ram Singh Yadavfalse
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 2. "Rashpal Singh"
Q: . Nimoo Bazgo hydro-electric Project being constructed by NHPC in Leh is located on river - 1751 05c35afb05e7c576c547d3c07
5c35afb05e7c576c547d3c07- 1Industrue
- 2Beasfalse
- 3Ravifalse
- 4Chenabfalse
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 1. "Indus"
Q:Direction: In the following questions, out of the four alternatives, choose the word opposite in meaning of the given word as your answer.
Vocal
1751 05fbddf504d67184d07bf0150
5fbddf504d67184d07bf0150- 1Volublefalse
- 2Calmfalse
- 3Quitefalse
- 4Silenttrue
- Show AnswerHide Answer
- Workspace
- SingleChoice
Answer : 4. "Silent"
Q: A boy scored 125 marks and 140 marks in the first test and the second test respectively. If the maximum mark in each test is 150, then the percentage increase in his performance is ___________.
1751 0638f3e8bd319b37ca182cc82
638f3e8bd319b37ca182cc82- 15%false
- 215%false
- 325%false
- 410%true
- Show AnswerHide Answer
- Workspace
- SingleChoice

