Questions

Q:

What is the difference between real money & nominal money?

Answer

Nominal money relates more to it's measure of counting - so nominal figure of what is written on bill, while "real" relates more to it's purchasing power (usually between some periods of time). For instance 100 units in nominal could buy 2 units of good in 1950 and 1 unit of good in 2005, at the same time real value of this 100 nominal units are 100 real units in 1950 and 50 real units in 2005.


Same is with GDP. In nominal it can rise due to inflation while it can stay the same or even decrease in real value.

Report Error

View answer Workspace Report Error Discuss

Subject: Finance

2 2831
Q:

The functional unit of the nervous system is the

A) Nephrons B) Axons
C) Neurons D) All of the above
 
Answer & Explanation Answer: C) Neurons

Explanation:

Neurons are the functional units of the nervous system in the body.

the_functional_unit_of_the_nervous_system_is_the1535026518.png image

Report Error

View Answer Report Error Discuss

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

3 2831
Q:

Which one of the following National Highways is the longest

A) NH-2 B) NH-7
C) NH-8 D) NH-15
 
Answer & Explanation Answer: B) NH-7

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy

4 2831
Q:

Write a c program to create dos command type.

Answer

#include
int main( int count,char * argv[] ) {
    int i;
    FILE *ptr;
    char *str;
    char ch;
    if( count == 1) {


         printf( "The syntax of the command is incorrect.\n" );
    }
    for( i=1;i<cout;i++ ){
         ptr=fopen(argv[i],"r");
         if(ptr==NULL){
             printf("The system cannot find the file specified.");
             if(count>2)
                 printf("\nError occurred while procesing : %s.\n",argv[i]);
         }
         else {
             if(count>2) {
                 printf("%s\n\n",argv[i]);
             }
             while((ch=getc(ptr))!=-1)
                 printf("%c",ch);
         }
         fclose(ptr);
    }
    return 0;
}


 


Save the above file as open.c, compile and execute the go to command mode (current working directory) and write: open xy.c (xy.c any file present in that directory)
To run the open command in all directories and drive you will have to give the path of current working directory in command mode. Write:
C:tc\bin>PATH c:\tc\bin
Now press enter key. Now your open command will work in all directory and drive.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2830
Q:

The decadal growth in the population of India during 1991-2001 is close to 

A) 13% B) 17%
C) 21% D) 25%
 
Answer & Explanation Answer: C) 21%

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy

1 2830
Q:

Countries with autocracy-based governments have

A) regular elections to select representative officials B) a single ruler who may be a monarch or dictator
C) a small group of leaders with similar political views D) shared decisions between citizens and leaders
 
Answer & Explanation Answer: B) a single ruler who may be a monarch or dictator

Explanation:

Countries with autocracy-based governments i.e, Monarchy have a single ruler or a monarch until his death.

Report Error

View Answer Report Error Discuss

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

2 2829
Q:

Undefined reference to 'pthread_create'

How to Fix this error?

Answer

This is a common error while compiling C program in Linux. This error occurs when you are using pthread_create function to create threads in your programs.


To fix this problem ensure following points:
Include header file pthread.h in your program.
Add –lpthread linker flag with compilation command.
1- Include Header file
#include <stdio.h>
#include <pthread.h>
...
...
2- Compile command
gcc main.c -o main -lpthread

Report Error

View answer Workspace Report Error Discuss

0 2827
Q:

Write a c program for insertion sort.

Answer

#include<stdio.h>
int main(){

  int i,j,s,temp,a[20];

  printf("Enter total elements: ");
  scanf("%d",&s);

  printf("Enter %d elements: ",s);
  for(i=0;i<s;i++)
      scanf("%d",&a[i]);

  for(i=1;i<s;i++){
      temp=a[i];
      j=i-1;
      while((temp<a[j])&&(j>=0)){
      a[j+1]=a[j];
          j=j-1;
      }
      a[j+1]=temp;
  }

  printf("After sorting: ");
  for(i=0;i<s;i++)
      printf(" %d",a[i]);

  return 0;
}

Output:
Enter total elements: 5
Enter 5 elements: 3 7 9 0 2
After sorting:  0 2 3 7 9

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2826