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
mario62 [17]
3 years ago
12

Define the summary function, which takes as arguments a database (dict) and a dict of current stock prices. It returns a diction

ary (dict or defaultdict) whose keys are client names (str) whose associated values are 2-tuples: the first index is a dictionary (dict or defaultdict) whose keys are stock names (str) and values are the number of shares (int) the client owns. The second index is the amount of money (int) the portfolio is worth (the sum of the number of shares of each stock multiplied by its current price). Assume each client starts with no shares of any stocks, and if a client owns 0 shares of a stock, the stock should not appear in the client’s dictionary. Recall positive numbers are a purchase of the stock and negative numbers a sale of the stock. E.g., if db is the database above, calling summary(db, {'IBM':65, 'Intel':60, 'Dell':55, 'Apple':70}) would return
Computers and Technology
1 answer:
lozanna [386]3 years ago
5 0
Hi :). (_define Your question to answer) ,
You might be interested in
A 10MB file is compressed into a 2MB file for storage. What is the compression ratio?
Elza [17]

Answer:

(b)5:1

Explanation:

Compression ratio is defined as the ratio between uncompressed size and compressed size i.e.,

Compression ratio=\frac{Uncompressed size}{Compressed size}  

Here 10MB is uncompressed size and 2MB is compressed size

So, Compression ratio=\frac{10}{2}  = 5:1

8 0
3 years ago
Which is the output of the formula =XOR(120<102;83=83;51<24)??
Greeley [361]
The output of the formula will be TRUE because '83 = 83' is the only true expression of that three expressions present in the formula.
The output of the XOR function will be TRUE in case only one logical expression is true and FALSE otherwise.
7 0
4 years ago
Read 2 more answers
What format are a setups program file in before executed?
UkoKoshka [18]
.EXE as they are executable programs.  However, it depends on the operating system
6 0
3 years ago
Discuss the core technologies and provide examples of where they exist in society. Discuss how the core technologies are part of
Vika [28.1K]

Answer:

Part A

The core technologies are the technologies which make other technologies work or perform their desired tasks

Examples of core technologies and where they exist are;

Thermal technology, which is the technology involving the work production, storage, and transfer using heat energy, exists in our refrigerators, heat engine, and boilers

Electronic technology is the technology that involves the control of the flow of electrons in a circuit through rectification and amplification provided by active devices. Electronic technology can be located in a radio receiver, printed circuit boards (PCB), and mobile phone

Fluid technology is the use of fluid to transmit a force, provide mechanical advantage, and generate power. Fluid technologies can be found in brakes, automatic transmission systems, landing gears, servomechanisms, and pneumatic tools such as syringes

Part B

The core technologies are the subsystems within the larger systems that make the larger systems to work

The thermal technology in a refrigerator makes use of the transfer of heat from a cold region, inside the fridge, to region of higher temperature, by the  use of heat exchange and the properties of the coolant when subjected to different amount of compression and expansion

The electronic technologies make it possible to make portable electronic devises such as the mobile phones by the use miniaturized circuit boards that perform several functions and are integrated into a small piece of semiconductor material

Fluid technologies in landing gears provide reliable activation of the undercarriage at all times in almost all conditions such that the landing gears can be activated mechanically without the need for other source of energy

Explanation:

6 0
3 years ago
Which of the following terms refers to the area of the hard drive used for virtual memory?
Andre45 [30]

Answer: C. Swap File

Explanation: Swap files provide some space for programs for the computer and virtual memory.

8 0
2 years ago
Other questions:
  • Colleen is creating a document with two minimal paragraphs of text comparing two business models for her company. She decides to
    14·2 answers
  • Net Worth is equal to assets minus liabilities. Which event will have the greatest impact (positive or negative) on one's net wo
    5·1 answer
  • What are the requirements to connect the Internet?<br>plz answer it.....​
    10·1 answer
  • Which of the following art forms gained in popularity during the Renaissance?
    10·2 answers
  • If your computer has a ________, someone else can gain access to it undetected.
    10·1 answer
  • Which function can you perform on a word processor but not on a typewriter?
    11·1 answer
  • What is the advantage of using a translation look-aside buffer (TLB), also called associative memory, in the logical-physical ad
    15·1 answer
  • The cameras picture review function allows you to look at the _ you've taken
    8·1 answer
  • Information that's been collected to help solve a problem is called?
    9·1 answer
  • Which statement is true with respect to Java?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!