Lab 4: Expectations: 1) Use key-value store commands which you learned in the lecture and through supplemental resources (readings/instructional videos), 2) use the REDIS tool, an online open-source key-value store, to practice the key-value store commands and, 3) gain hands-on experience using a key-value store tool and its commands Aim: To understand the key-value store concepts and commands learned in class by utilizing an industry standard key-value store and ultimately gain hands-on experience using this tool. Resources: Redis resources that may be helpful for this Lab Assignment: In addition to the lecture notes, supplemental readings and/or instructional videos, you may find the following useful: • Redis website - commands page provides an indepth explanation of all the Redis commands https://redis.io/commands • Redis online terminal - this link provides access to Redis online. https://try.redis.io/ Redis free downloads - if you prefer to download and install Redis on your hardware please follow instructions provided on the Redis webpage https://redis.io/download Lab Assignment Instructions: Using Redis, complete each number below by issuing the correct Redis command (please see the lecture notes, the resources provided as part of the weekly reading as well as the resources provided above in this document) • Once you issue the command and you get the output take a screen shot • Cut and paste the screen shot related under the related question. (The screen shot for number 1 should have the command and the output from the command, the screen shot for number 2 should have the command and the output from the command etc. for all the numbers below) • If you have any questions, please feel free to email me at emilonas@citytech.cuny.edu Part 1: LIST Use the command to create a list with the values below. Call the list List1 • b C Use the command to show the contents of the keys: 123 • Use the command to add to LIST1 value: z • Use the command to show the content of LIST1 • Use the command to add to LIST1 the following values: zy v ww • Use the command to show the contents of LIST1 • Use the command to sort LIST1 in order (a to z) • Use the command to sort LIST1 in reverse order (z to a) Use the command to delete the value: ww • Use the command to show the contents of LIST1 • Use the command to add to LIST1 the following values: ww ww ww • Use the command to show the contents of LIST1 • Use the command to delete two ww values (2 ww must be deleted, you should only see one ww value) • Use the command to show the contents of LIST1 Use the command to delete LIST1 • Use the command to show that LIST1 does not exist

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Part 1

Lab 4:
Expectations: 1) Use key-value store commands which you learned in the lecture and
through supplemental resources (readings/instructional videos), 2) use the REDIS tool,
an online open-source key-value store, to practice the key-value store commands and,
3) gain hands-on experience using a key-value store tool and its commands
Aim: To understand the key-value store concepts and commands learned in class by
utilizing an industry standard key-value store and ultimately gain hands-on experience
using this tool.
Resources: Redis resources that may be helpful for this Lab Assignment:
In addition to the lecture notes, supplemental readings and/or instructional videos, you
may find the following useful:
• Redis website - commands page provides an indepth explanation of all the
Redis commands https://redis.io/commands
• Redis online terminal - this link provides access to Redis online.
https://try.redis.io/
Redis free downloads - if you prefer to download and install Redis on your
hardware please follow instructions provided on the Redis webpage
https://redis.io/download
Lab Assignment Instructions:
Using Redis, complete each number below by issuing the correct Redis
command (please see the lecture notes, the resources provided as part of the
weekly reading as well as the resources provided above in this document)
• Once you issue the command and you get the output take a screen shot
• Cut and paste the screen shot related under the related question. (The screen
shot for number 1 should have the command and the output from the
command, the screen shot for number 2 should have the command and the
output from the command etc. for all the numbers below)
• If you have any questions, please feel free to email me at
emilonas@citytech.cuny.edu
Part 1: LIST
Use the command to create a list with the values below. Call the list List1
• b
C
Use the command to show the contents of the keys: 123
• Use the command to add to LIST1 value: z
•
Use the command to show the content of LIST1
• Use the command to add to LIST1 the following values: zy v ww
•
Use the command to show the contents of LIST1
• Use the command to sort LIST1 in order (a to z)
• Use the command to sort LIST1 in reverse order (z to a)
Use the command to delete the value: ww
• Use the command to show the contents of LIST1
• Use the command to add to LIST1 the following values: ww ww ww
• Use the command to show the contents of LIST1
•
Use the command to delete two ww values (2 ww must be deleted, you should only
see one ww value)
• Use the command to show the contents of LIST1
Use the command to delete LIST1
• Use the command to show that LIST1 does not exist
Transcribed Image Text:Lab 4: Expectations: 1) Use key-value store commands which you learned in the lecture and through supplemental resources (readings/instructional videos), 2) use the REDIS tool, an online open-source key-value store, to practice the key-value store commands and, 3) gain hands-on experience using a key-value store tool and its commands Aim: To understand the key-value store concepts and commands learned in class by utilizing an industry standard key-value store and ultimately gain hands-on experience using this tool. Resources: Redis resources that may be helpful for this Lab Assignment: In addition to the lecture notes, supplemental readings and/or instructional videos, you may find the following useful: • Redis website - commands page provides an indepth explanation of all the Redis commands https://redis.io/commands • Redis online terminal - this link provides access to Redis online. https://try.redis.io/ Redis free downloads - if you prefer to download and install Redis on your hardware please follow instructions provided on the Redis webpage https://redis.io/download Lab Assignment Instructions: Using Redis, complete each number below by issuing the correct Redis command (please see the lecture notes, the resources provided as part of the weekly reading as well as the resources provided above in this document) • Once you issue the command and you get the output take a screen shot • Cut and paste the screen shot related under the related question. (The screen shot for number 1 should have the command and the output from the command, the screen shot for number 2 should have the command and the output from the command etc. for all the numbers below) • If you have any questions, please feel free to email me at emilonas@citytech.cuny.edu Part 1: LIST Use the command to create a list with the values below. Call the list List1 • b C Use the command to show the contents of the keys: 123 • Use the command to add to LIST1 value: z • Use the command to show the content of LIST1 • Use the command to add to LIST1 the following values: zy v ww • Use the command to show the contents of LIST1 • Use the command to sort LIST1 in order (a to z) • Use the command to sort LIST1 in reverse order (z to a) Use the command to delete the value: ww • Use the command to show the contents of LIST1 • Use the command to add to LIST1 the following values: ww ww ww • Use the command to show the contents of LIST1 • Use the command to delete two ww values (2 ww must be deleted, you should only see one ww value) • Use the command to show the contents of LIST1 Use the command to delete LIST1 • Use the command to show that LIST1 does not exist
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education