Searching for "But"

Q:

Define cursor attributes: %FOUND, %NOTFOUND, %ROWCOUNT, and %ISOPEN

Answer

- %FOUND


 This is a Boolean variable which evaluates to TRUE if the last row is successfully fetched.


 


- %NOTFOUND


 This is a Boolean variable which evaluates to TRUE if the last row is not successfully fetched. This means there are no more rows to fetch.


 


- %ROWCOUNT


 Returns the number of rows fetched by the cursor.


 


- %ISOPEN


If the cursor is open, it evaluates to TRUE else FALSE.

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

Q:

What are the new attributes provided in HTML5 for "form" tag ?

Answer

The new attributes provided in HTML5 for <form> are: 


a.) autocomplete


– It specifies if a form or input field should have autocomplete as on or off. 


– If autocomplete is on, the browser is able to fill the values based on the values filled by the user earlier. 


– autocomplete works for following input types: text, search, url, tel, email, password, datepickers, range, and color. 


b.) novalidate


- This is a boolean attribute. 


- When present, it signifies that the form-data should not be validated when submitted.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

Q:

A milk man sells the milk at the cost price but he mixes the water in it and thus he gains 9.09%. The quantity of water in the mixture of 1 liter is :

A) 83.33 ml B) 90.90 ml
C) 99.09 ml D) can't be determined
 
Answer & Explanation Answer: A) 83.33 ml

Explanation:

Profit (%) = 9.09 % = 1/11

 

Since the ratio of water and milk is  1 : 11,

 

Therefore the ratio of water is to mixture = 1:12

 

Thus the quantity of water in mixture of 1 liter = 1000 x (1/12) = 83.33 ml

Report Error

View Answer Report Error Discuss

Filed Under: Alligation or Mixture

Q:

In a village the average age of n people is 42 years. But after the verification it was found that the age of a person had been  considered 20 years less than the actual age, so the new average, after the correction,increased by 1. The value of n is :

A) 21 B) 20
C) 22 D) None of these
 
Answer & Explanation Answer: B) 20

Explanation:

It is the same as a person with 20 years more age  replaces an existing person of the group ( or village)

Since the total age of the village having n persons, is being increased by 20 years and the average age of village is being increased by 1 year, hence there are total 20 people in the village.

 

Alternatively :  ( n x 42 ) + 20 = ( n x 43 )

                          => n=20

Report Error

View Answer Report Error Discuss

Filed Under: Average

Q:

In Maa Yatri Temple every devotee offers fruits to the orphans. Thus every orphan receives bananas, oranges and grapes in the ratio of 3:2:7 in terms of dozens. But the weight of a grape is 24 gm and  weight of a banana and an orange are in the ratio of 4:5, while the weight of an orangeis 150gm. Find the ratio of all the three fruits in terms of weight, that an orphan gets

A) 90:75:42 B) 180:150:82
C) 75:42:90 D) None of these
 
Answer & Explanation Answer: D) None of these

Explanation:

Ratio of fruits (by dozen) = 3:2:7

Ratio of fruits (by weight) =  120 :150: 24

Therefore, Ratio of fruits (combined) by weight = 3 x 120 : 2 x 150 : 7 x 24 = 30 : 25 : 14 

Report Error

View Answer Report Error Discuss

Filed Under: Ratios and Proportions

Q:

Three cats are roaming in a zoo n such a way that when cat A takes 5 steps, B takes 6 steps and C takes 7 steps.But the 6 steps of A are equal to the 7 steps of B and 8 steps of C. what is the ratio of their speeds?

A) 140:144:147 B) 40:44:47
C) 15:21:28 D) 252:245:240
 
Answer & Explanation Answer: A) 140:144:147

Explanation:

Frequency of step of A:B:C = 5 : 6 : 7

But in terms of size of step, 6A = 7B = 8C

Therefore, Ratio of speeds of A, B and C = 5/6 : 6/7 : 7/8 = 140 : 144 : 147

Report Error

View Answer Report Error Discuss

Filed Under: Ratios and Proportions

Q:

The least number which when divided by 5, 6, 7 and 8 leaves a remainder 3, but when divided by 9 leaves no remainder, is

A) 1677 B) 1683
C) 2523 D) 3363
 
Answer & Explanation Answer: B) 1683

Explanation:

 L.C.M of 5, 6, 7, 8 = 840

 

Therefore, Required Number is of the form 840k+3.

 

Least value of k for which (840k+3) is divisible by 9 is k = 2 

 

Therefore, Required  Number = (840 x 2+3)=1683

Report Error

View Answer Report Error Discuss

Filed Under: HCF and LCM

Q:

The maximum number of students  among them 1001 pens and 910 pencils can be distributed in such a way that each student gets the same number of pens and same number of pencils is:

A) 91 B) 910
C) 1001 D) 1911
 
Answer & Explanation Answer: A) 91

Explanation:

Required number of students = H.C.F  of 1001 and 910  = 91

Report Error

View Answer Report Error Discuss

Filed Under: HCF and LCM