Searching for "c "

Q:

Which king class properly represents the relationship "King has a best friend who is a Soldier"?

A) class King extends Soldier { } B) class King implements Soldier { }
C) class King { private BestFriend Soldier; } D) class King { private Soldier bestFriend; }
 
Answer & Explanation Answer: D) class King { private Soldier bestFriend; }

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Java

Q:

A UNIX user named Bob wants to replace his chess program with a new one, but he is not sure where the old one is installed. Bob is currently able to run a Java chess program starting from his home directory /home/bob using the command: java -classpath /test:/home/bob/downloads/*.jar games.Chess Bob's CLASSPATH is set (at login time) to: /usr/lib:/home/bob/classes:/opt/java/lib:/opt/java/lib/*.jar What is a possible location for the Chess.class file?

 

A) /test/Chess.class B) /home/bob/Chess.class
C) /test/games/Chess.class D) /user/lib/games/Chess.class
 
Answer & Explanation Answer: D) /user/lib/games/Chess.class

Explanation:

/user/lib/games/Chess.class could be the possible location of the file

Report Error

View Answer Report Error Discuss

Filed Under: Operating Systems

Q:

What is the structure of IF7 ?

A) Triagonal bipyramid B) Pentagonal bipyramid
C) Square pyramid D) tetrahedral
 
Answer & Explanation Answer: B) Pentagonal bipyramid

Explanation:

In IF7 out of 7 Flourine atoms 5 of them are placed on a plane in Pentagon shape .In remaining 2 flourines one is placed above the plane and other below the plane each at 90 degrees

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

Q:

Number of moles of CO2 present in 24 grams of carbon is

A) 0.5 B) 1
C) 2 D) 0.25
 
Answer & Explanation Answer: C) 2

Explanation:

1 mole of CO2 contain 12gms of carbon and 44 gms of CO2

therefore  24 gms of carbon is present in 88 gms of CO2 or 2 moles of CO2

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

Q:

Atomic weight of an element is given by

A) sum of neutrons and electrons B) sum of neutrons and protons
C) only neutrons D) only protons
 
Answer & Explanation Answer: A) sum of neutrons and electrons

Explanation:

Atomic weight=number of neutrons+number of protons

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

Q:

Which among the following is the most electronegative element?

A) Flourine B) Bromine
C) Iodine D) Oxygen
 
Answer & Explanation Answer: A) Flourine

Explanation:

Flourine is the most electro negative element due to its small atomic radius .It also has the tendency to accept an electron to complete octet configuration

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

Q:

What is the capital of Philippines?

A) Warsaw B) Manila
C) Lisbon D) Doha
 
Answer & Explanation Answer: B) Manila

Explanation:

Manila is the capital of Philippines

Report Error

View Answer Report Error Discuss

Filed Under: Country Capitals

Q:

When is the world's press freedom day celebrated?

A) 3 May 2013 B) 22 May 2013
C) 3 October 2013 D) 22 October 2013
 
Answer & Explanation Answer: A) 3 May 2013

Explanation:

World press day is celebrated on 3 may 2013 accross the world based o the theme Safe to Speak

Report Error

View Answer Report Error Discuss