Question
A fruit contains 80% water when fresh, and 40% water
when dried. How many kilograms of the fresh fruit are needed to make 2 kg of dried fruit?Solution
Fresh fruit = 20% solids Dried fruit = 60% solids Let fresh weight = x g So: 0.20x = 0.60 × 2000 x = 6000 g = 6 kg
For a comparison-based sorting algorithm, which lower bound applies to the worst-case number of comparisons?
In mobile computing, what is the main feature of pervasive computing?
In hashing, what is a collision?
What is the primary goal of Cyber Security?
Which of the following is considered the strongest type of encryption method in modern cyber security practices?   Â
Which algorithm uses a priority queue to repeatedly pick the next closest vertex?
In a Min-Heap, the root node is:
Worst case is the worst case time complexity of Prim’s algorithm if adjacency matrix is used?
In which case is QuickSort’s performance worst?
Output of below code
public class Prg {
public static void main(String args[]){
System.out.print("A" + "B" + 'A');
}
...