Wednesday, 13 May 2020

AsCEnD Test Automation

Test Automation Assessment

Q1. By Default, time for WAITFOR command is _____. 

Answer: 30sec

Q2. In case of selenium IDE, source view shows your script in

Answer: XML format

Q3. If you wanted to access the element that has the text "This element has an ID that changes every time the page is loaded" in it, then which of the following is used

Answer: //div[contains(@id,'time_')]

Q4. Assert command will check whether the element is on the page, if it is not then the test will carry on executing

Answer: TRUE

Q5. The method used to find a web element is ______.

Answer: findElement()

Q6. In webdriver which of the following is/are a valid select statement that selects a value from a drop down element?

Answer:
              selectByVisibleText()

              selectByindex()

              selectByValue()

Q7. What can be used to configure the number of browsers that can be used parallel in the remote system

Answer: max Session

Q8. What is the default port number used by hub in selenium?

Answer: 4444

Q9. Test types supported by selenium are

Answer:
             functional testing

             regression testing

Q10. Which of the following is not a driver available in selenium webdriver ?

Answer: MicrosoftDriver

Q11. The method used to enter text in a textbox in Selenium WebDriver is

Answer: sendkeys()

Q12. Selenium variables are stored in ___________.

Answer: storedVars

Q13. Which two commands you use to validate a button?

Answer: 
             VerifyElementPresent

             assertElementPresent

Q14. What does below code snippet represent dnver findElement(By.xpath("//input[@id='search']")).click();

Answer: finds the web element based on relative xpath and click on the same

Q15. What does the below code snippet implies?boolean sample = driver findElement(By Xpath("radio button Xpath)

Answer: check the state of a radio button

Q16. submit() method can be used to

Answer: Submit the button

Q17. In webdiver, what is the method that counts the number of elements?

Answer: driver findElement(By id("search")).size()

Q18. Selenium Grid allows us to run multiple instances of WebDriver or Selenium Remote Control in parallel

Answer: True

Q19. Which command can be used to retrieve the innerText value contained within an element in webdriver

Answer: getText()

Q20. In webdriver, selectAllOptions() is an invalid command

Answer: False

Tuesday, 12 May 2020

TCS Xplore Know Your TCS Final Assessment

KYT - Final Assessment

Q1. You have developed a new ordering system for your client. Client approached you post production of the new system. As you have developed it, you thought to copy thecode and send it to your personal mail for your future reference. Is it acceptable?

Answer: You should not save the code for reference.

Q2. When Tata airlines, a division of Tata sons is established?

Answer: 1932

Q3. Which Characteristics of Big Data deals with Trustworthiness of data?

Answer: Veracity

Q4. Click Stream analytic is associated with which characteristic of big data?

Answer: Velocity

Q5. Medical Robots can perform surgical Operations independely

Answer: False

Q6. Artificial intelligence can not be used in health care as this involves Doctors and Patients.

Answer: False

Q7. Which’s India’s first indigenously designed and manufactured car?

Answer: Tata Indica

Q8.  We use Natural Language Processing for reviewing Twitter Feeds.

Answer: True

Q9. Which of the method is used by humans while making judgements?

Answer: Intutive based

Q10. What are the 4v”s of big data?

Answer: volume velocity veracity variety

Q11. The change of mind set is required from “Optimizing Scarce Resources” to Harnessing Abundance” will help in

Answer: Leveraging ecosystems.

Q12. Who’s the founder of Tata group?

Answer: Jamsetji Tata

Q13. For the organizations that aren’t currently looking to do big data analytics there is a little or no benefit to examining the data they’re retaining and evaluating how it’s being used.

Answer: False

Q14. What is the change of mindset Business 4.0 is looking at when it comes to embracing risks?

Answer: embracing risks and adapt and transform continuously.

Q15. Robots can be used for building houses.

Answer: True

Q16. Who formalized the Code of Conduct?

Answer: Ratan tata

Q17. The field that investigates the mechanics of human intelligence is

Answer: Cognitive science

Q18. After the successful completion of a project, the client gifted a Diamond ring to the on site project manager. What should the manager do?

Answer: Inform the client about our company’s gifts and hospitality policy and reject the gift.

Q19. In the 1990’s which company did TATA Steel acquire?

Answer: Corus

Q20. How many independently operating companies re there under TATA group?

Answer: Over 100

Monday, 11 May 2020

AsCEnD Machine Learning

Machine Learning Assessment


Q1. 100 articles need to divide based on content like sports, Business Entertainment Which ML Model is

Answer: Clustering

Q2. Target Variable also called as in Machine Learning?


Answer: All are correct

Q3. How do you handle missing or corrupted data in a dataset?

Answer: Replace missing values with mean/median/mode

Q4. Identify which of the following is/are preprocessing steps?

Answer: All are correct

Q5. Which of the following is Machine Learning Type?

Answer: Both

Q6. Which of the following approach is supervised Learning?

Answer: All Are Correct

Q7. Clustering approach is example for which type of learning?

Answer: Unsupervised Learning

Q8. A feature G1 can take certain value A, B, C, D, E & F and represents grade of students from a University Which of the following statement is true in following case?

Answer: Feature G1 is an example of ordinal variable

Q9. Please identify what is the purpose of below code?
>>>from sklearn.preprocessing import Imputer >>>imp = Imputer(missing values=0, strategy='mean', axis=0) >>>imp fit_transform(X_train)

Answer: Code replacing Missing values in dataset with Mean

Q10. Which of the following is a good test dataset characteristic?

Answer: All Are Correct

Q11. What is the input to the Machine Learning Model?

Answer: Data and Output

Q12. What is the purpose of performing cross-validation 2

Answer: All Are Connected

Q13. Machine Learning is subset of?

Answer: Artificial Intelligence

Q14. What is Machine Learning?

Answer: All are correct

Q15. Identify Outlier in below data?
5,7,10,13,15,18,99,9,8.

Answer: 99

Sunday, 10 May 2020

AsCEnD Mongo DB

Mongo DB Fundamentals Assessment

Q1. Which of the following are popular columnar databases?

Answer: All are correct

Q2. Collection and a document in MongoDB is equivalent to which of the SL concepts respectively

Answer: Table and Row

Q3. is the command in mongodb that is equivalent of SQL's truncate

Answer: db.col.remove()

Q4. What is the name of default storage engine in MongoDB?

Answer: MMAPV1

Q5. The following statement is True or False?

NoSQL database is not viewed as a replacement to RDBMS but Rather, a complementary addition to RDBMS and SQL.

Answer: FALSE

Q6. What does the following query do when performed on the posts collection?

db.posts.update({_id:1),($Set:{Author:Tom"}})

Answer: Both B & C

Q7. _________ is the method used to limit the records in mongoDB.

Answer: Limit()

Q8. Objectid is a 12-byte BSON type in which the last 3 bytes represent

Answer: The machine identifier

Q9. MongoDB is a leading NoSQL classified as a document-oriented database State True or False?

Answer: TRUE

Q10. ________ is the method used to display results in a formatted way

Answer: Preety()

Q11. Which of the following is equilant opeartor on NoSQL for SQL SELECT operator?

Answer: $out

Q12. You want to return maximum 10 matching documents that will return with only the id name and address fields. Which of the following queries will you use?

Answer: db.users.find({age: {$gt:18}}, {name:1, address:1}).limit(10)

Q13. Which of the following are NOSQL Traits?

Answer: All are correct

Q14. Which of the following are correct classification of NoSQL databases?

Answer: All are correct

Q15. Which among the following is the way to access the different documents in the result set?

Answer: Sort

Saturday, 9 May 2020

AsCEnD Advanced DotNet

DotNet Advanced Concepts Assessment


Q1. Number of threads that exists for each of the processes that occurs in the program

Answer: Atleast 1


Q2. Which of the following statement is correct?


Answer: Anonymous types are class types that derive directly from object.


Q3. We can create nested anonymous type


Answer: TRUE


Q4. Choose the namespace which supports multithreading program


Answer: System Threading


Q5. What is the correct statement about lambda expression?


Answer: The return type of lambda expression can be neglected in some cases


Q6. Which of these methods of Thread class is used to Suspend a thread for a period of time?


Answer: sleep()


Q7. Select the type of multitasking methods that exist


Answer: Process based and thread based


Q8. Choose the correct statement about process-based multitasking


Answer: Both


Q9. What types of Objects can you query using LINQ?


Answer: All of the above


Q10. LINQ is ____________.


Answer: Language Integrated Query


Q11. Which of the following supports LINQ queries?


Answer: All of the above


Q12. What LINQ expressions are used to shape results in a query


Answer: Group & Select


Q13. Correct syntax for declaring anonymous type


Answer: var Emp=new {ID=106,Name="Priya"};


Q14. Which LINQ keyword is used to categorize results in a query?


Answer: group