
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN: 9780133594140
Author: James Kurose, Keith Ross
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Question

Transcribed Image Text:Emenu.txt x +
1 Antipasti Misto, $9.95, 1
2 Rigatoni Alle Stagioni, $14.95, 2
3 Penne Cesare, $15.95, 2
4
5
Penne Vodka, $14.95, 2
Farfalle del Campo, $13.95, 2
6 Fettucini al Grano duro, $13.95, 2
7 Vongole Alla Oregonata 0. Casino, $8.95, 1
Homemade Canoli, $6.00, 3
8
9
10
13
Tartufo Gelato al Cioccolate, $7.50, 3
Gozze Posillipo 0. Luciana, $7.95, 1
11 Rigatoni All'Amatriciana, $13.95, 2
12 Vongole Posillipo 0. Luciana, $8.95, 1
Lumache Poluignon, $8.95, 1
Gonochi Sorrento, $13.95, 2
15 Linguini Diabolo, $15.95, 2
16 Zucchini Fritti, $6.95, 1
17 Tartuffo Di Mare, $9.95, 1
14
18
19
20 Copa Di Gamberi, $11.95, 1
21
22
23
24
Tartuffo Alla Rockefeller, $9.95, 1
Cocktail Di Vongole, $8.95, 1
25
Spumoni Ice Cream, $6.00, 3
26 Suppa del Giorno, $6.00, 1
27
Cheese Cake, $6.00, 3
28
Stracciatella Fiorentina, $5.00, 1
Delizia Di Parma con Melone, $8.95, 1
Minestrone, $5.00, 1
Pasta and Fagioli, $5.00, 1
Fresh Fruit Salad, $6.00, 3
29 Zuppa Pavase, $5.00, 1
30 Insalata di Stagioni, $5.00, 1
31
Spaghetti al Filetto di Pomodoro, $19.95, 2
32 Spaghetti Carbonara, $13.95, 2
33
Calamari Fritti, $8.95, 1
34 Ravioli al Funghetto, $14.95, 2
35 Insalata Tricolore, $6.50, 1
36 Spinach Salad, $6.00, 1
37 Pepperoni Arostili, $8.00, 1
41
42
38 LaCaprese, $8.00, 1
39
40
43
44
Capellini Alla Primavera, $13.95, 2
Carpaccio al Salmone, $8.95, 1
Antipasto Fredo, $8.95, 1
Gran Misto di Fonghi alla Griglia, $12.95, 1
Vegelati all Griglia, $7.95, 1
Linguini Alla Salsa D'Astice, $16.95, 2
45 Linguini Alle Vongole, $14.95, 2
46 Sabaglioni, $6.50, 3
47 Linguini di Mare, $16.95, 2
48 Fettucini Al Fredo, $13.95, 2
49 Spaghetti Bolognese, $13.95, 2
50 Tortellini Alla Nana, $13.95, 2
Tiramisu, $7.00, 3
51
52 Lasagna del Giorno, $13.95, 2
Fusilli Mare and Monte, $15.95, 2
53
54 Risotto Fruitti di Mare, $15.95, 2
55 Risotto al Funcghi, $13.95, 2
56 Risotto Cesare, $13.95, 2
57
Carrot Cake, $6.00, 3
58
Flan Caramel Custard, $6.00, 3
59

Transcribed Image Text:Homework 10
For this assignment you are to read in the data from the 'menu.txt file and create an SQLite database from it, called 'menu.db.
Show Transcribed Text
main.py x +
1 import sqlite3
2
3
4 Put your solution here
5
6
7
for record in c.execute("SELECT * FROM items"):
8
print (record)
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution
Trending nowThis is a popular solution!
Step by stepSolved in 3 steps with 4 images

Knowledge Booster
Similar questions
- Below is “Book Order,” the only table in library management system’s database. The design of “Book Order” as you may tell is in the zero normal formal form, you as the database designer want to convert the design into the third normal form. Order ID Special order date Customer ID Customer last name Customer First name Customer birth date Book ISBN1 Book Title 1 Book Author 1 Book publication year 1 Book ISBN2 Book Title 2 Book Author 2 Book publication year 2 Store ID Store name Store location Special order status Book Order(Order ID, Special order date, Customer ID, Customer last name, Customer First name, Customer birth date, Book ISBN1, Book Title 1, Book Author 1, Book publication year 1, Book ISBN2, Book Title 2, Book Author 2, Book publication year 2, Store ID, Store name, Store location, Special order status)arrow_forwardUse My Guitar Shop Database Use Microsoft SQL Server Write a script that includes these statements coded as a transaction: INSERT Orders VALUES (3, GETDATE(), '10.00', '0.00', NULL, 4, 'American Express', '378282246310005', '04/2019', 4); SET @OrderID = @@IDENTITY; INSERT OrderItems VALUES (@OrderID, 6, '415.00', '161.85', 1); INSERT OrderItems VALUES (@OrderID, 1, '699.00', '209.70', 1); Here, the @@IDENTITY variable is used to get the order ID value that’s automatically generated when the first INSERT statement inserts an order. If these statements execute successfully, commit the changes. Otherwise, roll back the changes.arrow_forwardThis assignment is aimed at building an understanding of how to improve performance within databases by taking advantage the computers hardware by modifying MS SQL settings Prerequisites: Completion of Assignment 1B, reading of Module Readings and Slides. Run the following query to understand how much Memory is currently in use in the database: SELECT physical_memory_in_use_kb/1024 AS sql_physical_memory_in_use_MB, large_page_allocations_kb/1024 AS sql_large_page_allocations_MB, locked_page_allocations_kb/1024 AS sql_locked_page_allocations_MB, virtual_address_space_reserved_kb/1024 AS sql_VAS_reserved_MB, virtual_address_space_committed_kb/1024 AS sql_VAS_committed_MB, virtual_address_space_available_kb/1024 AS sql_VAS_available_MB, page_fault_count AS sql_page_fault_count, memory_utilization_percentage AS sql_memory_utilization_percentage, process_physical_memory_low AS sql_process_physical_memory_low, process_virtual_memory_low AS…arrow_forward
- Using php and sql: Create a PDO object to connect to your database for running select queries.Write a database query to output all the messages in the messages table.arrow_forwardWhen the Search button is pressed in the screen depicted, the getSales() function from the PosDAO.java class is called, the parameters of this function are the from date and to date.The getSales () function should return a list of Pos objects that matches the criteria specified, Note this function has to perform two INNER JOINs in to combine all three tables in order to get all the needed data to fill the Pos object. The database schema is also depicted. The PosDAO, Product, SalesDetails and Pos classes are shown BELOW Write the getSales() function public class PosDAO { private Connection conn; PreparedStatement stmt = null; public boolean openConnection(){ try { // db parameters String url = "jdbc:mysql://localhost:4306/swen2005"; String user = "root"; String password = ""; // create a connection to the database conn = DriverManager.getConnection(url, user, password); if (conn!= null){ return true;…arrow_forwardTask 3: The Marketing team wants to collect emails of the users on InstantStay. However, the team needs a SQL statement to execute inside their programming environment. You need to create a statement that they can easily run the EXECUTE command to return a single column table containing the USER_EMAIL addresses. Task: Create a prepared statement for use with the EXECUTE command.arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi...Computer EngineeringISBN:9780133594140Author:James Kurose, Keith RossPublisher:PEARSON
Computer Organization and Design MIPS Edition, Fi...Computer EngineeringISBN:9780124077263Author:David A. Patterson, John L. HennessyPublisher:Elsevier Science
Network+ Guide to Networks (MindTap Course List)Computer EngineeringISBN:9781337569330Author:Jill West, Tamara Dean, Jean AndrewsPublisher:Cengage Learning
Concepts of Database ManagementComputer EngineeringISBN:9781337093422Author:Joy L. Starks, Philip J. Pratt, Mary Z. LastPublisher:Cengage Learning
Prelude to ProgrammingComputer EngineeringISBN:9780133750423Author:VENIT, StewartPublisher:Pearson Education
Sc Business Data Communications and Networking, T...Computer EngineeringISBN:9781119368830Author:FITZGERALDPublisher:WILEY

Computer Networking: A Top-Down Approach (7th Edi...
Computer Engineering
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:PEARSON

Computer Organization and Design MIPS Edition, Fi...
Computer Engineering
ISBN:9780124077263
Author:David A. Patterson, John L. Hennessy
Publisher:Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:9781337569330
Author:Jill West, Tamara Dean, Jean Andrews
Publisher:Cengage Learning

Concepts of Database Management
Computer Engineering
ISBN:9781337093422
Author:Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:9780133750423
Author:VENIT, Stewart
Publisher:Pearson Education

Sc Business Data Communications and Networking, T...
Computer Engineering
ISBN:9781119368830
Author:FITZGERALD
Publisher:WILEY