Null values in SQL indicate: I. Zero value II. Value is unknown III. Value does not exist
- Only III
- Only I & III
- Only II & III
- All I, II & III
- option3
Clear All
Loading...
What is the meaning of the following SQL query given LIKE "%0%0%"
- Value ends with two 0's
- Value begins with two 0's
- Value has atleast two 0's in it.at any position .
- Value has ore than two O'a
- option3
Clear All
Loading...
Read the statements and mark them as true or false respectively. I) In sql by default order by clause lists item in descending order. eliminates all duplicates. ii) In Sql. 'selects' clause automatically eliminates all duplicates.
- TF
- FT
- TT
- FF
- option4
Clear All
Loading...
Read the statements and mark them as true or false respectively. I) In sql by default order by clause lists item in ascending order. eliminates all duplicates. ii) In Sql. 'selects' clause automatically eliminates all duplicates.
- TF
- FT
- TT
- FF
- option1
Clear All
Loading...
Read the statements and mark them as true or false respectively. I) In sql by default order by clause lists item in ascending order. eliminates all duplicates. ii) In Sql. 'Distinct' clause automatically eliminates all duplicates.
- TF
- FT
- TT
- FF
- option3
Clear All
Loading...
Where is Redfort?
- New Delhi
- Bangluru
- Bihar
- Punjab
- option1
Clear All
Loading...
If A is 50% less than B, then find 1) Find A:B 2) B is what percentage more than A?
- 1/2, 50
- 1/2, 100
- 1/4, 50
- 1/4, 100
- option2
Clear All
A IS 50 % LESS THAN B CAN BE WRITTEN AS:
A = B - ((B/100) * 50)
A = B(1 - 1/2)
A/B = 1/2
ANSWER 2::
B IS WHAT PERCENTAGE MORE THAN A
as we can see if a is 1 then b is 2 so we can say B is 100% more than A:
Same we can calculate using formula:
B/A * 100 ------- WHAT PERCENTAGE OF B IS GREATER THAN A
1/1 * 100 = 100
Loading...
A's income is 25% more than B’s income. How much per cent is B's income less than A’s income? [VIZAG STEEL PLANT, 2015] A) 30% B)25% C) 20% D) 27.5%
- 20
- 25
- 27.5
- 30
- option4
Clear All
A's income is 25% more than B’s income can be written as:
A = B + ((B/100)* 25)
A = B + B/4
A = B(1 + 1/4)
A = B(5/4)
B = A(4/5)
Now, the question asks: "How much percent is B's income less than A’s income?"
To find this, we need to calculate the percentage by which B is less than A.
We use the formula:
Percentage decrease= ( (A-B)/A ) * 100
A-B/A =( A - 4A/5 )/A = A/5A = 1/5
A = ( (A-B)/A ) * 100
A = 1/5 * 100 -- substituting value of a-b/a
A = 20 %
Loading...
If salary of A is 30% more than of B, then by what % is B's salary less than that of A? (VIZAG Digital Data type Question)
- 33.8
- 23.8
- 23
- 43
- option2
Clear All
The question says that A's salary is 30% more than B's salary.
This means:
A = B + 30% of B
So we can write:
A = 130% of B
Or simply:
A = (130/100) × B = (13/10) × B
Now, let’s assume B’s salary is 10 units.
Then A’s salary would be:
(13/10) × 10 = 13 units
So now:
A's salary = 13
B's salary = 10
The question asks: By what percentage is B's salary less than A's?
To find the percentage by which B is less than A, we use the formula:
(Difference / A’s salary) × 100
The difference between A and B = 13 - 10 = 3
Now, divide this difference by A's salary (which is 13):
3 ÷ 13 ≈ 0.2308
Now multiply by 100 to get the percentage:
0.2308 × 100 = 23.08%
Final Answer:
B’s salary is approximately 23.08% less than A’s salary.
Loading...
What will be output of following code? def reverseString(self, s: str) -> str: s_reverse = [] for i in range(len(s)-1, -1, -2): s_reverse.append(s[i]) return ''.join(s_reverse) reverseString('QuizSagar');
- rgSiQ
- aazu
- Error (Negative number is not allowed)
- ragaSziuQ
- option1
Clear All
We've paased -2 as 3rd argument of for loop so loop will be decrement by 2. let assume loop start from last index: 8.
First iteration will be 8 = s[8] = r
Second iteration will be 8 + (-2) = 6 = s[6] = g
Third iteration: 6 + (-2) = 4 = s[4] = S
....
Loading...