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:

In the following question, out of the four alternatives, select the alternative which is the best substitute of the words/sentence. 
 
Of or connected with the sense of touch

A) Apperception B) Eavesdrop
C) Tactile D) Hark
 
Answer & Explanation Answer: C) Tactile

Explanation:
Report Error

View Answer Report Error Discuss

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

0 2230
Q:

In the following question, out of the four alternatives, select the alternative which is the best substitute of the phrase.

 

An achievement or something desired fail to be attained by someone

 

A) to elude B) to eschew
C) to shirk D) to devoid
 
Answer & Explanation Answer: A) to elude

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2229
Q:

Read the passage carefully and choose the best answer to each question out of the four alternatives and click the button corresponding to it.

In the world today we make health an end in itself. We have forgotten that health really means to enable a person to do his work and do it well. A lot of modern medicine, and this includes many patients as well as many physicians, pay very little attention to health but very much attention to those who imagine they are ill. Our great concern with health is shown by the medical columns in newspapers, the health articles in popular magazines and the popularity of television programmes and all those books on medicine. We talk about health all the time. Yet for the most part the only result is more people with imaginary illness. A healthy man should not be wasting time talking about health : he should be using health for work.


Modern medicine is primarily concerned with

A) promotion of good health B) people suffering from imaginary illness
C) people suffering from real illness D) increased efficiency in work
 
Answer & Explanation Answer: B) people suffering from imaginary illness

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2229
Q:

Write a c program to print multiplication table

Answer

 #include<stdio.h>
int main(){
  int r,i,j,k;
  printf("Enter the number range: ");
  scanf("%d",&r);
  for(i=1;i<=r;i++){
      for(j=1;j<=10;j++)
           printf("%d*%d=%d ",i,j,i*j);
      printf("\n");
  }
  return 0;
}

Sample Output:
Enter the number range: 5

1*1=1 1*2=2 1*3=3 1*4=4 1*5=5 1*6=6 1*7=7 1*8=8 1*9=9 1*10=10
2*1=2 2*2=4 2*3=6 2*4=8 2*5=10 2*6=12 2*7=14 2*8=16 2*9=18 2*10=20
3*1=3 3*2=6 3*3=9 3*4=12 3*5=15 3*6=18 3*7=21 3*8=24 3*9=27 3*10=30
4*1=4 4*2=8 4*3=12 4*4=16 4*5=20 4*6=24 4*7=28 4*8=32 4*9=36 4*10=40
5*1=5 5*2=10 5*3=15 5*4=20 5*5=25 5*6=30 5*7=35 5*8=40 5*9=45 5*10=50

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2229
Q:

In the following question, some part of the sentence may have errors. Find out which part of the sentence has an error and select theappropriate option. If a sentence is free from error, select 'No Error'.

Money bills could only be introduced in the Lok Sabha, (1)/ and upon being passed, are sent to the Rajya Sabha, (2)/ where it can be deliberated upon forupto 14 days. (3)/ No error (4)

A) 1 B) 2
C) 3 D) 4
 
Answer & Explanation Answer: A) 1

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams
Job Role: Bank Clerk

0 2228