Linux Bulid System: If I create a makefile target like this, list the targets that will be built in the order that they will be built: pictureLibrary: movieLibrary
Q: What is the effect of data mining on individual privacy and security?
A: Given: We have to discuss what is the effect of data mining on individual privacy and security.
Q: Write C++ program to read 20 integers to be stored in a One dimension array of size 20: 1. Find the ...
A: #include <iostream> using namespace std; int main() { int arr[20]; int sum = 0,max=0; ...
Q: What are the chances that a user's effort to add data to the database would result in the creation o...
A: Introduction: A database is a collection of structured data that has been logically organised and is...
Q: Write a SQL query to find the member number (member_no) of each faculty whose department
A: SELECT Member_no FROM COMPANY WHERE DEPARTMENT_BUILDING IN (SELECT DEPARTMENT_BUILDING FROM COMPANY...
Q: Do you think that technology advancements always lead to better games? What excuse do you have (or d...
A: Introduction: Better games are always the outcome of technological advancements.
Q: Write the pseudocode for two modules which could be incorporated into the application planned for Lu...
A: # defining the first moduledef module1(): # declaring the lists to store the description and ...
Q: Was there a significant difference between an interpretive language and one that was compiled?
A: Interpretive language: Interpretive language is those language which doesn’t compile and indirectly ...
Q: In the Time- complexity column, write how many times would every line be executed. Thereafter, below...
A: Time complexity 1. - 1 2. - n/2 3. n/2 * Logn
Q: When keeping passwords in a file, why is hashing passwords preferable than encrypting the password f...
A: Introduction: Encrypting the password is a possibility. However, this poses a security problem becau...
Q: Write a C++ program to take an array of ints, print true if the sequence of numbers 1, 2, 3 appears ...
A: C++ Program: #include <iostream>using namespace std; /* sequence() function of boolean type fo...
Q: Write a function that will redact every third word in a sentence. Make use of the hashtag (#) symbol...
A: The asked python program is provided in the next step and the concept of for loop, if-else, and repl...
Q: Discuss briefly the benefits and drawbacks of frequent software upgrades?
A: Upgrading is the process of replacing a software product with newer version of same product.
Q: What do you think one of the most essential uses of AI in enterprises is? Let's talk about it. Find ...
A: Introduction: Artificial intelligence and deep learning artificial intelligence technologies are rap...
Q: Exercise: 1. Match the number with the appropriate label. Label : a. Structure members b. Initializa...
A: Hi, as there are multiple questions in this post, as per our policy, I'll answer the first question....
Q: Develop C program using switch and while statements, with two user choices, first choice, check whet...
A: Steps: Input and integer from user and check it's range. Enter user's choice and switch the switch....
Q: What are some of the most prevalent sorts of error messages, and what do they indicate
A: "401 Unauthorized" First on our rundown of HTTP mistake codes is 401. A 401 message implies the serv...
Q: Simplify the following Boolean expressions to a minimum number of literals: (a + b+ c')(a'b' + c) (a...
A:
Q: ii) Input a string single from the user and form a string triple in which all characters of the stri...
A: I give the code in Java along with output and code screenshot
Q: one line program for 290+11x+6x^2+x^3
A: Given: one line command for the following tasks a. Root of the polynomial 290+11x+6x^2+x^3
Q: Computer Science Write a C++ code where the user is able to enter their name, symptom of sickness, ...
A: PrintHospitalData() : It will print all the hospitals data. PrintPatientData() : It will print all...
Q: program using switch and while statements, with two cases based on user choice, first choice, check ...
A: The syntax of switch case is switch (variable_name) { case 'CASE1': break; case 'CASE2': break; }
Q: When referring to the GOTO saga and spaghetti code, What was demonstrated by the Structured Programm...
A: Introduction: With regard to spaghetti code and the GOTO issue, we must explain what the Structured ...
Q: How many memory accesses does the CPU need to perform during the instruction cycle while executing t...
A: Introduction: A programme is a set of instructions stored in the memory unit of a computer.
Q: What is the difference between an Elicited Act and a Commanded Act?
A:
Q: Why isn't a data item represented in a data model?
A: It is possible to think of a data model as an abstract model that organizes and standardizes data co...
Q: PLEASE HELP ME WITH THIS WHOLE PYTHON PROGRAMME QUESTION USE Bivariate Barplots Activity 2: Create...
A: Requirements: To create two sub Dataframes from the main dataframe where one data frame holds only m...
Q: State a non-linear classifier that performs no worse than the linear classifier
A: Linear classifiers misclassify the area, while a nonlinear classifier like kNN will be highly exact ...
Q: What is the objective of Access Security Software?
A: Introduction: The idea is to give people access to only the data that is considered necessary for th...
Q: give a randomly ordered array of n elements; partition the elements into two arrays such that the el...
A: We need to write a C program for the given scenario.
Q: 1. What's "Bayes Decision Rule"? Explain with presenting formula(s) for a hypothetical two-class exa...
A: Bayes Decision Rule
Q: Give examples of six different process technologies that are utilized for programmable connections i...
A: Introduction: A programmable logic device (PLD) is a kind of electrical component that enables the c...
Q: What do you mean by Rate Limiting?
A: Rate Limiting: Rate limiting is the concepts of computer networking which is used to direct rate of ...
Q: Identify and describe two of the predicted virtualized operating system consequences.
A: Introduction: Virtualizаtiоn is a teсhnоlоgy that isolates an application, guest operating system (g...
Q: What exactly is Assembler?
A: Introduction: Assembler: An assembler is a type of computer program that interprets software program...
Q: secure your cloud network with Security Groups
A: Security groups are security firewalls for the cloud networks network access control lists (NACLs) a...
Q: readEmpFromFile
A: Programming is given below.
Q: Classes of Languages Show that the language L {abww: w e {a, b}*} is not context-free. %3D
A: Here, we are going to show that given language L is not context free.
Q: One significant reason why constructing embeddings for characters or subwords instead of, or in addi...
A: Embedding: In the language process, we wish to form laptop programs that perceive, generate, and, in...
Q: Why would you use Wireshark to study the ARP Protocol?
A: Introduction: ARP is a basic technique for finding the MAC addresses of network machines that are as...
Q: next time you connect to a Wi-Fi, and use WhatsApp to make a VoIP call, while roaming out of country...
A: Lets see the solution.
Q: One of Vivobarefoot's recurring concerns is the quality and speed of the Internet access offered to ...
A: Introduction: To begin, we must understand cloud computing. Cloud computing is storing, processing, ...
Q: Q2: Write C++ program to input from keyboard two numbers then to Print out the product of them if th...
A: Here, we are going to write a C++ program which will product of two numbers when first number is gre...
Q: 2. Develop a complete program for currency conversion rate as defined in Table 1. In main function, ...
A: Step-1: StartStep-2: Declare two integer variable choice and usdStep-3: Declare a float variable con...
Q: Brief information about matlab software
A:
Q: Apex Assignment: Create a apex class called addition and then create a method to add the 2 integer a...
A: The main contents of a LWC are also html, javascript. There are optional content like css. But then ...
Q: Siobhan's laptop is equipped with 8GB of RAM. Her operating system consumes 2GB of memory, while her...
A: Say, you have a RAM of 8GB, and OS is using 2gb ram and you run an app 's of 8GB. The OS will only ...
Q: Instead of using a formal argument to provide data into a function, why not use a symbolic constant ...
A: Introduction In a function declaration, the formal arguments are the parameters/arguments. Legal arg...
Q: most significant considerations to ke
A: Introduction: Laptop computers, often known as laptops, are portable computers that allow users to r...
Q: Q1. Suppose we have a University System. The university has three departments CS, IT and CNET. Each ...
A: code --> ``` import java.io.*; import java.lang.*; import java.util.*; class University { ...
Q: We have seen an iterative algorithm to find minimum or maximum of a given array. In this problem, we...
A: ALGORITHM:- Pair MaxMin(input_array, size_of_input_Array) if size_of_input_Array = 1 return...
Linux Bulid System:
If I create a makefile target like this, list the targets that will be built in the order that they will be built:
pictureLibrary: movieLibrary
Step by step
Solved in 2 steps
- Linux Build system If I create a makefile target like this, list the targets that will be built in the order that they will be built:pictureLibrary: movieLibraryimport image def draw_border(pic):'''Returns an image with a black border around it'''pass #You can leave this or remove it#Your code here to draw a black border around the image def main():'''Controls the program'''fname = "https://runestone.academy/runestone/books/published/StudentCSP/_static/swan.jpg"img = image.Image(fname)width = img.getWidth()height = img.getHeight()win = image.ImageWin(width, height)draw_border(img)img.draw(win) main() #Run the programHello this is a tic tac toe game based on C language code I NEED YOU TO RE WRTIE THE CODE TO THE EXACT IMAGE WHEN THE PLAYER STARTS THE GAME IT SHOULD DISPLAY THE EXACT IMAGE + ADD WHEN THE PLAYER CHOOSE A SPOT AND IT HAS ALREADY SPOTTED THE TYPE EXAMPLE: SPOT 1 HAS ALREADY CHOSEN PLEASE CHOOSE OTHER SPOT CODE:
- JAVA code can only be added to the MessageDetails.java file. Between lines of get code (ie libnes 12 and 14, as seen on image).I am attempting to write a code that will allow me to loop through a series of FITS fies in a folder on my Desktop. This is what I have so far, but no plot as yet. I have included a picture of what the plot should look like after the looping process. import numpy as npimport matplotlib.pyplot as pltimport globfrom astropy.io import fitsfrom astropy.wcs import WCSfrom pathlib import Path%matplotlib inline%matplotlib widget plt.figure(figsize=(5,5))legends = [] def plot_fits_file(file_path): # used this data to test ---------- # lam = np.random.random(100) # flux = np.random.random(100) # -------------------- # below code will work when you have file # all the plot will be on single chart hdul = fits.open(file_path) data = hdul[1].data h1 = hdul[1].header flux = data[1] w = WCS(h1, naxis=1, relax=False, fix=False) lam = w.wcs_pix2world(np.arange(len(flux)), 0)[0] plt.plot(lam, flux) plt.ylim(0, ) plt.xlabel('RV[km/s]')…this is my code, but after automatically check it, it shows smt went wrong(image one) image two is the spec for nextTweet and below is my code, since it's the system automatically check the code, I dont really have a textcases. plz debug it and fix it. show the screenshot of the code when u finish. thanks import java.util.*;import java.io.*; public class TweetBot { private List<String> tweets; private int index; public TweetBot(List<String> tweets){ if(tweets.size() < 1){ throw new IllegalArgumentException("need contain at least one tweet!"); } this.tweets = new ArrayList<>(tweets); } public int numTweets(){ return tweets.size(); } public void addTweet(String tweet) { tweets.add(tweet); if (tweets.size() == 1) { // if the tweet was the first one added, set the index to 0 index = 0; } } public String nextTweet() { if (tweets.size() == 1) {…
- The Problem: You're writing a program for multiple platforms. As a resultyou have a lot of #ifdef statements sprinkled through out the code. So many infact that they are make things look ugly and the code is hard to read.For example:void send_cmd(void){ send_cmd_start();#ifdef FE_TEXTURE send_texture();#endif /* FE_TEXTURE */#ifdef FE_COLOR send_background(); if (foreground != TRANSPARENT) send_foreground();#endif /* FE_COLOR */#ifdef FE_SIZE if (size != 0) send_size();#endif /* FE_SIZE */#ifdef FE_REPLAY if (prev_cmd == '\0') { prev_cmd = cur_cmd; prev_param = cur_param; }#endif /* FE_REPLAY */ send_cmd_end();}The program should consist when after login successfully the image, name, nickname, favorite food and aritst will display after. When I run the code, the information wont display. The image will only display entirely. The code should consist of an image, name, favorite artist, favorite food, and favorite artist. ("random.jpg just appload a random pic to test) Code: from tkinter import *from tkinter import messageboxfrom PIL import ImageTk, Image# Create the main windowroot = Tk()root.title("Login")# Create the username label and entry fieldusername_label = Label(root, text="Username:")username_label.grid(row=0, column=0)username_entry = Entry(root)username_entry.grid(row=0, column=1)# Create the password label and entry fieldpassword_label = Label(root, text="Password:")password_label.grid(row=1, column=0)password_entry = Entry(root, show="*")password_entry.grid(row=1, column=1)# Create the login buttondef login():if username_entry.get() == "admin" and password_entry.get() ==…Comment this codei import sysfrom PyQt5.QtCore import *from PyQt5.QtWidgets import *from PyQt5.QtWebEngineWidgets import *class MainWindow(QMainWindow):def __init__(self):super(MainWindow, self).__init__()self.browser = QWebEngineView()self.browser.setUrl(QUrl('http://google.com'))self.setCentralWidget(self.browser)self.showMaximized()# navbarnavbar = QToolBar()self.addToolBar(navbar)back_btn = QAction('Back', self)back_btn.triggered.connect(self.browser.back)navbar.addAction(back_btn)forward_btn = QAction('Forward', self)forward_btn.triggered.connect(self.browser.forward)navbar.addAction(forward_btn)reload_btn = QAction('Reload', self)reload_btn.triggered.connect(self.browser.reload)navbar.addAction(reload_btn)home_btn = QAction('Home', self)home_btn.triggered.connect(self.navigate_home)navbar.addAction(home_btn)self.url_bar = QLineEdit()self.url_bar.returnPressed.connect(self.navigate_to_url)navbar.addWidget(self.url_bar)self.browser.urlChanged.connect(self.update_url)def…
- Comment these code importer sysfra PyQt5.QtCore import *fra import av PyQt5.QtWidgets *fra import av PyQt5.QtWebEngineWidgets *klasse MainWindow (QMainWindow):def __init __ (selv):super (MainWindow, selv) .__ init __ ()self.browser = QWebEngineView ()self.browser.setUrl (QUrl ('http://google.com'))self.setCentralWidget (self.browser)self.showMaximized ()navbar = QToolBar ()self.addToolBar (navbar)back_btn = QAction ('Tilbake', selv)back_btn.triggered.connect (self.browser.back)navbar.addAction (back_btn)forward_btn = QAction ('Fremover', selv)forward_btn.triggered.connect (self.browser.forward)navbar.addAction (forward_btn)reload_btn = QAction ('Reload', selv)reload_btn.triggered.connect (self.browser.reload)navbar.addAction (reload_btn)home_btn = QAction ('Hjem', selv)home_btn.triggered.connect (self.navigate_home)navbar.addAction (home_btn)self.url_bar = QLineEdit ()self.url_bar.returnPressed.connect (self.navigate_to_url)navbar.addWidget (self.url_bar)self.browser.urlChanged.connect…write a program that lets a user display and modify pictures, add 4 button so that clicking a particular button will shift the image by a small amount in the north,,south, east or west direction inside the windows. also a menu bar with 2 menus: File and Image, the file menu should contain an open menu item that users can select to display JPEC and PNG files from the disk in the windows. the Image menu should contain these menu items: Robert, Shear, and Scale when user selects any one of the items, an input dialog box should display, in which the users can specify the rotation anglecomment this code: import sysfrom PyQt5.QtCore import *from PyQt5.QtWidgets import *from PyQt5.QtWebEngineWidgets import *class MainWindow(QMainWindow):def __init__(self):super(MainWindow, self).__init__()self.browser = QWebEngineView()self.browser.setUrl(QUrl('http://google.com'))self.setCentralWidget(self.browser)self.showMaximized()# navbarnavbar = QToolBar()self.addToolBar(navbar)back_btn = QAction('Back', self)back_btn.triggered.connect(self.browser.back)navbar.addAction(back_btn)forward_btn = QAction('Forward', self)forward_btn.triggered.connect(self.browser.forward)navbar.addAction(forward_btn)reload_btn = QAction('Reload', self)reload_btn.triggered.connect(self.browser.reload)navbar.addAction(reload_btn)home_btn = QAction('Home', self)home_btn.triggered.connect(self.navigate_home)navbar.addAction(home_btn)self.url_bar = QLineEdit()self.url_bar.returnPressed.connect(self.navigate_to_url)navbar.addWidget(self.url_bar)self.browser.urlChanged.connect(self.update_url)def…