1 2 3 4 5 v 678 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 ### welcome_assignment_answers ### Input - All nine questions given in the assignment. ### Output - The right answer for the specific question. def welcome_assignment_answers (question): # Students do not have to follow the skeleton for this assignment. #Another way to implement is using a "case" statements similar to C. if question == "Are encoding and encryption the same? - Yes/No": answer = "The student should type the answer here" elif question == "Is it possible to decrypt a message without a key? - Yes/No": answer = "The student should type the answer here" else: ### you should understand why this else case should be included ### what happens if there is a typo in one of the questions? ### maybe put something here to flag an issue and catch errors answer = "This is not my beautiful wife! This is not my beautiful car! How did I get here?" return(answer) # Complete all the questions. if ___name_ == "__main__": #use this space to debug and verify that the program works debug_question = "Are encoding and encryption the same? - Yes/No" print (welcome_assignment_answers (debug_question)) #Questions: #"In Slack, what is the secret passphrase posted in the #lab-python-getting-started channel posted by a TA?": # "Are encoding and encryption the same? - Yes/No": #"Is it possible to decrypt a message without a key? - Yes/No": #"Is it possible to decode a message without a key? - Yes/No": # "Is a hashed message supposed to be un-hashed? Yes/No": #"What is the SHA256 hashing value of your NYU email and use the answer in your code #"Is MD5 a secured hashing algorithm? - Yes/No": #"What layer of the TCP/IP model does the protocol DNS belong to? - The answer should be an integer number": # "What layer of the TCP/IP model does the protocol ICMP belong to? - The answer should be an integer number":
1 2 3 4 5 v 678 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 ### welcome_assignment_answers ### Input - All nine questions given in the assignment. ### Output - The right answer for the specific question. def welcome_assignment_answers (question): # Students do not have to follow the skeleton for this assignment. #Another way to implement is using a "case" statements similar to C. if question == "Are encoding and encryption the same? - Yes/No": answer = "The student should type the answer here" elif question == "Is it possible to decrypt a message without a key? - Yes/No": answer = "The student should type the answer here" else: ### you should understand why this else case should be included ### what happens if there is a typo in one of the questions? ### maybe put something here to flag an issue and catch errors answer = "This is not my beautiful wife! This is not my beautiful car! How did I get here?" return(answer) # Complete all the questions. if ___name_ == "__main__": #use this space to debug and verify that the program works debug_question = "Are encoding and encryption the same? - Yes/No" print (welcome_assignment_answers (debug_question)) #Questions: #"In Slack, what is the secret passphrase posted in the #lab-python-getting-started channel posted by a TA?": # "Are encoding and encryption the same? - Yes/No": #"Is it possible to decrypt a message without a key? - Yes/No": #"Is it possible to decode a message without a key? - Yes/No": # "Is a hashed message supposed to be un-hashed? Yes/No": #"What is the SHA256 hashing value of your NYU email and use the answer in your code #"Is MD5 a secured hashing algorithm? - Yes/No": #"What layer of the TCP/IP model does the protocol DNS belong to? - The answer should be an integer number": # "What layer of the TCP/IP model does the protocol ICMP belong to? - The answer should be an integer number":
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
Related questions
Question
Need to be anwsered
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 1 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
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)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
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)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education