Questions

Q:

Which error are you likely to get when you run the following program?

main()

{

  struct emp

  {

      char name[20];

      float sal;

  };

  struct emp e[10];

  int i;

  for ( i = 0 ; i <= 9; i++)

        scanf ( "%s %f" , e[i].name, &e[i].sal );

}

Answer

Floating point formats not linked

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2096
Q:

In loading programs into memory, what is the difference between load-time dynamic linking and run-time dynamic linking?

Answer

For load-time dynamic linking: Load module to be loaded is read into memory. Any reference to a target external module causes that module to be loaded and the references are updated to a relative address from the start base address of the application module.


With run-time dynamic loading: Some of the linking is postponed until actual reference during execution. Then the correct module is loaded and linked.

Report Error

View answer Workspace Report Error Discuss

0 2096
Q:

What would be the output of the following program?

main()

{

    float a = 0.7;

    if ( a < 0.7f )

          printf ( " C ");

    else 

          Printf ( " C++ ");

}

Answer

C++

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2095
Q:

In the following question, the sentence given with blank to be filled in with an appropriate word. Select the correct alternative out of the four and indicate it by selecting the appropriate option.

Ramesh ______ into his own trap

A) falling B) was fell
C) fell D) fall down
 
Answer & Explanation Answer: C) fell

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2095
Q:

Choose the  word  which  is  nearly opposite in meaning to the given word ‘PREDILECTION’

A) Oblivion B) Objectivity
C) Aversion D) Defeat
 
Answer & Explanation Answer: C) Aversion

Explanation:
Predilection means fondness, liking
Oblivion means unconsciousness
Objectivity means impartiality
Aversion means dislike → which is nearly opposite of Predilection
Defeat means conquer, beat
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2095
Q:

Look at the underlined part of each sentence. Below each sentence are given three possible substitutions for the underlined part. If one of them (a), (b) or (c) is better than the underlined part, indicate your response on the Answer Sheet against the corresponding letter. If none of the substitutions imporves the sentence, indicate (d) as your response on the Answer Sheet.

The man disappeared after he was rescuing a boy from drowning.

A) was rescued B) has been rescued
C) had rescued D) No improvement
 
Answer & Explanation Answer: C) had rescued

Explanation:

Two complete events occurred rescue happened first hence it will be expressed in past perfect tense, ‘had rescued’ will be the correct usage.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2095
Q:

In the following question, the sentence given with blank to be filled in with an appropriate word. Select the correct alternative out of the four and indicate it by selecting the appropriate option.

My sister's marriage passed _____ peacefully.

A) away B) by
C) off D) out
 
Answer & Explanation Answer: C) off

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2094
Q:

The summer capital of J&K Government is

A) Jammu B) Srinagar
C) Gulmarg D) Anantnag
 
Answer & Explanation Answer: B) Srinagar

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: Bank Exams

3 2094