Questions

Q:

Point out the error, if any, in the while loop.

main()

{

  int i = 1;

  while ()

  {

     printf ( "%d", i++);

     if (i >10) 

     break ;

   }

}

Answer

The condition in the while loop is a must.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2712
Q:

How many valence electrons are in carbon?

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

Explanation:

The main group number for an element can be found from its column on the periodic table. For example, carbon is in group 4 and has 4 valence electrons. Oxygen is in group 6 and has 6 valence electrons.

Report Error

View Answer Report Error Discuss

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

2 2711
Q:

Which one of the following actors was awarded the Dada Saheb Phalke Award at the 59th National Film Festival

A) Soumitra Chatterjee B) Ketan Mehta
C) Shekhar Kapoor D) Mahesh Bhatt
 
Answer & Explanation Answer: A) Soumitra Chatterjee

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Honours and Awards

1 2710
Q:

Which of the following awards is Sachin Tendulkar NOT awarded with?

 

A) Bharat Ratna B) Dhyan Chand Award
C) Padma Vibhushan D) Rajiv Gandhi Khel Ratna
 
Answer & Explanation Answer: B) Dhyan Chand Award

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Honours and Awards
Exam Prep: Bank Exams

1 2710
Q:

Which day is celebrated as United Nations day every year

A) 7th April B) 25th August
C) 24th October D) 27th December
 
Answer & Explanation Answer: A) 7th April

Explanation:
Report Error

View Answer Report Error Discuss

0 2709
Q:

With which sport is the term 'Freestyle' connected with?

 

A) Tennis B) Kho Kho
C) Kabaddi D) Swimming
 
Answer & Explanation Answer: D) Swimming

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports
Exam Prep: Bank Exams

3 2709
Q:

public static void main string[] args Meaning is?

Answer

Here in this declaration public static void main string[] args, each keyword has its importance.


 


1. public - Here public is an access specifier which allows the main method to be accessible everywhere.


 


2. static - static helps the main method to get loaded without getting called by any instance/object.


 


3. void - void clarifies that the main method will not return any value.


 


4. main - It's the name of the method.


 


5. String[] args - Here we are defining a String array to pass arguments at the command line. args is the variable name of the String array.

Report Error

View answer Workspace Report Error Discuss

8 2708
Q:

According to Assocham Report, ____________ is second best state in attracting investments.

A) Gujarat B) Maharashtra
C) Odisha D) Madhya Pradesh
 
Answer & Explanation Answer: A) Gujarat

Explanation:

Maharashtra bagged top position in total live investments attracted by different public and private sources across India as of FY17 stated the ASSOCHAM report. While Gujarat is in the second position followed by Odisha on the third slot, Gujarat at 8.5% and Odisha at 7%. Maharashtra led the pack to top as the best state to attract the investments.

Report Error

View Answer Report Error Discuss

Filed Under: Famous Places
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

13 2708