1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Alla [95]
3 years ago
10

Give your own examples for how list and dictionary data structures could keep track of some common information you might need.

Computers and Technology
1 answer:
Eduardwww [97]3 years ago
3 0

List and dictionary data structures keep track some of our common information that we need in the following way.

Explanation:

Every programming language has provision for data structures. In the Python programming language, there are a total of 4 inbuilt data structures. These are namely list, tuple, dictionary, and set. Each of them is unique in its own right.

List

  • A data structure that stores an ordered collection of items in Python is called a list. In other words, a list holds a sequence of items. You need to put all the items, separated by commas, in square brackets to let Python know that a list has been specified. The general syntax of a list is:
  • some_list = [item 1, item 2, item 3,….., item n]
  • After creating a list in Python, it is possible to search, add, and remove items from the list.

Dictionary

  • It stores data in the form of key-value pairs. The keys defined for a dictionary need to be unique. Though values in a dictionary can be mutable or immutable objects, only immutable objects are allowed for keys.

  • A dictionary in Python is defined using key-value pairs, separated by commas, enclosed within curly braces. The key and value are separated using a colon.
  • The general syntax of a dictionary is:  some_dictionary ={key 1 : value 1, key 2 : value 2, key 3 : value 3,…., key n : value n}
You might be interested in
Which type of computer operating system would be best for a large corporation?
JulsSmile [24]
C.) Multi-user, multitasking
6 0
3 years ago
Read 2 more answers
Help me with this two questions please
AnnyKZ [126]

Answer:

1 is def... don't know about the other one though sorry

6 0
2 years ago
An internet layer is a quantity of data that is transmitted on a netowrk without concern for whether it is accurate or whether i
satela [25.4K]

Answer:

False

Explanation:

The statement being made here is a False statement. An internet layer is not necessarily a quantity of data but instead, it is a group of various different codes, programs, and protocols that allow from the data to travel safely from one endpoint to the other. This is what allows one user from one side of the world to send information to someone else who can receive it from the other side of the world through the internet.

7 0
3 years ago
Which of the following describes evolution in the SDLC model?
stira [4]

Completing the requirements analysis is the evolutionary step of the Software development life cycle (SDLC). Hence option 3

<h3>What is the software development life cycle?</h3>

The SDLC is a method for evaluating and improving the development process. It enables a fine-grained study of each process phase. As a result, firms are able to maximize efficiency at each level.

SDLC aids in the achievement of these objectives by detecting inefficiencies and increased costs and resolving them so that everything runs smoothly.

Thus, Initial needs and architecture planning must be completed and are considered as an evolution in the SDLC model

Learn more about SDLC:

brainly.com/question/26366977

#SPJ1

4 0
2 years ago
Assume the availability of class named Date Manager that provides a static method, print Todays Date, that accepts no arguments
anygoal [31]

Answer:

DateManager.printTodaysDate();

Explanation:

As class named "DateManager" which will call the "printTodaysDate()"  static function.Static method are those who are accessed by the classname not by the object .

  • As printTodaysDate(); is a static method it means it cannot hold non static data.It hold only the static data,We cannot used super keyword in the  printTodaysDate(); function.
  • So the statement DateManager.printTodaysDate(); calls print Todays Date.
3 0
3 years ago
Other questions:
  • Rich Text Format (RTF) is a universal file format that can include information such as text style, size, and color and can be re
    12·2 answers
  • The most common types of utility programs fall into these categories. accessibility calculation communication data entry enterta
    6·2 answers
  • . Write a code to define a linked list node using the above defined structure student (i.e. the data of the node is a student st
    11·1 answer
  • Assume that sentence is a variable of type String that has been assigned a value. Assume furthermore that this value is a String
    10·1 answer
  • What is a bin range?
    14·1 answer
  • Does any body know the name of this sensor? ​
    11·1 answer
  • Who invented pascaline and when?​
    11·2 answers
  • If you play video games, please answer these questions it’s for a survey for my game development class!!
    5·1 answer
  • Que compone una maquina Rube Goldberg (operadores mecánicos- maquinas simples – mecanismos)
    8·1 answer
  • Explain briefly how learning how to follow can make a person a good leader
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!