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 2719
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 2717
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 2717
Q:

Where does glucose breaks down into pyruvate?

 

A) Golgi bodies B) Cytoplasm
C) Chloroplast D) Protoplasm
 
Answer & Explanation Answer: B) Cytoplasm

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: Bank Exams

2 2716
Q:

The no of entities participating in a relation is called

A) Relation B) Degree of relationship
C) Recursive relationship D) None of the above
 
Answer & Explanation Answer: B) Degree of relationship

Explanation:

The no of entities participating in relation is called Degree of relationship

Report Error

View Answer Report Error Discuss

Filed Under: Database
Job Role: Database Administration

0 2716
Q:

_______________has launched Digital Education Programme for media agency professionals in Asia Pacific Region.

A) Facebook B) Google
C) Yahoo D) Twitter
 
Answer & Explanation Answer: D) Twitter

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

6 2716
Q:

Which indian state banned the forceful religious conversions

Answer

Tamil Nadu

Report Error

View answer Workspace Report Error Discuss

Subject: Indian Culture

43 2715
Q:

Which of the statements given below are correct?

A) In 2017, Michael Carrick captained the Premier League team Manchester United.

B) Sergio García won the Golf 2017 ANA Inspiration.

C) In 2018 IPL auctions, Kolkata Knight Riders retained Axar Patel.

 

A) Only A B) Both B and C
C) Both A and B D) None of these
 
Answer & Explanation Answer: A) Only A

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports
Exam Prep: Bank Exams

0 2714