Write a program that keeps names and email addresses

Assignment Help Basic Computer Science
Reference no: EM13307293

Write a program that keeps names and email addresses in a dictionary as key-value pairs.

The program should display a menu that lets the user look up a person's email address, add a new name and email address, change an existing email address, and delete an existing name and email address. The program should pickle* the dictionary and save it to a file when the user exits the program. Each time the program starts, it should retrieve the dictionary from the file and unpickle* it.

You must create and use at least 5 meaningful functions.
display a menu
look up a person's email address
add a new name and email address
change an existing email address
delete an existing name and email address.

Reference no: EM13307293

Questions Cloud

Implementation strategy for change : Demonstrate the skill of identifying an implementation strategy for change and working with diverse opinions and perspectives to develop and describe a new approach to a past challenge of an organization implementing change.
Find a more accurate formula : Find the values of A and B such that error is minimized. What power of h is the error proportional to. Use the formula to find d/dx sin(x) at x =pi/3.
Colebrook-white equation : Determine the headloss in a 46 cm steel formed concrete pipe with an average flow velocity of 3 m/s and a length of 40 m using the colebrook-white equation
What is the length of the athletes jump : An athlete competing in long jump leaves the ground with a speed of 9.14 m/s at an angle of 35.0 ° above the horizontal
Write a program that keeps names and email addresses : Write a program that keeps names and email addresses in a dictionary as key-value pairs.
Explain the effects of the negative impact : Explain the effects of the negative impact/interaction and suggest ways in which the criminal justice system can use this form of social media more effectively.
Convert this cfg to one with-out the lambda-production then : convert this CFG to one with-out the lambda-Production then.
What is the power required to keep that object in motion : An object weighting 100N is traveling vertically upward from the ground in the absence of air resistance at a constant velocity of 5 m/s
Determine the velocity downstream of the rotor : An early NASA/DOE wind turbine consisted of a 125.0-ft diameter, two-bladed horizontal axis rotor. Maximum power was achieved at a wind speed of 19.0 miles/hr.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Explaining function in sop and pos

Simplify the function in SOP and POS and draw logic gates design, using the minimum possible number of gates.(if you need to further simplify using Boolean algebra please do so).

  Examine and assess the main computing problems

Use at least three (3) quality resources in this assignment. Note: Wikipedia and similar Websites do not qualify as quality resources.

  How offset potential negative implications of the adoption

Develop a virtualization adoption plan applicable to the scenario by doing the following.

  Write a few lines of code to create a timer in java

Write a few lines of code to create a timer in Java which fires an ActionEvent every 150 msec. Assume the existence of a TimerEventHandler class which needs to respond to timer events.

  Who swallowed a cat, imagine that to swallow a cat.

There was an old woman who swallowed a fly. I don't know why she swallowed that fly, Perhaps she'll die. There was an old woman who swallowed a spider, That wriggled and wiggled and jiggled inside he She swallowed the spider to catch the fly, I do..

  Finding instruction format for indirect addressing

Determine the instruction format, considering that there is no bit for indirect addressing.

  Use an enhanced for loop to process the array

Write a Java method which takes an integer array parameter and locates the minimum value in the array and outputs that value using System.out.printf. Use an enhanced for loop to process the array. You only need one loop to do this!

  Explain functionality of multiprogrammed system in user mode

In multiprogrammed system, must this functionality be available in user mode or only accessible by system call? Why or why not?

  Distinct integers that has the following property

You have an array A[0], A[1], ..., A[n - 1] of distinct integers that has the following property:The values in the array increase up to index p for some p between 0 and n - 1, and then decrease for all indices beyond p through positio

  Storage of an unordered collection of items

Storage of an unordered collection of items that facilitates efficient, random access of items based on an item's position in the collection.

  Client-server computing from file server

Discuss the evolution of client-server computing from file server to multilayer applications to Web-based applications. What has been the driving force causing this evolution? Where do you think network computing will be in the next five years? Ten y..

  What decimal number would the ieee 754

What decimal number would the IEEE 754 single precision floating point number 0xCAE80000 (this is in hex) be? Write your final answer in scientific notation as m x 10 p where p is an integer.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd