Questions

Q:

Explain Data Definition Language

Answer

Data Definition Language (DDL):- are the SQL statements that define the database structure.


Example:



  1.  CREATE

  2.  ALTER

  3.  DROP

  4.  TRUNCATE

  5.  COMMENT

  6.  RENAME

Report Error

View answer Workspace Report Error Discuss

1 2231
Q:

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

main()

{

    int ( *p )() = fun;

    ( *P ) ();

}

fun ()

{

    Printf ( "\nLoud and clear" );

Answer

Here we are initalising the function pointer p to the address of the function fun(). But during this initialisation the function has not been defined. Hence an error.


To eliminate this error add the prototype of the fun() before declaration of p, as shown below:


extern int fun();    or simply  int fun();

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2231
Q:

A passage is given with 5 questions following it. Read the passage carefully and choose the best answer to each question out of the four alternatives.

 

I had seen this road many years ago when my parents moved to Mundakotukurussi, our ancestral village. However, in those early years, I hadn't begun exploring the countryside. I stored the unknown road in my head under 'One Day I Will'. Ten years ago, when I recovered from a herniated disc, it was to discover that I had a useless left leg. Though I managed to lose the limp, I hated not being able to stride around as I used to. I needed a challenge to tell myself that I wasn't going to buckle to a creature called sciatica. Thus the 'One Day I Will' arrived. "Where does the road by the medical shop lead to?" I asked my parents while visiting them next. "Chalavara," they said. "It's not an easy road to walk on," my father added. "There are too many ups and downs." Chalavara was a superior grade of a village as compared to Mundakotukurussi, with a high school, a fine library, ATMs and several shops. But it also has two approach roads. The one I had chosen was a narrow back road used by the locals and that settled it for me. I needed to know for myself I could walk a road that wasn't going to be easy. And the next day, I would get up and walk that road again.

 

What disability did the writer suffer due to the herniated disc?

 

A) A useless left leg B) Depression
C) Loss of memory D) Poor visibility
 
Answer & Explanation Answer: A) A useless left leg

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2231
Q:

What is the resistance (in ohm) of an electrical component if a current of 0.1 A passes through it on application of 5 V of potential difference across it?

A) 0.5 B) 100
C) 50 D) 1
 
Answer & Explanation Answer: C) 50

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

0 2231
Q:

A sentence has been given in Direct/Indirect Speech. Out of the four given alternatives, select the one which best expresses the same sentence in Indirect/Direct Speech.

He said, “The dog died in the night.”

A) He inform about the dog’s death. B) He says dog died in the night.
C) The dog had died in the night, he said. D) He said that the dog had died in the night.
 
Answer & Explanation Answer: D) He said that the dog had died in the night.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams , CAT

0 2230
Q:

Bacteria divide by

A) Binary Fission B) Spirilla
C) RNA D) Fusion
 
Answer & Explanation Answer: A) Binary Fission

Explanation:

Bacteria divided and reproduce by Binary fission. In this process, the bacterium, which is a single cell, divides into two identical daughter cells. Binary fission begins when the DNA of the bacterium divides into two replicates.

Report Error

View Answer Report Error Discuss

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

3 2230
Q:

A sentence has been given in Active/Passive Voice. Out of the four given alternatives, select the one which best expresses the same sentence inPassive/Active Voice

Who burned the food?

A) By who was this food burned? B) By whom was that food burned?
C) By whom was the food burned? D) By whom is this food burned?
 
Answer & Explanation Answer: A) By who was this food burned?

Explanation:

By whom was the food burned?

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: CAT , GRE , TOEFL
Job Role: Bank Clerk , Bank PO

0 2230
Q:

In the following question, out of the four alternatives, select the alternative which best expresses the meaning of the idiom/phrase.

 

Cross that bridge when you come to it.

 

A) It is always better to plan for an eventuality rather face it when you are unprepared. B) Deal with a problem when and if it arises.
C) A bridge is a path to a different world. D) If you are brave then you can overcome all hurdles.
 
Answer & Explanation Answer: B) Deal with a problem when and if it arises.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams , CAT

0 2230