Search Your Question...!

Machine Learning Using scikit-learn MCQ's

1. Which of the following utility of Pandas can be used to read from Oracle database?

   View Answer   

   read_sql



2. What do the methods starting with fetch, of sklearn.datasets module do?

   View Answer   

   It downloads a specific dataset from a library.



3. Which of the following function is used for loading famous iris dataset from sklearn.datasets?

   View Answer   

   load_iris()



4. Which of the following Python library is used for Machine Learning?

   View Answer   

   Scikit-Learn



5. Which of the following module of sklearn contains popular datasets, which are processed?

   View Answer   

   datasets



Find the Winner using Python

Andrea and Maria each have a deck of numbered cards in a pile face down. They play a game where they each alternately discard and flip the cards on the pile from top to bottom.

At the beginning of the game, someone will call out "Even" or "Odd". The first move depends on which is called. If "Even" is called, the player's top cards are flipped so they can see the face value. If instead "Odd" is called, the top card is removed from each deck and discarded, then each flips her next card. Andrea subtracts the value of Maria's card from her own and adds the result to her score. Likewise, Maria subtracts the value of Andrea's card from her own and adds the result to her score.

From this point forward, each alternately discards then flips a card. Each time two cards are flipped, the players' scores are computed as before. Once all the cards have been played, whoever has the most points wins.

As an example, Maria's cards, face down, are [3, 5, 6] and Andrea's are [4, 5, 7]. After calling "Even" at random, the game begins. The following table represents game play with cumulative score at the bottom. Maria's score is -2, Andrea's is +2 so Andrea wins.

Area of Triangle using Javascript

You are given 3 sets of coordinates that form a triangle. Write code to find the area of the triangle enclosed by those coordinates.

For example, the 3 points have coordinates given as x = [0, 3, 6] and y = [0, 3, 0], aligned by index, so the coordinates are [0,0], [3,3], [6,0]. The height of the triangle is 3, and the width is 6, so the area of the triangle is 6 * 3 / 2 = 9. All resulting areas will be whole numbers. Not all triangles will contain a right angle.

 

Image Classification MCQ's

1. Identify the unstructured data from the following

   View Answer   

   both image and Video clip



2. Which preprocessing technique is used for dimensinality reduction?

   View Answer   

   SVD



3. Technique used to evaluate a classifier by dividing the data set into train set to train the classifier and test set to test the same.

   View Answer   

   cross validation



4. True Negative is when

   View Answer   

   predic are and actual negative



5. True Positive is when

   View Answer   

   predic are and actual  not  negative



Shifting Strings using R Language

 We define the following operations on a string:

  • Left Shift: A single circular rotation of the string in which the first character becomes the last character and all other characters are shifted one index to the left. For example, abcde becomes bcdea after one left shift and cdeab after two left shifts.
  • Right Shift: A single circular rotation of the string in which the last character becomes the first character and all other characters are shifted one index to the right. For example, abcde becomes eabcd after one right shift and deabc after two right shifts.

 

GIT INTERVIEW QUESTIONS - 1

 1) What is GIT?

GIT is a distributed version control system and source code management (SCM) system with an emphasis to handle small and large projects with speed and efficiency.

  2) What is the command you can use to write a commit message?

The command that is used to write a commit message is “git commit –a”. The –a on the command line instructs git to commit the new content of all tracked files that have been modified. You can use “git add<file>” before git commit –a if new files need to be committed for the first time.

 3) What is the difference between GIT and SVN?

 The difference between GIT and SVN is

 a)  Git is less preferred for handling extremely large files or frequently changing binary files while SVN can handle multiple projects stored in the same repository.

 b) GIT does not support ‘commits’ across multiple branches or tags. Subversion allows the creation of folders at any location in the repository layout.

 c) Gits are unchangeable, while Subversion allows committers to treat a tag as a branch and to create multiple revisions under a tag root.

 

AWS Essential MCQ's

1. _____ mixes the simplicity of ________ with the power of _____, to great effect.

   View Answer   

   Paas,Saas,Iaas



2. Developers and organizations all around the world leverage ______ extensively

   View Answer   

   Paas



3. The committee which designs the standards & characteristics for the cloud computing is

   View Answer   

   NIST



4. I have some private servers on my premises, also I have distributed some of my workload on the public cloud, what is this architecture called?

   View Answer   

   HC



5. Cloud-computing providers offer their services as

   View Answer   

   IPS



Story Telling MCQ's

1. _________ uses system of color coding to represent different values.

   View Answer   

   Heat maps



2. _______ helps you get familiar with data.

   View Answer   

   exploratory



3. When the content is very less, we can leverage _________ to display information.

   View Answer   

   simple text



4. Cognitive load theory is created by 

   View Answer   

   john sweller



5. Keeping Color consistent helps the audiences to know that these two pieces of information are related.

   View Answer   

   True



 

Structured Data Classification MCQ's

1.  Identify the structured data from the following.

   View Answer   

   Data from mySQL DB and Excel



2. What kind of classification is our case study 'Churn Analysis'?

   View Answer   

   Binary 



3. Which command is used to identify the unique values of a column?

   View Answer   

   unique()



4. Which preprocessing technique is used to make the data gaussian with zero mean and unit variance?

   View Answer   

   Standardisation



5. Cross-validation technique is used to evaluate a classifier by dividing the data set into training set to train the classifier and testing set to test the same.

   View Answer   

   True 



DevOps MCQ's

1. DevOps is the union of ___ , ____ and __ to enable continuous delivery of value to end users.

   View Answer   

   People, Processes and Products. 



2. Improve quality and performance of the applications is a major driver for switching to DevOps

   View Answer   

   True  



3. Understanding of what we are deploying and how we are deploying comes under which habit of DevOps

   View Answer   

   Configuration Management



4. Product Management is one of the 7 DevOps practices

   View Answer   

   False  



5. Which of the following is a value of DevOps

   View Answer   

   DevOps goals span the entire delivery pipeline