GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Programming  >  Python
Go To First  |  Previous Question  |  Next Question 
 Python  |  Question 14 of 23    Print  
How is the Implementation of Python's dictionaries done?

  
Total Answers and Comments: 2 Last Update: February 10, 2009     Asked by: fred 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
December 03, 2007 19:07:11   #1  
dilbert_here00 Member Since: December 2007   Contribution: 1    

RE: How is the Implementation of Python's dictionaries done?

Using curly brackets -> {}

eg: {'a':'123' 'b':'456'}


 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
February 10, 2009 04:35:31   #2  
tomanihskb Member Since: February 2009   Contribution: 1    

RE: How is the Implementation of Python's dictionaries done?

A hash value of the key is computed using a hash function The hash value
addresses a location in an array of "buckets" or "collision lists" which
contains the (key value) pairs. The collision list addressed by the hash
value is searched sequentially until a pair is found with pair[0] key. There
turn value of the lookup is then pair[1].


 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : Jython ...
Read Answers (1) | Asked by : Remasri

Latest Answer : A hash value of the key is computed using a hash function, The hash value addresses a location in an array of "buckets" or "collision lists" which contains the (key , value) pairs.  The collision list addressed by the hash ...
Read Answers (2) | Asked by : fred


 Sponsored Links

 
Related Articles

SQA Implementation

SQA Implementation Developers and the SQA team create a development plan before they build an application The developers write following the SDLC plan while the SQA team writes the Software Quality Assurance Plan to ensure that the SDLC plan was executed If these documents by the developers and the
 

Concepts of Object-Oriented Programming

Object Oriented JavaScript In this chapter you ll learn about OOP Object Oriented Programming and how it relates to JavaScript As an ASP NET developer you probably have some experience working with objects and you may even be familiar with concepts such as inheritance However unless you re already a
 

ERP and DSS Implementation

ERP Implementation of DSS With the birth of electronic commerce and supply chains the call centers and other business initiatives supported by the information technologies had been worried about finding applications that join to decode interpret and take the opportunity to make good use of the risks
 

Working with XML in Python

Working with XML in Python The Extensive Markup Language and Python are two very different platforms Python is a programming language and XML is a standards oriented language document Python is a full fledged programming language which has its roots deep in scripts and also has matured over a period
 

SQL Programming

SQL Programming Overview Anybody who has done something for a long time has probably wanted to change how things work at some point or another. A worker at a mill might have found a more efficient way of cutting logs, or a mathematics teacher might have had a hand in changing a school’s al
 

ITIL Planning for Service Implementation

When planning to implement service management it is important to understand that it is a set in the information technology infrastructure library framework. The set is about the alignment of the needs and the IT provision requirements. This set also describes how to implement or improve IT service
 

System Implementation

In the previous articles relating to SDLC Stages we discussed about Project Planning and Feasibility Study moved on to System Analysis and Requirements which lead to Systems Design. Systems Design will naturally lead to another stage where it becomes closer to the actual deployment of the p
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

WinRunner Programming Concepts

If you want to create WinRunner scripts that are highly efficient, there are important programming concepts that you will want to become familiar with. Understanding these concepts will provide you with a large number of key benefits. In addition to understanding these concepts, you must also learn
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape