Question
A shopkeeper sells rice at 10% profit and uses weight
30% less than the actual measure. His gain percent isSolution
let the weight be 1000 g altered weight=1000- 30% of 1000 = 1000 -300 = 700g gain %= [100+profit%](1000 / altered weight) -100 gain % = [100+10] (1000/700)-100 = (1100 – 700)/7 = 400/7 57(1/7)%
Which of the following algorithms is most commonly used in Operating Systems for deadlock prevention?
In C, which function is used to release dynamically allocated memory?
In C, what will be the output of the following code?
int a = 5;
printf("%d", a++);
Which Java keyword is used to inherit a class?
In C++, which feature allows hiding the internal details of a class?
- Which of the following is the primary benefit of Big Data analytics in decision-making?
Which of the following is used to declare a list in Python?
In Java, which method is used to start a thread?
Which Python keyword is used to handle exceptions?
In Python, which of the following is immutable?