Write a function random_word_in_file (filename) to return a random word from the given file after punctuation is removed. Include a program to test your function.
Q: 3. a) Assume that you have a file size 50 and you were asked to map the fowling keys to the file…
A:
Q: You are given a list of 26 English alphabet letters. Suppose the letters are arranged in…
A:
Q: When explaining the software structure review process, could you provide some concrete examples of…
A: A software review is the systematic examination of a piece of software by one or more people working…
Q: With the convergence of physical and digital worlds and intelligent technologies, will we have a…
A: The question has been answered in step2
Q: A simple Oracle function may determine the number of years since your birth by comparing today's…
A: The question has been answered in step2
Q: Count all bad elements present in the string taken as input, a character is bad if that character is…
A: Write a C++ program to input a string from the user and count all bad elements present in the string…
Q: Make use of binary shifting to determine the decimal equivalence of (0.1011011011...), O O 5|7
A: Given To know about the bit-shifting in binary.
Q: Suppose an algorithm has an exponential growth function. What does that mean? What would be the…
A: The above question is solved in step 2 :-
Q: Cohesion and coupling, and how they relate to one another in software design, fascinate me.
A: Software design is the process by which an agent creates a specification of a software artifact…
Q: WRITE FLOWCHART FOR pH . pH = - Log [ H+] and [H+]=10 to the power minus 14 / [OH-]
A: The pH scale determines how basic or acidic a chemical solution is. The pH scale ranges from 0 to…
Q: There is some uncertainty as to whether or not the rise of sentient robots with the ability to make…
A: Introduction: The emergence of intelligent, decision-making robots is a genuine concern due to the…
Q: Detail the software structure review method using examples.
A: the answer of the question is given below
Q: Explain the distinction between qualities and variables in a three-page long analysis
A: Variables: Variable is a word for storing data in memory. In C, it layouts memory address values.…
Q: But what exactly is it about virtual memory that makes its implementation in embedded systems so…
A: Virtual memory regulates and supervises of virtual address spaces and transforms virtual addresses…
Q: In what sequence would you recommend carrying out the steps of the ABC system
A: ABC system Activity-based costing (ABC) is a way to figure out the cost of products and services…
Q: PYTHON PROGRAMMING
A: Coded using Python 3.
Q: Let's say you're in need of a Windows Calculator replacement and are thinking about hiring a…
A: Statement of objectives (SOO): It gives a general purpose as the foundation for the statement of…
Q: Write (in pseudocode) an implementation of virtual clocks, including the queuing and management of…
A: Answer: We need to write the pseudo code for virtual clock implication. we have written with…
Q: Can you send images of the in-put of the code into the program?
A:
Q: The term "API" refers to an application programming interface. What does this imply about hardware?…
A: The question has been answered in step2
Q: n administrator pre-configure the publi
A: Summary SSH is a secure protocol used as the primary means of remote connection to Linux servers.…
Q: Current server memory modules (DIMMs) employ SEC/DED ECC to protect each 64-bit data block with…
A: data provided Modern server memory modules (DIMMs) use single error correcting, double error…
Q: Q4 This is so validating! 1. Write one reason for why validating user input in HTML or JavaScript…
A:
Q: Describe the transfer of data using several modulation techniques.
A: Modulation: Modulation is referred to as a carrier signal since it fluctuates in response to the…
Q: Assume we will compute C on a shared memory computer with a single core and a shared memory computer…
A: Calculate the anticipated: How to Create an Income Tax Anticipation Statement The government…
Q: Describe an useful application of the no-access page facility provided in Windows XP?
A: Click the Start button to launch Windows XP's exploration mode. The Start menu shows when you click…
Q: There is some uncertainty as to whether or not the rise of sentient robots with the ability to make…
A: Introduction: The following concerns associated with robotics in the workplace make the development…
Q: Describe Eight Remarkable Computer Architecture Ideas.
A: The question has been answered in step2
Q: Is it safe to use the SSTF disc scheduling method, and if not, why not?
A: Answer:
Q: Do you expect ethical difficulties from AI's rise?
A: The use of AI in legal systems: Around the world is expanding, presenting more ethical questions to…
Q: write code.
A: Here, In the given code, four buttons will be created with a spacing of 20px between them. The title…
Q: Specify eight unique computer architecture concepts.
A: Computer architectures can be defined as a sets of rule and method that describe the…
Q: Web engineering and software engineering have different purposes.
A: answer is
Q: If Al has inherent prejudice, how can we fix it? What methods exist for making Al less prejudiced?
A: AI bias is an abnormality in the output of machine learning algorithms caused by biased assumptions…
Q: Why was the RISC architecture first proposed?
A: Given: The RISC architecture, which stands for Reduced Instruction Amount Architecture, is a…
Q: a. Find the subnet mask b. How many valid hosts are created?
A: The answer is
Q: The lack of spare storage capacity is the primary distinction between embedded and general-purpose…
A: Given: The distinction between embedded systems and general-purpose systemsPersonal computers,…
Q: What differentiates embedded computers from general-purpose computers?
A: Introduction: The distinction between embedded and general-purpose computers Personal computers,…
Q: Which of the following is the statement that declares an array called travel_cost that has 5 arrays…
A: Answer: Given Array name is travel_cost and 5 array with 4 element so we have explain in more…
Q: Describe the transfer of data using several modulation techniques.
A: By overlaying the message signal on the high-frequency signal, modulation changes the…
Q: Why not explore programming methods? Why are there so many paradigms? Really? Please clarify.
A: Programming languages have pushed the boundaries of what programming may be and what types can mean…
Q: What were the various optimizations used to minimize the discrepancy between CPU and I/O speeds on…
A:
Q: Create a list of four obstacles to healthy hearing, two external and two internal.
A: Successful listening: Effective listening is a method in which the listener comprehends the…
Q: To what extent does the idea of portability apply to the various programming languages?
A: Portability: Portability is a property of programming languages that allows an application to run in…
Q: Cohesion and coupling, and how they relate to one another in software design, fascinate me.
A: So keep this point in mind Why cohesion and coupling? Cohesion is an indication of how related and…
Q: In the context of software engineering, how are the concepts of cohesion and coupling related to one…
A: The answer of this question is as follows:
Q: could you do this in python??
A: I have provided PYTHON CODE along with CODE SCREENSHOT and OUTPUT…
Q: But what exactly is it about virtual memory that makes its implementation in embedded systems so…
A: The absence of virtual memory in embedded systems: Virtual memory is a memory management approach…
Q: Cohesion and coupling, and how they relate to one another in software design, fascinate me.
A: Cohesiveness is the degree to which the components of a module belong together in computer…
Q: operate? Provide at least two different EAP options in your d
A: Introduction: EAP is an authentication framework for delivering and utilising content and parameters…
PYTHON
Step by step
Solved in 2 steps
- Visit the following webpage: https://archive.org/details/National_Geographic_Wallpapers This webpage hosts a collection of 506 images from National Geographic Magazine with most of these images previously being part of an international photography contest. Your task is to randomly choose 5 images and identify the objects within those images using Google’s vision API. Submit your iPython notebook code, and screenshots of output as shown below. You may need to reactivate your Google vision API account (or billing information for trial cycles) if you haven’t used it recently. Here is the sample code import base64 import urllib import os import io import PIL from IPython.display import display, Image GOOGLE_API_KEY = '' #Use your Google API key here pip install google-api-python-client from googleapiclient.discovery import build service = build('vision', 'v1', developerKey=GOOGLE_API_KEY) cat = 'C:\\Users\\Instagram and neural networks\\cat.jpg' def label_image(path=None, URL=None,…<!DOCTYPE html><html> <head> <meta charset="utf-8"> <title>Black Goose Bistro Summer Menu</title> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Marko+One&display=swap" rel="stylesheet"> <style> body { font-family: 'Open Sans', sans-serif; font-size: 100%; } h1 { font-family: 'Marko One', serif; font-size: 1.5rem; } h2{ font-size: 1rem; } </style> </head> <body> <div id="info"> <h1>Black Goose Bistro • Summer Menu</h1> <p>Baker's Corner, Seekonk, Massachusetts<br> <span…https://www.dropbox.com/s/ekcezj984oi5wbc/SE%20L2T14%20-%20%20External%20Data%20Sources%20-%20Files.pdf?dl=0
- <!DOCTYPE html><html> <head> <meta charset="utf-8"> <title>Black Goose Bistro Summer Menu</title> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Marko+One&display=swap" rel="stylesheet"> <style> body { font-family: 'Open Sans', sans-serif; } h1{ font-family: 'Marko One', serif; } </style> </head> <body> <div id="info"> <h1>Black Goose Bistro • Summer Menu</h1> <p>Baker's Corner, Seekonk, Massachusetts<br> <span class="label">Hours: Monday through Thursday:</span> 11 to 9, <span class="label">Friday and…<!DOCTYPE html> <html> <head> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Quicksand&display=swap" rel="stylesheet"> <link rel="stylesheet" href="style.css"> <title>Shopping Cart</title> </head> <body> <div id="header"> <h1>My Basket</h1> <div class="clearfloat"></div> </div> <!-- #header --> <div id="container"> <div class ="row1"> <div class="clearfloat"></div> </div> <!--.row1 --> <div class ="row2"> <div class="clearfloat"></div> </div> <!--.row2 --> <div class="row3"> <h3 class="subtotal">Cart Subtotal: $<span id="cost">0</span></h3> <div class="clearfloat"></div> </div> <!-- .row3 --> <div…need help to finish the table links URL https://en.wikipedia.org/wiki/HTML https://en.wikipedia.org/wiki/HTML https://hartness.vsc.edu/ https://developer.mozilla.org/en-US/docs/Web/HTML https://css-tricks.com/ https://www.rockauto.com/en/catalog/ https://www.rockauto.com/en/catalog/ https://a.singlediv.com/ https://www.fogcam.org/
- <!doctype html><html><head><meta charset="UTF-8"><title>Black Goose Bakery Grid</title><link href="https://fonts.googleapis.com/css?family=Stint+Ultra+Expanded" rel="stylesheet"><style> html { box-sizing: border-box;}* { box-sizing: inherit;}body { font-family: Georgia, serif; font-size: 100%; background-color: white; margin: 0;} /* GRID STYLES START HERE */#layout { margin-left: 5%; margin-right: 5%; } /* VISUAL STYLES START HERE */ /* link styles */a:link, a:visited { color: #DC6903; }a:focus, a:hover, a:active { color: #F9AB33; } a { text-decoration: none; border-bottom: 1px dotted; padding-bottom: .2em;} /* nav styles */nav, footer { font-family: verdana, sans-serif; background-color: #783F27;}nav ul li a:link, nav ul li a:visited { color: #F9AB33;}nav ul li a:focus, nav ul li a:hover, nav ul li a:active { color: #fff;}nav ul { margin: 0; padding: 0; list-style-type: none; display: flex; justify-content:…<!doctype html><html><head><meta charset="UTF-8"><title>Black Goose Bakery Grid</title><link href="https://fonts.googleapis.com/css?family=Stint+Ultra+Expanded" rel="stylesheet"><style> html { box-sizing: border-box;}* { box-sizing: inherit;}body { font-family: Georgia, serif; font-size: 100%; background-color: white; margin: 0;} /* GRID STYLES START HERE */#layout { margin-left: 5%; margin-right: 5%; /* display as grid */ display: grid;/* 5 grid rows heights */grid-template-rows: 3em 20px [main-start] 150px 300px 5em [main-end];grid-template-columns: [main-start] 1fr [main-end] repeat(3, 20px 150px);} /* VISUAL STYLES START HERE */ /* link styles */a:link, a:visited { color: #DC6903; }a:focus, a:hover, a:active { color: #F9AB33; } a { text-decoration: none; border-bottom: 1px dotted; padding-bottom: .2em;} /* nav styles */nav, footer { font-family: verdana, sans-serif; background-color: #783F27;}nav ul li…<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Shape Up!</title> <link rel="shortcut icon" href="images/favicon.ico"> </head> <body> <header> <img src="images/shape_up_logo.png" alt="Shape Up logo"> <h2>Shape Up!</h2> <h3>Find the best fit for you</h3> </header> <main> <section> <h1>Get ready to Shape Up!</h1> <p>How many times have you started a new workout routine or diet? And how many times has it failed to give you the results you want? Now, with the help of this site, you can learn about the exercises and diet that work best for you. We offer personalized programs as well as access to several health and dieting tools. So don't wait! Get started looking and feeling better today.</p> <p>As fitness expert Amanda Russell said:</p> <blockquote>Fitness is about so much more than exercise. It’s a catalyst for…
- <!DOCTYPE html ><html> <head><meta charset="utf-8"><title>Black Goose Bistro Summer Menu</title><link href='http://fonts.googleapis.com/css?family=Marko+One' rel='stylesheet' type='text/css'><style>body {font-family: Georgia, serif;font-size: 100%;line-height: 175%;margin: 0 15% 0;}header {margin-top: 0;padding: 3em 1em 2em 1em;text-align: center;} a {text-decoration: none;} h1 {font: bold 1.5em Georgia, serif;text-shadow: .1em .1em .2em gray;}h2 {font-size: 1em;text-transform: uppercase;letter-spacing: .5em;text-align: center;}dt {font-weight: bold;}strong {font-style: italic;}ul {list-style-type: none;margin: 0;padding: 0;}#info p {font-style: italic;}.price {font-family: Georgia, serif;font-style: italic;}p.warning, sup {font-size: small;}.label {font-weight: bold;font-variant: small-caps;font-style: normal;} h2 + p {text-align: center;font-style: italic;} </style></head> <body> <header><h1>Black Goose…<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="author" content="Enter name"> <title>Shape Up!</title> <link rel="shortcut icon" href="images/favicon.ico"> <link rel="stylesheet" href="main_3_column.css"> </head> <body> <div class="container"> <header> <div class="headerImg"> <img src="images/shape_up_logo.png" alt="Shape Up logo"> </div> <div class="headerTxt"> <h2>Shape Up!</h2> <h3>Find the best fit for you</h3> </div> </header> <main> <div class="sidebar"> <aside> <h2>Additional resources</h2> <ul> <li><a href="https://www.cdc.gov/physicalactivity/basics/pa-health/index.htm">Physical activity and health</a></li> <li><a…<!DOCTYPE html ><html> <head><meta charset="utf-8"><title>Black Goose Bistro Summer Menu</title><link href='http://fonts.googleapis.com/css?family=Marko+One' rel='stylesheet' type='text/css'><style>body { font-family: Georgia, serif; font-size: 100%; line-height: 175%; margin: 0 15% 0; background-color:rgb(210,220,157); background-image: url("bullseye.png"); /* Rounded Shape image */ background-size: contain; } header { margin-top: 0; padding: 3em 1em 2em 1em; text-align: center; border-radius:4px; background-color:hsl(0, 14%, 95%); background-image: url("purpledot.png"); background-repeat: repeat-x; } a { text-decoration: none; color:rgb(153,51,153); } a:visited { color: hsl(300, 13%, 51%); } a:hover { background-color: #fff; } a:focus { background-color: #fff; } a:active{color:#ff00ff;} h1 { font: bold 1.5em Georgia, serif; text-shadow: 0.1em 0.1em 0.2em gray; color: rgb(153,51,153);} h2 { font-size: 1em; text-transform: uppercase;…