# Tutor profile: Vishal B.

## Questions

### Subject: Web Development

How can you reduce page loading time in modern web applications ?

1. Reducing image size if large files are not required. 2. Removing unnecessary widgets used in the web application. 3. Placing CSS at the top and script referencing (Javascript/jQuery) at the bottom or external files. 4. Reducing redirects to multiple pages and caching.

### Subject: Basic Math

What is the probability that you could pull 2 Aces out of a deck of 52 cards in 3 tries?

What is Probability? It is the chances of occurring any particular event in the investigation process. It always ranges between 0 and 1. How to calculate probability? It can be calculated by dividing the number of favorable outcomes by the total number of outcomes. Calculation: Let x be the event that an ace is picked up from pack of 52 cards. So probability of picking up an ace in a 52 deck of cards which we can denote by P(x) is calculated as: Number of favorable outcomes = 4 (4 aces of 4 suites) Total number of outcomes = 52 (Deck of 52 cards) Therefore, P(x) = 4/52 Now, probability of non-favorable outcomes becomes 1 - P(x) = 1 - 4/52 = 48/52 Finally, probability that we could pull 2 Aces out of a deck of 52 cards in 3 tries can be calculated by a simple formula of combinations (Permutation and Combinations) Required probability = ncr * [P(x)^r] * [(1 - P(x))^(n-r)] - where ^ denotes to the power of = 3C2 * [square of (4/52)] * (48/52) = 0.01638

### Subject: HTML Programming

How many HTML tags can be used to separate a section of texts ?

1. <br> tag - Called as break line tag. This tag breaks the current line on web page and passes flow on to the next line. 2. <p> tag - Called as a paragraph tag. This tag is used to contain text in the form of a paragraph, thus helping to separate text sections as we want it. 3. <blockquote> tag - This tag helps to add a large quotation section. Web browsers usually render text inside this tag as a text with indentation.

## Contact tutor

needs and Vishal will reply soon.