Add office photos
Premium Employer

Deloitte

3.8
based on 17.6k Reviews
Video summary
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by

Water Resources Department Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations

Q1. Explain your project a bot deeper?

Ans.

My project is a chatbot that assists users in booking flights and hotels.

  • The chatbot uses natural language processing to understand user requests

  • It integrates with travel APIs to provide real-time information on flights and hotels

  • Users can make bookings directly through the chatbot interface

  • The chatbot also provides recommendations based on user preferences and past bookings

Add your answer

Q2. Why we use in operator?

Ans.

The in operator is used to check if a value exists in a sequence or collection.

  • The in operator returns a boolean value (True or False).

  • It can be used with strings, lists, tuples, and dictionaries.

  • Example: 'a' in 'apple' will return True.

  • Example: 3 in [1, 2, 3, 4] will return True.

  • Example: 'cat' not in {'dog': 1, 'cat': 2} will return False.

Add your answer

Q3. Built in function in python

Ans.

Python has many built-in functions that can be used without importing any module.

  • Built-in functions are pre-defined functions in Python.

  • They are always available and can be used directly in the code.

  • Examples include print(), len(), range(), type(), etc.

Add your answer

Q4. Literals in python

Ans.

Literals are fixed values in Python code, such as numbers, strings, and booleans.

  • Literals are used to represent data in a program.

  • Numeric literals can be integers, floats, or complex numbers.

  • String literals are enclosed in quotes, either single or double.

  • Boolean literals are either True or False.

  • Examples: 42 is an integer literal, 'hello' is a string literal, True is a boolean literal.

Add your answer
Discover Water Resources Department interview dos and don'ts from real experiences

Q5. Keywords in python

Ans.

Keywords are reserved words in Python that have a specific meaning and cannot be used as variable names.

  • Keywords are used to define the syntax and structure of the language.

  • Examples of keywords include 'if', 'else', 'for', 'while', 'def', 'class', 'import', 'try', 'except', 'finally', 'and', 'or', 'not', 'in', 'is', 'None', 'True', and 'False'.

  • Using a keyword as a variable name will result in a syntax error.

  • Keywords are case sensitive and must be written in lowercase.

Add your answer

Q6. Reverse of string

Ans.

Reverse of string

  • Use a loop to iterate through the string and append each character to a new string in reverse order

  • Alternatively, use the built-in reverse() method for strings in some programming languages

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

Interview Process at Water Resources Department

based on 6 interviews
4 Interview rounds
Resume Shortlist Round
Coding Test Round
Technical Round
HR Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
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
70 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