Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...



Programming Languages Interview Questions
Questions Answers Views Company eMail

Is Python a compiled language or an interpreted language?

2 1386

What are Python's key features?

2 993

What is the difference between `list` and `tuple` in Python?

2 1088

Explain Python's data types.

2 954

What are Python's built-in data structures?

2 1232

How do you handle exceptions in Python?

2 954

What is the difference between `deepcopy` and `shallow copy`?

5 1683

What are list comprehensions in Python?

2 962

Explain the difference between `@staticmethod` and `@classmethod`.

1 685

What is the difference between `__str__` and `__repr__` methods in Python?

1 752

What is the Global Interpreter Lock (GIL) in Python?

1 781

What is the difference between `del` and `remove()` in Python?

1 797

What are args and kwargs in Python?

1 782

Explain the concept of closures in Python.

1 750

What is metaprogramming in Python?

1 815


Un-Answered Questions { Programming Languages }

Is it worth to learn python in 2019?

812


What is homebrew?

734


What is the difference between php and java?

983


How to upload file in php?

1027


Describe friend function & its advantages.

1133


Discuss django architecture.

735


Objective The objective of this problem is to test the understanding of Object-Oriented Programming (OOP) concepts, in particular, on encapsulation. Problem Description Create a program for managing customer’s bank accounts. A bank customer can do the following operations: 1. Create a new bank account with an initial balance. 2. Deposit money into his/her account. 3. Withdraw money from his/her account. For this operation, you need to output “Transaction successful” if the intended amount of money can be withdrawn, otherwise output “Transaction unsuccessful” and no money will be withdrawn from his/her account. Input The input contains several operations and is terminated by “0”. The operations will be “Create name amount”, “Deposit name amount”, or “Withdraw name amount”, where name is the customer’s name and amount is an integer indicating the amount of money. There will be at most 100 bank accounts and they are all created on the first month when the bank is opening. You may assume that all account holders have unique names and the names consist of only a single word. Output The output contains the transaction result of withdrawal operations and the final balance of all customers after some withdrawal and deposit operations (same order as the input). Sample Input Create Billy 2500 Create Charlie 1000 Create John 100 Withdraw Charlie 500 Deposit John 899 Withdraw Charlie 1000 0

2237


What are hooks in code?

120


What is array filter php?

922


What are the list methods in python?

868


What is object file? How can you access object file?

1203


Vector v is c(1,2,3,4) and list x is list(5:8), what is the output of v*x[[1]]?

216


How many different levels of pointers are there?

1207


What is istream c++?

1187


What is an activex control explain with an example?

735