Searching for "go"

Q:

The nomenclature of the Executives Head of the Government of Jammu and Kashmir was changed from Sadar-i-Riyasat to Governor in 1965 by:

A) a Lok Sabha Resolution B) the executive order of the Parliament
C) the 6th Amendment in the State Constitution of Jammu and Kashmir D) the State Government under Article 371
 
Answer & Explanation Answer: C) the 6th Amendment in the State Constitution of Jammu and Kashmir

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

Q:

Under which one of the following Articles of the Constitution of India, is the 'Annual Financial Statement' of the economy to be laid by the Government, on the table of the Parliament before 31st March, every year?

A) Article 16 B) Article 31
C) Article 112 D) Article 124
 
Answer & Explanation Answer: C) Article 112

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

Q:

The instrument of instructions contained in the Government of India Act, 1935 has been incorporated in the Constitution of India in the year 1950 as ______ 

A) Fundamental Rights B) Directive Principles of the State Policy
C) Fundamental Duities D) Emergency Provisions
 
Answer & Explanation Answer: D) Emergency Provisions

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

Q:

What Is the Google Android SDK?

Answer

The Google Android SDK is a toolset that developers need in order to write apps on Android enabled devices. It contains a graphical interface that emulates an Android driven handheld environment, allowing them to test and debug their codes.

Report Error

View answer Workspace Report Error Discuss

Q:

What are the steps you go through while creating a COBOL program executable?

Answer

DB2 precompiler (if embedded sql used), CICS translator (if CICS program), COBOL compiler, Link editor. If DB2 program, create plan by binding the DBRMs.

Report Error

View answer Workspace Report Error Discuss

Q:

What CICS command do you need to obtain the user logon-id?

Answer

You must code EXEC CICS ASSIGN with the OPENID option.


 

Report Error

View answer Workspace Report Error Discuss

Q:

Write an algorithm to separate all ones & zeroes in an array.

Answer

1. Have two indexes pointing to two ends of array, say i and j.


2. Approach towards each other with a check condition that they dont cross each other.


3. Each iteration of while loop, swap the numbers pointed by two indexes when num[i] index number is not equal to 1.


 


void sort()


{


     int a[]={1,0,0,0,1,1,0,1,0,1,0,0,1,0};


     int i=0;


     int j=13;


     int temp;


      while(j>i)


     {


          if(a[i]==1)


                 i++;


          if(a[j]==0)


                 j--;


          if(a[i]==0)


         {


                 temp=a[i];


                a[i]=a[j];


                a[j]=temp;


         }


     } 


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


             Console.Write(a[i]+", ");


}


Output: 1,1,1,1,1,1,0,0,0,0,0,0,0

Report Error

View answer Workspace Report Error Discuss

Q:

Logical puzzle

There are only two barbers in town. One of them has a nice, neatly trimmed head of hair. The other one's hair is a complete mess.Which of the two barbers should you go to and why?

Answer

The one with messy hair, as they cut the neat barber's hair.

Report Error

View answer Workspace Report Error Discuss

Subject: Logic Puzzles