Add office photos
Premium Employer

Innominds Software

3.4
based on 476 Reviews
Video summary
Filter interviews by

NMG Technologies Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations

Q1. (1) write a list comprehension to print a list from 1 to 10 (2) write a program to check if a given positive integer is a power of two (3) create a fibonacci series of 100 using recursive function (4) write a p...

read more
Ans.

A technical interview question for Senior Automation Test Engineer involving list comprehension, power of two, fibonacci series, missing numbers, and character count.

  • Use range() function to generate a list from 1 to 10 in list comprehension

  • Check if the given integer is a power of two by using bitwise AND operator

  • Use recursion to create a fibonacci series of 100

  • Find missing numbers from a list by comparing it with a range of numbers

  • Use a dictionary to count the occurrence of e...read more

View 1 answer

Q2. Python : (1) what is recursion ? Give example ? (2)what are the different data types in python? (3)What is negative indexing in python ? (4) How exception is handled in python ? (5) what is with statement (6) W...

read more
Ans.

Python interview questions covering recursion, data types, exception handling, memory management, and more.

  • Recursion is a function that calls itself. Example: factorial function.

  • Python data types include integers, floats, strings, lists, tuples, and dictionaries.

  • Negative indexing allows you to access elements from the end of a list or string. Example: my_list[-1] returns the last element.

  • Exceptions are handled using try-except blocks. Example: try: some_code except SomeExcept...read more

Add your answer

Q3. What is a generator ? Have you used it in real time?

Ans.

A generator is a function that returns an iterator object. It generates a sequence of values on the fly.

  • Generators are used to create iterators for lazy evaluation of a sequence of values.

  • They are memory efficient as they generate values on the fly instead of storing them in memory.

  • Generators are used in Python for creating infinite sequences, reading large files, and processing data in chunks.

  • Example: def my_generator(): yield 1; yield 2; yield 3; for i in my_generator(): pr...read more

Add your answer

Q4. Print a list of odd index elements from list1 and even index elements from list2 and print the thrid list with the result set of both. list1 = [3,6,9,12,15,18,21] list2 = [4,8,12,16,20,24,28]

Ans.

Print odd index elements from list1 and even index elements from list2 and combine them into a third list.

  • Loop through both lists and use conditional statements to append the elements to the third list.

  • Use the modulo operator to check for odd/even index.

  • Final list should contain [6, 4, 12, 12, 18, 20].

Add your answer
Discover NMG Technologies interview dos and don'ts from real experiences

Q5. What is software Test life Cycle and Bug Life cycle?

Ans.

Software Test Life Cycle (STLC) is a sequence of activities carried out to ensure quality in software testing. Bug Life Cycle is a process followed by the testing team to track and manage bugs found during testing.

  • STLC includes planning, designing, executing, and reporting of tests.

  • Bug Life Cycle includes bug identification, reporting, assigning, fixing, retesting, and closing.

  • STLC ensures that the software meets the requirements and is of high quality.

  • Bug Life Cycle ensures ...read more

Add your answer

Q6. What is pull request in git? how do you commit code ? how do you resolve merge conflicts ?

Ans.

Pull request is a feature in git that allows developers to review and merge code changes.

  • A pull request is created when a developer wants to merge their changes into the main branch

  • Other developers can review the changes and leave comments or suggestions

  • Once the changes are approved, the pull request can be merged into the main branch

  • To commit code, use the 'git commit' command with a message describing the changes made

  • To resolve merge conflicts, use 'git merge' and manually ...read more

Add your answer

Q7. (1) what is chmod 644 example.txt permission ? (2) what is the use of xpath? (3) how will you find an element by xpath and by css in selenium ?

Ans.

Answers to technical questions for Senior Automation Test Engineer position.

  • chmod 644 example.txt permission means the owner has read and write access, while others have only read access.

  • XPath is a language used to locate elements in an XML document or HTML page.

  • To find an element by XPath in Selenium, use the findElement() method with the By.xpath() locator. For example: driver.findElement(By.xpath("//input[@id='username']"));

  • To find an element by CSS in Selenium, use the fi...read more

Add your answer

Q8. What is a lambda function? Give a example

Ans.

A lambda function is a small anonymous function that can take any number of arguments and return a single value.

  • Lambda functions are also known as anonymous functions or closures.

  • They are often used as arguments for higher-order functions, such as map, filter, and reduce.

  • Example: lambda x: x**2 defines a lambda function that takes one argument and returns its square.

Add your answer

Q9. write a python program to print the repititve characters in a list which should exclude integers input = ['a','a',4,4,'b','c','a'] output = {'a':3}

Ans.

Python program to print repetitive characters in a list excluding integers

  • Use a dictionary to store the count of each character

  • Iterate through the list and check if the character is a string and not an integer

  • Print the characters with count greater than 1

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at NMG Technologies

based on 1 interviews
Interview experience
3.0
Average
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Senior Automation Test Engineer Interview Questions from Similar Companies

3.7
 • 22 Interview Questions
3.7
 • 11 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter