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 3323
Q:

Which company is now listed to be one of the world's most valuable privately held companies ?

A) Space X B) Tata Steels
C) Facebook D) Apple
 
Answer & Explanation Answer: A) Space X

Explanation:
Report Error

View Answer Report Error Discuss

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

8 3322
Q:

Microbial Type Culture Collection Centre is situated at

A) Chandigarh B) New Delhi
C) Hyderabad D) Bangalore
 
Answer & Explanation Answer: A) Chandigarh

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer

0 3322
Q:

Is air homogeneous or heterogeneous?

A) homogeneous B) heterogeneous
C) Both A & B D) None of the above
 
Answer & Explanation Answer: A) homogeneous

Explanation:

A Mixture is a material made up of two or more different substances which are mixed.

 

Mixtures can be either homogeneous or heterogeneous.

 

* A homogeneous mixture is a type of mixture in which the composition is uniform and every part of the solution has the same properties.

* A heterogeneous mixture is a type of mixture in which the components can be seen, as there are two or more phases present.

 

Air is a homogeneous mixture of the gaseous substances nitrogen, oxygen, and smaller amounts of other substances.

Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer

2 3322
Q:

Rank these compounds by boiling point- Pentane, Propane and Hexane.

A) Pentane > Propane > Hexane B) Propane > Pentane > Hexane
C) Hexane > Pentane > Propane D) Propane > Hexane > Pentane
 
Answer & Explanation Answer: C) Hexane > Pentane > Propane

Explanation:

The boiling point of the compounds depend on the number of carbons in them. Hexane has 6, Pentane has 5 and Propane has 3 carbons. As Hexane is with 6 carbons it has highest boiling point and next Pentane with 5 and lowest Propane with 3. 

Report Error

View Answer Report Error Discuss

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

2 3322
Q:

MAU-Multiple access unit

A) TRUE B) FALSE
Answer & Explanation Answer: B) FALSE

Explanation:

MAU is Multistation Access Unit

Report Error

View Answer Workspace Report Error Discuss

Subject: Networking
Job Role: Network Engineer

0 3321
Q:

Who did the historian K M Pannikar call "India's new Manu, the spirit of modern law incarnate"?

Answer

Thomas Babington Macaulay

Report Error

View answer Workspace Report Error Discuss

Subject: World History

7 3321
Q:

Management by projects views aspects of ongoing operations as projects in order to apply Project Management techniques to them. This can be used to describe an oranizational approach to the management of ongoing operations. Why would a company want to utilize this methodology on nonprojects?

A) To keep project managers employed B) To provide better estimates about durations
C) To allow the utilization of PM tools, such as earned value, to calculate ROI D) To specify the different phases within the operations
 
Answer & Explanation Answer: C) To allow the utilization of PM tools, such as earned value, to calculate ROI

Explanation:

Answer A is incorrect because project managers are not effectively utilized if they are always scheduling and coordinating resources for daily operations. Answer B is incorrect because project managers are not the best resource for providing estimates on daily operations and time allocations;people doing the actual work are the best resources. Answer D is incorrect because you do not specify different phases of ongoing operations.

Report Error

View Answer Report Error Discuss

Filed Under: PMP Certification

0 3320