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

Gas authority of India Ltd.(GAIL) is likely to bag equity participation in a transational pipeline project from the Caspian Sea to Central Europe. What is the name of this 3,300 km pipeline project?

A) Natural Gas Transmission Company B) SNTGN Transgar SA
C) O M V Aktiengesellschaft D) Nabucco Natural Gas Pipeline Project
 
Answer & Explanation Answer: D) Nabucco Natural Gas Pipeline Project

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy

6 3403
Q:

Who is the Vice Chairman of NITI Aayog?

A) Rajeev Shukla B) V.K. Paul
C) Rajiv Kumar D) Bibek Debroy
 
Answer & Explanation Answer: C) Rajiv Kumar

Explanation:

Indian Economist Rajiv Kumar is the Vice Chairman of NITI Aayog.

Report Error

View Answer Report Error Discuss

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

0 3403
Q:

What was the theme of World Consumer Rights Day 2017 ?

A) A Step Towards Digital World B) Building a Digital World Consumers can Trust
C) A smart Digital Consumers D) A Tradition of Trust With Consumers
 
Answer & Explanation Answer: B) Building a Digital World Consumers can Trust

Explanation:

World Consumer Rights Day is being observed today (15 March 2017) which is an awareness day and theme for this year is 'Building a Digital World Consumers can trust'.

Report Error

View Answer Report Error Discuss

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

2 3402
Q:

Which is an example of Phototropism?

A) roots of a plant following water B) plant bending toward the light
C) roots growing into the soil D) a venus flytrap capturing a fly
 
Answer & Explanation Answer: B) plant bending toward the light

Explanation:

Phototropism is the ability of a photosynthesizing organism, to grow directionally in response to a light source. It is very common in plants, but can also occur in other organisms such as fungi.

Example :: Sunflower

Report Error

View Answer Report Error Discuss

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

5 3402
Q:

What are rings in Windows NT?

Answer

Windows NT uses protection mechanism called rings provides by the process to implement separation between the user mode and kernel mode.

Report Error

View answer Workspace Report Error Discuss

0 3402
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 3402
Q:

In Which state is the highest dam found in India ?

Answer



Tehri Dam on Bhagirathi River in Uttarakhand (Height of 260 meters)


 

Report Error

View answer Workspace Report Error Discuss

4 3401