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 2718
Q:

V-RAM is used for access of the following ?

A) Programs B) Video & Graphics
C) Text & Images D) All
 
Answer & Explanation Answer: B) Video & Graphics

Explanation:

VRAM or (video RAM), reference to any type of random access memory (RAM) is a dual-ported variant of dynamic RAM (DRAM) used to store the framebuffer in graphics adapters.

Report Error

View Answer Report Error Discuss

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

9 2718
Q:

What word begins and ends with an E but only has one letter?

A) Eye B) Envelope
C) Both A & B D) None of the above
 
Answer & Explanation Answer: B) Envelope

Explanation:

Envelope is a letter holder for one letter and in the question it mean that it holds one letter. Eye is also a word which starts and end with E but has one letter in the middle.

Report Error

View Answer Report Error Discuss

3 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:

Which indian state banned the forceful religious conversions

Answer

Tamil Nadu

Report Error

View answer Workspace Report Error Discuss

Subject: Indian Culture

43 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