Interview Questions collection


For Software testing example:

  • For a messaging app, create test cases as much as you can.

  • While testing, you found the program behvior is not as expected as requirement document, what will you do?

  • When your leader assign multiple tasks to you, what will you do?

  • In JavaScript, when the error "variable is not defined" occurs, what does it mean?

  • For API testing, login with 100 different account, add a item into the cart, complete the payment.
    please describe the steps how do you complete the task.

  • In Linux terminal, run the command "crontab -l", the output shows " * 22 * * * /test/scripts/test.sh
    please explain what does it mean.

  • Try to create a bug which is a block issue.

  • Explain Performance Testing, Stress Testing and Load Testing.

  • Explain the difference between break, continue and pass statements in Python.



     


For English logic example:

Reference: https://www.naukri.com/campus/career-guidance/65-logical-reasoning-questions-and-answers-for-freshers


For programing example:

inputnumber = int(input("Enter a number: "))
if inputnumber % 2 == 0 and inputnumber != 0:
    print("A")
elif inputnumber % 2 == 1 and  2 < inputnumber < 6:
    print("B")
elif inputnumber % 2 != 0 and 6 <= inputnumber <= 20:
    print("C")
elif inputnumber % 2 != 0 and inputnumber > 20:
    print("D")



A ball rebounds to one-half the height from which it is dropped. The ball is dropped from a height of 160 feet and keeps on bouncing.
What is the total vertical distance the ball will travel from the moment it is dropped to the moment it hits the floor for the fifth time?


For SQL example:

  • Given Table A and Table B
    Explain the dif between Right Join and Left join.

















  • Write down the SQL query you used in your previous project.

  • Table customer: "id", "Name","Country code" 
    Table country: counrty code, country name
    Table deposit_order: order_id, customer_id, deposit_amount, order_time
    Use SQL query to list the top 10 country total deposit amount from highest to lowest.


  • You want to find out the user which email is 'abc@test.com' in a table, try to write a SQL query based on the condition. 





  










Comments

Popular Posts