Searching for "st"

Q:

Where can you test Apple iPhone apps if you don’t have the device?

Answer

iOS Simulator can be used to test mobile applications. Xcode tool that comes along with iOS SDK includes Xcode IDE as well as the iOS Simulator. Xcode also includes all required tools and frameworks for building iOS apps.  However, it is strongly recommended to test the app on the real device before publishing it.

Report Error

View answer Workspace Report Error Discuss

Q:

Whats a struct?

Answer

A struct is a special C data type that encapsulates other pieces of data into a single cohesive unit. Like an object, but built into C.

Report Error

View answer Workspace Report Error Discuss

Q:

Why cannot you run standard Java bytecode on Android?

Answer

Android uses Dalvik Virtual Machine (DVM) which requires a special bytecode. We need to convert Java class files into Dalvik Executable files using an Android tool called "dx". In normal circumstances, developers will not be using this tool directly and build tools will care for the generation of DVM compatible files.

Report Error

View answer Workspace Report Error Discuss

Q:

How to select more than one option from list in android xml file? Give an example.

Answer

Specify android id, layout height and width as depicted in the following example.


<ListView android:id="@+id/ListView01" android:layout_height="wrap_content" android:layout_width="fill_parent"></ListView>

Report Error

View answer Workspace Report Error Discuss

Q:

When is the onStop() method invoked?

Answer

A call to onStop method happens when an activity is no longer visible to the user, either because another activity has taken over or if in front of that activity.

Report Error

View answer Workspace Report Error Discuss

Q:

When is the best time to kill a foreground activity?

Answer

The foreground activity, being the most important among the other states, is only killed or terminated as a last resort, especially if it is already consuming too much memory. When a memory paging state has been reach by a foreground activity, then it is killed so that the user interface can retain its responsiveness to the user.


 

Report Error

View answer Workspace Report Error Discuss

Q:

From a container of wine, a thief has stolen 15 litres of wine and replaced it with same quantity of water. He again repeated the same process. Thus, in three attempts the ratio of wine and water became 343 : 169. The initial amount of wine in the container was:

A) 75 litres B) 100 litres
C) 150 litres D) 120 litres
 
Answer & Explanation Answer: D) 120 litres

Explanation:

wine(left)wine(added) = 343169

 

It means  wine(left)wine(initial amount) = 343512    (since 343 + 169 = 512)

  

Thus,  343x = 512x1 - 15k3

 

 343512 = 783 = 1 - 15k3

 

 1-15k=78=1-18

  

Thus the initial amount of wine was 120 liters.

Report Error

View Answer Report Error Discuss

Filed Under: Alligation or Mixture
Exam Prep: GATE , CAT , Bank Exams , AIEEE
Job Role: Bank PO , Bank Clerk

Q:

A jar was full with honey. A person used to draw out 20% of the honey from the jar and replaced it with sugar solution. He has repeated the same process 4 times and thus there was only 512 gm of honey left in the jar, the rest part of the jar was filled with the sugar solution. The initial amount of honey in the jar was:

A) 1.25 kg B) 1 kg
C) 1.5 kg D) None of these
 
Answer & Explanation Answer: A) 1.25 kg

Explanation:

Let the initial amount of honey in the jar was k, then

 

 512 = k1 - 154 or  512 = k454 

 => k = 512 × 625256 

=> k = 1250

 

 Hence initially the honey in the jar = 1.25 kg

Report Error

View Answer Report Error Discuss

Filed Under: Alligation or Mixture
Exam Prep: CAT , Bank Exams , AIEEE
Job Role: Bank PO , Bank Clerk