Consider the following relational database that stores information about bars and customers: Drinker (name, address) Bar (name, address) Beer (name, brewer) Frequents (drinker, bar, times a week) Likes (drinker, beer) Serves (bar, beer, price) Write the following queries in relational algebra: 1. Find all drinkers who frequent only those bars that serve some beers they like. 2. Find all drinkers who frequent every bar that serves some beers they like.3. Find those drinkers who enjoy exactly the same set of beers as Amy.

Answers

Answer 1

Answer:

simeso  

le

Explanation:


Related Questions

Project 1-1: Set Up a Small Network

5. Answer the following questions:
a. Does your network use a client-server or peer-to-peer model?
b. What is the topology of your network?
c. If the lights on the switch ports were not lit or blinking, what is the best theory of
probable cause? At what layer of the OSI model would this theory be?
As you work your way through this book, you will continue to build your small network and its resources.

Answers

Answer:

a. peer-to-peer

b star topology

Explanation:

The physical layer of the OSI model is not foundational to any of the other layers. True or False

Answers

Answer:

False.

Explanation:

OSI model stands for Open Systems Interconnection. The seven layers of OSI model architecture starts from the Hardware Layers (Layers in Hardware Systems) to Software Layers (Layers in Software Systems) and includes the following;

1. Physical Layer

2. Data link Layer

3. Network Layer

4. Transport Layer

5. Session Layer

6. Presentation Layer

7. Application Layer

Each layer has its unique functionality which is responsible for the proper functioning of the communication services.

The physical layer of the OSI model is the first layer of the OSI model and it is foundational to any of the other layers because it determines the means of transmitting (sending) raw bits from one network node to another and the electrical specification of network equipments.

3. A year contains 365 days normally, so on
what number day does Christmas fall on?

Answers

Answer:

359 is December 25 in a 365 day year.

Explanation:

Answer:

For western christian churches, Christmas day always occurs on December 25, though some cultures observe the main celebration on the night prior, Christmas Eve.

Describe your WGU program, including two specific requirements that this degree has for completion.

Answers

Answer:

WGU program, including two specific requirements that this degree has for completion is explained below in details.

Explanation:

WGU is an online academy with profession joined bachelor's and master's degrees in—IT, education, marketing, and healthcare—intended to support working professionals fit an online academy learning into their hard-working lives.

As a scholars, graduate pupils must register in at least eight competency units every term, and undergraduate pupils must register in at least twelve competency units respectively term.

It should be noted that WGU program simply refers to an online school where students can have degrees when they complete their courses.

WGU is simply an online school that has career-aligned bachelor degrees and masters degree.

It's designed in order to help working professionals fit an online education into the busy lives that they've. In this case, the students have to register for their courses and pass the required units.

Learn more about programs on:

https://brainly.com/question/13171394

3. Which property provided the labels in the list below?
1. List item
II. List item
III. List item
IV. List item
O list-style-type: numerals
list-style-type:decimal
O list-style-type: upper-roman
O list-style-type: upper-alpha

Answers

Answer:

this doesnt make sense

Explanation:

The property that provided the labels in the list is the "list-style-type" property. The options given are the different values that can be assigned to the "list-style-type" property. The value "numerals" refers to using Arabic numerals (1, 2, 3, etc.) as the labels, while "decimal" is similar but includes a period after each numeral (1., 2., 3., etc.).

What is list-style-type? Property?

The 'list-style-type' property is a CSS property that is used to define the style of the marker or bullet of a list item. It specifies the appearance of the marker for unordered lists (like bullet points) and ordered lists (like numbered lists) on a web page.

The value "upper-roman" refers to using uppercase Roman numerals (I, II, III, etc.) as the labels, and "upper-alpha" refers to using uppercase letters (A, B, C, etc.) as the labels.

So, in summary, the "list-style-type" property determines the style of the labels used in a list.

To know more about CSS property:

https://brainly.com/question/30116889

#SPJ2

Which situation would benefit most from a Watch window?
A B C D
the answer is: D. A 3-D formula causes cells in a worksheet to change when edits are made to other worksheets.

Answers

Answer:

yeah i agree with your answer

Answer:

D) A 3-D formula causes cells in a worksheet to change when edits are made to other worksheet  

Explanation:

;)

Write down the pseudo code for a brute-force algorithm to compare elements in array A with elements in array B.

Answers

Answer:

def brute_force(array1, array2):

   for item in array1:

       for element in array 2:

           if element == item:

               print(f"{element} and {item} are a match")

Explanation:

A brute-force algorithm is a direct-to-solution algorithm that searches and compares variables. It is like trying to unlock a safe but not knowing its four-digit combination, brute-force starts from 0000 through 9999 to get a match.

The python program implements the algorithm using two nested for loops. The first loop iterates over array1 while the second, over array2. For every item in the first array, the program loops through the length of the second array. For every match, the items are printed on the screen.

_______ are the best visual aids for showing the relationship between ideas in a presentation.

Answers

Answer:

A graphic organizers

Explanation:

Graphic users are the best visual aids for showing the relationship between ideas in a presentation.

What are Graphic user?

By the use of menus, icons, and other visual cues or representations, a user interacts with electronic devices like computers and smartphones using a graphical user interface (GUI) (graphics).

Unlike text-based interfaces, where data and commands are purely in text, GUIs graphically show information and related user controls. A pointing device, such as a mouse, trackball, stylus, or a finger on a touch screen, is used to manipulate GUI representations.

The first keyboard input and prompt system was used for the human-computer text interaction (or DOS prompt). At the DOS prompt, commands were entered to request responses from a computer.

Therefore, Graphic users are the best visual aids for showing the relationship between ideas in a presentation.

To learn more about Graphic user, refer to the link:

https://brainly.com/question/14758410

#SPJ6

Observe the following output and write the complete HTML-CSS code to generate it:

Answers

Answer:

HTML:

<ol start="3">

 <li>English</li>

 <li>Maths</li>

 <li>Physics</li>

 <li>Chemistry</li>

 <li>Biology</li>

</ol>

CSS:

ol {

 color: green;

 font-family: Courier;

 list-style-type: lower-roman;

 border: 2px dotted black;

 width: 200px;

}

li {

 margin-left: 10px;

}

Explanation:

The left margin on the li is not very clean, but it prevents the roman numbers from exceeding the border.

Melissa has expanded her Cell class further. In which method is she using a special keyword to help distinguish instance variables in the class and print the results?
public class Cell B. public int getchromosomes) if (this.chromosomes<1) private int chromosomes, rna public double time, h2o, mCount private static int cellCount0; throw new llegalArgumentException("chromosomes is less than 1"); return this.chromosomes public Cell(O chromosomes 23; C. public void grow(double x) rna - 1; inc mCount(this,x); return; mCountrna/h2o cellCount++; System.out.printin("There are now" + cellCount +"cells"; public void inc mCount(Cell cell, double factor) this.mCount mCount factor return public Cell(int a chromosomes, int a rna, double a h20) this) chromosomes a chromosomes; rna -a_rna; h2o-a h20 mCount- rna/h2o; D. public double get mCount) return this.mCount; public staic Cell getLargerCell_mCount(Cell cell_1, Cell cell_2) cellCount++ System.out.printin("There are now"+cellCount +"cells"); if(cell_1.get mCount)cell_2.get mCount)) return cell 1; else return cell 2;
A. public void printinfoo System.out.printin("chromosomes:" + this.chromosomes); System.out.printin("rna:" + this.rna); System.out.printin("h2o:"+this.h20);

Answers

Answer:

A. public void printinfoo(){

   System.out.printin("chromosomes:" + this.chromosomes);

   System.out.printin("rna:" + this.rna);

   System.out.printin("h2o:"+this.h20);

Explanation:

The System.out.printin() function is used in Java to print out the output of a program. The first option prints out its output while the other options return the result of their function.

What is one way polymorphism is implemented?


created a new class using an existing class

changing a variable from a string to a float

hiding class variables from the programs using instances of the class

repurposing an operation

Answers

Answer:

repurposing an operation

Explanation:

Got it right

what are major classification of computer software​

Answers

Answer:

Application Software.

System Software.

Programming Software.

While application software is designed for end-users, and system software is designed for computers or mobile devices, programming software is for computer programmers and developers who are writing code.

Driver Software.

Explanation:

Typically, there are two major classifications of software, namely System Software and Application Software.

1. System Software

A system software aids the user and the hardware to function and interact with each other. Basically, it is a software to manage computer hardware behavior so as to provide basic functionalities that are required by the user. In simple words, we can say that system software is an intermediator or a middle layer between the user and the hardware. These computer software sanction a platform or environment for the other software to work in. This is the reason why system software is very important in managing the entire computer system. When you first turn on the computer, it is the system software that gets initialized and gets loaded in the memory of the system. The system software runs in the background and is not used by the end-users. This is the reason why system software is also known as ‘low-level software’.Some common system software examples are:

Operating SystemDevice DriversFirmwareProgramming Language TranslatorsUtility

2. Application Software

Application Software, also known as end-user programs or productivity programs are software that helps the user in completing tasks such as doing online research, jotting down notes, setting an alarm, designing graphics, keeping an account log, doing calculations or even playing games. They lie above the system software. Unlike system software, they are used by the end-user and are specific in their functionality or tasks and do the job that they are designed to do. For example, a browser is an application designed specifically for browsing the internet or MS Powerpoint is an application used specifically for making presentations. Application Software or simply apps can also be referred to as non-essential software as their requirement is highly subjective and their absence does not affect the functioning of the system. All the apps that we see on our mobile phones are also examples of Application Software. There is certain software that is exclusively made for app development like Meteor and Flutter. These are examples of Application software too.There are various types of application software:

Word ProcessorsDatabase SoftwareMultimedia SoftwareEducation and Reference SoftwareGraphics SoftwareWeb Browsers

Other than these, all the software that serves a specific purpose fall under the category of Application Software.

However, there exists one more classification of the software. The software can also be classified based on their availability and sharability.

HOPE IT HELPS

PLEASE MARK ME BRAINLIEST ☺️

You are given two sorted arrays, A and B, and A has a large enough buffer at the end to hold B. Write a method to merge B into A in sorted order without using any other array space.Implementation instruction:1) Define one array of size 18 for A and the other array of size 5 for B.2) Initialize A by inputting 13 integers in the ascending order, and Initialize B by inputting 5 integers in the ascending order.

Answers

Answer:

#include <iostream>

using namespace std;

int main(){

   int arrayA[18] = {1,2,3,4,5,6,7,8,9,10,11,12,13};

   int n = arrayA.length();

   int arrayB[5] = {14,15,16,17,18};

   for (int i = 0; i < arrayB.length(); i++){

       arrayA[n] = array[i];

       n++;

   }

}

Explanation:

The C++ program defines two arrays namely; "arrayA" and "arrayB". The first array has a space size of 18 while the second array has a size of 5. In the program, the second array is merged into the first array

explain atleast 5 areas where computer applied for the social economic development in society​

Answers

Answer:

The answer is below

Explanation:

Given that socio-economic development has to do with continual positive changes in the socio-economic conditions of individuals, organizations, and society at large.

Hence, the five areas in which computer applied for the social-economic development in society​ are:

1. Capital resources or market: computer has greatly influenced the development of the capital market through various forms including data sharing, CRM software, Online customer service, Video conferencing, customer application development, cloud management services, etc

2. Government activities: computers over the years have improved the efficient operations of government and their activities through various means including the creation of a database, tracking of policies such as building permits, distribution of payments such as aids and palliatives, etc.

3. Business: computer is known to have tremendous influence in business operations including activities of firms in the area of research, marketing, advertisement, production, distribution, data storage, etc.

4. ICT world: computer generally has improved humans' approach and understanding of the ICT and better ways to maximize its usage. This includes the area of electronic information capture, storing, processing, and transfer.

5. Society: computer typically has its huge and direct impact on our society, this includes the development of human and social capital in terms of education, continuous obtainment of knowledge, skills, and mastery of skills that facilitate personal development and satisfaction, economic success and community prosperity.

HELP!!! What would var d=?

Answers

Answer:

51015

Explanation:

Var b is a string, and it'll treat addition like string concatenation (aka just adding a message.) Since it's concatenation, it'll then turn the numbers/integers into strings.

This kind of behavior might be different depending on the language, though. Some languages might not allow this. (For example, C and C++)

What do search engines use to trust that a local business is an appropriate place for which users are looking?​

Answers

Answer:

To build trust among search engines, authority needs to be demonstrated not just in a website's content, but how the site is perceived by other authoritative sites. ... Garnering links from authoritative sites like social networks, directories and other sources will improve trust.

Write the definition of a function that evaluates three double numbers and returns true if the floor of the product of the first two numbers equals the floor of the third number; otherwise it returns false.

Answers

Answer:

The function is written in C++

bool products(double num1, double num2, double num3) {

if(floor(num1 * num2) == floor(num3)){

    return true;

}

else

{

    return false;

}

}

Explanation:

I answered this question using C++ programming language.

This line defines the function with three parameters; num1 to num3

bool products(double num1, double num2, double num3) {

This checks if the floor of num1 * num2 equals floor of num3

if(floor(num1 * num2) == floor(num3)){

If yes, this returns true

    return true;

}

else {

If otherwise, this returns true

    return false;

}

The method ends here

}

I added the full program as an attachment that include the main method

Identify some cases of violations of user privacy from current literature and their impact on data science as a profession.

Answers

Explanation:

Remember, the term "violations of user privacy" is usually used when an entity without seeking users' consent uses or sells the private information of people (or users) in a way the users would view as inappropriate.

For example, in 2020, one of Mark Zuckerberg's company was recently accused of secretly watching its user who had the app installed on their phone via their smartphone front camera without their knowledge.

Another prominent case is that of ride-sharing company Uber, in 2018, they were accused of not taking seriously the protection of users privacy after they've experienced a data breach that exposed their customer's personal information, such as phone numbers, addresses, and email addresses. They were penalized as result by a court.

Several key people were involved in programming-language development in the 1970s and 1980s

Answers

Answer:

Brian Kernighan and Dennis Ritchie created the C programming language, and Bjarne Stroustrup took it to the next level by creating C++ in the 80's.

Answer:

Bjarne Stroustrup released C++ programming language in the1980s.

Bill Gates and Paul Allen released the first programming language for a personal computer.

Niklaus Wirth developed Pascal to teach programming.

Explanation:

1,3,4

__________ often causes overactive eye movement.

A. Alcohol

B. Nicotine

C. Morphine

D. Xanax

Answers

the answer is ; D , xanax
the answer is d :)..

Application software helps run the computer and coordinates instructions with the hardware.
A. True
B. False

Answers

Answer:

A. True

Explanation:

A group of students is performing an investigation to measure how much liquid water is produced from a 10 L sample of snow. What must occur in order for the students to perform this investigation?

Answers

Answer:

the temperature of the sample must change

Explanation:

Question 2: Describe and Discuss the concepts of Higher order functions and currying in a functional programming language such as Haskell (or Standard ML) and describe why these concepts are important.

Answers

Answer:

A higher-order function is a type of function in programming that can either accept a function as its parameter or return a function or both. Curring is a process used by functions to accept and access multiple arguments.  

Explanation:

Functional programming languages like Hasket, Javascript, Python, etc,  use the concept of higher-order functions and Curring to accept multiple arguments and functions as parameters and can also return a function.  

What is the BEST reason for storing people's credit card information as part of most commercial software applications?

a
It's expensive to store that much data.

b
You're liable if someone commits credit card fraud.

c
It's a high security risk to store that kind of data.

d
It's illegal to store that kind of data.

Answers

Answer:

c. It's a high security risk to store that kind of data.

Explanation:

A credit card has a lot of important and personal data of the user, for this reason, allowing software, even commercial software to have access to this information, can promote a high security risk, because frauds can occur that promote damage to the user. For this reason, it is important that before providing the data, the user knows the software very well.

Fill in the blanks, so the print statement displays the result of the function call in order.

1 # This function compares two numbers and returns them
2 # in increasing order.
3 - def order_numbers(number1, number2):
4. if number2 > number1:
5 return numberi, number2
6 else:
7 return number2, number1
8
9 Run # 1) Fill in the blanks so the print statement displays the result # of the function call
10 ---, --- = order_numbers(100, 99) print(smaller, bigger)

Answers

Answer:

Rep;ace the blank with

smaller, bigger

So, the complete line is:

smaller,bigger=order_numbers(100,99)

Explanation:

From the question, we understand that the program is to return the order of a number from least to highest

This has been well implemented in order_numbers function

Because the order function returns two values, the order_function must be called in order to accept two values and the syntax is:

value1,value2 = function(return-value1,return-value2)

In this case, the statement is:

smaller,bigger=order_numbers(100,99)

So, in the next line of the main, the values of smaller and bigger are printed:

print(smaller,bigger)

See attachment

Write a 200 word essay about how a computer is made.

Good luck.​

Answers

Answer:

Essay about how a computer is made is written below in detailed explanation.

Explanation:

After so many discoveries and inventions, Humans ultimately made the computer. And, today some personalities in the world can't exist a bit without a computer.

The computer is an electric device that is utilized for collecting and processing data. The hard work can be completed in a shorter time with the guidance of computers. With the assistance of the computer, we can do all the stuff in today's world.. Because of this, the computer performs a vital purpose in this contemporary life.

Define a new class Fighter that inherits from Spaceship. Add a variable property weapon that defaults to an empty string and a variable property remainingFirePower that defaults to 5.

Answers

Answer:

class Fighter(Spaceship):

   weapon = ""

   remain_fire_power = 5

Explanation:

The class "Fighter" is a python class that inherits all the variables and methods from the Spaceship class. The Fighter class is considered the child class while the Spaceship class is known as the parent class. The weapon and remain_fire_power variables are class variables unique to the fighter class and defaulted to an empty string and 5 respectively.

Which web browser was created by Microsoft?
Chrome
Edge
Firefox
Safari

Answers

Answer:

firefox

Explanation:

Answer:

Edge was created by Microsoft.

Explanation:

In reviewed assignment, you will use an array to calculate an average from raw data.

a. True
b. False

Answers

Answer:

a. True

Explanation:

In C, an array is a data structure used to hold a collection of similar data types. It is ordered and indexed, which means that it can be accessed using the index value of the target item in the array.

A loop statement can be used to iterate over all the items in the array. For example, you can get the average of all the items in an integer array by iterating over it, summing its total and dividing it by the length of the array.

only evansandre2007 and elizabetharnold84 can answer

Answers

Answer:

Explanation:

Okie dokie

Have a nice day

Other Questions
What changes took place in a country that was fighting a 'Total War? need help with my geometry question please In the worlds coolest freezer sodium gas was cool to temperature of 78.5 below zero and then called 194.65 more what was the new temperature of the sodium gas What is the length of AC?A. Square root of 2B. Square root of 5C. 3D. 5 Can someone pleaseeee help if youre correct Ill give u brainlist What is this gas produced A friend purchases items from a website and resells them on her own website. She typically marks up her merchandise 40%. If she purchased an item for 15$, what price should she set for the item? Enlightenment:Romantic:Alas, what wonder! mans superior partUnchecked may rise, and climb from art to art;But when his own great work is but begun,What reason weaves, by passion is undone.Essay on ManAlexander PopeWrite two to three sentences comparing the two poems and explaining how each poem reflects the time period in which it was written. Relationship between sped and time on statistics can you help me please? PLEASE HELP! Question 4(Multiple Choice Worth 4 points)(03.03 MC) Analyze the purposes of map projections (political, physical, special purpose) and explain the applications of various types of maps.Use the map below to answer the following question:What physical feature shown here influenced the Incan civilization? the Amazon Basin the Andes Mountains the Brazilian Highlands the Guiana Highlands Draw a ray diagram to show the formation of an image when the object is placed beyond the cof a concave mirror. what is effect of interest charged on capital on accounting system You decide to market your own custom computer software. You must invest $3,255 for computer hardware, and spend $2.90 to buy and package each disk. If each program sells for $13.75, write a system of equations and determine how many disks you must sell to break even. Review of the verb ser y estar. Choose one of the two verbs and then conjugate it in the appropriate way according to the given subject. Use the yellow and bold color for your answers.Example: Modelo: ______________ las cuatro de la tarde. USO: ________________RESPUESTA:______SON________ las cuatro de la tarde. USO: ____TIME_______________________________________________________________________________________ la una y media de la tarde. USO: __________________Hoy Ana no ______________ enferma. USO: ____________________________ (t) argentina? USO: _________________Dnde ____________ mi calculadora? USO: _____________________________ una persona feliz. USO: _________________Mis padres _____________ demcratas. USO: _________________Hoy _______________ el 4 de enero. USO: _________________Pedro ______________ muy alto. USO: _________________Yo ______________ triste porque en estos momentos Ana y yo no nos hablamos. USO: _________________ Pedro y Marta ______________ mis mejores amigos. USO: _________________ Yo _________________ un estudiante de segundo ao en CCA. USO: _________________ Profe ___________ de Espaa. USO: _________________ Este ____________ mi perro, Rumba. USO: _________________ Nosotras ______________ judas. USO: _________________ No me voy a comer este tomate porque todava (still) _____________ muy verde. USO: _________________ Luis y yo ____________ muy felices porque maana nos casamos (to get married) en la iglesia de San Pedro. USO: _________________( For 100 Points :) How come nobody answers my questions? Like wth, I'm stuck but everyone else is getting their questions answered left and right. A school basketball team has an expense account and a fundraising account. After t weeks, the balance of the expense account is (45070t) dollars and the balance of the fundraising account is (275+48t) dollars.a. Write an expression in simplest form that represents the total amount (in dollars) in both accounts after t weeks. pls help i will give branist to anybody: What is the structure of the legislative branch? How does the structure of the legislative branchprove that the Constitution is the best/not the best form of government for America? Did the Great Compromisesolve the controversy between supporters of the Virginia Plan and those favoring the New Jersey Plan? What powersdid our Founding Fathers give to the Legislative Branch? How was this branch structured?plsssss help Find the solution of the system of equations.- 7x 4y = -447x - 3y = 16 Pls help ASAP first one to answer will be marked brainliest ty Steam Workshop Downloader