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:

The energy in most ecosystems comes from

A) Water B) Carbon dioxide
C) Sun D) Soil
 
Answer & Explanation Answer: C) Sun

Explanation:

The energy in most ecosystems comes from sun light.

Report Error

View Answer Report Error Discuss

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

4 2231
Q:

Deficiency of fluoride leads to Which one of the following health problems?

A) Tooth caries B) Mottling of tooth
C) Bending of bones D) Stiffening of joints
 
Answer & Explanation Answer: A) Tooth caries

Explanation:

Fluoride deficiency is a disorder which may cause increased dental caries due to a lack of fluoride in the diet. Dental caries or tooth decay is the breakdown of dental tissues by the acidic products released by the "bacterial fermentation of dietary carbohydrates”

Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: Bank Exams

4 2231
Q:

Agronomy is a branch of agriculture that deals with

A) Study of crops B) Study of soil
C) Both A & B D) None of the above
 
Answer & Explanation Answer: C) Both A & B

Explanation:

Agronomy is a branch of agriculture that deals with the study of crops and the soils in which they are produced.

Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

2 2231
Q:

The first nuclear power plant in India was set up at?

A) Koodankulam B) Tarapur
C) Kaiga D) Narora
 
Answer & Explanation Answer: B) Tarapur

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

0 2231
Q:

I crawl on the earth and rise on a pillar?

What am I?

Answer

A SHADOW can crawl on the earth and can rise on the pillar.

Report Error

View answer Workspace Report Error Discuss

Subject: Logic Puzzles Exam Prep: CAT , Bank Exams , AIEEE
Job Role: Bank PO , Bank Clerk , Analyst

4 2230
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