Search Your Question...!

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 



More on Git MCQ's

1. What is the git command to see the last 3 commits in one line ?

   View Answer   

   git log -–oneline -3 



2. How do I view all the commits for the last 2 weeks ?

   View Answer   

   git log -–since=”2 weeks ago” 



3. What is the significance of using –index in the git stash pop - - index command ?

   View Answer   

   To pull the staged changes  



4. What is the command to temporarily store uncommitted ?

   View Answer   

   git stash 



5. What command should I use to retrieve my files that have been temporarily stashed ?

   View Answer   

   git stash pop – index 



UIPATH Orchestrator MCQ's | Interview Preparation | RPA

1. What happens if a new job is triggered while the robot it is assigned to is executing a different process?

   View Answer   

   The new job is left in a ‘Pending’ state until the robot finishes executing the process. The new job is executed as soon as the robot becomes available



2.  Is it possible to check whether a Robot that is connected to Orchestrator is available or not in real time?

   View Answer   

   Yes, this is possible through the Heartbeat mechanism; the status of each robot is updated on the Robots page



3. Is it possible to reprocess a transaction in a Queue after its failure due to an application exception?

   View Answer   

   Yes, if the Auto-Retry property of the Queue is enabled Yes, it can be retried manually on the Transactions page



4. How are Robot Keys generated?

   View Answer   

   Orchestrator generates unique Robot Keys during the robot provisioning process



5.  Is using the ‘Publish’ button in Studio the only way to upload a package to Orchestrator?

   View Answer   

   No. Packages can also be published via the Packages page in Orchestrator