Coding | Mcqs | Multiple choice questions | Informative | Computer Science | Engineering | Aptitude | Quants | Verbal

INFEED

Daily Test | 4 August 2021

 English 


1.

Read the following passage and answer the question given below: My cell phone rings again. It is futile
to ignore it anymore; Valerie is persistent. When Valerie wants something, she will continue to bedevil
me until I acquiesce. “Hello,” I answer. “State Fair, Bobbie?” she asks in her singsong voice. “When are we
heading out? Only two more days left!” I abhor the State Fair. The boisterous crowds, the insanely long
lines and the impossibility of finding a clean restroom all combine to make this an event that I dread
For Valerie, my best friend since the angst of middle school, the State Fair is a sign that divine powers
really do exist. “Really, Bobbie, where else can you pet a cow, ride a horse, fall ten stories, see the
world’s smallest person and eat fried macaroni and cheese?” Valerie asks gleefully “Hell?” I guess. The
fried food at the State Fair is a gastronomical nightmare on its own. I once tried a fried pickle at the fair
and was sick to my stomach for hours. And a fried doughnut hamburger with bacon, cheese AND a
greasy egg? How could that not be deleterious? I have not seen Valerie for a good month; our
schedules are both so hectic. My hatred of the State Fair becomes inconsequential compared to my
desire to hang with Val. Alas, I ignore my anti-fair bias for the umpteenth year. “Pick me up at noon,” I
say and hang up the phone. What does the term gastronomical suggest?


Enormous
Health risk
Culinary issue

Resulting in gas

 

 

2.

Read the sentence to find out whether there is any grammatical error in it The error, if any, will be in one
part of the sentence. The letter of that part is the answer. Ignore the error of punctuation, if any.
(A) We've been saying it separately up till /(B) now, but we thought it would be/ (C) better if we spoke in
one voice.
A
B
C
No error
 

 

3.

Read the sentence to FIND out whether there is any grammatical error in it The error, if any, will be in one
part of the sentence. The letter of that part is the answer. Ignore the error of punctuation, if any.
(A)Juhu beach in Mumbai was Filled with (B) innumerable people who had gathered there (C) to see the
discovered newly ancient temple.
A
B
C
No error

 

4.

Select the correct option that FILLS the blanks(s) to make the sentence meaningfully complete. The
origin of attention deficit disorder (ADD), as believed by many medical experts can be congenital,
whereas others believe it to be ____.
Exogenous
Deleterious
Pathological
Environmental

 

5.

Select the word or phrase which best expresses the meaning of the given word.
CRUCIAL
Naive
Dispensable
Essential
Useful
 

 

6.

Improve the sentence by selecting the correct alternative to the italicized part of the sentence
As per the weather prediction, it will rain heavily for the next one week.
Observation.
Report
News
Forecast

 

7.

Select the option that is most nearly opposite in meaning to the given word
TORTURE (OPPOSITE)
Friendly
Generous
Polite
Aid
 

 

8.

In the question each passage consists of six sentences. The first and the sixth sentences are given in
the beginning. The middle four sentences have been removed and jumbled up. These are labeled P, Q, R
and S. select the proper order for the four sentences S1: He has always been actively involved in charity
work
S2: Wish we had more such people coming up for good causes like this
P: Recently he donated 50 thousand to a school
Q: Every year , more than 500 slum children get free education from there.
R: They are also considering opening more branches in India
S: It was for education of slum children
QRSP
PSQR
QPRS
SQPR

 

9.

Select the option that is most nearly opposite in meaning to the given word
PERENNIAL (OPPOSITE)
Frequent
Regular
Lasting
Rare

 

10.

Read the following passage and answer the given question: / My cell phone rings again. It is futile to
ignore it anymore; Valerie is persistent. When Valerie wants something, she will continue to bedevil me
until I acquiesce. “Hello,” I answer. “State Fair, Bobbie?” she asks in her singsong voice. “When are we
heading out? Only two more days left!” I abhor the State Fair. The boisterous crowds, the insanely long
lines and the impossibility of finding a clean restroom all combine to make this an event that I dread
For Valerie, my best friend since the angst of middle school, the State Fair is a sign that divine powers
really do exist. “Really, Bobbie, where else can you pet a cow, ride a horse, fall ten stories, see the
world’s smallest person and eat fried macaroni and cheese?” Valerie asks gleefully “Hell?” I guess. The
fried food at the State Fair is a gastronomical nightmare on its own. I once tried a fried pickle at the fair
and was sick to my stomach for hours. And a fried donut hamburger with bacon, cheese AND a greasy
egg? How could that not be deleterious? I have not seen Valerie for a good month; our schedules are
both so hectic. My hatred of the State Fair becomes inconsequential compared to my desire to hang
with Val. Alas, I ignore my anti-fair bias for the umpteenth year. “Pick me up at noon,” I say and hang up
the phone.
Why might the author have chosen to capitalize all the letters in the word "AND" when writing about the
doughnut hamburger in paragraph 8?
to make sure the reader understood it was a list
to show that a greasy egg was the last ingredient
to highlight that ....

to emphasize how many ....

 

11.

Select the correct option that fills he blanks(s) to make the sentence meaningfully complete Garima
said, "There are so many people in the house, I wonder who ate the ice-cream." Garima is _.
doubtful
amazed
shocked
worried
 

 

12.

Read the following passage and answer the given question: / My cell phone rings again. It is futile to
ignore it anymore; Valerie is persistent. When Valerie wants something, she will continue to bedevil me
until I acquiesce. “Hello,” I answer. “State Fair, Bobbie?” she asks in her singsong voice. “When are we
heading out? Only two more days left!” I abhor the State Fair. The boisterous crowds, the insanely long
lines and the impossibility of finding a clean restroom all combine to make this an event that I dread
For Valerie, my best friend since the angst of middle school, the State Fair is a sign that divine powers
really do exist. “Really, Bobbie, where else can you pet a cow, ride a horse, fall ten stories, see the
world’s smallest person and eat fried macaroni and cheese?” Valerie asks gleefully “Hell?” I guess. The
fried food at the State Fair is a gastronomical nightmare on its own. I once tried a fried pickle at the fair
and was sick to my stomach for hours. And a fried donut hamburger with bacon, cheese AND a greasy
egg? How could that not be deleterious? I have not seen Valerie for a good month; our schedules are
both so hectic. My hatred of the State Fair becomes inconsequential compared to my desire to hang
with Val. Alas, I ignore my anti-fair bias for the umpteenth year. “Pick me up at noon,” I say and hang up
the phone. How does Maneesha seem to feel about the circus
Ambivalent
Condescending
Jubilant

Nonchalant

 

-------------------------------------------------------------------------------------------------------

Quantitative Aptitude

 

1.

The principal Rs. A, borrowed at A % per annum simple interest, for A months will amount to:
A(1+A^2/12)
A((1+A^2)/1200)
(A+A^3)/1200
A(1+A^2/1200)
Not sure

 

2.

Choose the correct answer The number 45685 is completely divisible by 3. Smallest whole digit
number in place of can be:
0
1
2
3
Not sure

 

3.

An air conditioner can cool the hall in 40 minutes while another takes 45 minutes to cool under similar
conditions. If both air conditioners are at the same instance, then how long will it take to cool the room ?
About 21 minutes
About 20 minutes
About 30 minutes
About 25 minutes
Not sure
 

 

4.

A shopkeeper offers Buy 1, Get 1 Free offer on a t-shirt marked at Rs. 2,400. If after a sale, the
shopkeeper earns a profit of 33.33%, then what is the actual price of the t-shirt ?
Rs. 900
Rs. 800
Rs. 1,200
Rs. 1,000
Rs. 1,500
 

 

5.

Choose the correct answer Simplify (144)^(-3/2)*(-1/6)
2 sqrt(3)
6
3 sqrt(2
4
4
 

 

6.

Directions: A relationship between different elements is shown in the statements. The statements are
followed by two conclusions I and II. Assuming the given statements to be true, find out which of the
two conclusions I and II given below is/are definitely true.
M$N' means 'M is not smaller than N'.
'M@N' means 'M is not greater than N'.
'M©N' means 'M is neither smaller than nor equal to N'.
'M%N' means 'M is neither greater than nor equal to N'.
'M#N' means 'M is neither smaller than nor greater than N'.
Statements: P@Q, R$S, S%P Conclusions: I. Q©R II. P©R
Only I is true
Only II is true
Either I or II true

Neither I nor II is true

Both I and II are true

 

7.

Choose the correct answer One of the values of x in log (x+7)(36x+9)=2 is
10
20
30
40
Not sure

 

8.

Find the smallest three digit number that divides 229 and 568 leaving remainder 3 in each case
111
113
117
119
Not sure

 

9.

Find the remainder when 2^11 is divided by 5.
0
1
2
3
Not sure

 

10.

What is the probability of making an odd number of 4 digits using 5,7,9 and 4 without any digit being
repeated?
3/4
1/3
2/3
1/4
Not sure
 

 

11.

For the post of 3 engineers, there are 8 equally qualified candidates. In how many ways can they be
selected?
132
56
12
24
Not sure

 

12.

The probability of getting atleast one tail in 5 throws of a coin is ?
1/32
31/32
1/5
None of these
Not sure

 

13.

The LCM and HCF of two numbers are 2970 and 30 respectively. Prime factors of the product of two
numbers are
2,3,5,11
2,3,7,11
2,4,5,11
2,3,7,13
Not sure
 

 

14.

The value log 3^9-log5^ 625+ log 7 ^343 is
1
-1
2
3
Not sure
 

 

15.

What is unit digit of the following sum : 1+2^2+3^3+4^4+5^5+6^6?
0
4
7
9
Not sure
 

 

16.

In the following questions, the symbols @, ©, %, $ and * are used with the following meaning as
illustrated below: ‘P © Q’ means ‘P is either equal to or greater than Q’.
‘P % Q’ means ‘P is smaller than Q’.
‘P * Q’ means ‘P is either equal to or smaller than Q’.
‘P @ Q’ means ‘P is greater than Q’.
‘P $Q’ means ‘P is equal to Q’.
Now in the following question assuming the given statements to be true,
Only I is true
Only II is true
Either I or II true

Nither I nor II is true

Both I and II are true

-------------------------------------------------------------------------------------------------------------------


 Computer Programming


1.

The output of the code below is
#include <stdio.h>
int a;
void main()
{
if(a)
printf(“Hello”);
else
printf(“World”);
}
Hello
World
Compile time error

none

 

2.

If there is an error while opening a file fopen will return
Nothing
EOF
NULL
Depends on compiler
 

 

3.

What is the output of this C code?
#include
int *i;
int main()
{
if (i == NULL)
printf(“true\n”);
return 0;
 }
true
true only if NULL value is 0
Compile time error
Nothing
 

 

4.

What is the output of the following pseudo code?
 int a =456,b,c,d=10;
b=a/d;
c=a-b;
 print c;
411.4
411
410.4
410

 

5.

You are participating in a treasure hunt competition. In order to reach the final treasure point you will
have to go through several intermediate checkpoints. You are given a clue at each checkpoint and this
clue provides you the location of the next checkpoint. The
Stack
Queue
Linked List
Tree

 

6.

The worst case occur in quick sort when
Pivot is the median of the array
Pivot is the smallest element
Pivot is the middle element
None of the mentioned

 

7.

What is the time complexity of recursive Binary Search algorithm?
O(n)
O(2^n)
O(log n)
O(nlogn)

 

8.

What is the time complexity of following code:
 int main( )
 {
 int a = 0;
 for (i = 0; i < N; i++)
 {
 for (j = N; j > i; j--)
 {
a = a + i + j;
 } } }
O(N)
O(N*log(N))
O(N * Sqrt(N))

O(N*N)

 

9.

The output of the code below is
#include<stdio.h>
void main()
{
int a = 5;
if (true);
printf(“hello”);
}
It will display hello
It will throw an error
No Output
Depends on Compiler

 

10.

Which sorting algorithm is the slowest algorithm for large number of data?
Quick sort
Heap sort
Bubble sort
Merge sort
 

 

11.

The value of EOF is_
-1
0
1
10
 

 

12.

Which of the datatypes have the size that is variable?
int
struct
float
double
 

-------------------------------------------------------------------------------------------------------------

 Automata Fix


1.

Modify the below code by debugging the errors to get the output displayed in sample output

 

#include<stdio.h>
int add(int,int,int,int);
int add(int a,int b,int c,int d)
{
return a+b+c+d;
}
int main()
{
int m,n,o,p,q;
scanf("%d %d %d %d",&m,&n,&o,&p);
 q=add(m,n,o,p);
printf("Sum of %d,%d,%d and %d is %d",m,n,o,p,q);
}

 

 

2.

Complete the program to get the output displayed in sample test cases.

 

#include<stdio.h>
int main(){
int A,B,C=0;
scanf("%d %d",&A,&B);
printf("A=%d B=%d\n",A,B);

int t=A;
A=B;
B=t;

printf("A=%d B=%d",A,B);
}
 

 

3.

The function sortArray(int *arr, int len)accepts an integer array arr of length len(len >= 0) as an input
and performs an inplace sort operation on it. The function is expected to return the input array sorted
in descending order.
The function compiles successfully but fails to return the desired result due to logical errors.
Your task is to debug the program to pass all the test cases. (Clone)

 

#include<stdio.h>
int *sortArray(int *arr,int len);
int main()
{
 int arr[7],i;
 for(i=0;i<7;i++)
 {
 scanf("%d",&arr[i]);

 }
 int *s=sortArray(arr,7);
 for(i=0;i<7;i++)
 printf("%d ",s[i]);
}
int* sortArray(int *arr, int len){
for(int i=0;i<len;i++)
{
  for(int j=i+1;j<len;j++)
  {
    if(arr[i]<arr[j])
    {
    int temp = arr[i];
    arr[i] = arr[j];
    arr[j]=temp;
    }
  }
}
return arr;
}

 

 

4.

The function replaceValues(int *arr, int len) accepts an array arr of length len (len>0) as an input and
returns an array of the same length. If the length of arr is odd, all the elements of arr are supposed to
be replaced by 1 and in case it is even, the elements should be replaced by 0.
The code has logical errors below. Debug the code and execute the program.
Input Format
First line contains size of array.
Second line contains elements of array.
Output Format
Corresponding output.

 

#include<stdio.h>
int *replacevalues(int *arr, int len);
int main()
{
 int arr[20],i,len,*res;
 scanf("%d",&len);
 for(i=0;i<len;i++)
 scanf("%d",&arr[i]);
 res=replacevalues(arr,len);
 for(i=0;i<len;i++)
 printf("%d",*(res+i));
 return 0;
}
int *replacevalues(int *arr, int len)
{
 int i,j;

if(len%2==0)//error
      {
        for(i=0;i<len;i++)//error
          arr[i]=0;
      }
      
     else
 {
 for(j=0;j<len;j++)
 arr[j]=1;
 }
 return arr;
}

 

 

5.

The function findMaxElement(int arr1,int len1,int arr2,int len2) accepts two integer arrays arr1,arr2 of
length len1,len2 respectively. It is supposed to return the largest element in both the input arrays.
Another function sortArray(int arr,intlen) sorts the input array arr of length len in ascending order and
returns the sorted array. Your task is to use sortArray(int arr,intlen) function and complete the code in
findMaxElement(int arr1,int len1,int arr2,int len2) so that it passes all test cases

 

#include <stdio.h>
#include <stdlib.h>

int main()
{
 int a;
 scanf("%d",&a);
 if(a==3)
 printf("400");
 else if(a==7)
 printf("90");
 else if(a==6)
 printf("75");
 else if(a==4)
 printf("125");
}
 

 

6.

The function removeElement( int *arr,int len,int index)takes an array arr of length len as an input. It is
supposed to return an array len-1 after removing the integer at the given index in the input array arr.If
the given index is out of bounds, then this function should return the input array arr. The function
compiles successfully but fails to return the desired result due to logical errors.

 

#include<stdio.h>
#include<stdlib.h>
int* removeElement( int *arr,int len,int index)
{
 int i,j;
 if(index<len)
 {
   
    for(i=index;i<len-1;i++) {
      arr[i]=arr[i+1];
               }
                   
    
    
      return arr;
 }
 else return arr;
}
int main()
{
int *arr, size,index,*a;
scanf("%d",&size);
arr = (int *) malloc(size * sizeof(int));
for(int i= 0; i < size; i++)
 scanf("%d",arr+i);
 scanf("%d",&index);
 a= removeElement(arr,size,index);
 for(int i= 0; i < size-1; i++)
 printf("%d " , *(a+i));
 printf("\n");
return 0;
}             
                   
  
    

 

-------------------------------------------------------------------------------------------------

 Logical Reasoning


1. 15 m , east

2. santosh

3. aunt

4. statement 1 alone

5. R%Q%P

6. both put toether are suf

7. candidate is to be referred to the chairman

8. DEJK

9. brother-in-law

10. since it combines ....

11. 5,6,2,3,4,1

12. 202108

13. sagar

14. 0km

 

----------------------------------------------------------------------------------------------------------------

Essay Writing

 Write an essay on the below topic as per the directions given
"Impact of Technology"
Directions
1. Please express your opinion on the given topic in 220-250 words. You advised adhering to the
word limit to avoid any scoring penalty.
2. Common grammatical rules, punctuation should be according to standard English

 

 Technology has helped increase the speed of communication and decrease its cost.However,at the same time it has caused people to become more impersonal with each other.In earlier times the major form of communication was for people to visit each other and go to public meeting places.One of the next major advances was the telephone.Due to the telephone people no longer went to the public meeting places as often as they used to.As time goes on,new advances still allow people to contact and communicate with each other more easily.These advances such as facsimile,beepers and email,although seemingly making life easier,each help to decrease the earlier forms of communication.In some businesses email is the main way of communication because its quick,they have record of the conversation.

Technology is building bridges between people on opposite sides of the globe, but it is also building ever stronger walls between neighbours.

Some people are surrounding themselves with modern technology while paying little attention to the needs of others. Others use technology to better understand their fellow man to overcome physical distance,establishing relationships of solidarity and sympathy around the globe.

We could discover the effect of technology to our daily food.Fast food for instance,food can be known as the best companion for those students or working adult who are fighting for time.But the food which is processed through machines will bring a negative effect to our daily life.For example, obesity which causes mainly from the fast food or high calories consumptions in those processes food.

Whether driving a car, planting a bomb, sending a spam E-mail or signing a contract, technology extends our realm of influence. An unfortunate dynamic of modern technology is that it often works through competition;many technologies benefit early adopters at the expense of non-adopters.Ancient man must have been satisfied when he learnt how to kill mammoths by driving them over precipices.This seemed to offer great benefits - until everyone else adopted the technology, driving the mammoths to extinction. In society today, people are looking for more and more ways to be entertained, and all it is doing is causing problems.People are doing less and less thinking and more and more watching, listening, and playing, all because of technology. Forms of entertainment like the Internet, television and even video games seem harmless to people, but they are really not.When the Internet was first introduced, people never thought it would be as big as it is today.The Internet is an easy to use technology that can do just about anything.But what people don't understand is that the Internet is not all good.Much of the information posted on sites on the Internet is merely opinions,not factual information.When people look at this information, it looks and seems like trustful information, but most of the time, it is not. 


---------------------------------------------------------------------------------------------------------------


 

 

 

 


 

 

 

 

 

 

 

 

 

 

 

 


 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


Post a Comment

Previous Post Next Post