<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>Top Interview Questions by Interviewers for Job Seekers</title>
	<atom:link href="https://jharaphula.com/category/career-job-seekers/top-interview-questions/feed/" rel="self" type="application/rss+xml" />
	<link>https://jharaphula.com/category/career-job-seekers/top-interview-questions/</link>
	<description>Blog for SEO Guest Posting, Digital Marketing or Home Remedies</description>
	<lastBuildDate>Sun, 12 Apr 2026 09:20:27 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>
	<item>
		<title>Data Science Interview Questions with Answers for Freshers</title>
		<link>https://jharaphula.com/data-science-interview-questions/</link>
		
		<dc:creator><![CDATA[Rupamati Roy]]></dc:creator>
		<pubDate>Mon, 06 Apr 2020 08:13:46 +0000</pubDate>
				<category><![CDATA[Top Interview Questions]]></category>
		<category><![CDATA[Data Science Interview Questions]]></category>
		<category><![CDATA[hack HR Interview]]></category>
		<category><![CDATA[Hack the Interviewer]]></category>
		<category><![CDATA[Interview Questions for Freshers]]></category>
		<category><![CDATA[Job Interview Tips]]></category>
		<guid isPermaLink="false">https://jharaphula.com/?p=22631</guid>

					<description><![CDATA[<img width="300" height="180" src="https://jharaphula.com/wp-content/uploads/2020/03/data-science-symbol-300x180.jpg" class="webfeedsFeaturedVisual wp-post-image" alt="Data Science Interview Questions with Answers for Freshers" style="display: block; margin-bottom: 10px; clear: both; max-width: 100%;" decoding="async" fetchpriority="high" srcset="https://jharaphula.com/wp-content/uploads/2020/03/data-science-symbol-300x180.jpg 300w, https://jharaphula.com/wp-content/uploads/2020/03/data-science-symbol.jpg 610w" sizes="(max-width: 300px) 100vw, 300px" /><p>Businesses, governments, and researchers rely on data science to uncover patterns, predict trends, and optimize operations. From personalized recommendations on streaming platforms to medical diagnoses...</p>
<p>The post <a href="https://jharaphula.com/data-science-interview-questions/">Data Science Interview Questions with Answers for Freshers</a> appeared first on <a href="https://jharaphula.com">OneStop Shop</a>.</p>
]]></description>
										<content:encoded><![CDATA[<img width="300" height="180" src="https://jharaphula.com/wp-content/uploads/2020/03/data-science-symbol-300x180.jpg" class="webfeedsFeaturedVisual wp-post-image" alt="Data Science Interview Questions with Answers for Freshers" style="display: block; margin-bottom: 10px; clear: both; max-width: 100%;" decoding="async" srcset="https://jharaphula.com/wp-content/uploads/2020/03/data-science-symbol-300x180.jpg 300w, https://jharaphula.com/wp-content/uploads/2020/03/data-science-symbol.jpg 610w" sizes="(max-width: 300px) 100vw, 300px" /><p>Businesses, governments, and researchers rely on data science to uncover patterns, predict trends, and optimize operations. From personalized recommendations on streaming platforms to medical diagnoses powered by machine learning, data science has become an essential tool in the modern world.</p>
<h2>Key Components of Data Science</h2>
<p>1. Data Collection The first step in any data science project is gathering data from various sources, such as databases, APIs, sensors, or web scraping. Data can be structured (e.g., spreadsheets) or unstructured (e.g., text, images, videos). Ensuring data quality and relevance is crucial for accurate analysis.</p>
<p>2. Data Cleaning and Preprocessing Raw data is often incomplete, inconsistent, or noisy. Preprocessing includes normalizing data, converting text into numerical representations, and scaling features to ensure compatibility with analytical models.</p>
<p>3. Exploratory Data Analysis (EDA) EDA helps data scientists understand the dataset by visualizing distributions, identifying outliers, and detecting correlations.</p>
<p>4. Feature Engineering This step involves selecting, modifying, or creating new features (variables) to improve model performance. Techniques include dimensionality reduction, one-hot encoding, and polynomial feature creation.</p>
<p>5. Model Building and Machine Learning Data scientists use machine learning algorithms to train models on historical data. Supervised learning (e.g., regression, classification) and unsupervised learning (e.g., clustering, anomaly detection) are common approaches. The choice of algorithm depends on the problem—predicting sales, classifying spam emails, or segmenting customers.</p>
<p>6. Model Evaluation and Optimization Models are assessed using metrics like accuracy, precision, recall, and F1-score. Hyperparameter tuning and cross-validation refine model performance, ensuring generalizability to new data.</p>
<h2>Key Techniques in Data Science</h2>
<p>Descriptive Analytics Summarizes historical data to identify trends and patterns (e.g., sales reports, customer demographics).</p>
<p>Predictive Analytics Uses statistical models to forecast future outcomes (e.g., stock price predictions, demand forecasting).</p>
<p>Prescriptive Analytics Recommends actions based on data insights (e.g., optimizing supply chains, personalized marketing strategies).</p>
<p>Machine Learning and AI Automates decision-making by training models on large datasets, enabling tasks like image recognition and natural language processing.</p>
<h2>Popular Tools and Technologies</h2>
<p>&#8211; Programming Languages: Python, R, SQL<br />
&#8211; Libraries &amp; Frameworks: Pandas, NumPy, Scikit-learn, TensorFlow, PyTorch<br />
&#8211; Data Visualization: Matplotlib, Seaborn, Tableau<br />
&#8211; Big Data Tools: Hadoop, Spark, Kafka</p>
<h2>Applications of Data Science</h2>
<p>&#8211; Healthcare: Predictive diagnostics, drug discovery<br />
&#8211; Finance: Fraud detection, algorithmic trading<br />
&#8211; Retail: Recommendation systems, inventory management<br />
&#8211; Transportation: Route optimization, autonomous vehicles</p>
<h2>Challenges in Data Science</h2>
<p>&#8211; Data Privacy: Ensuring compliance with regulations like GDPR.<br />
&#8211; Bias in Models: Addressing skewed or unrepresentative datasets.<br />
&#8211; Scalability: Handling large datasets efficiently.</p>
<p>There are a lot of things that a data scientist should know, I&#8217;ll give you a list of data science queries I dealt with in several interviews. If a data scientist can start from here and if it&#8217;s a while in this field then it might be a replication, but you&#8217;ll find many things from here. I&#8217;ll try to start from the basic <a href="https://www.mygreatlearning.com/blog/most-common-data-science-interview-questions/" target="_blank" rel="noopener noreferrer nofollow">data science interview questions</a> and cover the first one ahead of time, so let&#8217;s get started.</p>
<h3>1. What is the difference between supervised and unmanaged machine learning?</h3>
<p><strong>Machine Learning</strong> &#8211; The supervision of a supervised machine requires training in labeling information.</p>
<p><strong>Unsupervised Machine Learning</strong> &#8211; Studying an unsupervised machine does not require labelled data.</p>
<h3>2. Explain how a ROC curve works?</h3>
<p>The ROC curve is a graphical representation of the contrast between true positive rates and false-positive rates at various thresholds. It is often used as a proxy for the trade-off between the sensitivity (true positive rate) and false-positive rate.</p>
<h3>3. What is selection Bias?</h3>
<p>Selection bias occurs when the sample obtained is not representative of the population intended to be analysed.</p>
<h3>4. Explain the SVM machine learning algorithm in detail</h3>
<p>SVM is a support vector machine, a supervised machine learning algorithm that is used for both regression and classification. If you have n properties in your training data set, SVM will attempt to plot it in the n-dimensional space with the value of each attribute in a specific coordinate. Hyperplanes are used by SVM to separate different classes based on the provided kernel function.</p>
<h3>5. What are the support vectors in SVM?</h3>
<p>Thin lines represent the distance from the classification to the closest data points called support vectors (dark data points) in a graph. The distance between two thin lines is called the margin.</p>
<h3>6. What are the functions of the different kernels in SVM?</h3>
<p>There are four types of kernels in SVM.</p>
<ul>
<li>Linear kernel</li>
<li>The polynomial kernel</li>
<li>Radial Basis Kernel</li>
<li>The sigmoid kernel</li>
</ul>
<h3>7. Explain in detail about the Decision Tree algorithm</h3>
<p>A Decision tree is one of the most important supervised machine learning algorithm which is used primarily for regression and classification. The algorithm breaks the data set into smaller subsets, while increasing the associated decision tree. The result is a tree with Decision Nodes and Leaf Nodes. The decision tree can handle partition information and numeric information.</p>
<h3>8. What is deep learning?</h3>
<p>Deep learning is a subfield of machine learning inspired by the structure and function of the brain called an artificial neural network. We have a lot of numbers of algorithms under machine learning like Linear regression, SVM, Neural <a href="https://jharaphula.com/types-of-network-topology-diagram/" target="_blank" rel="noopener noreferrer">network</a> etc and deep learning is just an extension of Neural networks. In neural nets, we consider a small number of hidden layers but when it comes to deep learning algorithms we consider a huge number of hidden layers to better understand the input-output relationship.</p>
<h3>9. What is reinforcement learning?</h3>
<p>Reinforcement Learning is learning what to do and how to map situations to actions. The end result is to maximise the numerical reward signal. The learner is not told which action to take but instead must discover which action will yield the maximum reward. Reinforcement learning is inspired by the learning of human beings, it is based on the reward/penalty mechanism.</p>
<h3>10. What is selection bias?</h3>
<p>Selection bias is the bias introduced by the selection of individuals, groups or data for analysis in such a way that proper randomisation is not achieved, thereby ensuring that the sample obtained is not representative of the population intended to be analysed. It is sometimes referred to as the selection effect. The phrase “selection bias” most often refers to the distortion of statistical analysis, resulting from the method of collecting samples. If the selection bias is not taken into account, then some conclusions of the study may not be accurate.</p>
<h3>11. Explain what regularisation is and why it is useful</h3>
<p>Regularisation is the process of adding a tuning parameter to a model to induce smoothness to prevent overfitting. This is most often done by adding a constant multiple to an existing weight vector. This constant is often the L1(Lasso) or L2(ridge). The model predictions should then minimize the loss function calculated on the regularized training set.</p>
<h3>12. What is TF/IDF vectorization?</h3>
<p>TF–IDF is short for term frequency-inverse document frequency, is a numerical statistic that is intended to reflect how important a word is to a document in a collection or corpus. It is often used as a weighting factor in information retrieval and text mining. The tf-IDF value increases proportionally to the number of times a word appears in the document but is offset by the frequency of the word in the corpus, which helps to adjust for the fact that some words appear more frequently in general.</p>
<h3>13. What are Recommender Systems?</h3>
<p>A subclass of information filtering systems that are meant to predict the preferences or ratings that a user would give to a product. Recommender systems are widely used in movies, news, research articles, products, social tags, music, etc.</p>
<h3>14. What is the difference between regression and classification of ML methods?</h3>
<p>Regression and Classification machine learning methods come under the supervised machine learning algorithms. The major difference is that while in a supervised machine learning algorithm, we need labelled data in order to train our algorithms, moreover, we must provide the correct labels during training, and the algorithm tries to learn the pattern from input to output. If our labels are discrete values then it is a classification problem, e.g. A, B, etc. But if our labels are continuous values then it becomes a regression problem, e.g. 1.23, 1.333 etc.</p>
<h3>15. What is &#8216;Naive&#8217; in a Naive Bayes?</h3>
<p>The Naive Bayes Algorithm is based on the Bayes Theorem. Bayes’ theorem describes the probability of an event, based on prior knowledge of conditions that might be related to the event.</p>
<p><strong>What is Naive?</strong></p>
<p>The Algorithm is &#8216;naive&#8217; because it makes assumptions that may or may not turn out to be correct.</p>
<h3>16. Why do we generally use Softmax nonlinearity function as the last operation in-network?</h3>
<p>It is because it takes in a vector of real numbers and returns a probability distribution. Its definition is as follows. Let x be a vector of real numbers (positive, negative, whatever, there are no constraints). Then the ith component of Softmax(x) is —<br />
It should be clear that the output is a probability distribution: each element is non-negative and the sum over all components is 1.</p>
<h3>17. You are given a data set consisting of variables with more than 30 per cent missing values. How will you deal with them?</h3>
<p>The following are ways to handle missing data values:</p>
<p>If the data set is large, we can just simply remove the rows with missing data values. It is the quickest way; we use the rest of the data to predict the values.</p>
<p>For smaller data sets, we can substitute missing values with the mean or average of the rest of the data using a pandas data frame in python. There are different ways to do so, such as df.mean(), df.fillna(mean).</p>
<h3>18. For the given points, how will you calculate the Euclidean distance in Python?</h3>
<p>plot1 = [1,3]<br />
plot2 = [2,5]</p>
<p>The Euclidean distance can be calculated as follows:</p>
<p>euclidean_distance = sqrt((plot1[0]-plot2[0])**2 + (plot1[1]-plot2[1])**2)</p>
<h3>19. What are recommender systems?</h3>
<p>A recommender system predicts what a user would rate a specific product based on their preferences. It can be split into two different areas:</p>
<p><strong>Collaborative filtering</strong> &#8211; As an example, Last.fm recommends tracks that other users with similar interests play often. This is also commonly seen on Amazon after making a purchase; customers may notice the following message accompanied by product recommendations: &#8220;Users who bought this also bought…&#8221;</p>
<p><strong>Content-based filtering</strong> &#8211; As an example: Pandora uses the properties of a song to recommend music with similar properties. Here, we look at content, instead of looking at who else is listening to music.</p>
<h3>20. How do you find RMSE and MSE in a linear regression model?</h3>
<p>RMSE and MSE are two of the most common measures of accuracy for a linear regression model.</p>
<p>RMSE indicates the Root Mean Square Error.</p>
<p>MSE indicates the Mean Square Error.</p>
<h3>21. How can you select k fork-means?</h3>
<p>We use the elbow method to select k for k-means clustering. The idea of the elbow method is to run k-means clustering on the data set where &#8216;k&#8217; is the number of clusters.</p>
<p>Within the sum of squares (WSS), it is defined as the sum of the squared distance between each member of the cluster and its centroid.</p>
<h3>22. What is the significance of p-value?</h3>
<p><strong>p-value typically ≤ 0.05</strong> &#8211; This indicates strong evidence against the null hypothesis; so you reject the null hypothesis.<br />
<strong>p-value typically &gt; 0.05</strong> &#8211; This indicates weak evidence against the null hypothesis, so you accept the null hypothesis.<br />
<strong>p-value at cutoff 0.05</strong> &#8211; This is considered to be marginal, meaning it could go either way.</p>
<h3>23. How can outlier values be treated?</h3>
<p>You can drop outliers only if it is a garbage value.</p>
<p>Example: height of an adult = ABC ft. This cannot be true, as the height cannot be a string value. In this case, outliers can be removed.</p>
<p>If the outliers have extreme values, they can be removed. For example, if all the data points are clustered between zero to 10, but one point lies at 100, then we can remove this point.</p>
<p>If you cannot drop outliers, you can try the following:</p>
<ul>
<li>Try a different model. Data detected as outliers by linear models can be fit by nonlinear models. Therefore, be sure you are choosing the correct model.</li>
<li>Try normalizing the data. This way, the extreme data points are pulled to a similar range.</li>
<li>You can use algorithms that are less affected by outliers; an example would be random forests.</li>
</ul>
<h3>24. How can a time-series data be declared as stationery?</h3>
<p>It is stationary when the variance and mean of the series are constant with time.</p>
<p>Here is a visual example:</p>
<p>In the first graph, the variance is constant with time. Here, X is the time factor and Y is the variable. The value of Y goes through the same points all the time; in other words, it is stationary.</p>
<p>In the second graph, the waves get bigger, which means it is non-stationary and the variance is changing with time.</p>
<h3>25. How can you calculate accuracy using a confusion matrix?</h3>
<p>Consider this confusion matrix:</p>
<p>You can see the values for total data, actual values, and predicted values.</p>
<p>The formula for accuracy is:</p>
<p>Accuracy = (True Positive + True Negative) / Total Observations<br />
= (262 + 347) / 650<br />
= 609 / 650<br />
= 0.93</p>
<p>As a result, we get an accuracy of 93%.</p>
<p>Do you like the above Story about Data Science Interview Questions. Help Others, Share us.</p>
<p>The post <a href="https://jharaphula.com/data-science-interview-questions/">Data Science Interview Questions with Answers for Freshers</a> appeared first on <a href="https://jharaphula.com">OneStop Shop</a>.</p>
]]></content:encoded>
					
		
		
			<media:content url="https://jharaphula.com/wp-content/uploads/2020/03/data-science-symbol.jpg" medium="image" />
	</item>
		<item>
		<title>Basic SEO Interview Questions &#038; Answers for Freshers</title>
		<link>https://jharaphula.com/basic-seo-interview-questions-answers/</link>
					<comments>https://jharaphula.com/basic-seo-interview-questions-answers/#respond</comments>
		
		<dc:creator><![CDATA[Nibedita Panda]]></dc:creator>
		<pubDate>Sun, 15 May 2016 17:35:22 +0000</pubDate>
				<category><![CDATA[Top Interview Questions]]></category>
		<category><![CDATA[Interview Questions for Freshers]]></category>
		<category><![CDATA[SEO Book]]></category>
		<category><![CDATA[SEO Interview Questions]]></category>
		<category><![CDATA[Webmaster Guidelines]]></category>
		<category><![CDATA[What is SEO?]]></category>
		<guid isPermaLink="false">http://box.jharaphula.com/?p=1661</guid>

					<description><![CDATA[<img width="300" height="170" src="https://jharaphula.com/wp-content/uploads/2016/05/seo-queries-300x170.jpg" class="webfeedsFeaturedVisual wp-post-image" alt="Basic SEO Interview Questions &amp; Answers for Freshers" style="display: block; margin-bottom: 10px; clear: both; max-width: 100%;" decoding="async" srcset="https://jharaphula.com/wp-content/uploads/2016/05/seo-queries-300x170.jpg 300w, https://jharaphula.com/wp-content/uploads/2016/05/seo-queries.jpg 750w" sizes="(max-width: 300px) 100vw, 300px" /><p>Are you a IT Fresher? Interested to start your Career as a SEO professional. If so let you know SEO is a on-going process. As...</p>
<p>The post <a href="https://jharaphula.com/basic-seo-interview-questions-answers/">Basic SEO Interview Questions &#038; Answers for Freshers</a> appeared first on <a href="https://jharaphula.com">OneStop Shop</a>.</p>
]]></description>
										<content:encoded><![CDATA[<img width="300" height="170" src="https://jharaphula.com/wp-content/uploads/2016/05/seo-queries-300x170.jpg" class="webfeedsFeaturedVisual wp-post-image" alt="Basic SEO Interview Questions &amp; Answers for Freshers" style="display: block; margin-bottom: 10px; clear: both; max-width: 100%;" decoding="async" loading="lazy" srcset="https://jharaphula.com/wp-content/uploads/2016/05/seo-queries-300x170.jpg 300w, https://jharaphula.com/wp-content/uploads/2016/05/seo-queries.jpg 750w" sizes="auto, (max-width: 300px) 100vw, 300px" /><p>Are you a IT Fresher? Interested to start your Career as a SEO professional. If so let you know SEO is a on-going process. As you know among global Search Engines Google is the King. To serve quality search Google and other search engines updates their algorithm regularly. To achieve success in SEO you required to stay update with latest SEO tricks. <a href="https://jharaphula.com/category/free-seo-training-tools/" target="_blank" rel="noopener noreferrer">Under SEO many thing comes</a>. To be a successful SEO professional is not so easy. I noticed even 10 years experienced SEO professionals having queries related to Search Engine Optimization. So during your interview interviewer can ask any possible questions related to SEO. In this regard here I am sharing basic SEO interview questions and answers.</p>
<h3>Difference between Organic &amp; Referral traffics?</h3>
<p>Organic traffic refers those visitors who visit your site through Search engines. Compare to referral traffic organic traffic provides better visitors (leads). Let&#8217;s take an example, think you have a link related to &#8220;<a href="https://jharaphula.com/permanent-filaria-treatment-home/" target="_blank" rel="noopener noreferrer">Effective home remedies to cure Filaria (Elephantiasis)</a>&#8220;. While searching in search engine if a visitor got this link then that traffic is called Organic traffic. In current market the major organic traffic providers are Google and Bing.</p>
<p>Referral traffic is nothing but the traffic comes from link building. As a blog owner you must have Facebook or Twitter accounts. There you have many fans. In this case if you are sharing a link then many one can visit that. These visitor are the best example of referral traffic. Referral traffic generates less sale compare to organic traffic. As a blog owner it&#8217;s always wise to consider organic traffic as primary source of business.</p>
<h3>Is meta keywords &amp; description matters?</h3>
<p>Yes. From my blogging Career I noticed meta keywords are very effective. By including meta keyword in your html page you can get better traffic from Search engines.</p>
<p>Meta description is nothing but those two lines which Google search shows in each search result links. As a best SEO practice always add meta description with your page. While deciding meta description think once the user will view this description in search engines while searching the related keywords.</p>
<h3>What is keyword density?</h3>
<p>While generating a content the repetition of keywords is called Keyword density. Ranking in Google checks Keyword density. The main ambition behind keyword density is to know the content originality.</p>
<h3>Why my blog required a robots.txt file?</h3>
<p>Robots.txt is a technique introduced by Google to track which are the pages or folders webmaster want to index or block from the total files of application root folder. For an example in your website you want to block indexing for the “Admin” folder located in root directory. In this case robots.txt helps. Some time during live if you found any page is not compatible to Google webmaster policies you can block this url using robots.txt. Add robots.txt in your application root folder.</p>
<h3>What is a Sitemap?</h3>
<p>Sitemap is one more way to indicate search engines about your total site structure. I can say this is a page of links. Practice to use both the HTML &amp; XML sitemap. It is healthy practice for <a href="https://jharaphula.com/factors-on-page-optimization-seo-tips/" target="_blank" rel="noopener noreferrer">on-page SEO</a>.</p>
<h3>Do I required both the Sitemap (HTML &amp; XML) in my blog?</h3>
<p>Yes. Google or Bing Webmaster tools required a XML based Sitemap. While user required a HTML one. Sitemap guides visitors.</p>
<h3>What is the difference between Indexing &amp; Crawling?</h3>
<p>Crawling a link in Google is the job of 2 minutes, while indexing takes time. In the early phase many webmasters get confused behind the concept of Crawling and Indexing. After Crawled the link, when it appears in Google Search generally newcomers thought that the link is indexed. But the story is different. Once we Crawled the link it takes minimum 2 to 3 weeks time to indexed in Google. Indexing depends upon link popularity. Depending upon the number of links indexed in Google ROI varies. <a href="https://jharaphula.com/google-index-crawl/" target="_blank" rel="noopener noreferrer">read more&#8230;</a></p>
<h3>How can I know how many pages are indexed in Google or Bing?</h3>
<p>To know how many pages are indexed in Google or Bing you required to Search your Domain name. For example &#8220;jharaphula.com&#8221;. Notice carefully at the top of Search results there is a line like &#8220;About 12,700 results (0.68 seconds)&#8221;. Here it is saying 12,700 pages are indexed. Similarly to know how much pages Crawled you required to enter the search string with &#8220;site:&#8221;. For an example &#8220;site:jharaphula.com&#8221;.</p>
<h3>What are Google Webmaster tools?</h3>
<p>Without traffic from Google your web is useless. To gain traffic from Google first you need to index your links in Google. That’s why to Google Webmaster Tools. Let’s us discuss in brief what are the features available in Google Webmaster tools &amp; how can you Configure them for your business links <a href="https://jharaphula.com/webmaster-guidelines-google-tools/" target="_blank" rel="noopener noreferrer">Quick Guide to Webmaster Tools</a>.</p>
<h3>How to index a link quicker in Google?</h3>
<p>Whether Google or <a href="https://www.bing.com/" rel="noopener noreferrer nofollow" target="_blank">Bing</a> you can index your release easily using &#8220;Fetch Google&#8221; or &#8220;Fetch Bingbot&#8221; tool from Webmaster tools. In real-time Google do start crawling with in the next 5 minutes after you did fetch google. While Bing takes 24 hours.</p>
<h3>Is image optimization effects in SEO?</h3>
<p>After Google introduced image search million of visitors are stopped to access other image search sites. Using image there is a chance you can have a visitor. Search engines are unable to read an image. In the cause there are alt &amp; title attributes for image tag. During you integrate an image for your page provide proper keyword related alt &amp; title attributes. This is the only way through which search engines can know about your images. This is the On-page SEO technique of image related sites.</p>
<h3>How to Choose a page title?</h3>
<p>Keep your web-page title &amp; content heading similar. Prefer to use canonical URLs in place of short URLs. For an example if I want to create a content for “How to teach your Kids?”. It’s more SEO friendly to keep the URL structure like “/how-to-teach-your-kids” in place of “/p=237“. Here I mean to say use a permalink structure in your URL that includes keywords. Search engines will show the URL in their Search results. So, Always prepare URLs user friendly.</p>
<h3>How do I test is my pages are Mobile Friendly?</h3>
<p>The best tool to test whether your page is Mobile Friendly is https://www.google.com/webmasters/tools/mobile-friendly/. This is owned by Google. Just copy paste the link you want to test for mobile compatibility.</p>
<h3>How long it takes to see SEO in results?</h3>
<p>All we know SEO is not a Single day job. It required sufficient time &amp; dedication. Minimum 3 months we required to see SEO in results.</p>
<h3>How many days Google take to index?</h3>
<p>If your site is meeting all Google policies, it may take 30 to 45 days for indexing. Indexing is not a one time job. It runs regularly.</p>
<h3>Is manual link building good for indexing?</h3>
<p>Leads of Search engine Google or Bing hates manual link building. It’s true during early stage of a blog we required to do manual link building (As we have to Create Social media pages or profile links) for initial publicity. If your blog is Adsense depended then avoid Social sharing or any kind of link building which can affect rank in Google.</p>
<h3>What is the benefit of using H1, .. H6 or Bold letters with Content?</h3>
<p>This technique is called “Highlight Contents”. Using this technique you can keep a visitor more time on your page. After this while Search engines will index the page they will consider highlighted words as keywords. Highlighting keywords gives better result in Search Engine Optimization.</p>
<h3>Do I submit my blog to both the popular Search Engines Google and Bing?</h3>
<p>Yes. Bing is the alternative of Google. It’s a Microsoft product. I am not saying Bing will give you more traffic compare to Google but while your link will go parallel in 2 search engines it give competitive results.</p>
<h3>How much time Bing takes to Crawl?</h3>
<p>After “Fetch Google”, while Google takes 5 minutes to index a link Bing takes 24 hours.</p>
<h3>What is the difference between On-page and Off-page SEO?</h3>
<p>Which SEO practices we do inside our domain that is called On-page SEO. Link building, Social media marketing, Email marketing or Forum posting comes under Off-page SEO Optimization. Always its wise to do On-page before going for Off-page.</p>
<h3>Do I will do link sharing in Social medias?</h3>
<p>If you are with AdSense and looking to earn more don’t share links in Social medias. If you are sailing products or with a free site do Social media marketing.</p>
<h3>Is Competitor analysis helps in SEO?</h3>
<p>Yes. Competitor analysis give correct direction to SEO success.</p>
<h3>What is Search Engine submission and how it is useful in SEO?</h3>
<p>Globally there are thousand search engines. I know we can get major traffic from Google or Bing but once after a new domain submit your domain to bulk search engines.</p>
<h3>Do I will crate a Wikipedia page for my blog?</h3>
<p>It’s good to create a wiki page for your blog or web. This gives a permanent backlink with definition to brand name. You must noticed for many keywords Google shows Wikipedia details. So made this with your domain.</p>
<h3>Is I required to Track user activities?</h3>
<p>Yes. To get success in web you must required to observe your visitors. Visitors analysis gives direction to targeted SEO.</p>
<h3>What is Google Analytics?</h3>
<p>Google Analytics is a powerful real-time web tracking tool. It’s free to use.</p>
<h3>What is a inbound link?</h3>
<p>In simple word backlinks are called inbound links. When a user link you link and share in his or her network that is called inbound link. Google loves natural inbound links.</p>
<p>The post <a href="https://jharaphula.com/basic-seo-interview-questions-answers/">Basic SEO Interview Questions &#038; Answers for Freshers</a> appeared first on <a href="https://jharaphula.com">OneStop Shop</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://jharaphula.com/basic-seo-interview-questions-answers/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			<media:content url="https://jharaphula.com/wp-content/uploads/2016/05/seo-queries.jpg" medium="image" />
	</item>
		<item>
		<title>UI Developer Interview Questions for Experienced Professionals</title>
		<link>https://jharaphula.com/ui-developer-interview-questions/</link>
					<comments>https://jharaphula.com/ui-developer-interview-questions/#comments</comments>
		
		<dc:creator><![CDATA[Nibedita Panda]]></dc:creator>
		<pubDate>Sun, 15 May 2016 06:39:06 +0000</pubDate>
				<category><![CDATA[Top Interview Questions]]></category>
		<category><![CDATA[BootStrap Interview Questions]]></category>
		<category><![CDATA[HTML5 interview Questions]]></category>
		<category><![CDATA[JavaScript Interview Questions]]></category>
		<category><![CDATA[Jquery Interview Questions and Answers]]></category>
		<category><![CDATA[UI Developer Interview Questions]]></category>
		<guid isPermaLink="false">http://box.jharaphula.com/?p=1298</guid>

					<description><![CDATA[<img width="300" height="184" src="https://jharaphula.com/wp-content/uploads/2016/05/interviewer-300x184.jpg" class="webfeedsFeaturedVisual wp-post-image" alt="UI Developer Interview Questions for Experienced Professionals" style="display: block; margin-bottom: 10px; clear: both; max-width: 100%;" decoding="async" loading="lazy" srcset="https://jharaphula.com/wp-content/uploads/2016/05/interviewer-300x184.jpg 300w, https://jharaphula.com/wp-content/uploads/2016/05/interviewer.jpg 750w" sizes="auto, (max-width: 300px) 100vw, 300px" /><p>I am a UI developer. Having more then 12 years experience with industry. Recently for a better Career growth, I decided to hack a CMM...</p>
<p>The post <a href="https://jharaphula.com/ui-developer-interview-questions/">UI Developer Interview Questions for Experienced Professionals</a> appeared first on <a href="https://jharaphula.com">OneStop Shop</a>.</p>
]]></description>
										<content:encoded><![CDATA[<img width="300" height="184" src="https://jharaphula.com/wp-content/uploads/2016/05/interviewer-300x184.jpg" class="webfeedsFeaturedVisual wp-post-image" alt="UI Developer Interview Questions for Experienced Professionals" style="display: block; margin-bottom: 10px; clear: both; max-width: 100%;" decoding="async" loading="lazy" srcset="https://jharaphula.com/wp-content/uploads/2016/05/interviewer-300x184.jpg 300w, https://jharaphula.com/wp-content/uploads/2016/05/interviewer.jpg 750w" sizes="auto, (max-width: 300px) 100vw, 300px" /><p>I am a UI developer. Having more then 12 years experience with industry. Recently for a better Career growth, I decided to hack a CMM Level 5 company interview. For this reason I <a href="https://jharaphula.com/how-to-prepare-for-an-interview-job-tips/" target="_blank" rel="noopener noreferrer">did started my preparation</a> and keep attending several technical interviews. My good luck nearly after 45 days I got selected in Infosys. During this period to grab my dream job I applied a trick. From each interview I did collected all UI Developer Interview Questions asked by the interviewer. Slowly I found many questions are common. As you know for UI developer we need to learn HTML, CSS, JAVASCRIPT, JQUERY or ANGULARJS or BootStrap.</p>
<p>If you are having the same profile and going to attained a technical interview in this Saturday or Sunday, prepare the below Questions well. I am sure from this list of UI Developer Interview Questions you will must found above 50% similar questions at your interview.</p>
<h2>HTML5 Interview Questions</h2>
<ul>
<li>What are the new elements introduced in HTML5?</li>
<li>Which browsers support HTML 5?</li>
<li>What is datalist in HTML 5?</li>
<li>What are the different advanced form element types in HTML 5?</li>
<li>What is Canvas in HTML5?</li>
<li>What is the use of localStorage in html5?</li>
<li>How to embed a YouTube video using HTML5?</li>
<li>What is the difference between Canvas &amp; SVG?</li>
<li>What’s new HTML5 DocType and Charset?</li>
<li>How can we embed an Audio in HTML5 &amp; what are the audio formats supported by HTML5 Audio Element?</li>
<li>How to embed a Video file in HTML5?</li>
<li>What are the different types of storage in HTML5?</li>
<li>What is Application Cache in HTML5?</li>
<li>Tell me some new markup elements in HTML5.</li>
<li>What does a hgroup tag do?</li>
<li>Which Tags are deprecated in the new version of HTML5?</li>
<li>In HTML5 how to remove local Storage?</li>
<li>What is the difference between cookies &amp; HTML5 Local storage?</li>
<li>How do you make video tag work in Safari version 5?</li>
<li>What is the use of viewport?</li>
<li>How to display repeated data in columns using HTML?</li>
</ul>
<p><a href="https://jharaphula.com/advanced-html5-interview-questions-answers/" target="_blank" rel="noopener noreferrer">Find the Answers</a></p>
<h2>CSS3 &amp; BootStrap UI Developer Interview Questions</h2>
<ul>
<li>What is CSS?</li>
<li>What are the ways to Apply CSS styles in a HTML documents?</li>
<li>What is the difference between an ID &amp; CLASS selector in CSS3?</li>
<li>Explain me the CSS Box Model.</li>
<li>What is Grouping in CSS3?</li>
<li>What are Child Selectors in CSS?</li>
<li>Give some examples of CSS Pseudo-Class.</li>
<li>What is the use of CSS3 sprites?</li>
<li>Tell me some New features in CSS3.</li>
<li>What is the Syntax of Opacity in CSS3?</li>
<li>What is z-index &amp; How to use it in CSS?</li>
<li>How to set border radius of a div for IE, FF &amp; Chrome using CSS3?</li>
<li>What is clearfix hack in CSS?</li>
<li>What is CSS media queries?</li>
<li>What are the major CSS properties?</li>
<li>What is the difference between Fixed Width Layouts &amp; Liquid Layouts?</li>
<li>What are the difference between Bootstrap 2 &amp; Bootstrap 3?</li>
<li>What are the different classes in Bootstrap 2 &amp; Bootstrap 3?</li>
<li>What are the number of Columns in Bootstrap Grid System?</li>
<li>What are the different Breakpoints in Bootstrap?</li>
<li>What is the difference Container &amp; Container Fluid?</li>
<li>Is it possible to load style sheet dynamically? If yes then how?</li>
</ul>
<p><a href="https://jharaphula.com/advanced-css3-interview-questions-answers/" target="_blank" rel="noopener noreferrer">Find the Answers</a></p>
<h2>JAVASCRIPT Interview Questions</h2>
<ul>
<li>What are the different data types in JavaScript?</li>
<li>How to Create an Object, Properties &amp; Methods using JavaScript?</li>
<li>What is closures in JavaScript?</li>
<li>Is JavaScript is case sensitive?</li>
<li>What is the difference between “==” &amp; “===” in JavaScript?</li>
<li>How to comment in JavaScript?</li>
<li>How to know Checkbox Status using JavaScript?</li>
<li>How to Create Array using JavaScript?</li>
<li>What isNaN function does in JavaScript?</li>
<li>How to Change Style or Class of an element using JavaScript?</li>
<li>What is Prototypes in JavaScript?</li>
<li>Tell me the difference between Undefined &amp; Null?</li>
<li>Why we use splice() Method in JavaScript?</li>
<li>How to debug JavaScript code?</li>
<li>Which debugger you have used to debug JS code?</li>
<li>What is landscape and portrait? How to set this property?</li>
<li>How will you get device width?</li>
<li>How will you know that web page request is came from small screen device/mobile?</li>
</ul>
<p><a href="https://jharaphula.com/advanced-javascript-interview-questions-answers/" target="_blank" rel="noopener noreferrer">Find the Answers</a></p>
<h2>JQUERY Interview Questions</h2>
<ul>
<li>What is the difference between Jquery &amp; JavaScript?</li>
<li>What you required to Start you first Hello World program using Jquery?</li>
<li>What is document.ready() method in Jquery?</li>
<li>How to select all elements in a page using Jquery?</li>
<li>What are the different type of Selectors available in Jquery?</li>
<li>Explain me the show &amp; hide methods in Jquery?</li>
<li>What are the advantages using Jquery?</li>
<li>What is jQuery noConflict method?</li>
<li>How do you disable or enable a form element using Jquery?</li>
<li>How to Change href attribute of an anchor tag using JQuery?</li>
<li>How to Valid an email using JQuery?</li>
<li>What is JQuery Selector? Explain me with Example.</li>
<li>Explain the animate function in JQuery.</li>
<li>What is jQuery.holdReady() function?</li>
<li>What is JQuery Ajax method?</li>
<li>How animate method works in JQuery?</li>
<li>Can we use two versions of JQuery in the same HTML page?</li>
<li>What is the difference between attr &amp; prop in JQuery?</li>
<li>What is minify version of Jquery?</li>
<li>How to load Jquery from Local if CDN link fails?</li>
<li>What is the use of JQuery $.extend method?</li>
<li>What is JQuery $.map method?</li>
<li>Can I have multiple Jquery document.ready() method in a html page?</li>
<li>What is the difference between document.ready() &amp; body onLoad() method?</li>
<li>How do you control SVG using jquery?</li>
<li>How do you add class using jquery?</li>
</ul>
<p><a href="https://jharaphula.com/top-jquery-interview-questions-with-answers/" target="_blank" rel="noopener noreferrer">Find the Answers</a></p>
<h2>ANGULARJS Interview Questions for UI Developer</h2>
<ul>
<li>What are the key features of AngularJS?</li>
<li>Does Angular use the JQuery library?</li>
<li>How to use ng-repeat in AngularJS?</li>
<li>How to use Filter in AngularJS?</li>
<li>In AngularJS how will you initialize a select box with options on page load?</li>
<li>What are the advantages of using AngularJS?</li>
<li>How to use Controller in AngularJS?</li>
<li>What are the form Validations AngularJS provides?</li>
<li>How to create Custom Directive using AngularJS?</li>
<li>What is 2 way data binding in AngularJS?</li>
<li>What is the CDN link for AngularJS?</li>
<li>How to bind MySQL data to HTML5 using AngularJS?</li>
<li>How to use templateURL in the Directive of AngularJS?</li>
<li>Is AngularJS supports MVVM with MVC?</li>
<li>What is routes in AngularJS?</li>
<li>What is the difference between compile &amp; link functions in AngularJS?</li>
<li>What is difference between Service &amp; Factory?</li>
<li>What is the Syntax for creating Custom Directives in AngularJS?</li>
<li>What is factory? For what purpose it is used?</li>
<li>What is data-binding and how it is achieved in AngularJS?</li>
</ul>
<p><a href="https://jharaphula.com/advanced-angularjs-interview-questions-answers/" target="_blank" rel="noopener noreferrer">Find the Answers</a></p>
<p>Do you like the above Story related to UI Developer Interview Questions? Share us.</p>
<p>The post <a href="https://jharaphula.com/ui-developer-interview-questions/">UI Developer Interview Questions for Experienced Professionals</a> appeared first on <a href="https://jharaphula.com">OneStop Shop</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://jharaphula.com/ui-developer-interview-questions/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			<media:content url="https://jharaphula.com/wp-content/uploads/2016/05/interviewer.jpg" medium="image" />
	</item>
		<item>
		<title>SQL Server Interview Questions for DBA professionals</title>
		<link>https://jharaphula.com/sql-server-interview-questions/</link>
					<comments>https://jharaphula.com/sql-server-interview-questions/#respond</comments>
		
		<dc:creator><![CDATA[Nibedita Panda]]></dc:creator>
		<pubDate>Tue, 10 May 2016 18:17:10 +0000</pubDate>
				<category><![CDATA[Top Interview Questions]]></category>
		<category><![CDATA[DBA professionals]]></category>
		<category><![CDATA[Non-Clustered Index]]></category>
		<category><![CDATA[Primary key and Unique key]]></category>
		<category><![CDATA[SQL Server Interview Questions]]></category>
		<guid isPermaLink="false">http://box.jharaphula.com/?p=232</guid>

					<description><![CDATA[<img width="300" height="183" src="https://jharaphula.com/wp-content/uploads/2016/05/sql-server-300x183.jpg" class="webfeedsFeaturedVisual wp-post-image" alt="SQL Server Interview Questions for DBA professionals" style="display: block; margin-bottom: 10px; clear: both; max-width: 100%;" decoding="async" loading="lazy" srcset="https://jharaphula.com/wp-content/uploads/2016/05/sql-server-300x183.jpg 300w, https://jharaphula.com/wp-content/uploads/2016/05/sql-server.jpg 750w" sizes="auto, (max-width: 300px) 100vw, 300px" /><p>SQL Server is a Relational Database Management System designed by Microsoft Corporation. To store data SQL Server is used in many Desktop &#38; Web Applications....</p>
<p>The post <a href="https://jharaphula.com/sql-server-interview-questions/">SQL Server Interview Questions for DBA professionals</a> appeared first on <a href="https://jharaphula.com">OneStop Shop</a>.</p>
]]></description>
										<content:encoded><![CDATA[<img width="300" height="183" src="https://jharaphula.com/wp-content/uploads/2016/05/sql-server-300x183.jpg" class="webfeedsFeaturedVisual wp-post-image" alt="SQL Server Interview Questions for DBA professionals" style="display: block; margin-bottom: 10px; clear: both; max-width: 100%;" decoding="async" loading="lazy" srcset="https://jharaphula.com/wp-content/uploads/2016/05/sql-server-300x183.jpg 300w, https://jharaphula.com/wp-content/uploads/2016/05/sql-server.jpg 750w" sizes="auto, (max-width: 300px) 100vw, 300px" /><p>SQL Server is a Relational Database Management System designed by Microsoft Corporation. To store data SQL Server is used in many Desktop &amp; Web Applications. If you are a SQL server professional looking to meet Interviewer for better <a href="https://jharaphula.com/category/career-job-seekers/" target="_blank" rel="noopener noreferrer">career growth</a>, I can suggest you to go through the below most asked SQL Server Interview Questions.</p>
<h3>What is Clustered &amp; Non-Clustered Index in SQL?</h3>
<p>Clustered index is a physically rearrangement of data used in your table. It is like the index of a book. One Cluster index is possible for table. Non-Clustered Index are like pointers to the data that is stored in the data page. It is like the reference page of a book.</p>
<h3>What is the Difference between Truncate and Delete?</h3>
<p>Using SQL Delete we can remove rows from a SQL Table but index is as remain. Truncate delete the rows as well re-index the SQL Table.</p>
<h3>What Primary key and Unique key?</h3>
<p>Primary key not allows null value. It can be used using foreign key as a referral. Unique key constraints allows nulls value.</p>
<h3>How to change Database name in SQL Server?</h3>
<p>SQL Server 2005 &amp; for higher versions of SQL Server 2005 we can use Alter database T-SQL statement to rename a database. For lower versions of SQL 2005 we can use exec sp_renamedb stored procedure. Look at the below examples.</p>
<p>SQL Server 2000 &amp; 2005<br />
<span style="color: brown;"><code>exec sp_renamedb "TempDatabase", "SampleDatabase"</code></span></p>
<p>SQL Server 2005 and later version<br />
<span style="color: brown;"><code>ALTER Database "TempDatabase" Modify Name="SampleDatabase"</code></span></p>
<h3>How to Display current date using SQL Query?</h3>
<p>SQL Server has a in-built function called GetDate() which returns current timestamp.</p>
<h3>How can we delete duplicate records from a table with no primary key?</h3>
<p>It can be done using SET ROWCOUNT command. If you had 2 duplicate rows you can issue SET ROWCOUNT 1, then your DELETE command and finally SET ROWCOUNT 0.</p>
<p>For more Common SQL interview question please refer <a href="https://www.deskbright.com/sql/sql-interview-questions/" target="_blank" rel="noopener noreferrer nofollow">https://www.deskbright.com/sql/sql-interview-questions/</a></p>
<p>The post <a href="https://jharaphula.com/sql-server-interview-questions/">SQL Server Interview Questions for DBA professionals</a> appeared first on <a href="https://jharaphula.com">OneStop Shop</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://jharaphula.com/sql-server-interview-questions/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			<media:content url="https://jharaphula.com/wp-content/uploads/2016/05/sql-server.jpg" medium="image" />
	</item>
		<item>
		<title>Microsoft ASP.NET Interview Questions with Answers</title>
		<link>https://jharaphula.com/microsoft-asp-net-interview-questions-with-answers/</link>
					<comments>https://jharaphula.com/microsoft-asp-net-interview-questions-with-answers/#respond</comments>
		
		<dc:creator><![CDATA[Nibedita Panda]]></dc:creator>
		<pubDate>Tue, 10 May 2016 18:15:51 +0000</pubDate>
				<category><![CDATA[Top Interview Questions]]></category>
		<category><![CDATA[Advantages of Code-behind]]></category>
		<category><![CDATA[ASP.NET Interview Questions]]></category>
		<category><![CDATA[Types of Authentications]]></category>
		<category><![CDATA[Windows Authentication]]></category>
		<guid isPermaLink="false">http://box.jharaphula.com/?p=230</guid>

					<description><![CDATA[<img width="300" height="188" src="https://jharaphula.com/wp-content/uploads/2016/05/net-framework-1-300x188.jpg" class="webfeedsFeaturedVisual wp-post-image" alt="Microsoft ASP.NET Interview Questions with Answers" style="display: block; margin-bottom: 10px; clear: both; max-width: 100%;" decoding="async" loading="lazy" srcset="https://jharaphula.com/wp-content/uploads/2016/05/net-framework-1-300x188.jpg 300w, https://jharaphula.com/wp-content/uploads/2016/05/net-framework-1.jpg 750w" sizes="auto, (max-width: 300px) 100vw, 300px" /><p>ASP.NET is a server side technology to create dynamic web applications. It was developed by Microsoft. ASP.NET introduced in January 2002. ASP.NET is a part...</p>
<p>The post <a href="https://jharaphula.com/microsoft-asp-net-interview-questions-with-answers/">Microsoft ASP.NET Interview Questions with Answers</a> appeared first on <a href="https://jharaphula.com">OneStop Shop</a>.</p>
]]></description>
										<content:encoded><![CDATA[<img width="300" height="188" src="https://jharaphula.com/wp-content/uploads/2016/05/net-framework-1-300x188.jpg" class="webfeedsFeaturedVisual wp-post-image" alt="Microsoft ASP.NET Interview Questions with Answers" style="display: block; margin-bottom: 10px; clear: both; max-width: 100%;" decoding="async" loading="lazy" srcset="https://jharaphula.com/wp-content/uploads/2016/05/net-framework-1-300x188.jpg 300w, https://jharaphula.com/wp-content/uploads/2016/05/net-framework-1.jpg 750w" sizes="auto, (max-width: 300px) 100vw, 300px" /><p>ASP.NET is a server side technology to create dynamic web applications. It was developed by Microsoft. ASP.NET introduced in January 2002. ASP.NET is a part of MS.NET framework. Are you a MS.NET Professional seeking for a better Job. Prepare the below ASP.NET Interview Questions well before your interview.</p>
<h3>What is the difference between Classic ASP &amp; ASP.NET?</h3>
<p>Classic ASP is the lower version of ASP.NET. ASP.NET comes with MS.NET Framework. ASP is running under the inetinfo.exe (IIS) when ASP.NET distinct work process using aspnet_wp.exe. It is separate from inetinfo.exe. Classic ASP is not compiled for Apache web server. Using ASP.NET we can execute our app with Apache web server. ASP.NET provides more better performance based application then ASP. The compiling process for ASP &amp; ASP.NET is different. ASP.NET introduced with Common Language Run-time, MSIL, JIT &amp; CLR. The time we are writing code in ASP.NET it get compiled to a byte code format like Java. Due to byte code execution get faster in ASP.NET compare to Classic ASP. ASP.NET introduced code behind concept. Compare to Classic ASP we can write more structured codes in ASP.NET.</p>
<h3>What are the different types of validation provided by ASP.NET?</h3>
<p>Using validation we protects unnecessary page submissions. Few most common used validations provided by ASP.NET is listed below.</p>
<p><em>CompareValidator</em> &#8211; Compare validation compares values of two input controls.<br />
<em>CustomValidator</em> &#8211; Allow programmer to write own validation scripts.<br />
<em>RangeValidator</em> &#8211; Checks the user value with in a Specific range.<br />
<em>RegularExpressionValidator</em> &#8211; Ensures that the value of an input control matches a specified pattern.<br />
<em>RequiredFieldValidator</em> &#8211; Make the control input Mandatory.<br />
<em>ValidationSummary</em> &#8211; Displays a report of all validation errors occurred in a Web page.</p>
<h3>What are the types of Authentication in ASP.NET?</h3>
<p>ASP.NET provides 3 types of Authentications as listed in  below.</p>
<p><strong>1</strong>. Windows Authentication<br />
<strong>2</strong>. Form Authentication<br />
<strong>3</strong>. Passport Authentication</p>
<h3>What is view state?</h3>
<p>Let assume we have a form with more then ten input controls. I filled out the form and submitted to the server. Assume the form is designed using classic ASP &amp; in between the page submission internet get disconnected. In this situation using back button if I will back to the form then there is no data persist in the input controls. This is a drawback to dynamic web applications. To resolve this view state concept introduced in ASP.NET. View state is responsible to keep state of web controls during page submission. By default view state is enabled in ASP.NET. In back-end view state creates hidden HTML input control to store web control data in encrypted format. With state less HTML view state helps to protect data from Accidental Submission.</p>
<h3>What are the state management technique implemented by ASP.NET?</h3>
<p>There are 2 types of State management techniques found in ASP.NET. Server Side &amp; Client Side. Server side state management techniques are Session &amp; Application. Client side state management techniques are Hidden Field, View State, Cookie, Control State &amp; Query String.</p>
<h3>Explain me the use of Global.asax</h3>
<p>Global.asax is a file locating at the root folder of ASP.NET applications. Global.asax provide a way to Application or Module level events in one Central location. Global.asax file derived from HttpApplication class. Default events found in Global.asax are Application_Start, Application_End, Application_Error, Session_Start, Session_End.</p>
<h3>What is postback in ASP.NET?</h3>
<p>Postback is a technical term to page Submission. Using isPostback event we can check postback happened or not. isPostback returns boolean value.</p>
<h3>What are the advantages of code-behind feature?</h3>
<p>Code-behind allow programmers to separate business logic &amp; User Interface. Its a new technique introduced by ASP.NET.</p>
<h3>What is the difference between user control &amp; custom control?</h3>
<p>User Controls can be used for reusable purpose. Custom Control can be used for Global toolbox Control. User control is accessible for current project. When Custom Control can be used Globally. The Extension of user control is .ascx. Extension for Custom Control is .dll. User Control can visible in Solution Explorer when Custom Control is visible in toolbox. Using register tag we can embed an user control but Custom Control used like a normal Control.</p>
<h3>What is the use of app_code folder in ASP.NET?</h3>
<p>App_Code folder stores Classes, typed data sets etc. If we store any Classes in App_Code it compiles automatically.</p>
<h3>What do you mean by multilingual website?</h3>
<p>Websites are rotating globally. Let talk about a website <a href="https://jharaphula.com" target="_blank" rel="noopener noreferrer">jharaphula.com</a>. Here we are getting ten thousand visitors in each day from many angle of world map. When a US customer is watching he/she prefer to look the language English. But the time we have a Customer from France he/she prefer to look in french. Here the concept multilingual comes into. In simple multilingual websites can display the content in various global languages.</p>
<h3>How to display all validation errors in one control?</h3>
<p>ASP.NET provides five validation controls with ValidationSummary<em>.</em> Using ValidationSummary we can display all validation errors in our ASP.NET page.</p>
<h3>What is query string?</h3>
<p>Query String is a technique to transfer values from one page to an other web page. Generally query strings are not secured. It will visible at address bar. To write a Query String we can use the following line of code. For more then one query string with the same url we can use &amp;.</p>
<p><span style="color:brown"><code>https://jharaphula.com?QueryString=test massage&amp;SecondQueryString=sample</code></span></p>
<h3>How to send email using ASP.NET?</h3>
<p>By default ASP.NET provides SMTP mail server. Using few lines of code we can send an email in ASP.NET. Find the script below.</p>
<pre class="brush: vb; title: ; notranslate">MailMessage mailMessage = new MailMessage();
mailMessage.To.Add(&quot;from@email-address.com&quot;);
mailMessage.From = new MailAddress(&quot;to@email-address.com&quot;);
mailMessage.Subject = &quot;test mail&quot;;
mailMessage.Body = &quot;Hello world,\n\nThis is a test mail e-mail!&quot;;
SmtpClient smtpClient = new SmtpClient(&quot;smtp.your-isp.com&quot;);
smtpClient.Send(mailMessage);
Response.Write(&quot;Mail Sent Successfully.&quot;);</pre>
<p>The post <a href="https://jharaphula.com/microsoft-asp-net-interview-questions-with-answers/">Microsoft ASP.NET Interview Questions with Answers</a> appeared first on <a href="https://jharaphula.com">OneStop Shop</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://jharaphula.com/microsoft-asp-net-interview-questions-with-answers/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			<media:content url="https://jharaphula.com/wp-content/uploads/2016/05/net-framework-1.jpg" medium="image" />
	</item>
		<item>
		<title>Frequently asked advanced HTML5 interview Questions and Answers</title>
		<link>https://jharaphula.com/advanced-html5-interview-questions-answers/</link>
					<comments>https://jharaphula.com/advanced-html5-interview-questions-answers/#comments</comments>
		
		<dc:creator><![CDATA[Nibedita Panda]]></dc:creator>
		<pubDate>Tue, 10 May 2016 17:40:40 +0000</pubDate>
				<category><![CDATA[Top Interview Questions]]></category>
		<category><![CDATA[Canvas in HTML5]]></category>
		<category><![CDATA[Datalist in HTML5]]></category>
		<category><![CDATA[HTML5 interview Questions]]></category>
		<category><![CDATA[LocalStorage in HTML5]]></category>
		<guid isPermaLink="false">http://box.jharaphula.com/?p=206</guid>

					<description><![CDATA[<img width="300" height="200" src="https://jharaphula.com/wp-content/uploads/2016/05/top-html5-interview-questions-300x200.jpg" class="webfeedsFeaturedVisual wp-post-image" alt="Advanced HTML5 interview Questions and Answers" style="display: block; margin-bottom: 10px; clear: both; max-width: 100%;" decoding="async" loading="lazy" srcset="https://jharaphula.com/wp-content/uploads/2016/05/top-html5-interview-questions-300x200.jpg 300w, https://jharaphula.com/wp-content/uploads/2016/05/top-html5-interview-questions-182x120.jpg 182w, https://jharaphula.com/wp-content/uploads/2016/05/top-html5-interview-questions-106x70.jpg 106w, https://jharaphula.com/wp-content/uploads/2016/05/top-html5-interview-questions.jpg 750w" sizes="auto, (max-width: 300px) 100vw, 300px" /><p>HTML5 is the 5th revision of basic HTML. HTML5 taking care of user interface during web development. With the advanced features of HTML5 it is...</p>
<p>The post <a href="https://jharaphula.com/advanced-html5-interview-questions-answers/">Frequently asked advanced HTML5 interview Questions and Answers</a> appeared first on <a href="https://jharaphula.com">OneStop Shop</a>.</p>
]]></description>
										<content:encoded><![CDATA[<img width="300" height="200" src="https://jharaphula.com/wp-content/uploads/2016/05/top-html5-interview-questions-300x200.jpg" class="webfeedsFeaturedVisual wp-post-image" alt="Advanced HTML5 interview Questions and Answers" style="display: block; margin-bottom: 10px; clear: both; max-width: 100%;" decoding="async" loading="lazy" srcset="https://jharaphula.com/wp-content/uploads/2016/05/top-html5-interview-questions-300x200.jpg 300w, https://jharaphula.com/wp-content/uploads/2016/05/top-html5-interview-questions-182x120.jpg 182w, https://jharaphula.com/wp-content/uploads/2016/05/top-html5-interview-questions-106x70.jpg 106w, https://jharaphula.com/wp-content/uploads/2016/05/top-html5-interview-questions.jpg 750w" sizes="auto, (max-width: 300px) 100vw, 300px" /><p>HTML5 is the 5th revision of basic HTML. HTML5 taking care of user interface during web development. With the advanced features of HTML5 it is getting popular day by day. Leading IT Companies requiting HTML5 developers for their web development farms.</p>
<h2>18 frequently asked HTML5 interview Questions</h2>
<p>In this session I will let you share the most asked HTML5 interview Questions with answers. If you are looking for a job in HTML5 don’t forget to read the below HTML5 interview questions. I am sure this will help you to win a better Career.</p>
<h2>1. What are the new elements introduced in HTML5?</h2>
<p>In HTML5 for better graphics Canvas is newly introduced. Canvas is the area in a HTML5 document where we can draw graphics using any client scripts.</p>
<p>HTML5 introduced 5 new media elements. These elements are Audio, Embed, Source, Track &amp; Video. Using Audio &amp; Video tag we can easily embed audio or video files to our HTML5 web pages. Embed tag act like an object for external sources. Source tag defines the audio or video file path. Track defines the layer of audio or video file. Compare to other techniques we followed to integrate audio or video in the lower versions of HTML5 these new media elements are more powerful &amp; effective.</p>
<p>3 new form elements added in HTML5 compare to HTML4. These form elements are datalist, keygen &amp; output. Using datalist we can pre-defiend options in input controls of HTML5. Keygen help in security. It generates unique encrypted key for forms. Output defines the result of a Calculation dynamically.</p>
<p>Other structural elements added in HTML5 are like article, aside, dialog, header, footer, main, mark, nav, progress, section, time &amp; summary.</p>
<h2>2. Which browsers support HTML 5?</h2>
<p>HTML5 is an advanced markup language. It supports all the latest browsers. Internet Explore, Mozilla Firefox, Google Chrome, Safari &amp; Opera like all common used browsers provides compatibility for HTML5 &amp; all its advanced features.</p>
<h2>3. What is datalist in HTML 5?</h2>
<p>Like the select option in HTML5 datalist is one more additional feature. It used for input fields to provide auto-complete feature. Look at the below image you can understood well.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-3273" src="https://jharaphula.com/wp-content/uploads/2016/05/datalist-html5.png" alt="datalist-html5" width="157" height="88" /></p>
<p><strong>Example</strong></p>
<pre class="brush: xml; title: ; notranslate">&lt;!DOCTYPE html&gt;
&lt;html xmlns=”http://www.w3.org/1999/xhtml”&gt;
&lt;body&gt;
&lt;input list=”Countries”&gt;
&lt;datalist id=”Countries”&gt;
&lt;option value=”India”&gt;
&lt;option value=”Israel”&gt;
&lt;option value=”Indonesia”&gt;
&lt;/datalist&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<h2>4. What are the different advanced form element types in HTML 5?</h2>
<p>In HTML5 the following element types are available.</p>
<p><span style="color: brown;"><code>Date<br />
Url<br />
Datetime-local<br />
Time<br />
Range<br />
Email<br />
Telephone<br />
Color<br />
Search<br />
Number</code></span></p>
<p><strong>Example</strong></p>
<pre class="brush: xml; title: ; notranslate">&lt;!DOCTYPEhtml&gt;
&lt;htmlxmlns=”http://www.w3.org/1999/xhtml”&gt;
&lt;body&gt;
&lt;input type=”Color” id=”color”/&gt;
&lt;input type=”date” name=”birthday”&gt;
&lt;input type=”Date” name=”date”/&gt;
&lt;input type=”Datetime-local” name=”datetime-local”/&gt;
&lt;input type=”Email” name=”email”/&gt;
&lt;input type=”Time” name=”time”/&gt;
&lt;input type=”Url” name=”url”/&gt;
&lt;input type=”Range” name=”range” min=”10″ max=”50″ step=”2″ value=”22″/&gt;
&lt;input type=”Telephone” name=”telephone”/&gt;
&lt;input type=”Number” name=”number” min=”10″ max=”50″/&gt;
&lt;input type=”Search” name=”search”/&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<h2>5. What is Canvas in HTML5?</h2>
<p>Canvas is a new element introduced in HTML5. <a href="https://jharaphula.com/html5-canvas-examples/" target="_blank" rel="noopener noreferrer">Canvas used to draw graphics</a> in HTML5. To draw using Canvas we can use Client Script like JavaScript or Jquery. In the following example I am showing how to declare a Canvas and how to draw in a Canvas.</p>
<pre class="brush: xml; title: ; notranslate">&lt;!DOCTYPE html&gt;
&lt;html xmlns=”http://www.w3.org/1999/xhtml”&gt;
&lt;body&gt;
&lt;canvas id=”demoCanvas” width=”300″ height=”200″ style=”border: 1px solid #000000;”&gt;&lt;/canvas&gt;
&lt;img src=&quot;data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7&quot; data-wp-preserve=&quot;%3Cscript%20type%3D%E2%80%9Dtext%2Fjavascript%E2%80%9D%3E%0Avar%20c%20%3D%20document.getElementById(%E2%80%9CdemoCanvas%E2%80%9D)%3B%0Avar%20ctx%20%3D%20c.getContext(%E2%80%9C2d%E2%80%9D)%3B%0Actx.fillStyle%20%3D%20%E2%80%9C%2300FF00%E2%80%9D%3B%0Actx.fillRect(0%2C0%2C200%2C100)%3B%0A%3C%2Fscript%3E&quot; data-mce-resize=&quot;false&quot; data-mce-placeholder=&quot;1&quot; class=&quot;mce-object&quot; width=&quot;20&quot; height=&quot;20&quot; alt=&quot;&amp;lt;script&amp;gt;&quot; title=&quot;&amp;lt;script&amp;gt;&quot; /&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<h2>6. What is the use of localStorage in html5?</h2>
<p>In HTML5 localStorage is an Object to store data in Client Computer. This data has no expiry it can be for next day, a week, a month or even more then a year. LocalStorage can created using name &amp; value pair. See the below example.</p>
<pre class="brush: jscript; title: ; notranslate">//To Store using LocalStorage
localStorage.setItem(&quot;name&quot;, &quot;John Smith&quot;);
//To Retrieve from LocalStorage
document.getElementById(&quot;lblname&quot;).innerHTML = localStorage.getItem(&quot;name&quot;);</pre>
<h2>7. How to embed a YouTube video using HTML5?</h2>
<p>From the list of HTML5 Media Elements we can use embed tag to show YouTube video in a HTML5 web pages. Look at the example below.</p>
<pre class="brush: xml; title: ; notranslate">&lt;embed width=&quot;420&quot; height=&quot;345&quot; src=&quot;http://youtu.be/n3sYq4Y9hIQ&quot; type=&quot;application/x-shockwave-flash&quot;&gt;&lt;/embed&gt;</pre>
<h2>8. What is the difference between Canvas &amp; SVG?</h2>
<p>Canvas is a advanced element in HTML5, 2d graphics we can draw on a Canvas using JavaScript. SVG is a language to describe 2d graphics in xml. HTML5 Canvas doesn&#8217;t support event handlers. SVG supports event handler. SVG can do better text rendering then Canvas. Canvas is suitable to use in game applications but using SVG its not better to develop game applications.</p>
<h2>9. What&#8217;s new HTML5 DocType and Charset?</h2>
<p>HTML5 is now not a subset of SGML. DocType is relaced the SGML. Example shown below.</p>
<p><span style="color: brown;"><code>&lt;!DOCTYPE html&gt;</code></span></p>
<p>About Charset in HTML5 it uses UTF-8 encoding. Example Shown below.</p>
<p><span style="color: brown;"><code>&lt;meta charset="UTF-8"&gt;</code></span></p>
<h2>10. How can we embed an Audio in HTML5 &amp; what are the audio formats supported by HTML5 Audio Element?</h2>
<p>The newly introduced media elements Audio &amp; Source help us to embed Audio file in HTML5 document. Audio tag supports 3 basic audio formats. Ogg, mp3 &amp; Wav. Look at the example below.</p>
<pre class="brush: xml; title: ; notranslate">&lt;audio controls&gt;
&lt;source src=&quot;mymusic.mp3&quot; type=&quot;audio/mpeg&quot;&gt;
Your browser doesn't support audio tag.
&lt;/audio&gt;</pre>
<h2>11. How to embed a Video file in HTML5?</h2>
<p>The newly introduced media elements Video &amp; Source help us to embed Video file in HTML5. Video element in HTML5 supports ogg, webm &amp; mpeg4 video formats. Look at the below example how to embed video in HTML5.</p>
<pre class="brush: xml; title: ; notranslate">&lt;video width=&quot;800&quot; height=&quot;600&quot; controls&gt;
&lt;source src=&quot;myvideo.mp4&quot; type=&quot;video/mp4&quot;&gt;
Your browser does'nt support video tag.
&lt;/video&gt;</pre>
<h2>12. What are the different types of storage in HTML5?</h2>
<p>In HTML5 two type of storage introduced. These are SessionStorage &amp; LocalStorage.</p>
<p>Session Storage – SessionStorage stores the data for a specific Session.<br />
Local Storage – LocalStorage stores the data for long duration even after the browser closed.</p>
<h2>13. What is Application Cache in HTML5?</h2>
<p>Among many key features in HTML5 “Application Cache” enables to store all the browsed websites locally as its off-line version. In the consecutive call to same website Application Cache helps to fetch few contents only from the server. It uses the local copy &amp; help to reduce HTTP requests. This technique in HTML5 helps for a better performance. Application Cache can achieved using manifest with HTML tag.</p>
<p>Manifest file comes with three sections. CACHE MANIFEST, NETWORK &amp; FALLBACK. Cache manifest is the section where which files we will declare those files will store after they are downloaded for first time. Logo, js files are image files are basically we declare in Cache manifest. Network section is for those files require a connection to the server. Files declared under Network section never cached. File listed under Fallback fallback pages if a page is inaccessible.</p>
<p><em>Example of Application Cache manifest File</em></p>
<p><span style="color: brown;"><code>CACHE MANIFEST<br />
/app-theme.css<br />
/company-logo.gif<br />
/main.js</code></span></p>
<p><span style="color: brown;"><code>NETWORK:<br />
login.php</code></span></p>
<p><span style="color: brown;"><code>FALLBACK:<br />
/html/ /offline.html</code></span></p>
<h2>14. Tell me some new markup elements in HTML5.</h2>
<p><em>header</em> – The top most part of a html document. It can include navigation.<br />
<em>footer</em> – The most below part of a html document. It can hold Copyrights information.<br />
<em>section</em> – Section can be the header, footer or it can be content paragraphs.<br />
<em>nav</em> – To create easy Navigation.<br />
<em>time</em> – Defining the time or date.<br />
<em>progress</em> – An indicator to work durations.<br />
<em>article</em> – specify independent, self-contained contents.</p>
<h2>15. What does a hgroup tag do?</h2>
<p>The hgroup tag in HTML5 is used to group a set of h1 to h6 elements. Find an Example below.</p>
<pre class="brush: xml; title: ; notranslate">&lt;hgroup&gt;
&lt;h2&gt;What is your Age?&lt;/h2&gt;
&lt;h3&gt;Your Name Please?&lt;/h3&gt;
&lt;/hgroup&gt;</pre>
<h2>16. Which Tags are deprecated in the new version of HTML5?</h2>
<p>Acronym, applet, basefont, big, center, dir, font, frame, frameset, noframes, strike &amp; tt are the deprecated HTML5 elements compare to the lower version HTML4.</p>
<h2>17. In HTML5 how to remove local Storage?</h2>
<p>Local Storage data can be removed using 2 methods in HTML5. One is removeItem() &amp; other one is clear(). Using removeItem method we can delete specific key value pair from local Storage. Using clear method it clears all the data stored in local Storage.</p>
<h2>18. What is the difference between cookies &amp; HTML5 Local storage?</h2>
<p>Local storage is only accessible at client end. To access local storage in server end we need to use Post() or Get() method. Cookies can accessible at Client &amp; Server end. Local storage stores 5 mb per domain. Cookies can store 4096 bytes per cookies. There is no expiry date for local storage to delete local storage variable we need to do delete programmatically. While creating a cookie we can set expiry date for the cookies. Cookies are less secure then HTML5 Local storage. Local storage is an advanced concept to HTML5. Cookies is an older technology.</p>
<p>Do you like the above Story related to HTML5 interview Questions? Share us.</p>
<p>The post <a href="https://jharaphula.com/advanced-html5-interview-questions-answers/">Frequently asked advanced HTML5 interview Questions and Answers</a> appeared first on <a href="https://jharaphula.com">OneStop Shop</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://jharaphula.com/advanced-html5-interview-questions-answers/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			<media:content url="https://jharaphula.com/wp-content/uploads/2016/05/top-html5-interview-questions.jpg" medium="image" />
	</item>
		<item>
		<title>25 Jquery Interview Questions and Answers for Experienced or Freshers</title>
		<link>https://jharaphula.com/top-jquery-interview-questions-with-answers/</link>
					<comments>https://jharaphula.com/top-jquery-interview-questions-with-answers/#respond</comments>
		
		<dc:creator><![CDATA[Nibedita Panda]]></dc:creator>
		<pubDate>Tue, 10 May 2016 17:18:25 +0000</pubDate>
				<category><![CDATA[Top Interview Questions]]></category>
		<category><![CDATA[Advantages using Jquery]]></category>
		<category><![CDATA[Cross-browser Compatible]]></category>
		<category><![CDATA[Jquery Interview Questions and Answers]]></category>
		<category><![CDATA[What is JQuery Selector?]]></category>
		<guid isPermaLink="false">http://box.jharaphula.com/?p=191</guid>

					<description><![CDATA[<img width="300" height="186" src="https://jharaphula.com/wp-content/uploads/2016/05/jQuery-Interview-Questions-and-Answers-300x186.png" class="webfeedsFeaturedVisual wp-post-image" alt="Jquery Interview Questions and Answers for Experienced &amp; Freshers" style="display: block; margin-bottom: 10px; clear: both; max-width: 100%;" decoding="async" loading="lazy" srcset="https://jharaphula.com/wp-content/uploads/2016/05/jQuery-Interview-Questions-and-Answers-300x186.png 300w, https://jharaphula.com/wp-content/uploads/2016/05/jQuery-Interview-Questions-and-Answers.png 750w" sizes="auto, (max-width: 300px) 100vw, 300px" /><p>Jquery is an optimized lightweight JavaScript Library. It helps to develop more functional applications using less line of codes. You can say Jquery is the...</p>
<p>The post <a href="https://jharaphula.com/top-jquery-interview-questions-with-answers/">25 Jquery Interview Questions and Answers for Experienced or Freshers</a> appeared first on <a href="https://jharaphula.com">OneStop Shop</a>.</p>
]]></description>
										<content:encoded><![CDATA[<img width="300" height="186" src="https://jharaphula.com/wp-content/uploads/2016/05/jQuery-Interview-Questions-and-Answers-300x186.png" class="webfeedsFeaturedVisual wp-post-image" alt="Jquery Interview Questions and Answers for Experienced &amp; Freshers" style="display: block; margin-bottom: 10px; clear: both; max-width: 100%;" decoding="async" loading="lazy" srcset="https://jharaphula.com/wp-content/uploads/2016/05/jQuery-Interview-Questions-and-Answers-300x186.png 300w, https://jharaphula.com/wp-content/uploads/2016/05/jQuery-Interview-Questions-and-Answers.png 750w" sizes="auto, (max-width: 300px) 100vw, 300px" /><p>Jquery is an optimized lightweight JavaScript Library. It helps to develop more functional applications using less line of codes. You can say Jquery is the enhanced version of JavaScript. It contains many in-built functions to interact with HTML &amp; JavaScript. You can download Jquery from jquery.com. Jquery is popular due to its reuse-ability. Jquery saves programmer time. For your successful interview read our <strong>Jquery Interview Questions and Answers</strong>. These Jquery interview questions are useful for both Experienced &amp; Freshers professionals.</p>
<h2>Why use JQuery over plain JavaScript?</h2>
<p><strong>Cross-Browser Compatibility</strong>: jQuery handles browser inconsistencies, ensuring code works uniformly across different browsers.</p>
<p><strong>Simplified Syntax</strong>: jQuery reduces verbose JavaScript code with shorter, more readable methods.</p>
<p><strong>DOM Manipulation</strong>: Selecting and modifying DOM elements is easier with jQuery’s selector engine.</p>
<p><strong>AJAX</strong>: jQuery simplifies asynchronous HTTP requests with methods like `$.ajax()`.</p>
<p><strong>Extensibility</strong>: Plugins and custom functions can be easily integrated.</p>
<h2>25 Selective, Frequently asked Jquery Interview Questions and Answers</h2>
<p>A compilation of interview questions related to jQuery is available for those preparing for technical assessments. It is essential to focus on the specific language required for responses and adhere to any relevant guidelines during the interview process. This resource aims to assist candidates in understanding key concepts and functionalities of jQuery, ensuring they are well-prepared to demonstrate their knowledge effectively.</p>
<h3>1. What is the difference between Jquery &amp; JavaScript?</h3>
<p>JavaScript is a programming language formalized in the ECMAScript standard. When <strong>Jquery is a library</strong> developed using JavaScript. Jquery contain many common used JavaScript functions. Using Jquery we can prepare cross-browser compatible applications with less line of codes. Compare to JavaScript Jquery save time of a programmer &amp; Applications developed using Jquery is easy to debug.</p>
<h3>2. What you required to Start you first Hello World program using Jquery?</h3>
<p>To start with Jquery &#8220;Hello World&#8221; program you need a text editor and the downloaded version of Jquery file. You can download Jquery file from <a href="http://jquery.com" target="_blank" rel="noopener noreferrer nofollow">jquery.com</a>. To integrate this on your page you can refer the line below.</p>
<pre class="brush: xml; title: ; notranslate">&lt;script type=&quot;text/javascript&quot; src=&quot;jquery.min.js&quot;&gt;&lt;/script&gt;</pre>
<p>After integrated Jquery file in your HTML page. Write the following lines of code.</p>
<pre class="brush: jscript; title: ; notranslate">$document.ready(function() {
alert('Hello World!');
});</pre>
<h3>3. What is document.ready() method in Jquery?</h3>
<p>Document.ready() method is used to execute Jquery after the HTML Document loaded to the Client Browser. In below I am sharing my first Jquery program to show you an example of document.ready() method.</p>
<pre class="brush: xml; title: ; notranslate">&lt;!DOCTYPE html&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; &gt;
&lt;head&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
$(document).ready(function() {
alert('My First Jquery Program.');
});
&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
My First Jquery Program.
&lt;/body&gt;
&lt;/html&gt;</pre>
<h3>4. How to select all elements in a page using Jquery?</h3>
<p>Using <strong>all selector in Jquery</strong> we can select all elements in a HTML page. Syntax used to select all elements is *. Look at the example below. In document.ready method here I am applying font style to all elements in a HTML page.</p>
<pre class="brush: jscript; title: ; notranslate">$(&quot;*&quot;).css(&quot;font-size&quot;, &quot;14px&quot;);</pre>
<h3>5. What are the different type of Selectors available in Jquery?</h3>
<p>jQuery selectors are used to find and select HTML elements based on their name, ID, classes, types, attributes, values, and more. Once selected, these elements can be manipulated using jQuery methods. In Jquery we have 3 types of Selectors. These are CSS selector, Xpath selector &amp; Custom selector.</p>
<h3>6. Explain me the show &amp; hide methods in Jquery?</h3>
<p>Show &amp; hide are the ready-made methods of Jquery to Show or Hide any HTML element. Using show or hide methods in Jquery we can also add duration for showing or hiding an element. Show and Hide methods in Jquery accepts 2 parameters speed &amp; callback. Look at the example below using Jquery Show &amp; Hide methods.</p>
<pre class="brush: xml; title: ; notranslate">&lt;!DOCTYPE html&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; &gt;
&lt;head&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
$(document).ready(function() {
$('#btnShow').click(function() {
$('#txtLabel').show();
});
$('#btnHide').click(function() {
$('#txtLabel').hide();
});
});
&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div id=&quot;txtLabel&quot;&gt;This is a sample text.&lt;/div&gt;
&lt;button id=&quot;btnShow&quot;&gt;Show&lt;/button&gt;
&lt;button id=&quot;btnHide&quot;&gt;Hide&lt;/button&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<h3>7. What are the advantages using Jquery?</h3>
<p>Jquery is a JavaScript Library which gives ability to develop high performance web applications using less line of Codes. There are many advantages using Jquery.</p>
<p><span style="color: red;"><strong>A.</strong></span> Jquery is Cross-browser Compatible. With Jquery stuffs we don&#8217;t need to worry about Browser Compatibility.</p>
<p><span style="color: red;"><strong>B.</strong></span> Jquery is easy to learn &amp; implement. To do a small animation in client-side we must need to write 10 to 15 lines of JavaScript codes. Using Jquery this can be done using one function. Jquery comes with many in-built functions. Jquery improves programers time by delivering quality outputs.</p>
<p><span style="color: red;"><strong>C.</strong></span> Jquery helps to improve the performance of a web-application.</p>
<p><span style="color: red;"><strong>D.</strong></span> In a HTML Document Jquery is easy to use for DOM manipulation &amp; traversal.</p>
<p><span style="color: red;"><strong>E.</strong></span> Jquery Supports Event detection and handling.</p>
<p><span style="color: red;"><strong>F.</strong></span> <a href="https://jharaphula.com/jquery-ajax-example/" target="_blank" rel="noopener noreferrer">Jquery is rich with AJAX Capability</a>. Thousand of free plugins are available for Jquery.</p>
<h3>8. What is jQuery noConflict method?</h3>
<p>JQuery uses $ sign as the alias. There are many other JavaScript libraries those uses $ sign. To prevent conflict with other libraries methods or different versions of JQuery, JQuery introduced noConflict method. You can use noConflict using the following Syntax.</p>
<pre class="brush: jscript; title: ; notranslate">$.noConflict();</pre>
<p>Let&#8217;s assume in your application you want to use two versions of JQuery. Version 1.1.2 &amp; Version 1.1.3. In this case to prevent conflict among the different versions you can do the following.</p>
<pre class="brush: xml; title: ; notranslate">&lt;script type=&quot;text/javascript&quot; src=&quot;http://example.com/jquery-1.1.2.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
var jquery-112 = $.noConflict(true);
&lt;/script&gt;

&lt;script type=&quot;text/javascript&quot; src=&quot;http://example.com/jquery-1.1.3.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
var jquery-113 = $.noConflict(true);
&lt;/script&gt;</pre>
<h3>9. How do you disable or enable a form element using Jquery?</h3>
<p>Let we have an input box with id txtName. Two more buttons are there btnEnable &amp; btnDisable. On click of enable button I want to enable the input box &amp; on click of disable button I want to disable the input control. Look at the example below.</p>
<pre class="brush: jscript; title: ; notranslate">$('#btnEnable').click(function() {
$('#txtName').attr('disabled', false);
});

$('#btnDisable').click(function() {
$('#txtName').attr('disabled', true);
});</pre>
<h3>10. How to Change href attribute of an anchor tag using JQuery?</h3>
<p>JQuery provides attr() method to change control attributes. Let us assume we have a button control with id &#8220;btn1&#8221;. On this button click we want to assign link to a anchor tag named &#8220;link1&#8221;.</p>
<pre class="brush: jscript; title: ; notranslate">$('#btn1').click(function() {
$('#link1').attr('href','http://google.com');
});</pre>
<h3>11. How to Valid an email using JQuery?</h3>
<p>To valid email id using JQuery create a separate function ValidEmail(). Pass the email id as a parameter. Using Regex we can valid the email id. Example shown below.</p>
<pre class="brush: jscript; title: ; notranslate">function ValidEmail(EmailID) {
var filter = /^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/;
if (filter.test(EmailID)) {
return true;
}
else {
return false;
}
}</pre>
<h3>12. What is JQuery Selector? Explain me with Example.</h3>
<p>JQuery selectors used to select group of HTML elements. Additionally JQuery supports CSS &amp; ID Selector. JQuery Selector always starts with a dollar sign &amp; parentheses. In case of we want to select all the div&#8217;s using Jquery Selector. The Syntax is as follows.</p>
<pre class="brush: jscript; title: ; notranslate">$(div)</pre>
<p>Using CSS selector in JQuery we can select a control from its CSS class name. Let us we have a div with class &#8220;StyleDiv&#8221;. CSS Selector in JQuery uses dot with the class name to select the element. It can be selected using the following CSS selector.</p>
<pre class="brush: jscript; title: ; notranslate">$('.StyleDiv')</pre>
<p>About ID Selector in JQuery we can select a control which have an ID. Let us we have a div with ID &#8220;MasterDiv&#8221;. ID selector is the most fastest JQuery selector compare to other selectors. It can be used using the following Syntax. # is the key to select a control using ID.</p>
<pre class="brush: jscript; title: ; notranslate">$('#MasterDiv')</pre>
<h3>13. Explain the animate function in JQuery.</h3>
<p>The animate() function in jQuery is a robust tool for creating dynamic, engaging web animations with minimal effort. By understanding its parameters, leveraging callbacks, and following best practices, developers can enhance user experience while maintaining clean, efficient code. Whether animating simple movements or complex sequences, jQuery’s `animate()` function remains an indispensable asset in modern web development. In a HTML page for Client side animations JQuery provides animate function. Animate function accepts 4 parameters. Syntax of Animate function is as below.</p>
<pre class="brush: jscript; title: ; notranslate">$(selector).animate({params}, [duration], [easing], [callback])</pre>
<p>Param defines CSS property on which we want animation. Using Duration we can set how long our animation will run. Easing is the controller to transition. Callback is the function which you can run just after the animation completed.</p>
<h3>14. What is jQuery.holdReady() function?</h3>
<p>Using jQuery.holdReady() function we can hold or release the execution of jQuery ready event in a HTML page. Jquery holdReady function accepts boolean parameters. To hold the execution we can write the following syntax.</p>
<p>When we want to release the ready event we need to set holdReady to false as shown below.</p>
<p>[code lang=&quot;jjQuery.holdReady(false);</p>
<h3>15. What is JQuery Ajax method?</h3>
<p>JQuery Ajax method perform an asynchronous HTTP request. It accepts 2 parameters. URL &amp; the settings as shown as below.</p>
<pre class="brush: plain; title: ; notranslate">)</pre>
<p>Using JQuery Ajax method we can retrieve the DOM object value. Let us have a page demo.html. What we want is to extract the DOM object body contexts. After retrieve contexts we want to disable to the button control. Look at the example shown below.</p>
<pre class="brush: jscript; title: ; notranslate">$.ajax({
url: &quot;demo.html&quot;,
context: document.body
}).done(function() {
$( this ).addClass( &quot;class-disable&quot; );
});</pre>
<h3>16. How animate method works in JQuery?</h3>
<p>To made 2D animations easy, JQuery introduced animate method. It accepts 3 parameters. First one is the params. Using params we provides CSS to the future animation. Speed is the second parameter, which decides the speed of animation frames duration. Last parameter is Callback. It is a function which executes just after the animation completed. Let you see an example below.</p>
<pre class="brush: jscript; title: ; notranslate">$(&quot;btnAni&quot;).click(function(){
$(&quot;div&quot;).animate({
left:'350px',
opacity:'0.6',
height:'250px',
width:'180px'
});
});</pre>
<h3>17. Can we use two versions of JQuery in the same HTML page?</h3>
<p>Yes. We can use multiple versions of JQuery in a same HTML page. To do so JQuery provides noConflict method. Lets take an example. In below code I have 2 versions of JQuery. JQuery-1.1.2 &amp; JQuery-1.2.3.</p>
<pre class="brush: xml; title: ; notranslate">&lt;!-- Referring jQuery 1.2.3 Version --&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;jquery-1.2.3.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
var jQuery_3 = $.noConflict(true);
&lt;/script&gt;

&lt;!-- Referring jQuery 1.1.2 Version --&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;jquery-1.1.2.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
var jQuery_2 = $.noConflict(true);
&lt;/script&gt;</pre>
<p>To use JQuery 1.2.3 we can call JQuery_3 in place of $ sign. For JQuery 1.1.2 we can replace $ sign with JQuery_2.</p>
<h3>18. What is the difference between attr &amp; prop in JQuery?</h3>
<p>In case we are changing the attribute of a control using jquery we use attr. For an example on a button click I want to update an anchor tag hyperlink. Look at the code below.</p>
<pre class="brush: jscript; title: ; notranslate">$('#btnclick').click(function() {
$('#myanch').attr('href','http://google.com');
});</pre>
<p>To get the value &amp; property we use prop method in jquery. Let you have a checkbox &amp; you want to know its state. Checked or un-checked. In this case we use prop. Look at the code below.</p>
<pre class="brush: jscript; title: ; notranslate">$('#btnclick').click(function() {
$('#mycheckbox').prop('checked');
});</pre>
<p>To remove property we use removeProp in JQuery.</p>
<h3>19. What is minify version of Jquery?</h3>
<p>Minified version of JQuery is nothing but the same copy of Jquery library file but it is in compressed form. The extension of minify version is comes with .min.js. Minified version provides more performance then the normal one. In the cause many web development farms prefer to use minify version in there production server. To convert your JavaScript file for minify version there are many online providers. You can find then using Google search.</p>
<h3>20. How to load Jquery from Local if CDN link fails?</h3>
<p>In a web application to refer Jquery library many of us follow CDN link pattern. But for more safty approach it is better to provide both the options to access library file. In the below script I refered Jquery-1.10.2.js using CDN link as well I am checking if this fails then I am fetching the same library file from my server scripts folder.</p>
<pre class="brush: xml; title: ; notranslate">&lt;script type=&quot;text/javascript&quot; src=&quot;http://code.jquery.com/jquery-1.10.2.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
if (typeof jQuery == 'undefined')
{
document.write(unescape(&quot;%3Cscript src='scripts/jquery-1.10.2.js' type='text/javascript'%3E%3C/script%3E&quot;));
}
&lt;/script&gt;</pre>
<h3>21. What is the use of JQuery $.extend method?</h3>
<p>Using JQuery $.extend method we can merge the contents of two or more objects into the first object. The syntax is as follow.</p>
<pre class="brush: jscript; title: ; notranslate">var obj-0 = $.extend({}, obj-1, obj-2);</pre>
<p>Let&#8217;s we have two array&#8217;s arr-i &amp; arr-j. During development what I need is I want to merge arr-j values to arr-i. In this case jquery extend method helps.</p>
<pre class="brush: jscript; title: ; notranslate">$.extend( arr-i, arr-j );</pre>
<p>But this is not recursive. To merge two objects recursively we need to pass the first parameter value true to extend method. As shown in below.</p>
<pre class="brush: jscript; title: ; notranslate">$.extend( true, arr-i, arr-j );</pre>
<h3>22. What is JQuery $.map method?</h3>
<p>The jQuery `$.map()` method is a powerful utility function designed to transform arrays or array-like objects by applying a callback function to each element. It simplifies data manipulation tasks, allowing developers to process collections efficiently without writing extensive loops. This method is particularly useful when working with dynamic data, such as API responses or DOM elements, where transformations are frequently required.</p>
<p><strong>How $.map() Works</strong></p>
<p>The `$.map()` method accepts two primary arguments:</p>
<p>1. <strong>The input array or object</strong> – This can be a standard JavaScript array, a jQuery object, or any array-like structure.<br />
2. <strong>A callback function</strong> – This function processes each element and returns a modified value.</p>
<p>The syntax is as follows:</p>
<pre class="brush: jscript; title: ; notranslate">javascript $.map(array, callback(element, index))</pre>
<p>The callback function receives two parameters: &#8211; `element` – The current item being processed. &#8211; `index` (optional) – The index of the current element.</p>
<p>The method returns a new array containing the transformed values, leaving the original array unchanged.</p>
<p>Jquery map method is used to translate items of an Array or object to new array of items. Let&#8217;s take an example.</p>
<pre class="brush: jscript; title: ; notranslate">var tempArray = { &quot;name&quot;:&quot;biswabhusan&quot;, &quot;age&quot;:32, &quot;designation&quot;:&quot;UI lead&quot; };
var realArray = $.makeArray( tempArray )
$.map( realArray, function( val, i ) {
// Do something
});</pre>
<h3>23. Can I have multiple Jquery document.ready() method in a html page?</h3>
<p>Yes. We can declare any number of document.ready() method in a same HTML page.</p>
<h3>24. What is the difference between document.ready() &amp; body onLoad() method?</h3>
<p>Document.ready() is a Jquery method. During page loading it executes just after DOM (Document Object Model) elements are loaded. Where HTML body onLoad() method loads after everything get loaded from a HTML document body. It includes DOM, images &amp; related resources.</p>
<p>In a HTML document we can have one &amp; only one body onLoad() method. While we can use multiple document.ready() methods as required.</p>
<h3>25. What is the key differences between $.map() and JavaScript’s Array.map()?</h3>
<p>While both `$.map()` and JavaScript’s native `Array.map()` perform similar operations, there are notable differences:</p>
<p><strong>Handling Non-Array Objects</strong> – `$.map()` can process array-like objects (such as jQuery collections), whereas `Array.map()` strictly requires an array. </p>
<p><strong>Null and Undefined Values</strong> – `$.map()` automatically excludes `null` or `undefined` values from the result unless explicitly returned. </p>
<p><strong>Return Behavior</strong> – If the callback returns an array, `$.map()` flattens it into the resulting array, whereas `Array.map()` preserves nested arrays.</p>
<h2>Conclusion</h2>
<p>jQuery remains a powerful tool for web development, especially for DOM manipulation and AJAX operations. Mastering these interview questions will help you demonstrate proficiency in jQuery and enhance your chances of landing a job. Whether you&#8217;re a beginner or an experienced developer, understanding these concepts ensures you can efficiently work with jQuery in real-world applications.</p>
<p>Do you like the above Story related to Jquery Interview Questions? Share us.</p>
<p>The post <a href="https://jharaphula.com/top-jquery-interview-questions-with-answers/">25 Jquery Interview Questions and Answers for Experienced or Freshers</a> appeared first on <a href="https://jharaphula.com">OneStop Shop</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://jharaphula.com/top-jquery-interview-questions-with-answers/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			<media:content url="https://jharaphula.com/wp-content/uploads/2016/05/jQuery-Interview-Questions-and-Answers.png" medium="image" />
	</item>
		<item>
		<title>Advanced JavaScript Interview Questions and Answers</title>
		<link>https://jharaphula.com/advanced-javascript-interview-questions-answers/</link>
					<comments>https://jharaphula.com/advanced-javascript-interview-questions-answers/#comments</comments>
		
		<dc:creator><![CDATA[Nibedita Panda]]></dc:creator>
		<pubDate>Tue, 10 May 2016 17:16:12 +0000</pubDate>
				<category><![CDATA[Top Interview Questions]]></category>
		<category><![CDATA[Global Scope Variable]]></category>
		<category><![CDATA[JavaScript Developers]]></category>
		<category><![CDATA[JavaScript Interview Questions]]></category>
		<category><![CDATA[What is Closures?]]></category>
		<guid isPermaLink="false">http://box.jharaphula.com/?p=189</guid>

					<description><![CDATA[<img width="300" height="200" src="https://jharaphula.com/wp-content/uploads/2016/05/js-interview-qus-300x200.jpg" class="webfeedsFeaturedVisual wp-post-image" alt="Advanced JavaScript Interview Questions and Answers" style="display: block; margin-bottom: 10px; clear: both; max-width: 100%;" decoding="async" loading="lazy" srcset="https://jharaphula.com/wp-content/uploads/2016/05/js-interview-qus-300x200.jpg 300w, https://jharaphula.com/wp-content/uploads/2016/05/js-interview-qus-182x120.jpg 182w, https://jharaphula.com/wp-content/uploads/2016/05/js-interview-qus-106x70.jpg 106w, https://jharaphula.com/wp-content/uploads/2016/05/js-interview-qus.jpg 610w" sizes="auto, (max-width: 300px) 100vw, 300px" /><p>Today there are plenty of vacancies for JavaScript developers. If you are one among them who is searching a job for JavaScript, I can suggest...</p>
<p>The post <a href="https://jharaphula.com/advanced-javascript-interview-questions-answers/">Advanced JavaScript Interview Questions and Answers</a> appeared first on <a href="https://jharaphula.com">OneStop Shop</a>.</p>
]]></description>
										<content:encoded><![CDATA[<img width="300" height="200" src="https://jharaphula.com/wp-content/uploads/2016/05/js-interview-qus-300x200.jpg" class="webfeedsFeaturedVisual wp-post-image" alt="Advanced JavaScript Interview Questions and Answers" style="display: block; margin-bottom: 10px; clear: both; max-width: 100%;" decoding="async" loading="lazy" srcset="https://jharaphula.com/wp-content/uploads/2016/05/js-interview-qus-300x200.jpg 300w, https://jharaphula.com/wp-content/uploads/2016/05/js-interview-qus-182x120.jpg 182w, https://jharaphula.com/wp-content/uploads/2016/05/js-interview-qus-106x70.jpg 106w, https://jharaphula.com/wp-content/uploads/2016/05/js-interview-qus.jpg 610w" sizes="auto, (max-width: 300px) 100vw, 300px" /><p>Today there are plenty of vacancies for JavaScript developers. If you are one among them who is searching a job for JavaScript, I can suggest you to take a look at the below JavaScript <a href="https://jharaphula.com/category/career-job-seekers/top-interview-questions/" target="_blank" rel="noopener noreferrer">interview Questions and Answers</a>. Hope this will help you in your Interview.</p>
<p>Years back JavaScript is one of the famous client-side Scripting language. In web development JavaScript helps to reduce load on server by doing minimal jobs at client end. Lets take an example where and how JavaScript works.</p>
<p>Assume in a web page we have an input field where user need to provide his/her email id for subscription. Before take the user email id into our customers database we need to verify was the user provided a valid email id. Else it is a fake record to our storage. To do this we have many methods in server-side scripting but by checking a valid email id in server it uses server resource as well it increases the load time. Even in real-time a busy user need to wait for server response to verify email validation. Here client-side script takes role. JavaScript compiler resides in Client browser and it can check any email validation with out using server-side scripting. This helps to develop more better performance based web applications.</p>
<h2>1. What are the different data types in JavaScript?</h2>
<p>JavaScript has Dynamic Data types. The different types of Data types JavaScript supports are String, Number, Array, Object, Boolean and Undefined. JavaScript is so smart. Using var only we can create any kind of Data types. Look at the example below.</p>
<pre class="brush: jscript; title: ; notranslate">//String Datatype
var str = “this is a string datatype”;
//Number Datatype
var num = 34;
//Boolean Datatype
var bool = true;
//Array Datatype
var arr = [“rosa”, “rupak”, “rohini”];
//Object Datatype
var obj = { name: “biswabhusan”, age: 33, designation: “Team Leader”};
//Undefiend Datatype
var und;
//Null Datatype
var noval = null;</pre>
<h2>2. How to Create an Object, Properties &amp; Methods using JavaScript?</h2>
<p>JavaScript is a client-side technology. It supports Object Oriented Programming feature. In JavaScript almost everything is an Object. String, Dates, Functions &amp; Array are the example of JavaScript objects. You can create your own object in JavaScript. There are several ways to do this.</p>
<p>In this block I am presenting 2 ways to create object in JavaScript. Let us talk about an employee object. For the below employee object we have the properties like first name, last name, age &amp; designation.</p>
<pre class="brush: jscript; title: ; notranslate">var employee = {
firstName:&quot;John&quot;,
lastName:&quot;Smith&quot;,
age:40,
designation:&quot;Team Lead&quot;
};</pre>
<p>OR</p>
<pre class="brush: jscript; title: ; notranslate">employee = new Object()
employee.firstName = &quot;John&quot;
employee.lastName = &quot;Smith&quot;
employee.age = 50
employee.designation = &quot;Team Lead&quot;</pre>
<p>Now in the above employee object I need to implement a method which will return full name of the employee. Look at the below example.</p>
<pre class="brush: jscript; title: ; notranslate">var employee = {
firstName:&quot;John&quot;,
lastName:&quot;Smith&quot;,
age:40,
designation:&quot;Team Lead&quot;,

getFullName : function() {
alert(employee.firstName + &quot; &quot; + employee.lastName);
}
};</pre>
<p>Here getFullName is the method using which I am extracting full name of an employee. Like the above examples you can create Object, Properties &amp; Methods in JavaScript.</p>
<h2>3. What is closures in JavaScript?</h2>
<p>Before make you clear about closures in JavaScript. Let us discuss the variable scope in JavaScript. Using JavaScript we can declare a variable either local or in global Scope. Variables in local Scope mean we can use this variable inside that function only, where it is declared. In-case of global variables we can use it in any functions. Lets take an example.</p>
<p><strong>Example of Local Scope Variable</strong></p>
<pre class="brush: jscript; title: ; notranslate">function demoFunc() {
//Local variable b
var b = 5;
return b * b;
}</pre>
<p><strong>Example of Global Scope Variable</strong></p>
<pre class="brush: jscript; title: ; notranslate">//Global variable b
var b = 5;
function demoFunc() {
return b * b;
}</pre>
<p>Now to make you understood closures in JavaScript let us discuss one practical programming problem. Suppose you want a use a function increaseCounter() to increase 1 by 1 in each call. In this function what we are doing, we are increasing a global variable by 1 in each of this function call.</p>
<pre class="brush: jscript; title: ; notranslate">var counter = 0;

function increaseCounter() {
counter += 1;
}

increaseCounter();
increaseCounter();</pre>
<p>In this case without the function call also we can update the counter variable as its in Global Scope. If I am making the counter variable to local scope this function will reset the counter in each call. Here JavaScript closures works. See the example below.</p>
<p><strong>Example of using JavaScript closures</strong></p>
<pre class="brush: jscript; title: ; notranslate">var increaseCounter = (function () {
var counter = 0;
return function () {return counter += 1}
})()

increaseCounter();
increaseCounter();</pre>
<h2>4. Is JavaScript is case sensitive?</h2>
<p>Yes, JavaScript is case sensitive. Lets talk about a DOM object getElementById is not same as getelementbyid.</p>
<h2>5. What is the difference between “==” &amp; “===” in JavaScript?</h2>
<p>== &amp; === both are used to Compare equality. Triple equal doing additional checking for variable types. Look at the example below.</p>
<pre class="brush: jscript; title: ; notranslate">var a = 0;
var b = &quot;0&quot;;

if (a==b){
alert('The value of a &amp;amp; b are same.');
}

if (a===b){ } else {
alert('Data type mismatch for a &amp;amp; b.');
}</pre>
<h2>6. How to comment in JavaScript?</h2>
<p>In JavaScript comments can be added using 2 ways. One is Line Comment. This can be done using 2 forward slashes (//). For block commenting use /*&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..*/.</p>
<p><strong>Example of JavaScript Commenting</strong></p>
<pre class="brush: jscript; title: ; notranslate">// This is a Line Comment in JavaScript
var a = 0;
var b = &quot;0&quot;;

/* This is block Comment in JavaScript
if (a==b){
alert('The value of a &amp;amp; b are same.');
}

if (a===b){ } else {
alert('Data type mismatch for a &amp;amp; b.');
}*/</pre>
<h2>7. How to know Checkbox Status using JavaScript?</h2>
<p>Let we have a HTML Checkbox Control in our page with the id “chkTemp”. To check the Status of this check box we can write the following JavaScript.</p>
<pre class="brush: jscript; title: ; notranslate">var ChkStatus = document.getElementById('chkTemp').checked;
document.write(ChkStatus);</pre>
<h2>8. How to Create Array using JavaScript?</h2>
<p>With JavaScript Syntax there are 2 ways to declare an Array. Look at the examples below.</p>
<pre class="brush: jscript; title: ; notranslate">// First way to Declare JavaScript Array
var empName = new Array();
empName[0] = &quot;Rajesh Sukla&quot;;
empName[1] = &quot;Rakesh Srivastab&quot;;
empName[2] = &quot;Ritesh Deshmukh&quot;;

// Second way to Declare JavaScript Array
var empName = new Array(&quot;Rajesh Sukla&quot;, &quot;Rakesh Srivastab&quot;, &quot;Ritesh Deshmukh&quot;);</pre>
<h2>9. What isNaN function does in JavaScript?</h2>
<p>isNaN function does number checking in JavaScript. It returns true if the argument doesn’t seems to be a Number.</p>
<h2>10. How to Change Style or Class of an element using JavaScript?</h2>
<p>Look at the example below here I declared a div with id txtSample. Using Document Object Model here I am extracting the div control by its id. Applying style font-size 20px on div. In the next line of code I am assigning a css class to my div with the name anyclass.</p>
<pre class="brush: jscript; title: ; notranslate">document.getElementById(&quot;txtSample&quot;).style.fontSize = &quot;20px&quot;;
document.getElementById(&quot;txtSample&quot;).className = &quot;anyclass&quot;;</pre>
<h2>11. What is Prototypes in JavaScript?</h2>
<p>Using Prototypes in JavaScript we can define methods to all instance of an object. The method applied to prototypes stored in memory. With each instance of the object we can access it. Lets watch the following example.</p>
<pre class="brush: jscript; title: ; notranslate">function Emp(name, designation){
    this.name = name;
    this.designation = designation;
}
function view(){
    return this.name + &quot; is a &quot; + this.designation + &quot;!&quot;;
}
Emp.prototype.view = view;
var emp1 = new Emp('Biswabhusan', 'Module Lead');
alert(emp1.view());</pre>
<p><span style="color: brown;"><code>//Outputs "Biswabhusan is a Module Lead!"</code></span></p>
<h2>12. Tell me the difference between Undefined &amp; Null?</h2>
<p>When Null returns an object Undefined returns nothing or Undefined. Undefined means that the variable has not been declared or initialized. By declaring null to a variable it contains empty value but it is initialized. Let&#8217;s take an example. In my app I referred the CDN link of Jquery library. If using typeOf I am getting typeOf(jquery) undefined it means CDN link of jquery fails to load. While declaring a variable it&#8217;s wise to initialize the variable with Null value.</p>
<h2>13. Why we use splice() Method in JavaScript?</h2>
<p>Splice() Method is used to manipulate JavaScript array. The syntax is Array.splice(index, how many, item 1,&#8230;..,item N). Here index &amp; how many is required parameters. Where items are optional. Index accepts numbers from which position we want to add or remove array elements. How many says how many number of elements we want remove from the supplied index value. Item 1 to N adds this values after the index position.</p>
<p>To make your understanding clear please find the below example.</p>
<pre class="brush: jscript; title: ; notranslate">/* Inserting one element to the existing array using Splice method */
var fruits = [&quot;A&quot;, &quot;B&quot;, &quot;C&quot;, &quot;D&quot;];
fruits.splice(2, 1, &quot;E&quot;, &quot;F&quot;);</pre>
<p><span style="color: brown;"><code>Output after splice - A, B, E, C, D</code></span></p>
<pre class="brush: jscript; title: ; notranslate">/* Applying only splice method not inserting any elements */
var fruits = [&quot;A&quot;, &quot;B&quot;, &quot;C&quot;, &quot;D&quot;];
fruits.splice(2, 2);</pre>
<p><span style="color: brown;"><code>Output after splice - A, B</code></span></p>
<p>The post <a href="https://jharaphula.com/advanced-javascript-interview-questions-answers/">Advanced JavaScript Interview Questions and Answers</a> appeared first on <a href="https://jharaphula.com">OneStop Shop</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://jharaphula.com/advanced-javascript-interview-questions-answers/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			<media:content url="https://jharaphula.com/wp-content/uploads/2016/05/js-interview-qus.jpg" medium="image" />
	</item>
		<item>
		<title>Frequently asked advanced CSS3 Interview Questions and Answers</title>
		<link>https://jharaphula.com/advanced-css3-interview-questions-answers/</link>
					<comments>https://jharaphula.com/advanced-css3-interview-questions-answers/#respond</comments>
		
		<dc:creator><![CDATA[Nibedita Panda]]></dc:creator>
		<pubDate>Tue, 10 May 2016 17:14:09 +0000</pubDate>
				<category><![CDATA[Top Interview Questions]]></category>
		<category><![CDATA[Advanced CSS3]]></category>
		<category><![CDATA[CSS Pseudo-Class]]></category>
		<category><![CDATA[CSS3 Interview Questions]]></category>
		<category><![CDATA[Selector in CSS3]]></category>
		<guid isPermaLink="false">http://box.jharaphula.com/?p=187</guid>

					<description><![CDATA[<img width="300" height="200" src="https://jharaphula.com/wp-content/uploads/2016/05/CSS3-Interview-Questions-and-Answers-300x200.jpg" class="webfeedsFeaturedVisual wp-post-image" alt="Advanced CSS3 Interview Questions and Answers" style="display: block; margin-bottom: 10px; clear: both; max-width: 100%;" decoding="async" loading="lazy" srcset="https://jharaphula.com/wp-content/uploads/2016/05/CSS3-Interview-Questions-and-Answers-300x200.jpg 300w, https://jharaphula.com/wp-content/uploads/2016/05/CSS3-Interview-Questions-and-Answers-182x120.jpg 182w, https://jharaphula.com/wp-content/uploads/2016/05/CSS3-Interview-Questions-and-Answers-106x70.jpg 106w, https://jharaphula.com/wp-content/uploads/2016/05/CSS3-Interview-Questions-and-Answers.jpg 610w" sizes="auto, (max-width: 300px) 100vw, 300px" /><p>In Web Development CSS plays a great role to apply Styles. Using CSS we can Centralize Styles for a Web app. For an example if...</p>
<p>The post <a href="https://jharaphula.com/advanced-css3-interview-questions-answers/">Frequently asked advanced CSS3 Interview Questions and Answers</a> appeared first on <a href="https://jharaphula.com">OneStop Shop</a>.</p>
]]></description>
										<content:encoded><![CDATA[<img width="300" height="200" src="https://jharaphula.com/wp-content/uploads/2016/05/CSS3-Interview-Questions-and-Answers-300x200.jpg" class="webfeedsFeaturedVisual wp-post-image" alt="Advanced CSS3 Interview Questions and Answers" style="display: block; margin-bottom: 10px; clear: both; max-width: 100%;" decoding="async" loading="lazy" srcset="https://jharaphula.com/wp-content/uploads/2016/05/CSS3-Interview-Questions-and-Answers-300x200.jpg 300w, https://jharaphula.com/wp-content/uploads/2016/05/CSS3-Interview-Questions-and-Answers-182x120.jpg 182w, https://jharaphula.com/wp-content/uploads/2016/05/CSS3-Interview-Questions-and-Answers-106x70.jpg 106w, https://jharaphula.com/wp-content/uploads/2016/05/CSS3-Interview-Questions-and-Answers.jpg 610w" sizes="auto, (max-width: 300px) 100vw, 300px" /><p>In Web Development CSS plays a great role to apply Styles. Using CSS we can Centralize Styles for a Web app. For an example if in a html page you have 10 paragraphs, using CSS3 class we can change all the paragraph style by updating color code in one CSS class. Today there are plenty of vacancies available for UI developers. </p>
<h2>16 Frequently asked CSS3 Interview Questions</h2>
<p>Among the skill sets of a UI professional, CSS3 is one of the major Skill. In this week-end are you planning to attained an <a href="https://jharaphula.com/ui-developer-interview-questions/" target="_blank" rel="noopener noreferrer">interview for UI developer</a>? If so look at our advanced CSS3 interview questions in below. I am sure these questions and answers will help you to hack the interviewer.</p>
<h2>1. What is CSS?</h2>
<p>The full name of CSS is Cascading Style Sheet (CSS). It used to apply Styles in HTML documents. CSS centrally stores the style. It&#8217;s better to keep a CSS file rather then writing CSS classes in the html head with Style tag. In professional web development practice to avoid in-line CSS. The extension of CSS3 file is .css.</p>
<p>CSS is an indispensable tool in web development that empowers developers to create visually appealing, structurally sound, and efficient websites. By following best practices and leveraging the full potential of CSS, one can elevate their web projects to new heights. Whether you’re a seasoned developer or just starting, mastering CSS is crucial for anyone looking to thrive in the realm of web design.</p>
<h2>2. What are the ways to Apply CSS styles in a HTML documents?</h2>
<p>There are 4 different ways to Apply CSS3 in a HTML document. These are In-line CSS, Embedded CSS, Linked CSS &amp; Imported CSS.</p>
<p><strong>Example</strong></p>
<p style="margin-bottom: 0in;"><em>In-line CSS</em> &#8211; <span style="color: brown;"><code>&lt;div style=”font-size: 14px; color: #FF0000;”&gt;This is in Red Color&lt;/p&gt;</code></span></p>
<p style="margin-bottom: 0in;"><em>Embedded CSS</em> &#8211; <span style="color: brown;"><code>&lt;style type=”text/css”&gt;<br />
h2 {<br />
font-size: 14px;<br />
color: #2d2d00;<br />
font-weight: 600;<br />
}<br />
&lt;/style&gt;</code></span></p>
<p style="margin-bottom: 0in;"><em>Linked CSS</em> &#8211; <span style="color: brown;"><code>&lt;link rel=”stylesheet” href=”custom/custom.css” type=”text/css” media=”screen, projection” /&gt;</code></span></p>
<p style="margin-bottom: 20px;"><em>Imported CSS</em> &#8211; <span style="color: brown;"><code>@import url(‘/css/color.css’);</code></span></p>
<h2>3. What is the difference between an ID &amp; CLASS selector in CSS3?</h2>
<p>Using ID selector we can apply style to a specific element while using class we can apply the same style to many.</p>
<p>The ID selector is used to style a single HTML element by its unique identifier. In the markup, this identifier is assigned using the `id` attribute. IDs must be unique within a webpage; therefore, only one element can possess a specific ID at any given time. This uniqueness makes the ID selector particularly useful when you want to apply a specific style to a single component.</p>
<p>On the other hand, the CLASS selector is more flexible and can be used to style multiple elements simultaneously. The class can be applied to any number of HTML elements, and it allows for a shared style across these elements. To define a class, you simply use the `class` attribute in your HTML elements.</p>
<h2>4. What is Grouping in CSS3?</h2>
<p>About CSS3 Grouping let us discuss an example to make you more clear on this. Some time in our page we have h1, h2, h3 .. h5, h6 tags. If I want to apply font color red to all this tags. Here grouping comes. Grouping selectors in CSS3 enables designers to write cleaner code by combining multiple selectors that share the same styles. Instead of writing repetitive rules for each selector, grouping allows us to consolidate these rules into a single declaration. This method not only improves readability but also enhances maintainability, which is crucial as applications grow more complex.</p>
<p>Grouping is particularly beneficial in cases where multiple tags share similar styling. Imagine if you later decide to change the color of all headings from red to blue. With the grouped selector approach, you only have to change one rule, as opposed to updating each individual selector, which drastically reduces the risk of errors.</p>
<p>Let you watch the below example. It will clear your understanding.</p>
<pre class="brush: css; title: ; notranslate">h1, h2, h3 {color: red;}</pre>
<h2>5. What are Child Selectors in CSS?</h2>
<p>In CSS3 Child Selector used to to apply styles upon the child elements of a parent elements. Using child selectors can help maintain the integrity of your styles. By applying styles specifically to child elements, you avoid unintended consequences on other elements that may have similar classes or tags but are not direct children. This selective styling makes your CSS more efficient and prevents style conflicts, especially in complex layouts.</p>
<p>Additionally, child selectors enhance performance as the browser has to do less work in matching elements. This can be particularly important on pages with a large DOM.</p>
<p>Lets for an example I have a ul tag inside a paragraph. Here ul is the child element of paragraph. To apply CSS styles we can use the following CSS3 syntax.</p>
<pre class="brush: css; title: ; notranslate">p &gt; ul { font-size:20px; }</pre>
<h2>6. Give some examples of CSS Pseudo-Class.</h2>
<p>Using CSS pseudo Class we can add special effects to some Selectors.</p>
<p>Example of Anchor Pseudo Class</p>
<pre class="brush: css; title: ; notranslate">/* style for unvisited link */
a:link { color: #FF0000; font-size:12px; }

/* style for visited link */
a:visited { color: #00FF00; font-size:14px; }

/* on mouse over link */
a:hover { color: #FF00FF; font-size:16px; }

/* selected link */
a:active { color: #0000FF; font-size:12px; }</pre>
<p>Example of First Child Pseudo Class</p>
<pre class="brush: css; title: ; notranslate">p:first-child { color: #0000FF; }</pre>
<h2>7. What is the use of CSS3 sprites?</h2>
<p>In a web page we are using many images to decorate. All these image takes time to load individually. This old fashion of image loading increases http request to server. It hampers the <a href="https://jharaphula.com/best-practices-website-speed-performance/" target="_blank" rel="noopener noreferrer">performance of web page</a>. To resolve this CSS3 comes with sprites. It helps to keep many images in a single file. Due this it decreases the http request to the server. Gives better performance and taking less server time.</p>
<p>Not only does using CSS3 sprites cut down on load times, but it can also lead to better performance on mobile devices and slower networks. As mobile internet speeds vary considerably, optimizing web assets can make a crucial difference in accessibility.</p>
<p>Although managing sprites can initially seem daunting, it simplifies asset management over time. Instead of tracking multiple images, developers can work with just one file. When an update is needed, such as changing an icon or image, developers can modify the sprite and then update the CSS to point to the new positions of the images.</p>
<h2>8. Tell me some New features in CSS3.</h2>
<p>CSS3 is the 3rd revision of CSS. Compare to CSS2 CSS3 introduced the following new features.</p>
<p><em>Calculating value with calc()</em></p>
<p>In CSS2 to set dynamic width we use JavaScript or Jquery. This problem is resolved in CSS3. CSS3 introduced calc() function. For an example if you want to set a div (#container) with 100px less then the 100% width then you can do the following using CSS3 calc method.</p>
<pre class="brush: css; title: ; notranslate">#container {
/* Calculate the width Dynamically */
width: calc(100% - 100px);
margin: 0 auto;
}</pre>
<p><em>Web-fonts</em></p>
<p>In the early age of programming we have some limited fonts. To add a new font we need to download the respective font file (*.ttf) &amp; need to copy that file into fonts directory. CSS3 web-fonts with Google fonts resolve this problem in the way of web development. Today fonts are not only displaying Alphabets or Numbers it is also taking care of icons. Let&#8217;s talk about the popular web-font &#8220;Font-Awesome&#8221;. It comes with scalar vector icons.</p>
<p>CSS3 by implementing @font-face make font integration much more easier then the classical web designing. After applying @font-face we can use font or font-family to integrate the web-fonts in our application. Look at the example below.</p>
<pre class="brush: css; title: ; notranslate">@font-face {
font-family: 'demo-web-fonts';
src: url('https://www.example.com/fonts/demofont.woff') format('woff'), 
/* Compatible for Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
url('https://www.example.com/fonts/demofont.ttf') format('truetype');
/* Compatible for Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */
}</pre>
<p>then we can refer this web-fonts using the following syntax.</p>
<pre class="brush: css; title: ; notranslate">body {
font-family: 'demo-web-fonts', Fallback, sans-serif;
}</pre>
<p><em><a href="https://jharaphula.com/move-div-left-right-using-css3-animation/" target="_blank" rel="noopener noreferrer">CSS3 Animation</a></em></p>
<p><em>CSS3 Selectors</em></p>
<p>In addition to CSS2, CSS3 introduced some new Selectors. Using these selectors you can choose DOM elements based on their attributes. So you don&#8217;t need to specify classes &amp; id for each elements.</p>
<p><em>CSS3 Rounded Corner</em></p>
<p>In the old age its difficult to round the corner of a div or paragraph. This problem is addressed by CSS3. Using border-radius property we can easily round the corner of HTML elements.</p>
<p><em>Border Image</em></p>
<p>Using border-image feature in CSS3 you can display custom image to border. To show you an example in below I applied border-image to a paragraph element. This paragraph is width of 300px. Text added in paragraph is center aligned. To apply border-image first I applied border with 20px height &amp; background transparent. In border image I referred an demo image.</p>
<pre class="brush: css; title: ; notranslate">p {
text-align: center;
padding: 15px;
width: 300px;
margin: 0 auto;
border: 20px solid transparent;
border-image: url(https://example.com/img/border-image.png) 20 20 round;
}</pre>
<p><em>CSS3 Box Shadow</em></p>
<p>Using box shadow you can create a drop shadow for a HTML elements. In CSS3 using the property box-shadow this can be achieved by writing a single line of CSS code.</p>
<p><em>CSS3 Text Shadow</em></p>
<p>In the old age of web its quite difficult to add Text Shadow over a web page text. In CSS3 it is done using text-shadow property. Using a single line of code we can achieve with a text label.</p>
<h2>9. What is the Syntax of Opacity in CSS3?</h2>
<pre class="brush: css; title: ; notranslate">style=&quot;opacity:0.4; filter:alpha(opacity=40)&quot;</pre>
<p>Firefox uses the property opacity:x for transparency, while IE uses filter:alpha(opacity=x).</p>
<h2>10. What is z-index &amp; How to use it in Advanced CSS3?</h2>
<p>The z-index property specifies the stack order of an element. Using z-index we can bring an element with greater stack order is always in front of an element with a lower stack order. </p>
<p>In complex layouts with multiple overlapping elements, it’s crucial to create a clear hierarchy of `z-index` values. By strategically assigning values, you can manage which elements appear in front without confusion. For example, a modal dialog box should have a higher `z-index` than the page content to ensure it stands out. When using CSS animations, pay attention to `z-index` transitions. Dynamically changing a component&#8217;s `z-index` during animations can create an engaging effect. However, ensure that the animations don’t cause unexpected stacking conflicts.</p>
<p>Example shown below.</p>
<pre class="brush: xml; title: ; notranslate">&lt;head&gt;
&lt;style&gt;
img
{
position:absolute;
left:0px;
top:0px;
z-index:-1;
}
&lt;/style&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;h3&gt;Heading&lt;/h3&gt;
&lt;img src=”jharaphula.gif” width=”400″ height=”400″ /&gt;
&lt;div&gt;Because the image has a z-index of -1, it will be placed behind the text.&lt;/div&gt;
&lt;/body&gt;</pre>
<h2>11. How to set border radius of a div for IE, FF &amp; Chrome using CSS3?</h2>
<p>CSS3 provides a new attribute border-radius to set round corner border. This works on IE. For Firefox &amp; Chrome there are CSS hacks. In Firefox we have to use -moz-border-radius &amp; in case of Chrome -webkit-border-radius. Look at the following CSS class.</p>
<pre class="brush: css; title: ; notranslate">.divBorderRadius
{
border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px;
}</pre>
<h2>12. What is clearfix hack in CSS?</h2>
<p>When we apply float in elements locate inside a container that element doesn&#8217;t automatically force to adjust height. Once you declared float means it no longer available under a parent element. We can have 2 CSS hacks to fix this.</p>
<p>Before diving into the clearfix hack, it’s essential to understand what happens when we apply the float property to an element. When you float an element to the left or right, it is taken out of the normal document flow. This means that other elements do not adjust their position relative to the floated element. Consequently, the parent container that wraps the floated child may not recognize its height as those floated elements extend beyond its bounds.</p>
<p><span style="color: brown;"><code>clear:both;<br />
clearfix</code></span></p>
<p><strong>Example of clearfix class</strong></p>
<pre class="brush: css; title: ; notranslate">.clearfix {
display: inline-block;
}</pre>
<pre class="brush: css; title: ; notranslate">.clearfix:after {
content: &quot;.&quot;;
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0;
}</pre>
<p>For alignment problems clearfix is a very useful hack in CSS.</p>
<h2>13. What is Advanced CSS3 media queries?</h2>
<p>In the way of responsive designing media queries act like a filter to CSS Styles. Using Media Queries we can change styles based on various Resolution &amp; Devices. While declaring CSS with link tab media keyword helps to declare the type of media. Using media we can set min-width, max-width, min-height, max-height, orientation=portrait &amp; orientation=landscape like attributes. Example of media queries are</p>
<p><em>Syntax to implement media query:</em></p>
<pre class="brush: css; title: ; notranslate">@media not|only mediatype and (media feature) {
//Your CSS Code Goes here...
}</pre>
<pre class="brush: xml; title: ; notranslate">&lt;link rel=&quot;stylesheet&quot; media=&quot;mediatype and|not|only (media feature)&quot; href=&quot;media-related.css&quot; /&gt;</pre>
<p><em>Example of media query:</em></p>
<pre class="brush: css; title: ; notranslate">@media screen and (max-width: 600px) {
body {
background-color: #CCCCCC;
}
}</pre>
<pre class="brush: xml; title: ; notranslate">&lt;link rel=&quot;stylesheet&quot; media=&quot;(max-width: 840px)&quot; href=&quot;max-840px.css&quot;&gt;
&lt;link rel=&quot;stylesheet&quot; media=&quot;(min-width: 840px)&quot; href=&quot;min-840px.css&quot;&gt;
&lt;link rel=&quot;stylesheet&quot; media=&quot;(orientation: portrait)&quot; href=&quot;portraitStyle.css&quot;&gt;
&lt;link rel=&quot;stylesheet&quot; media=&quot;(orientation: landscape)&quot; href=&quot;landscapeStyle.css&quot;&gt;</pre>
<p>Advanced CSS3 media queries are an essential tool in the designer’s toolkit, enabling developers to create responsive layouts that adapt to the user’s device and preferences. By leveraging conditional styling based on various media features, designers can enhance usability and aesthetics, ultimately leading to a better overall experience for users. As web technology evolves, mastering media queries will continue to be a vital skill for anyone involved in web design and development. Whether you&#8217;re a seasoned developer or just starting, understanding how to effectively use media queries is crucial in today’s multi-device world.</p>
<h2>14. What are the major CSS3 properties?</h2>
<p>While designing a HTML page the major CSS properties we used are Background, Font, Text, Outline, Border, Margin, Padding, List, Table &amp; Width.</p>
<p>The background property in CSS3 is incredibly versatile and allows designers to set the background color, image, and position of elements. The `background` shorthand property combines several background properties into one, including `background-color`, `background-image`, `background-repeat`, and `background-position`. This property ensures that the background complements the overall aesthetic of the webpage and enhances readability.</p>
<p>Font properties are crucial in determining how text appears on your webpage. CSS3 allows you to specify font family, size, weight, style, and line height. The `@font-face` rule also provides the ability to load custom fonts. This flexibility in typography ensures that the text matches the tone and character of the website, making it more engaging for users.</p>
<p>The outline property is a powerful tool for creating visual guidance around elements without affecting their layout. It is similar to borders but does not take up space. It can be styled with various attributes such as color, style, and width. This property is especially useful for accessibility, as it can help highlight selected elements or provide focus indicators.</p>
<h2>15. What is the difference between Fixed Width Layouts &amp; Liquid Layouts?</h2>
<p>While designing a website if we fixed the web page width to a specific numerical value this is called Fixed width Layout. Fixed layout web pages are regardless about the client browser width.</p>
<p>Liquid layout is flexible depending upon the client browser. It is not a fixed width. Depending upon the client browser the web page will adjust automatically. Liquid layouts are always use percentage to adjust width. You can also say responsive UI designing is nothing but the advanced level of Liquid layout. Liquid layouts are more professional approach to web designing compare to fixed layout web pages.</p>
<h2>16. Explain me the CSS Box Model.</h2>
<p>The CSS3 box model is the rectangular area around the HTML elements. CSS3 Box Model consist of 4 different parts. Margin, Border, Padding &amp; Content. Margin, Border &amp; Padding can be declared using the following CSS3 syntax.</p>
<pre class="brush: css; title: ; notranslate">padding: 10px;
border: 5px solid gray;
margin: 0px;</pre>
<p><strong>Content Area</strong></p>
<p>The innermost part of the box represents the actual content of the element—this includes text, images, or other types of media. The size of this area can be defined using properties like `width` and `height`. By controlling these dimensions, developers can ensure that their content is presented clearly and effectively on the webpage.</p>
<p><strong>Padding</strong></p>
<p>Surrounding the content area is the padding, which creates space between the content and the border of the box. Padding is transparent and can be customized for each side of the box (top, right, bottom, and left) using properties such as `padding-top`, `padding-right`, `padding-bottom`, and `padding-left`. A well-sized padding can enhance the readability of the content by providing breathing room, preventing text or images from appearing cramped against the borders.</p>
<p><strong>Border</strong></p>
<p>The border wraps around the padding (if any) and the content. It serves as a visual cue to clearly delineate the element from others. Borders can be styled in various ways—solid, dashed, dotted, and with different thicknesses and colors, using properties like `border-width`, `border-style`, and `border-color`. An appropriately styled border can add significant aesthetic appeal to a webpage.</p>
<p><strong>Margin</strong></p>
<p>Finally, the outermost layer is the margin, which is the space outside of the border. Margins are also transparent and can help separate elements from each other, thus contributing to overall layout organization. Similar to padding, margins can be defined for each side using `margin-top`, `margin-right`, `margin-bottom`, and `margin-left`. Setting proper margins is crucial for managing the spacing between elements and creating a balanced design.</p>
<p>Using <a href="https://jharaphula.com/brief-about-css-box-model/" target="_blank" rel="noopener noreferrer">CSS3 box model</a> it helps to align the HTML elements.</p>
<h2>17. What are CSS Variables, and how do they improve code maintainability?</h2>
<p>CSS Variables, also known as Custom Properties, allow developers to define reusable values in stylesheets. They are declared using `&#8211;variable-name` and accessed via `var(&#8211;variable-name)`.</p>
<h2>Conclusion</h2>
<p>Mastering advanced CSS3 concepts like Flexbox, Grid, and performance optimization ensures efficient, maintainable stylesheets. Understanding these topics prepares candidates for modern front-end development challenges.</p>
<p>The post <a href="https://jharaphula.com/advanced-css3-interview-questions-answers/">Frequently asked advanced CSS3 Interview Questions and Answers</a> appeared first on <a href="https://jharaphula.com">OneStop Shop</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://jharaphula.com/advanced-css3-interview-questions-answers/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			<media:content url="https://jharaphula.com/wp-content/uploads/2016/05/CSS3-Interview-Questions-and-Answers.jpg" medium="image" />
	</item>
		<item>
		<title>Advanced AngularJS Interview Questions with Answers</title>
		<link>https://jharaphula.com/advanced-angularjs-interview-questions-answers/</link>
					<comments>https://jharaphula.com/advanced-angularjs-interview-questions-answers/#respond</comments>
		
		<dc:creator><![CDATA[Nibedita Panda]]></dc:creator>
		<pubDate>Tue, 10 May 2016 17:11:38 +0000</pubDate>
				<category><![CDATA[Top Interview Questions]]></category>
		<category><![CDATA[Angularjs Interview Questions]]></category>
		<category><![CDATA[Directive in AngularJS]]></category>
		<category><![CDATA[Job in AngularJS]]></category>
		<category><![CDATA[Required Field Validation]]></category>
		<guid isPermaLink="false">http://box.jharaphula.com/?p=184</guid>

					<description><![CDATA[<img width="300" height="191" src="https://jharaphula.com/wp-content/uploads/2016/05/Blog-Handling-Difficult-Interview-300x191.jpg" class="webfeedsFeaturedVisual wp-post-image" alt="Advanced AngularJS Interview Questions with Answers" style="display: block; margin-bottom: 10px; clear: both; max-width: 100%;" decoding="async" loading="lazy" srcset="https://jharaphula.com/wp-content/uploads/2016/05/Blog-Handling-Difficult-Interview-300x191.jpg 300w, https://jharaphula.com/wp-content/uploads/2016/05/Blog-Handling-Difficult-Interview.jpg 750w" sizes="auto, (max-width: 300px) 100vw, 300px" /><p>Many newcomers has a question &#8220;What is AngularJS?&#8221;. In replay I can say AngularJS is a MVC framework to design web applications. It helps to...</p>
<p>The post <a href="https://jharaphula.com/advanced-angularjs-interview-questions-answers/">Advanced AngularJS Interview Questions with Answers</a> appeared first on <a href="https://jharaphula.com">OneStop Shop</a>.</p>
]]></description>
										<content:encoded><![CDATA[<img width="300" height="191" src="https://jharaphula.com/wp-content/uploads/2016/05/Blog-Handling-Difficult-Interview-300x191.jpg" class="webfeedsFeaturedVisual wp-post-image" alt="Advanced AngularJS Interview Questions with Answers" style="display: block; margin-bottom: 10px; clear: both; max-width: 100%;" decoding="async" loading="lazy" srcset="https://jharaphula.com/wp-content/uploads/2016/05/Blog-Handling-Difficult-Interview-300x191.jpg 300w, https://jharaphula.com/wp-content/uploads/2016/05/Blog-Handling-Difficult-Interview.jpg 750w" sizes="auto, (max-width: 300px) 100vw, 300px" /><p>Many newcomers has a question “What is AngularJS?”. In replay I can say AngularJS is a MVC framework to design web applications. It helps to enrich HTML for a great extend. Using AngularJS you can build structural &amp; <a href="https://jharaphula.com/best-practices-website-speed-performance/" target="_blank" rel="noopener noreferrer">high performance based web applications</a>. Directive is one of the most powerful feature in AngularJS. AngularJS comes with many in-built directives. Even you can Create your own. AngularJS is powered by Google. Due this is a newly introduced technology, there are lot of vacancies available for AngularJS developers. Are you one among them who is Seeking a Job in AngularJS. If so, before going to attained interview read our selected Angularjs Interview Questions.</p>
<h3>What are the key features of AngularJS?</h3>
<p>AngularJS is a latest technology introduced by Google. The key features of AngularJS are like Scope, Controller, View, Model, Directives, Validation, Filters, Data Binding, Services &amp; Testable. AngularJS supports MVC &amp; MVVM design pattern. Using AngularJS we can do massively Parallel Development. AngularJS Supports Single Page Applications design.</p>
<h3>Does Angular use the JQuery library?</h3>
<p>Yes. AngularJS is an advanced language. It supports <a href="https://jharaphula.com/top-jquery-interview-questions-with-answers/" target="_blank" rel="noopener noreferrer">JQuery</a> library.</p>
<h3>How to use ng-repeat in AngularJS?</h3>
<p>Ng-repeat is a per-defined directive in AngularJS. Look at the Example below. Here I used ng-repeat to bind data from JavaScript. In sample data I have two fields name &amp; designation. I am showing these records using ng-repeat in a HTML UL element.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;script src=&quot;https://ajax.googleapis.com/ajax/libs/angularjs/1.0.1/angular.min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
var nameDesgApp = angular.module('nameDesgApp', []);
nameDesgApp.controller('NameDesgCrtl', function ($scope) {&lt;/p&gt;
&lt;p&gt;$scope.employes = [
{'name': 'Swatio Rao',
'designation': 'Project Manager'},
{'name': 'Biswabhusan Panda',
'designation': 'Module Lead'},
{'name': 'Kumar Abhishek',
'designation': 'Senior Team Leader'}
];
});
&lt;/script&gt;
&lt;ul&gt;
 	&lt;li ng-repeat=&quot;emp&quot; in=&quot;&quot; employes”=&quot;&quot;&gt;{{emp.name}}{{emp.designation}}&lt;/li&gt;
&lt;/ul&gt;
</pre>
<h3>How to use Filter in AngularJS?</h3>
<p>Filter is like Search in AngularJS. In the following code I have 3 records &amp; a search box. If I am doing search filter keyword help to purify the results according to the Query.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;script src=&quot;https://ajax.googleapis.com/ajax/libs/angularjs/1.0.1/angular.min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
var nameDesgApp = angular.module('nameDesgApp', []);
nameDesgApp.controller('NameDesgCrtl', function ($scope) {
$scope.employes = [
{'name': 'Swatio Rao',
'designation': 'Project Manager'},
{'name': 'Biswabhusan Panda',
'designation': 'Module Lead'},
{'name': 'Kumar Abhishek',
'designation': 'Senior Team Leader'}
];
});
&lt;/script&gt;

Search: &lt;input ng-model=&quot;query&quot;&gt;
&lt;ul class=&quot;phones&quot;&gt;
 	&lt;li ng-repeat=&quot;emp&quot; in=&quot;&quot; employes=&quot;&quot; |=&quot;&quot; filter:query=&quot;&quot;&gt;{{emp.name}}
{{emp.designation}}&lt;/li&gt;
&lt;/ul&gt;
</pre>
<h3>In AngularJS how will you initialize a select box with options on page load?</h3>
<p>Using AngularJS ng-init directive. Look at the example below.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;div ng-app=&quot;&quot; ng-init=&quot;empName='Raghav'&quot;&gt;

Name: &lt;input type=&quot;text&quot; ng-model=&quot;empName&quot;&gt;

You wrote: {{ empName }}

&lt;/div&gt;
</pre>
<h3>What are the advantages of using AngularJS?</h3>
<p>AngularJS is a latest Technology introduced by Google. It has several advantages in web development. AngularJS supports MVC pattern. Using AngularJS we can do 2 ways data binding. AngularJS has per-defined form validations. AngularJS supports both client &amp; server communication. AngularJS supports Animations.</p>
<h3>How to use Controller in AngularJS?</h3>
<p>Controller is a JavaScript constructor function. When Creating an application we need to provide initial value to the $Scope object of a Controller. We can add property to $Scope object. Before to create controller we have to create a module. Look at the example below how I created Controller in AngularJS.</p>
<pre class="brush: jscript; title: ; notranslate">var myApp = angular.module('myApp',[]);

myApp.controller('myController', ['$scope', function($scope) {
$scope.welcome = 'Hello!';
}]);</pre>
<p>The property of a controller we can assign to the DOM object using ng-controller.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;div ng-controller=&quot;myController&quot;&gt;
{{ welcome }}&lt;/div&gt;
</pre>
<h3>What are the form Validations AngularJS provides?</h3>
<p>Client Validations made easy using AngularJS. All input fields can have Required field, Minimum Length, Maximum Length, Matches a Pattern, Email, Number, URL &amp; Custom Validations. Look at the Examples below.</p>
<p><em>Required Field Validation</em></p>
<p>Using Required field validation we can prevent form submission with null value. I mean input fields need to filled by the user. The syntax for required filed validation is as follows.</p>
<pre class="brush: xml; title: ; notranslate">&lt;input type=&quot;text&quot; required=&quot;&quot;&gt;</pre>
<p><em>Minimum &amp; Maximum field Length Validations</em></p>
<p>To prevent the input field from less or excess number of characters we use Minimum &amp; Maximum length validation. The AngularJS directive used for Minimum &amp; Maximum length validations are ng-minlength &amp; ng-maxlength. Look at the example below.</p>
<pre class="brush: xml; title: ; notranslate">&lt;input type=&quot;text&quot; ng-minlength=&quot;5&quot;&gt;
&lt;input type=&quot;text&quot; ng-maxlength=&quot;10&quot;&gt;</pre>
<p><em>Matches Pattern Validation</em></p>
<p>AngularJS provides ng-pattern directive to validate regular expressions. Look at the example below.</p>
<pre class="brush: xml; title: ; notranslate">&lt;input type=&quot;text&quot; ng-pattern=&quot;[a-zA-Z]&quot;&gt;</pre>
<p><em>Email Validation</em></p>
<p>To valid an email id AngularJS provides ng-model directive. Using the following line of code we can validate an email id from any input field.</p>
<pre class="brush: xml; title: ; notranslate">&lt;input type=&quot;email&quot; name=&quot;email&quot; ng-model=&quot;user.email&quot;&gt;</pre>
<p><em>Number Validation</em></p>
<p>To validate an input against Number we can use ng-model directive from AngularJS. Look at the example below.</p>
<pre class="brush: xml; title: ; notranslate">&lt;input type=&quot;number&quot; name=&quot;personage&quot; ng-model=&quot;user.age&quot;&gt;</pre>
<p><em>URL Validation</em></p>
<p>To validate an input field for URL we can use the following syntax in AngularJS.</p>
<pre class="brush: xml; title: ; notranslate">&lt;input type=&quot;url&quot; name=&quot;weblink&quot; ng-model=&quot;user.facebook_url&quot;&gt;</pre>
<h3>How to create Directive using AngularJS?</h3>
<p>Directives are designed to use as markers with DOM elements. Markers can be attribute, element name, comment or CSS class. AngularJS provides many in-built directives. Few of them are ngModel, ngView or ngBind. The naming standard directive follows is camel-case. Much like controllers directives are registered on Module. To register a directive we can use module.directive. The time we create directive by default it restricted to attribute. In order to create directive which will triggered by element or class name we need to use restrict. The options are as follows.</p>
<p>A &#8211; only matches attribute name<br />
E &#8211; only matches element name<br />
C &#8211; only matches class name</p>
<p>These restrictions can be combined as required.</p>
<p>AEC &#8211; it matches either attribute or element or class name</p>
<p>Let us look at the below example <a href="https://jharaphula.com/restrict-option-custom-directive/" target="_blank" rel="noopener noreferrer">how to create a directive using AngularJS</a>.</p>
<pre class="brush: jscript; title: ; notranslate">myAngularApp = angular.module(&quot;myAngularApp&quot;, []);

myAngularApp.directive('div', function() {
var directive = {};

directive.restrict = 'E'; /* using this we restrict this directive to elements */
directive.template = &quot;My first directive: {{ EnterText }}&quot;;

return directive;
});</pre>
<h3>What is 2 way data binding in AngularJS?</h3>
<p>In UI Development to create a template we basically do one way data binding. In case of Angular it is a MVC framework. Internally using one way data binding we merge template &amp; model to display in view. But in 2 way data binding there is a continuous communication in between model &amp; view. Where template is just pointing to the view.</p>
<h3>What is the CDN link for AngularJS?</h3>
<p>CDN is a permanent Global space where from we can access the various versions of library file to use directly in our web applications. For AngularJS you can refer the following CDN link.</p>
<p><span style="color:brown"><code><a href="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-rc.0/angular.min.js" target="_blank" rel="noopener noreferrer nofollow">https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-rc.0/angular.min.js</a></code></span></p>
<h3>How to bind MySQL data to HTML5 using AngularJS?</h3>
<p>In server end create a php file with MySQL query for the required data. Format it in the shape of JSON. Here I did this with the file name Customers_JSON.php.</p>
<p><em>Customers_JSON.php</em></p>
<pre class="brush: jscript; title: ; notranslate">[
{
&quot;Name&quot; : &quot;Raghav Meheta&quot;,
&quot;City&quot; : &quot;Berlin&quot;,
&quot;Country&quot; : &quot;Germany&quot;
},
{
&quot;Name&quot; : &quot;Rakesh Srivastab&quot;,
&quot;City&quot; : &quot;Lulea&quot;,
&quot;Country&quot; : &quot;Sweden&quot;
},
{
&quot;Name&quot; : &quot;Biswabhusan Panda&quot;,
&quot;City&quot; : &quot;Mexico D.F.&quot;,
&quot;Country&quot; : &quot;Mexico&quot;
},
{
&quot;Name&quot; : &quot;Kumar Abhishek&quot;,
&quot;City&quot; : &quot;Graz&quot;,
&quot;Country&quot; : &quot;Austria&quot;
},
{
&quot;Name&quot; : &quot;Raveena Tondon&quot;,
&quot;City&quot; : &quot;Madrid&quot;,
&quot;Country&quot; : &quot;Spain&quot;
}
]</pre>
<p>in App.js create a angular module &amp; controller. Inside the controller use $http.get method to fetch the data from JSON formatted php file. Look at the example below.</p>
<p><em>App.js</em></p>
<pre class="brush: jscript; title: ; notranslate">var myApp = angular.module('myApp', []);

myApp.controller('Controller', function($scope,$http) {
$http.get(&quot;Customers_JSON.php&quot;).success(function(response) {
$scope.names = response;
});
});</pre>
<p>Finally, In your index.html file use ng-repeat over UL element to bind the response data. Sharing the code below.</p>
<p><em>Index.html</em></p>
<pre class="brush: xml; title: ; notranslate">

&lt;title&gt;How to bind MySql data using AngularJS?&lt;/title&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-rc.0/angular.min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;app.js&quot;&gt;&lt;/script&gt;
&lt;div ng-controller=&quot;Controller&quot;&gt;
&lt;ul&gt;
 	&lt;li ng-repeat=&quot;x in names&quot;&gt;
{{ x.Name + ', ' + x.Country }}&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
</pre>
<h3>How to use templateURL in the Directive of AngularJS?</h3>
<p>To implement one line of HTML template is ok for Directive. If we are going to develop a more functional control depending upon HTML for a better professional approach we need to use templateURL. Look at the example below how I used a html page to display in side an AngularJS directive using templateURL.</p>
<p><em>index.html</em></p>
<pre class="brush: xml; title: ; notranslate">

&lt;title&gt;Using templateURL in the Directive of AngularJS&lt;/title&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-rc.0/angular.min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;app.js&quot;&gt;&lt;/script&gt;
&lt;div ng-controller=&quot;templateUrlDemo&quot;&gt;
&lt;div template-url=&quot;&quot;&gt;&lt;/div&gt;
&lt;/div&gt;
</pre>
<p><em>app.js</em></p>
<pre class="brush: jscript; title: ; notranslate">var myApp = angular.module('myApp', []);

myApp.directive('templateUrl', function() {
return {
templateUrl: 'App-Template.htm'
};
});</pre>
<p><em>App-Template.htm</em></p>
<pre class="brush: xml; title: ; notranslate">

This is a sample HTML file.

</pre>
<h3>Is AngularJS supports MVVM with MVC?</h3>
<p>Yes. AngularJS is an Advanced JavaScript framework. It supports both MVVM &amp; MVC design patterns.</p>
<h3>What is routes in AngularJS?</h3>
<p>In web development single page application designing is more popular than multi page application designing. Let us assume you have 3 pages in your application mainpage, aboutus &amp; contactus. Using older standard of web development you created 3 html pages mainpage.html, aboutus.html &amp; contactus.html. Depending upon the user requests you are redirecting the user to the respective html page. As an framework designer think for a while if we can keep a container or view in main page where you can display the respective pages depending upon the user request, is not this is a better approach to classical web development. AngularJS Routing &amp; Views did the same. Using Routing &amp; Views in AngularJS you can easily create single page web application with no page refresh on a new page redirect. To achieve this technique ng-view is act like the container &amp; routing helps to load each page in the ng-view depending upon the user request. The shape of request is like the url /mainpage or /aboutus. To have a <a href="https://jharaphula.com/angularjs-routing-example-routeprovider/" target="_blank" rel="noopener noreferrer">demo in AngularJS Routing</a> Look at the Example.</p>
<h3>What is the difference between compile &amp; link functions in angularjs?</h3>
<p>Compile function used for Template DOM manipulation. Hence manipulations that apply to all DOM clones of the template associated with the directive.</p>
<p>Link function used for registering DOM listeners. A $watch() function allows a directive to be notified of instance scope property changes, which allows the directive to render an updated instance value to the DOM by copying content from the instance scope into the DOM.</p>
<h3>What is difference between Service &amp; Factory?</h3>
<p>Factory allows us to add some logic before creating the object we require.  It differs from service in a way where it allows us to pass the function which factory then invokes &amp; returns the result. To create factory we use module.factory(&#8216;factoryName&#8217;, function); &amp; for service we use module.service(&#8216;serviceName&#8217;, function);. If you&#8217;re using an object, you could use the factory provider. If you&#8217;re using a class you could use the service provider.</p>
<h3>What is the difference between ng-if and ng-show/ng-hide?</h3>
<p>ng-show or ng-hide inserts DOM element and show/hide depending upon condition. While ng-if check condition before inserting DOM element. ng-if is more faster then ng-show/ng-hide. When we needed the DOM to be loaded conditionally, ng-if is a best choice.</p>
<p><em>N.B.</em> I Collected the above AngularJS Interview Questions from various interviewers. Hope if you are prepared well with the above Questions you will must fetch similar questions during your interview. Best of Luck!</p>
<p>The post <a href="https://jharaphula.com/advanced-angularjs-interview-questions-answers/">Advanced AngularJS Interview Questions with Answers</a> appeared first on <a href="https://jharaphula.com">OneStop Shop</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://jharaphula.com/advanced-angularjs-interview-questions-answers/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			<media:content url="https://jharaphula.com/wp-content/uploads/2016/05/Blog-Handling-Difficult-Interview.jpg" medium="image" />
	</item>
	</channel>
</rss>
