Questions

Q:

Point out the error, if any, in the following program.

#include "stdio.h"

main()

{

      unsigned char;

       FILE *fp;

       fp = fopen ("trail", "r");

       while (( ch = getc (fp)) ! = EOF)

               printf ("%c", ch);

       fclose (fp);

}  

Answer

EOF has been defined as #define EOF -1 n the file "stdio.h" and an unsigned char ranges from 0 to 255 hence when EOF is read from the file it cannot be accommodated in ch. Solution is to declare ch as an int.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

1 3009
Q:

“Chief Minister’s Award” has been launched by which state government to reward districts adopting digital payments?

A) Andhra Pradesh B) Rajastan
C) Assam D) Kerala
 
Answer & Explanation Answer: C) Assam

Explanation:

The C.M of Assam, Sarbananda Sonowal has recently launched the ‘Chief Minister’s Award’ to promote digital transaction in Assam.

 

The Chief Minister’s Award would be given to the best performing district of the state that adopts digital payment methods and also educate larger section of the society about the cashless transaction.

 

The winning district’s Deputy Commissioner would be presented a prize of Rs 50,000 at the end of financial year 2016-2017 after March 31, 2017.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

2 3009
Q:

Which one of the following is an abiotic and renewable resource

A) Iron ore B) Livestock
C) Water D) Forests
 
Answer & Explanation Answer: C) Water

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy

2 3009
Q:

Enzymes are produced by

A) endocrine glands B) exocrine glands
C) liver D) spleen
 
Answer & Explanation Answer: B) exocrine glands

Explanation:

Glands are of two types. The exocrine glands have ducts to carry their secretions and these secretions contain enzymes. on the other hand, endocrine glands are ductless glands and they secrete mainly horomones.

Report Error

View Answer Report Error Discuss

Filed Under: Biology

11 3008
Q:

In which of the following kind of organisms is the phenomenon found where in the female kills the male after copulation __________

A) Drgonfly B) Honey bee
C) Spider D) Pit viper
 
Answer & Explanation Answer: C) Spider

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology

8 3007
Q:

When is genetic drift a major factor in evolution?

A) When there is male competition B) When there is artificial selection
C) When there is no selective pressure D) When there is disruptiveselection
 
Answer & Explanation Answer: C) When there is no selective pressure

Explanation:

Genetic drift or allelic drift is the change in the relative frequency in which a gene variant (allele) occurs in a population due to random sampling and chance.

 

When is genetic drift a major factor in evolution is

* When there is low gene flow.

* When there is no selective pressure.

* When there is a bottleneck.

Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

5 3007
Q:

As per the data released by RBI, which bank witnessed the most number of frauds during April-December period of 2016 ?

A) HDFC Bank B) Standard Chartered Bank
C) SBI Bank D) ICICI Bank
 
Answer & Explanation Answer: D) ICICI Bank

Explanation:

ICICI Bank topped the list of banks that witnessed the most number of frauds during April-December period of 2016 with state-owned SBI taking the second spot, RBI data said.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams , CAT
Job Role: Bank Clerk

2 3007
Q:

For which Novel Prominent Konkani writer Mahabaleshwar Sail will be awarded the Saraswati Samman for the year 2016 ?

A) Hawthan B) Mandra
C) Chitt-Chete D) None of the above
 
Answer & Explanation Answer: A) Hawthan

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

6 3007