Wednesday, 25 November 2020

COMPTIA INTERVIEW QUESTIONS AND ANSWERS 2020

 



Most Frequently Asked CompTIA Interview Questions

 

The world of IT Industries complex is a highly competitive field and maintains a better position in this field. One has to stay ahead of the competition by earning well-known certifications and credentials. This technology is booming day by day. It has pushed envelops for the industry too. Every company is adding demanding for IT officials to manage their technological end. When it comes to earning any ITea certification, one has to closely introspect the Pros and cons of a certificate. It is said so because there are many certification providers around the world. But there are a handful of genuine vendor-neutral certification providers In the Market. In addition to that, one has to earn such a certification that Does not bind to a specific geography. Instead, an IT certification should Have a global presence in the Market. Such a certificate that is not tied to any boundary or specific geography. 

 

Essential Aspects of CompTIA certification

 

 There are other essential aspects that an individual observes Before achieving an IT certification. Some of the crucial elements are:

  • Increasing job prospects.
  • Increase in the salary range.
  • Gaining new skills.
  • Attaining a better position in any organization.
  • Getting better recognition.

Many promising IT certifications provided by globally recognized platforms Ask for at least one or two years of unique experience In any area of Work in IT. And there are a handful of Organisations that provide. Entry-level certification that can help An IT fresher to enter into the field of IT. And one of the famous ITH certification provided Is CompTIA. 

 

About CompTIA Certifications

 

CompTIA provides certifications for professionals, But it also takes care of the IT fresher who wants to enter the field. However, achieving the CompTIA certification In any sector of it is not that easy. Instead, one has to grind through Various training courses—interview questions to get a CompTIA professional In the IT field.  

This article will be more vocal about the interview questions of CompTIA Certification. We have compiled Numerous essential interview questions that can help A person. They will not only pass the CompTIA interview. But it will also make sure that a person cracks all these questions and becomes a successful CompTIA developer. All these interview questions are well-structured and well-framed for individuals ranging from entry-level to the professional level.

 

Top CompTIA Interview Questions 

 

Q1. Define Personal Computer.

A personal computer can be defined as a System o component that works together. The acronym used for a personal computer is a PC. It is not an operating system or an application, But it is computer hardware. There are various components of a personal computer, And those components are:

  1. A central processing unit (CPU)
  2. A Motherboard
  3. A Memory (RAM)
  4. A hard drive Or storage
  5. A power supply
  6. A video card
  7. A mouse and a keyboard
  8. A Network car
  9. A cooling fan

Q2. What do you mean by Gateway?

A gateway can be defined as a hardware device. And one can connect this hardware device to two or more networks at a time; it can be denoted as a router, firewall, server, or any other device Which works as a gateway. The significant role of a gateway is to regulate traffic in the network.

Q3. Differentiate between a Gateway and a Router. 

The difference between a gateway and a router Is that a gateway Conveys data between different networks. At the same time, a router conveys data between two similar systems.

Q 4. What are the various types of Hard Disc Drive Connectors?

The rigid drive connectors are connected with A variety of integrated disc controllers. And the different types of Hard Disc Drive Connectors are; ITE, EITE, PATA, SATA, SCSI, et cetera.  

Q5. Define the functions of an operating system.

An operating system can be defined as software that supplies. That helps computers run applications. Different types of applications. Various functions of the operating system are:

  1. It has to manage the RAM Or memory of a computer.
  2. It helps the user to connect any type of device On their computer.
  3. It provides a user with a graphical interface.
  4. It secures the data of a computer.
  5. It helps the user to connect To various networks.
  6. It helps to manage files and folders on the computer.
  7. It manages and monitors A series of applications and processes.

 A user has to make sure that the application they installed should be compatible with their operating system. As every application is designed specifically for A particular type of operating system. Like Windows XP, Windows Vista, LINUX, and MAC so on.

Q 6. What do you mean by system files?

Finds like registry data files, INI, NTLDR, COM, and SYS Are known as System files. Each of these files works differently To serve a particular purpose.

  • Registry Data files to store databases of low-level settings for the Windows operating system
  • The INI Permits a user to choose a Suitable operating system. While it also helps a user to choose Different boot options for their operating systems.
  • The NTLDR Is a boot loader. It is generally found in the active disk partition. It is written as "Boot.ini" When XP is selected. It runs the comment ntdetect.com; further, it runs the ntoskml.exe, and then it runs hal.dll. After running these commands, it reads the registry data files and loads the device drivers.
  • The COM Helps the user to get information about the hardware run by "ntldr."
  • The SYS Is a system file that is used to boot windows. It is used to boot windows from SCSI disc drivers.

 Q7. Describe the different methods of installing an operating system.

There are various known methods to install any operating system. For every end-user, the operating systems are installed by the computer technicians. So it is evident that an end-user Will never understand the different methods put in to install an operating system. However, a technician's job is to understand and learn about various ways and methods of installing operating systems into a computer.

There are four methods of installing an operating system into a computer. And those methods are:

  • Boot media- CD
  • Alternatives to boot media- DVD, floppy, or USB.
  • Drive Imaging- Ghost
  • Network installation Method That are automated deployment services Or remote installation services.

Q 8. Tell us about the necessary hardware parts that you need to get Your Personal Computer working.

A person's computer's essential hardware parts denote a computer case, A monitor, keyboard, mouse, and power cord. Every hardware part of a personal computer is essential. It plays an essential role in helping computer work Normally and precisely. 

Q 9. What do you mean by a graphics card or a graphics driver?

Graphics Card is an essential component of a computer That consists of a computer's graphic components. There is a separate slot In which a graphics card is plugged in. And this load for the graphics card is situated in the motherboard. And this is the reason why it is called a graphics card. A user needs to buy and plug-in a graphics card into the motherboard off with the CPU Of their personal computer. In laptops, there is no such requirement, As laptops come along with a built-in graphics card.

A graphics driver is another component That is different from a graphics card. But without the availability of a graphics driver, A graphics card cannot be used in a computer. Generally, a graphics driver is defined as a computer program after installing the graphics card. It plays a significant role in controlling and monitoring the Response of graphics components In a computer. 

Q 10. What do you mean by a motherboard?

The motherboard is the backbone of a computer. It can be defined as a platform that connects various parts of a computer. It helps connect sound drivers, video drivers, graphics cards and hard drives, And the CPU.

 Q11. What do you mean by modem?

The modem is an acronym for a modulated-demodulator. It can be defined as a device that helps to convert the Telephonic waves and cable waves. And it processes those waves into the computer. The primary function of a murder mystery And convert Telephone Nick and cable waves To facilitate communication.

Q12. What is cache RAM?

The computer user creates any type of data. And the computer Stores those data regularly to provide better output For any input. The place where all these data are stored regularly is called cache RAM. The abbreviation for cache RAM is SRAM. It can be defined as a Small and compact high-speed memory, situated just behind the CPU as it stores every daughter of a computer. So, a processor always cheques into the SRAM before doing something else.

Q 13. Define FireWire.

FireWire is such a device that helps in transferring every bit of information between various types of digital devices. It is a bit versatile in transferring different types of information and data. Different digital devices. It is even capable of transferring Information, Between audio and video equipment and devices. To use this device, one has to plug and unplug it while the power is on. The moment it is plugged into the computer, the computer responds to a FireWire device immediately. When the fire where is plugged into a computer, Then the transfer of various information starts immediately.

Q 14. What do you mean by microprocessor?

Microprocessors as those devices That are capable of taking inputs, processing inputs, and giving out outputs. A microprocessor is a compact, programmable, multifunctional device. Back then, a microprocessor's function was to integrate data from the CPU through one or more integrated circuits. But now, with the enhanced technologies, The CPUs have become microprocessors themselves. The functionality of any microprocessor relies upon symbols and numbers. And integrating only one powerful microprocessor with the CPU Saves an ample amount of power is needed to process any type of data.

Q 15. Define GUI.

The GUI Stands for the graphical user interface. It is designed for the betterment of the user. And to enhance user experience with their computers. It allows the user to Point, drag, And click on icons and objects on the monitor with the help of a pointing device like a mouse. Back then, Various commands were used to provide a computer with some input. And the graphical user interface technology has And Need of providing input for every little work On the computer. Microsoft First introduced the graphical user interface technology. And since its inception, there have not been many changes In the graphical user interface. 

Q 16. Explain how to set up a wireless network.

The first thing that is required to set a wireless network Is a wireless adapter. Pause this. Then a set of wireless routers are required to set up a complete all wireless network. Further access points are also needed to split the network. In general, access points are usually installed after installing the Wireless routers. After that, the access points And wireless routers are channelized with the help of a wireless antenna. The wireless antenna helps to put out a strong radio signal.

Finally, a wireless repeater should be installed to increase wireless signals for users who do not get many signals. Nowadays, with enhanced technologies, laptops and other systems come with inbuilt wireless adapters. So there is no need to bring wireless adapters separately to set a wireless network.

Q 17. How would you explain DRAM?  

Continue reading

Tuesday, 24 November 2020

C# INTERVIEW QUESTIONS AND ANSWERS IN 2020

 



Most Commonly Asked C# Interview Questions and Answers

 

Introduction to C#

 

C# (aka C sharp) is an object-oriented programming language which is used widely by developers to carry out multiple tasks and accomplishes numerous goals. Basically, there are many types of object-oriented programming languages such as C++, Python, Java. And these programming languages are developed for a specific framework. Likewise, the C# is also designed and developed for a specific framework, i.e. .NET. The .NET framework is a brainchild of Microsoft. And it provides a massive platform to create applications, declarations, and commands for applications and so on. 

 

When the C# language was introduced in the market, it was named as COOL which stood for C-like Object-Oriented Language. But Microsoft was unable to carry forward this name as there were some issues regarding trademark law. Then they decided to change its name from COOL to C#. At that time, Java became the thought leader of the programming industry. This provoked other companies to create their own best framework. 

 

And this is the reason why Microsoft developed its own framework .NET and created a new OOP programming language to rival Java. And Microsoft diverted the market demands towards its C# language. The C# came out to perform faster and better than Java. And the developers across the globe popularly used to build applications meticulously. 

 

The C# got global acceptance and appreciation for not only performing better, but it was easy to use too. It was easy enough to be used just by having some knowledge about codes. Further with practice, the users could develop muscle memory to use C#. The C# can be used for web development, games, mobile apps, applications for windows and other such programs. With such features, the usage of C# has surged, and demands for professionals who could use it precisely has increased two folds. In this article, we have organized and listed all the important interview questions that are asked most frequently. In here, we have categorized questions amongst three distinct levels:

  1. Beginner Level C# Interview Questions
  2. Intermediate Level C# Interview Questions
  3. Advanced Level C# Interview Questions

We have done so to help you learn about the C# interview questions easily in a systematic way.

 

Beginner Level C# Interview Questions

 

Q1. List some of the features with the definition of C#.

A programming language is used to write software for a website, a desktop application or a mobile application. All of these types of software is built using a programming language.

 In C# we have .Net framework that has virtual machines like Common Language Runtime or CLR & Base class Libraries. Any application code is compiled and run into the windows; .Net framework comes into action by executing it. We use Visual studio .Net in the Microsoft word to write the codes. 

 

This allows us what type of application we are going to build and what programming language we are going to use. There is plenty of programming language that the .Net support but C# is easy to learn, easy to work with and doesn’t sacrifice power and control.

 

C# is known as an object-oriented programming language that means we build and model our application by looking at its blueprint. These blueprints are classes that help us to model our application. Every time a user uses this application, then one part of these blueprint gets turned in to an actual object in memory to work with.

 

Q2. Mention the different types of comments in C#?

To be specific comments are the message you put on your code or you want to deactivate some lines of code and see how it works without them or describe what some of your code is trying to perform.

comment line uses double slash followed by the comment. It breaks up the code and makes it look a little nicer if it is an advanced code than its wise to put in a couple of comment just to explain what is going on.

 

Example:

 

// These two lines change the colour of the text.

Comment Blocks must start with a “/” followed by an “*” & it must finish with an “*” and a “/”. You can have as many lines in between them as you like. And then you can add a Multi-line comment to describe things that are going on.

 

Example:

/* Comment line

*Comment block

*comment web report

************************/

*

 

Comment web report: You can do it before the static void main, or you can do it for the class program. You do three “///” & you will find XML to pop up where you write the summary about the void main in here.

Example;

/// This is comment web report, looks great!

 

 

Q3. What are some of the IDE’s provided by Microsoft for C# development?

IDE or integrated development environment is a piece of software that helps us to write codes. IDE makes developing applications program easier. It acts as a text editor, debugger, and compiler all in one. There are many different types of IDEs; some common IDEs are Visual Studio, Xcode, Android Studio, Pycharm, eclipse, sublime, Adam, to name a few.

       

 

    Example:

> if (programmer)

> {

> use This = True

> }

 

Q4. Chart out the process of code compilation in C#.

We have the language independency when we are working with .Net framework, the complete compilation process for any particular language in .Net framework we can classify the compilation process into two parts. The first step involves compiling of the language by the compiler and then redirected to a intermediate language. While in the second phase the compilation is done by the JIT or Just-In-Time.

code compilation in C sharp

 

Q5. Differentiate between managed and unmanaged code?

The code that executes with the CLR instead of operating system is called as a Managed code. In the managed code the runtime will provide services like garbage collector, type checking & exception handling. The code is compiled by the language compiler into Intermediate language.

While a code that does not execute under CLR and is directly executes in the operating system is called as unmanaged code. It does not provide services like garbage collector & type checking, it should be taken care by the programmer itself. He should write the code to deal locate the memory. Here code will be compiled into native code.

 

Intermediate Level C# Interview Questions

 

Q1. Differentiate Finally Block and Finalize Block.

At the end of performing the try and catch blocks, the final block is declared. The finally block basically utilized to handle the exception. When some sort of exception is found in the block of code while performing the block, normally these block codes contain cleaner codes, to clean the exception.

When the exception is found, then the next should be garbage collection. At these types of circumstances, the Finalize method is called for the cleaning operation to run successfully.

 

Q2. What do you know about managed and unmanaged codes?

The managed code is that type of code which is performed or executed by Common Language Run-time. This indicates that the application codes hinge on the .NET platform. At the same time, the unmanaged code can be defined as the codes that are performed by a run-time application which doesn’t belong to the .NET framework. In those cases, the memory, security and execution of unmanaged codes totally depend on that different run-time application. 

 

Q3. Define an Object in C#

The Object can be referred to as an instance of any class. In order to access the methods of a class, one has to make use of objects. To create or generate an object, the developers should use a separate and fresh keyword. The creation of an object takes place in the memory location of a class. The memory location of that class comprises of the required data of methods, behaviour and variables of the class.

 

Q4. Define class

In general, a class can be defined as an outline of an object. The class decides the basic functions and abilities that an object should possess. As the class is an object’s blueprint, an object can be called as an instance of the class. It is the class that helps the developers to produce an object. However, in C#, the class is basically termed as a keyword of class or class keyword.

 

Q5. What is an abstract class in C#?

An abstract class can be defined as a type of class which consists of a particular technique, and it is written with “Abstract” keyword. As the abstract class has a specific approach, an object cannot be instantiated from this class.

 

Q6. How will you define sealed classes in C#?

A sealed class is a type of class which is created in such a way that it cannot be inherited by C#. Unlike the abstract class, a sealed class can be instantiated, but it cannot be inherited. The main purpose of the sealed class is to limit the inheritance of class.

 

Q7. What do you mean by partial class in C#?

The partial class is a type of class that divides the definition of a single class into multiple classes. This segregation of single class definition can be carried out by means of the same source codes or various different source codes. It is possible to create one class definition in numerous files, but that is accumulated as a single class at the run-time application. And then an instance or object of that class is produced. And with the help of that object, the user can easily enter into all the methods of the class from various source files. The partial class is depicted by the keyword “Partial”.

 

Q8. What are the fundamental OOP concepts in C#?

One can list down four fundamental Object-Oriented Programs concept, and those are:

  • Inheritance

When the characteristic feature is  Continue Reading

Monday, 23 November 2020

MACHINE LEARNING INTERVIEW QUESTIONS AND ANSWERS 2020

 


Most Commonly Asked Machine Learning Interview Questions

 

In this article, we will talk about Machine learning and the most important questions you can expect in your interview.

 

Machine learning broadly can be classified into four categories:

  1. Classical Learning
  2. Neural NETS and Deep Learning
  3. Ensemble Methods
  4. Reinforcement Learning

Our article will deal with each of them and provide you the most asked questions from these domains. There are four types of genre that you can expect in your interview or any prelims & they are as follows:

  1. Modeling case study questions.
  2. Core machine learning interview questions
  3. Recommendation engines & search engines.
  4. Questions based on Python.

 

You must know that the degree of difficulty depends upon your applied profile or job role. For Business-oriented roles, you need to prepare for Applied Machine Learning and require experience and skills for higher Job-roles such as data scientists or research scientists.

 

Modeling Case study:

Tenda is a product-based company that manufactures goods like Router, modem, and Optic fiber. Its product engineers, design engineers, material engineers, and their respective teams worked hard to build a new product category in their Router product line. Their product uses multiple channels to reach their end-users like ISP, network providers, cable connection owners & e-commerce websites. A returned product gets treated as a loss in revenue & a shame. Retailers can return the product when not sold, & that also adds up to Tenda's loss. Challenges could vary as the following:

  • unavailability of data
  • unstructured data
  • It takes months to gather data and validates its sufficiency.

Here the relevant-information of the product features with past transaction data is available with customer reviews & warranty details of the product.

 

Basic Machine Learning Interview Questions

 

Q1. How can we ascertain the volume of the returned products, followed by the reasons for return?

The data engineers have to use NLP technology like word embedding, N-grams, term frequency-inverse document, Latent Dirichlet Allocation, Support vector Machine & Long Short-term memory. For tokenization, lemmatization & parts-of-speech tagging. It will provide the reasons for the return products.

 

Q2. Hence the business wants a solution that can predict the failure rates to build a better product.

NLP and BI tools devised for data visualization will create a forecast model that will identify the pattern in complaints, frequency of complaints as per the product line. Test analytics does an acid test and reveals returned products and defective products. The relevant data to solve the problem of data insufficiency battled through data sampling bias.

 

Recommendation engines & search engines:

 

How would you build the recommendation algorithm engine likeType-ahead search?

Based on the origins of the data, we can create a confluence between collaborative filtering and content-based or characteristics filtering. We achieve convergence through the Hybrid approach. We can also classify the data based on the algorithm our end users use, for instance, memory base, model base. The Hybrid Approach is a mixture of these memory-based and Model-based algorithms.

 

Then we need to focus on collecting feedbacks explicitly and implicitly.

Then we start with a matrix of users x items using ratings to find similar users or items recommended with high similarity.

With the use of the K-Nearest Neighbors algorithm, we can find the K closest data points prediction and get the average of the neighbors.

Finally, we load the data from the database to find the users nearest the neighbors and use neighbors' ratings to predict ratings. This method is the RapidMiner Process. It helps us to train the system by doing the trials from the big chunk of the training data.

And at the end of the step, we use content-based recommenders as an ML Problem to classify items according to their contents to match the user's interests. We also profile users based on their content.

 

Core Machine Learning Interview Questions

 

How would you differentiate AI, Machine learning, and deep learning from each other?

Artificial Intelligence is the technique that enhances the computing prowess of machines to mimic human behavior, and Machine learning uses statistical methods to enable this behavior that includes Deep Learning to create this augmented reality. Deep-learning, on the other hand, uses multilayered Neural networks to compose the algorithm obtained from vast data such as speech and image recognition to simulate human decision-making or works as a positronic brain.

 

Illustrate the different types of Classical Learning?

There are two types of Classical Machine learning:

  • Supervised
  • unsupervised

These are simple tabular data with CLEAR features.

 

What is Bayes' theorem?

Bayes' theorem allows us to determine Posteriers Probabilities from our Priors with evidence. It is a method of revising existing predictions given in new evidence. The theorem forms the fundamental assumptions of the Naive Bayes' Classifier.

 

What is the difference between generative & discriminative models?

Discriminative Models learn decision boundaries between classes. SVM is discriminative as we are creating a learned decision boundary and serves as a maximum margin classifier. The discriminative models are not susceptible to Outliers efficiently but have the maximum likelihood of estimation. Here we maximize the "conditional likelihood" with given model parameters.

 

Generative models learn the distribution of the classes themselves. NBC is generative as they are adaptive to the distribution of the CLASSES. Here outliers are handled better than discriminative models. We maximize the joint likelihood in Generative models, otherwise called the joint probability given with the model parameter.

 

Define Data Normalization and its needs?

We spend so much time normalizing our data & giving our data clean and set it up. Data Normalizing is a preprocessing step to standardize our data. It can help to minimize and eliminate data redundancy by rescaling values to fit into the desired range to build convergence. And then, finally, we restructure the data & improve integrity. The need for data normalization is the input of clean data and out of clean data.

 

Elucidate cross-validation technique would you use on a time series dataset?

In normal cross-validation, such as K-Fold CV, we split the data into k equal size data chunks & use K -1 Chunks as Training, and remaining for the Training. We can average the performance of K tests to give some performance measures. We cannot include Samples into the CV that occurred later corresponding to the test point. The selection of a Point as test set marks demarcates the before occurrence as the train sets.

 

How is a decision tree pruned?

The pursuit of node purity depends on making a decision tree simple with a cost-effective method that helps to determine the functioning of the Original tree. Pruning helps in removing nodes and branches in a decision tree to achieve the highest accuracy. The Cost-effective pruning method determines the stagging of the original tree. If the validation set does not have a significant difference in its performance, then it is considered as a Simpler tree.

 

How do you handle an imbalanced dataset?

Working with a lot of data in the under-represented class should begin with random undersampling that involves getting rid of over-represented class samples from the training data. On the contrary, with fewer data to work with, performing random oversampling by taking the under-represented class with its replacement to achieve the required ratio. SMOTE or synthetic monitory oversampling is a technique that helps to synthesize data. The reason is aggregation tends to mitigate the over-fitting of a specific class.

 

Define a Boltzmann Machine?

It is a simplified version of a Mult-Layer perceptron that has a visible input layer and a hidden layer. The Boltzmann Machine is almost always shallow. They have these two-layer neural nets that make stochastic decisions, whether a neuron should on or off. Nodes forms connection across the layers but, no two nodes of the same layer are connected. Hence, it is also known as the Restricted Boltzmann Machine.

 

How will you differentiate between Classification and regression in ML?

The difference between Classification and regression depends upon the various types of prediction problems based on supervise and unsupervised learning. Altogether there are classification, regression, clustering & association problems. Classification helps in differentiating different types of data to separate categories based on input parameters. Regression, on the other hand, helps to create a model for distinguishing these data into real values. It can even predict the movement based on historical data. Mostly it is used in predicting the occurrence of an event depending on the degree of association of variable.

 

How will you define Linear Regression?

Mostly used for classification problems to predict the group to which the object in supervision belongs and, these possibilities have to be translated into binary values to get the prediction. It helps to measure the relationship between what we want to predict over the independent variable with the usage of logistic functions.

 

Explain how the Receiver operating characteristic curve works?

It has its roots in Signal Theory detection that is a binary classification problem. Thus it is used to measure the performance of Binary classifiers where you use it as a trade-off between True Positive and False Positive rates.

In conditions where both Sensitivity & fallout is zero, then the classifier prediction goes negative.

 

What is Auto ML?

It is a relatively new machine learning paradigm that governs the application of algorithms within the inputs of any type of data to get results automatically. It simplifies the work of a data scientist with preoccupied techniques.

 

How would you define the confusion matrix and its elements? Explain with examples.

A Confusion Matrix is a grid used to summarize the performance of classification algorithms.

Imagine we have a medical data grid that has metrics like:

  1. Chest Pain
  2. Good blood circulation
  3. Blocked Arteries
  4. Weight

We have to apply ML to predict whether or not someone can develop heart disease. There tons of methods like Logistic regression, K-Nearest neighbors, and Random Forest methods to get the results. Deciding the optimal way to coincide with our data is a critical problem. Thus, we have to divide the data into training and testing sets. We can make use of CV or cross-validation to eke out quicker and efficient results. Then we train the testing set by trailing with each method. Confusion Matrix gets us the analysis of records & methods we have devised in testing. In the Confusion Matrix:

  1. Rows correspond to the ML prediction of the algorithm.
  2. Columns correspond to the truth.

Since we have only two categories to choose from:

  1. Heart disease
  2. Does not have heart disease

Then the top left corner contains TRUE Positive. These are the patients who had heart disease and are correctly identified by the algorithm.

The TRUE Negatives are in the bottom-right corner. These are the patients who did not have heart disease.

The Bottom-left corner contains FALSE Negative. These patients had Heart disease, but the algorithm said they didn't.

Lastly, the top-right corner contains FALSE Positives. These are the patients who do not have Heart Disease, but the algorithm failed to predict it.

The only optimal metrics out of all will show a high degree of variation in its performance, unlike others who end up closer in their values. That is the reason we use sophisticated metrics like Sensitivity, Specificity, ROC, and AUC that are profound in getting accurate performance values.

 

Differentiate between Inductive and Deductive Learning?

We use data through a model to predict in Machine learning the inductive learning is used to conclude out of observations. Deductive learning infers the form of speculation out of the conclusion. Transductive-learning helps to create this loop of continuous inspection and framing inference.

 

How would you categorize using too many false positives or too many false negatives?

Taking sides depends upon the scenario, the domain where we are indulged in ML when used in the detection of spam emails, then false-positive will making important emails marked as spam.

And when ML gets used in Medical testing, then a false negative makes the paradigm risky by classifying the report excellent when things are not good with the patients.

 

How can you make a more accurate prediction?

Model Accuracy is a subset of Model Performance, where the accuracy and the performance of the model are directly proportional to each other. Thus the better the execution of the model gives us precise accuracy in the predictions.

 

Differentiate between Gini Impurity & Entropy in a Decision tree?

Gini Impurity and Entropy are the metrics that split a decision tree. To reduce the uncertainty in the output level, we make use of Entropy. It calculates the Information-gain by a split. The Gini Impurity metrics classifies a randomly picked label as per the distribution in its branch with the probability of a random sample.

Entropy determines the haziness or mess in the data decreasing our reach to get closer to the leaf node.

 

Illustrate the Ensemble learning technique used in ML?


Continue Reading


Friday, 20 November 2020

HTML INTERVIEW QUESTIONS AND ANSWERS 2020

 


Most Commonly Asked HTML Interview Questions and Answers

 

HTML is known as the most widely used language found on the web. It is widely used for developing new web pages.  The HTML helps in developing more functions in the world of web development. This helps in increasing your skills in the field of web development. So, when you are going to start your career in the field of HTML, it’s very important that you must know some basic points and rules. When you sit for the exams, it’s completely depends on your knowledge that how much you can write and succeed. But, when you are going to attend interviewsyou must prepare well for the basic HTML interview questions and answers

 

Let’s get started with top interview questions and answers that will help you in clearing HTML interview questions.

 

This is a list of best interview questions and answers of HTML. So read it till the end to get clear idea of patterns of HTML interview questions asked in interviews.

 

Basic HTML Interview Questions

 

What do you mean by HTML?

HTML is known for Hyper Text Markup Language.  This language is widely popular and known in the field of World Wide Web.  It is one of the standard texts formatting language system that is critically used for creating and displaying different pages on the web world.  The work of HTML is to make the text look more interactive and dynamic. The HTML helps in turning the test into more image based, make it in tabular format. It also helps in creating links. You can save the HTML page by adding .html or .html in the required web page.

What are the differences in between html elements and HTML tags?

A HTML element is given to an individual component of HTML web pages. It can also be given to the HTML documents. It helps in predicting the meaning or semantics. For example you can give the title elements that can give you the title of the document.  In the other hand, tags mean the root of HTML documents which are widely used for specifying the HTML document. For example you can use the head tags for all those head elements in the HTML file.

 

What are the different attributes and how do you use them?

You can find these types of many interview questions and answers in the interview.

The answer to this questions is every alternative tags has additional attributes.  The tags are helpful in changing the way the tags behave or tags displayed. The tags input play different roles in different space. You can specify the tags input in a text field, in a check box, in a radio button or you can find these in more options also. Attributes are specifically directed after the use of tags. It is typed inside two angled brackets.  The attributes should only appear in the opening or self-closing tags.  There can never be closing tags.

 

Intermediate Level HTML Interview Questions

 

What differences you can find in between a block-level element and inline elements?

Coming to the differences you have to answer regarding the block level and inline elements.

Block level elements is drawn for the block which is used stretch and full fill the width available. It means you will be stating the new line. The elements of the block-level are, <div>, <img>, <section>, <form>. The inline elements are also drawn where they defined and take only the absolutely needed space.  The easiest way to know it by text flows. Examples like <span>, <b>, < strong>, <a>.

When do you use comments in HTML?

 For better understanding of the HTML you can use the code comments.  These comments are neither used in browser nor are it displayed in the browser.  You can get the help in noting yourself and other developers in the HTML section.

What are the different tags used to display the data in the tabular form?

This is a usually asked HTML interview questions. You can expect this question in your interview questions and answers segment. The answer must be proper and appropriate.

 list og HTML tags

How can you create a hyperlink in HTML?

In HTML you can provide the hyperlink. This hyperlink helps in linking one page to another.  The HTML helps in providing anchor tags. These tags can be found in following ways. They are like unvisited link which means it is displayed and is underlined in blue. Next is visited link that is it is displayed and underlined in purple colour. The last one is active link that is displayed and underlined in red.

What are the common lists while we go for designing a page?

There are three lists that can be named as for designing a page. They are ordered list which means the ordered list helps in displaying the elements in numeric formats. The unordered list comes which the displayed elements that are in bulleted format. The definition list helps in listing the display elements in form like dictionary.

These types of HTML interview questions can be asked in the interview segments. You have to clearly know about the HTML segments. This will help you to excel in front of the interviewer.

What do you mean by semantic HTML?

The semantic HTML is known for the coding style.  It is there for the use of HTML markup. It helps in reinforcing the semantics or the meaning of the comments given by the HTML.  There are different tags that are used for giving the bold tags, italic tags and many more.

What do you mean by image map?

The image mapping is done for linking various web pages by using only a single image.  The tag which is used for image map is <map>. Here, you get the chance to change the shape of the image. You can include them as a part of image mapping also.

Hyperlink, can we apply it to text?

 There are no hyperlinks that can be used in both texts and images. The tag of HTML anchor tag helps in linking from one page to another. In anchor tag “href” tag is considered to be the most important attribute in HTML.

What do you mean by style sheet?

In this HTML interview questions, you need to describe it completely. In style sheet you get to build consistent and mrerely transporatable style templets. You also get the advantage of getting well- designed style templates. Here, theses style templates helps in adding style to the different web page. It helps in formatting and documenting the written markup language.

Describe about the layout of HTML?

 The layout is something that helps in making the page look arranged. Every page has its specific layout. The specific layout helps in maintaining the display content in specific manner.  Here we will give you some parts of webpage.

Layout of HTML

 

What do you mean by marquee?

 The marquee is used for scrolling the text. It is used for scrolling the text in the web page. It helps in scrolling the image or scrolling the text up, text down or to the text left or right automatically. Whichever text you want to scroll down, you must tag <marquee> for better experience.

 

What are the different tags that are used for separating the section of texts?

There are three different tags that are used for separating the texts.

<br> tag, this tag is usually used for separating the line . It helps in breaking the current lines and helps in conveying the next lines. The <p> tags helps in texting in a new paragraph. The <blockquote> tag helps in defining the large quoted section.

 

What do you mean by DIV and SPAN in HTML?

Mostly in the HTML interview questions, you get the question regarding the difference. This gives the interviewer a clear idea about your skills and knowledge. So you can give the answer like the difference in between the span and div. The span and div is that span elements   that is used within an in-line. It is basically used for the chunk of HTML.  The div or division element is used in block –line. This div is very equivalent to have line-break before or after. The span and div can also be used in larger chunks of code.

 

Why do you use alternative texts in images?

For defining the image, we mostly use the alternative text. When you go for image mapping, there are most of the time, when you get the confusion and difficulty about the hotspots. You get confused about the links. In those cases, you can use the alternative text. Here this alternative comes into action. You can put the description of the links that will help in  making it easy for the users to find and understand what actually the hotspots are and how it is linked.

 

Do you consider the <!DOCTYPE html> tag as the HTML tags?

No, in HTML we don’t consider <! DOCTYPE html> html tag.

 

Why there are URL encoded in the HTML?

 For sending an ASCII, we always require the use of URL. YRL is used for converting the non-ASCII characters into the readiable format. This format helps in using it over the internet. Through URL we can sent the ASCII character to set only.  The non-ASCII characters get replaced with the “%” tags, which is followed by hexadecimal digits.

 

What entities do you use for the HTML?

The entities that are used in HTML are for the reserved character. You can easily replace the character which is not present in the keyboard. You can replace the character as it is quiet reserved in the HTML language.

 

How can you create multi-coloured text on web pages?

 We can definitely create multi-colour text on the web pages.  For creating the multicolour text you can use the tag <font color =”color”> </font> for colouring the texts.

 

What is the benefit of using span tag?

Span tags is used for the adding colour on the text, adding colours to the background, adding text to the background and highlighting  any colour for your texts.

 

What kind of advantage do you find in collapsing white space?

The white spaces are known for the blank space. These are the sequences for the blank space character.  This is used as the single space character.  You can find the browser is getting collapsed a number of times, for multiple space to single space.  There you can draw the lines of text for the multiple spaces.  This helps in organising the HTML code for many such readable formats.

 

How can you keep the list elements straight in HTML file?

 You can use the indents for keeping the list of elements in straight way.  If you are indented to list further for the parent list, then you have to look for the various lists and elements that are all for thecontains.

 

When do you use the appropriate frame?

 By using frames you can make the navigation look easier.  If you are putting the main links in the sites, in particular frame, then you must find it easier for the navigation.  You can find the link in the top or along the edge of the browser.  You can also find the remainder of the browser in the display board.

 

Define briefly about the local storage and session storage objects?

This often found in HTML interview questions, the interviewer mostly looks for the  interview questions and answers where a candidate must look for the comparisons. The main differences you can find now in this question are, the local storage object looks for data storage that comes with no expiry dates.  You should know that the session storage object only stores the data for the one session only. In case of a local storage object, the data is not going to get delete when the browser is closed. But, you should take it in mind that the data get deleted whenever there is a closer of the window.  The session storage data is accessible in current window only.  But you can store the data of local storage in the multiple window of the browser.

 

What will be the consequences when you open the external CSS files in browser?

 Whenever you try to get asses into the external SS files in browser, you cannot assess the files easily through the browser.  This happen because the files have the different extensions. The one and only way of using the external CSS file is for referring the <Link/> tag.  This tag gets involved with the other HTML documents.

 

What hierarchy style do you follow when it comes to style sheets?

 In a single selector, there are total of three different styles. The style definition which is most closest to the actual tag is known as the precedence.  You can find there is a takeover of inline style more over the embedded style sheets. The embedded files sheet takes over the priority of the external style sheets. You can guess the right answers in that way.

 

 How can you create text on the web pages, when you are allowed for the sending the email?

In HTML interview questions, segment, there will be most of the moments when you have to describe the functions system. Here also you get same types of question.  In this questions the answers could be like if you are willing to change the link into the clickable link, that you can use in sending the email. Then you will definitely need to use mailto which is under the command of href tag.   In simple words you can also answer this question.

 

Advanced HTML Interview Questions and Answers

 

How can you differ in active link from normal link?

You must know the colour of the normal and active links is blue.  There are some users those you identify the active link only after moving the mouse cursor over the link.  There are other users that look for the active links when they get the sign of focus on it.  When you find there are no mouse cursor over the link, they you must know that they are normal links.

 

When you can find the instances of text must appear outside of the browser?

 You can find the text getting wrapped within the browser window.  It is by default.  If you see the text is currently a part of the table cells, then you can extend the text beyond the browser window.

 

What advantage do you get by grouping the several checkboxes together?

There is no affect of the check boxes for one another.  But when you group them, then you can find the different in the checkboxes.  The checkboxes can have their name individually and they do not belong to any of the group.  You can find in single web pages there are lots of checkboxes around.

 

Does it hamper the text when you do not have any tags in between the text?

There is no need of formatting, when you do not have any tags in between the texts.  Therefore there will be no requirements of the formatting. There is no need of any tags in between the texts.

 

What are the limits of text in the field size?

You can find around 13 character size as the default size of the text field.  If you want you can minimize the size value as possible as you want.  The maximum size if the text gets determined by the browser width.  If the size attributed is set to 0 then the defaulter get automatically changed to 13.

 

What relationship do you find in between border and rule attributes? Continue Reading