Questions

Q:

If the following structure is written to a file using fwrite(), can fread() read it back successfully?

struct emp

{

    char *n;

    int age;

};

struct emp e = { "Sujay",15};

FILE *fp;

fwrite (&e, sizeof (e), 1, fp);

Answer

No, since the structure contains a char pointer while writing the structure to the disk using fwrite() only the value stored in the pointer n would get written. When this structure is read back the address would be read back but it is quite unlikely that the desired string would be present at this address in memory

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 3162
Q:

Which day is celebrated as United Nations day every year

A) 7th April B) 25th August
C) 24th October D) 27th December
 
Answer & Explanation Answer: A) 7th April

Explanation:
Report Error

View Answer Report Error Discuss

0 3160
Q:

Chennai-based FMCG company, CavinKare has made an entry into homecare segment by launching a liquid  toilet cleaner. The brand name of the toilet cleaner is

A) Tavex B) Tex
C) Texco D) Domotex
 
Answer & Explanation Answer: B) Tex

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Business Awareness

4 3160
Q:

In India, the Community Development Programme was started on

A) October 2, 1952 B) October 2, 1957
C) October 2, 1959 D) October 2, 1961
 
Answer & Explanation Answer: A) October 2, 1952

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy

5 3160
Q:

India ranks _____ in 2016 Human Development Index ?

A) 128 B) 131
C) 188 D) 155
 
Answer & Explanation Answer: B) 131

Explanation:

India ranks 131 in the 2016 Human Development Index (HDI) among the 188 countries. It scored 0.624 and was placed in medium human development category.

The index was unveiled recently as part of the Human Development Report (HDR) 2016 titled Human Development for Everyone published by the United Nations Development Programme (UNDP).

Report Error

View Answer Report Error Discuss

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

3 3160
Q:

Nucleons are

A) protons and neutrons B) neutrons and electros
C) protons and electrons D) protons, neutrons and electrons
 
Answer & Explanation Answer: A) protons and neutrons

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

1 3159
Q:

The comparative form of adjectives compares

A) more than two things or people. B) the past to the present.
C) two things or people. D) at least a dozen different times.
 
Answer & Explanation Answer: C) two things or people.

Explanation:

A comparative compares a person or thing with another person or thing. A superlative compares a person or thing with the whole group of which that person or thing is a member

Comparative adjectives compare one person or thing with another and enable us to say whether a person or thing has more or less of a particular quality.

Example :: I’m more interested in music than studies, Arun is taller than Karthik.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE , TOEFL
Job Role: Analyst , Bank Clerk , Bank PO

4 3159
Q:

Project Cost Management - Processes

Describe the Inputs, Tools and Techniques , Outputs included in the Cost Control ?

Answer

I. Inputs



  • Cost baseline

  • Project funding requirements

  • performance reports

  • Work performance information

  • Approved change requests

  • Project management plan


II. Tools and Techniques



  • Cost change control system

  • Performance measurement analysis

  • Forecasting

  • Project performance reviews

  • Project management software 

  • Variance management


III. Outputs



  • Cost estimate (updates)

  • Cost baseline (updates)

  • Performance measurements

  • Forecasted completion

  • Requested changes

  • Recommended corrective actions

  • Organizational process assets (updates)

  • Project management plan (updates)


 

Report Error

View answer Workspace Report Error Discuss

0 3159