Question
The marked price of an article is Rs. 3260. The
shopkeeper offered a 15% discount on it and made a profit of 10.84%. What is the percentage by which the marked price of the article exceeds its cost price?Solution
Let, the cost price of the article be Rs. x Selling price of the article = 85% of 3260 = Rs. 2771 So, 110.84% of x = 2771 x = 2500 Required percentage = {(3260 – 2500)/2500} × 100 = 30.4%
Worst case is the worst case time complexity of Prim’s algorithm if adjacency matrix is used?
In dynamic programming, overlapping subproblems and _________ are key properties.
Which of the following SQL queries is used to remove a table from a database?
In Database Management Systems, what is the primary purpose of normalization?
The amortized time for inserting into a dynamic array (like C++ vector) is:
Output of below code
public class Prg {
public static void main(String args[]){
System.out.print("A" + "B" + 'A');
}
...Which is not true about minimum spanning tree?
What is the default replication factor in HDFS?
The minimum number of edges in a connected graph with n vertices is:
In Data Structures, which of the following algorithms uses the Divide and Conquer strategy?