My head hurts
Underpressure
Explanation:
a trance that I cant stop
Create a class called StockTester that has the following fucntionality. a. Create a main method with an ArrayList named dataStock that stores objects of type Stock. b. Add code that reads the content of StockInfo.csv and places it in dataStock. c. Create a new Stock object named newStock using the constructor in Question 1. Set the values to the following. Stock name: Gamma, Stock purchase date: 03/01/20, Number of Shares of Stock: 100, Stock Price: 50.5. Add newStock to dataStock. d. Print the information associated with newStock using printStock. e. Using the method requiredReturn, determine the rate of return required for your stock in Pitsco to have a value of $4,000 in 3 years. Print the result to the screen so that the user can clearly read the result.
Solution :
public class [tex]$\text{Stock}$[/tex] {
private [tex]$\text{String}$[/tex] stockName, [tex]$\text{purchaseDate}$[/tex];
private [tex]$\text{int}$[/tex] nShares;
private [tex]$\text{double}$[/tex] price;
public [tex]$\text{Stock}()$[/tex]
{
this.stockName = "";
this.purchaseDate = "";
this.nShares = 0;
this.price = 0.0;
}
public Stock(String stockName, String purchaseDate, int nShares, double price) {
this.stockName = stockName;
this.purchaseDate = purchaseDate;
this.nShares = nShares;
this.price = price;
}
public String getStockName() {
return stockName;
}
public void setStockName(String stockName) {
this.stockName = stockName;
}
public String getPurchaseDate() {
return purchaseDate;
}
public void setPurchaseDate(String purchaseDate) {
this.purchaseDate = purchaseDate;
}
public int getnShares() {
return nShares;
}
public void setnShares(int nShares) {
this.nShares = nShares;
}
public double getPrice() {
return price;
}
public void setPrice(double price) {
this.price = price;
}
public String toString()
{
return("Stock name: " + this.stockName + "\nPurchase date: " + this.purchaseDate
+ "\nNumber of shares of stock: " + this.nShares + "\nPrice: $" + String.format("%,.2f", this.price));
}
public void printStock()
{
System.out.println("Stock name: " + this.stockName + "\nPurchase date: " + this.purchaseDate
+ "\nNumber of shares of stock: " + this.nShares + "\nPrice: $" + String.format("%,.2f", this.price)
+ "\n");
}
}
StockTester.java (Driver class)
import [tex]$\text{java.io.}$[/tex]File;
import [tex]$\text{java.io.}$[/tex]File[tex]$\text{NotFound}$[/tex]Exception;
import [tex]$\text{java.util.}$[/tex]ArrayList;
import [tex]$\text{java.util.}$[/tex]Scanner;
[tex]$\text{public}$[/tex] class StockTester {
private static final String FILENAME = "StockInfo[tex]$.$[/tex]csv";
public static [tex]$\text{void}$[/tex] main([tex]$\text{String}[]$[/tex] args)
{
ArrayList[tex]$<\text{stock}>$[/tex] dataStock = [tex]$\text{readData}$[/tex](FILENAME);
System.out.println("Initial stocks:");
for(Stock s : dataStock)
s.printStock();
System.out.println("Adding a new Stock object to the list..");
Stock newStock = new Stock("Gamma", "03/01/20", 100, 50.5);
dataStock.add(newStock);
System.out.println("\nStocks after adding the new Stock..");
for(Stock s : dataStock)
s.printStock();
Stock targetStock = dataStock.get(3);
double reqReturn = requiredReturn(targetStock, 4000, 3);
System.out.println("Required rate of return = " + String.format("%.2f", reqReturn) + "%");
}
private static ArrayList<Stock> readData(String filename)
{
ArrayList<Stock> stocks = new ArrayList<>();
Scanner fileReader;
try
{
fileReader = new Scanner(new File(filename));
while(fileReader.hasNextLine())
{
String[] data = fileReader.nextLine().trim().split(",");
String stockName = data[0];
String purchaseDate = data[1];
int nShares = Integer.parseInt(data[2]);
double price = Double.parseDouble(data[3]);
stocks.add(new [tex]$\text{Stock}$[/tex](stockName, [tex]$\text{purcahseDate}$[/tex], nShares, price));
}
fileReader.close();
}catch(FileNotFoundException fnfe){
System.out.println(filename + " cannot be found!");
System.exit(0);
}
return stocks;
}
private static double requiredReturn(Stock s, double targetPrice, int years)
{
double reqReturn;
double initialPrice = s.getPrice() * s.getnShares();
reqReturn = ((targetPrice - initialPrice) / initialPrice * years) * 100;
return reqReturn;
}
}
There are 2.54 centimeters in an inch, and there are 3.7854 liters in a U.S. gallon. Create a program named MetricConversion. Its main() method accepts an integer value from a user at the keyboard, and in turn passes the entered value to two methods. One converts the value from inches to centimeters and the other converts the same value from gallons to liters.
Answer:
Explanation:
The following Java code creates the program which calls asks the user for an input and then passes that input into two methods toInches, and toGallons. Then the main method saves the returned values in variables and prints out a statement for each.
import java.util.Scanner;
class Brainly {
static Scanner in = new Scanner(System.in);
public static void main(String[] args) {
System.out.println("Enter a value: ");
int answer = in.nextInt();
double inches = toInches(answer);
double gallons = toGallons(answer);
System.out.println("There are " + inches + " inches in " + answer + " centimeters");
System.out.println("There are " + gallons + " gallons in " + answer + " liters");
}
public static double toInches(int centimeters) {
return (centimeters / 2.54);
}
public static double toGallons(int liters) {
return (liters / 3.7854);
}
}
ASAP NEED HELP ASAP NEED HELP ASAP NEED HELP ASAP NEED HELP ASAP NEED HELP ASAP NEED HELP ASAP NEED HELP ASAP NEED HELP
Answer:
13.c
14.d
15.b
16.a
17.c
Explanation:
please brainleist please ☻☺️❤♨️
Which Fiber implementation is often referred to as Fiber To The Premises (FTTP)? Check all that apply.
Answer:
FFTH Fiber to the home, FFTB Fiber to the building.
Write an application that uses String method region-Matches to compare two stringsinput by the user. The application should input the number of characters to be compared andthe starting index of the comparison. The application should state whether the comparedcharacters are equal. Ignore the case of the characters when performing the comparison.
Answer:
Explanation:
The following program creates a function called region_Matches that takes in two strings as arguments as well as an int for starting point and an int for amount of characters to compare. Then it compares those characters in each of the words. If they match (ignoring case) then the function outputs True, else it ouputs False. The test cases compare the words "moving" and "loving", the first test case compares the words starting at point 0 which outputs false because m and l are different. Test case 2 ouputs True since it starts at point 1 which is o and o.
class Brainly {
public static void main(String[] args) {
String word1 = "moving";
String word2 = "loving";
boolean result = region_Matches(word1, word2, 0, 4);
boolean result2 = region_Matches(word1, word2, 1, 4);
System.out.println(result);
System.out.println(result2);
}
public static boolean region_Matches(String word1, String word2, int start, int numberOfChars) {
boolean same = true;
for (int x = 0; x < numberOfChars; x++) {
if (Character.toLowerCase(word1.charAt(start + x)) == Character.toLowerCase(word2.charAt(start + x))) {
continue;
} else {
same = false;
break;
}
}
return same;
}
}
What does it NOT mean for something to be open source?
It’s available for anyone to use
It’s free for all
It’s available for anyone to modify
Free to use but you have to pay a fee to modify
Answer:
Free to use but you have to pay a fee to modify
Explanation:
You NEVER have to pay for OPEN SOURCE
Which function deletes the first occurence of 3 in a list named listB ?
listB.clear(3)
listB(3)
listB delete(3)
listB.remove(3)
Answer:
[tex]listB.remove(3)[/tex]
Explanation:
Given
Options A to D
Required
Which deletes the first occurrence of 3
The options show that the question is to be answered using the knowledge of Python.
So, we analyze each of the options using Python syntax
(a) listB.clear(3)
In python, clear() is used to delete all elements of a list, and it does not take any argument i.e. nothing will be written in the bracket.
Hence, (a) is incorrect
(b) listB(3)
The above instruction has no meaning in Python
(c) listB delete(3)
The above instruction as written is an invalid syntax because of the space between listB and delete.
Also, it is an invalid syntax because lists in Python do not have the delete attribute
[tex](d)\ listB.remove(3)[/tex]
This removes the first occurrence of 3
Answer: listB delete(3)
Explanation: got it right on edgen
What is computer? Give short answer for this
Answer:
electronic device for storing and processing data, typically in binary form, according to instructions given to it in a variable program.
Explanation:
..
Hubs connect network hosts in which configuration?
Answer:
A high availability hub is not required to enable or use the self-describing agent. You can optionally configure a high availability hub for improved availability and recovery if the hub fails. Network Layer – The network layer is responsible for creating a routing table, and based on the routing table, forwarding the input request. Some of the Devices used in the Network Layer are, Routers: A router is a switch-like device that routes/forwards data packets based on their IP addresses.
Explanation:
(hope this helps can i plz have brainlist :D hehe)
The hostel in which you plan to spend the night tonight offers very interesting rates, as long as you do not arrive too late. Housekeeping finishes preparing rooms by noon, and the sooner guests arrive after noon, the less they have to pay. You are trying to build a C program that calculates your price to pay based on your arrival time. Your program will read an integer (between 0 and 12) indicating the number of hours past noon of your arrival. For example, 0 indicates a noon arrival, 1 a 1pm arrival, 12 a midnight arrival, etc. The base price is 10 dollars, and 5 dollars are added for every hour after noon. Thankfully the total is capped at 53 dollars, so you'll never have to pay more than that. Your program should print the price (an integer) you have to pay, given the input arrival time.
Answer:
Answered below
Explanation:
// Python implementation
incrementAmount = 5
basePrice = 10
price = 0
arrivalHour = int(input("Enter arrival hour 0-12: ")
if arrivalHour < 0 or arrivalHour > 12:
print ("Invalid hour")
if arrivalHour == 0:
price = basePrice
else:
price = arrivalHour * incrementAmount
totalPrice = price + basePrice
if totalPrice > 53:
totalPrice = 53
print ("Your bill is $totalPrice")
Describe and evaluate the working memory model of memory (16 marks)
Answer: The working memory model is a cognitive model of short term memory comprised of three main components; the central executive, the visuo-spatial sketchpad and the phonological loop. ... they suggests the components of working memory all have limited capacity.
A real estate office handles 50 apartment units. When the rent is $600 per month, all the units are occupied. However, for each $40 increase in rent, one unit becomes vacant. Each occupied unit requires an average of $27 per month for maintenance. How many units should be rented to maximise the profit?
What is the code for Python?
Answer:
452
Explanation:
what can a user modify on a business card using the Edit Business card in the dialog box?
the more you take the more you lose
.....................
Write a program whose input is two integers. Output the first integer and subsequent increments of 10 as long as the value is less than or equal to the second integer. Ex: If the input is: -15 30 the output is: -15 -5 5 15 25
Answer:
Explanation:
The following program is written in Python. It asks the user for two number inputs. Then it creates a loop that prints the first number and continues incrementing it by 10 until it is no longer less than the second number that was passed as an input by the user.
number1 = int(input("Enter number 1: "))
number2 = int(input("Enter number 2: "))
while number1 < number2:
print(number1)
number1 += 10
FREE YOU KNOW WHAT DIG IN
Answer:
Thank you so much!!!!!!
Have a great day!
Explanation:
tnx for ponits .........
3) Many people use the World Wide Web (Web) regularly, and search engines
provide vital access to Web resources. Textual and multimedia content is
accessible via web search engines. Informational, navigational, and
transactional intent are the three types of user intent classified for Web
searching. What is meant by navigational, informational, and transactional
search? Provide a comprehensive explanation with examples for each.
Answer: See explanation
Explanation:
Navigational search - This occurs when the user is looking for a certain website. Then the name of the website will be entered into the search bar.
Informational search - This occurs when the user wants to get a certain information. For example, if user enters "what is computer" into the search bar, different results relating to the word "computer" will be gotten.
Transactional search - This occurs when the user wants a website that is interactive it which possess more interaction. An example is when the user wants to buying something, register for something or maybe download something
Which of the following is NOT a possible combination of values of the variables in this program when it finishes running?
A. tails has a value of O and heads has a value of 100
B. tails has a value of 100 and heads has a value of O
C. tails has a value of 20 and heads has a value of 20
D. tails has a value of 50 and heads has a value of 50
Answer:
Definitely D
Explanation:
When you flip a coin it’s a 50/50 chance. Meaning it’s equal.
Given that they are familiar with what the tails have a value of 50 variables stand for and heads have a value of 50, programmers will find it simpler to read and comprehend the code, hence option D is correct.
What is a combination of values of the variables?Almost all programming languages use a similar technique for saving values in variables: we place the variable name on the left side of the equal sign (=), and the value we wish to store on the right.
Print the variables in reverse order in addition to the entered order by typing the variables backward.
In addition to printing the sequence in reverse, print the double's int casting value by placing (int) before the variable name, tails has a value of 50 and heads has a value of 50, hence option D is correct.
Learn more about variables, here:
https://brainly.com/question/18090442
#SPJ6
Do you use commas or periods in Terms Of Conditions?
For example,
in the following terms of conditions should be a comma or a period?
- Professionalism is required, (or period)
- You may not breach this document, (or period)
Furthermore, if a period is used, is the rest of the contract useless?
Answer:
yes u should use a period
Explanation:
Peter is explaining the steps to create a fire effect in an image to his class. Help Peter pick the correct word to complete the explanation.
After your text is created, duplicate the layer so that you have two versions. Next, apply a number of blank
options to the duplicated text layer.
Answer:
The answer would be "Blending"
Explanation:
I took the test and checked over my answers
Which file helps web administrators detect any issues that affect the smooth running of the web server?
A. log
B. cache
C. server
D. client
Answer:
Server
Explanation:
A web server is computer software and underlying hardware that accepts requests via HTTP, the network protocol created to distribute web pages.
The file helps web administrators detect any issues that affect the smooth running of the web server.
What is net server is a software program ?A net server is a pc software program and underlying hardware that accepts requests thru HTTP, the community protocol created to distribute net pages.
It is hardware that makes use of HTTP (Hypertext Transfer Protocol) and different protocols to reply to customer requests revamped the World Wide Web. The primary process of an internet server is to show internet site content material via storing, processing and turning in webpages to users.
Read more about the administrators :
https://brainly.com/question/26096799
#SPJ2
Now you are ready to implement a spell checker by using or quadratic. Given a document, your program should output all of the correctly spelled words, labeled as such, and all of the misspelled words. For each misspelled word you should provide a list of candidate corrections from the dictionary, that can be formed by applying one of the following rules to the misspelled word:
a) Adding one character in any possible position
b) Removing one character from the word
c) Swapping adjacent characters in the word
Your program should run from the command line as follows:
% ./spell_check
You will be provided with a small document named document1_short.txt, document_1.txt,
and a dictionary file with approximately 370k words named wordsEnglish.txt.
As an example, your spell checker should correct the following mistakes.
deciive -> decisive (Case A)
deciasion -> decision (Case B)
ocunry -> counry (Case C)
//spell_check.cc file
#include "quadratic_probing.h"
#include
#include
#include
using namespace std;
int testSpellingWrapper(int argument_count, char** argument_list) {
const string document_filename(argument_list[1]);
const string dictionary_filename(argument_list[2]);
// Call functions implementing the assignment requirements.
// HashTableDouble dictionary = MakeDictionary(dictionary_filename);
// SpellChecker(dictionary, document_filename);
return 0;
}
// Sample main for program spell_check.
// WE WILL NOT USE YOUR MAIN IN TESTING. DO NOT CODE FUNCTIONALITY INTO THE
// MAIN. WE WILL DIRECTLY CALL testSpellingWrapper. ALL FUNCTIONALITY SHOULD BE
// THERE. This main is only here for your own testing purposes.
int main(int argc, char** argv) {
if (argc != 3) {
cout << "Usage: " << argv[0] << " "
<< endl;
return 0;
}
testSpellingWrapper(argc, argv);
return 0;
}
//quadratic_probing.h file
#ifndef QUADRATIC_PROBING_H
#define QUADRATIC_PROBING_H
#include
#include
#include
namespace {
// Internal method to test if a positive number is prime.
bool IsPrime(size_t n) {
if( n == 2 || n == 3 )
return true;
if( n == 1 || n % 2 == 0 )
return false;
for( int i = 3; i * i <= n; i += 2 )
if( n % i == 0 )
return false;
return true;
}
// Internal method to return a prime number at least as large as n.
int NextPrime(size_t n) {
if (n % 2 == 0)
++n;
while (!IsPrime(n)) n += 2;
return n;
}
} // namespace
// Quadratic probing implementation.
template
class HashTable {
public:
enum EntryType {ACTIVE, EMPTY, DELETED};
explicit HashTable(size_t size = 101) : array_(NextPrime(size))
{ MakeEmpty(); }
bool Contains(const HashedObj & x) const {
return IsActive(FindPos(x));
}
void MakeEmpty() {
current_size_ = 0;
for (auto &entry : array_)
entry.info_ = EMPTY;
}
bool Insert(const HashedObj & x) {
// Insert x as active
size_t current_pos = FindPos(x);
if (IsActive(current_pos))
return false;
array_[current_pos].element_ = x;
array_[current_pos].info_ = ACTIVE;
// Rehash; see Section 5.5
if (++current_size_ > array_.size() / 2)
Rehash();
return true;
}
bool Insert(HashedObj && x) {
// Insert x as active
size_t current_pos = FindPos(x);
if (IsActive(current_pos))
return false;
array_[current_pos] = std::move(x);
array_[current_pos].info_ = ACTIVE;
// Rehash; see Section 5.5
if (++current_size_ > array_.size() / 2)
Rehash();
return true;
}
bool Remove(const HashedObj & x) {
size_t current_pos = FindPos(x);
if (!IsActive(current_pos))
return false;
array_[current_pos].info_ = DELETED;
return true;
}
private:
struct HashEntry {
HashedObj element_;
EntryType info_;
HashEntry(const HashedObj& e = HashedObj{}, EntryType i = EMPTY)
:element_{e}, info_{i} { }
HashEntry(HashedObj && e, EntryType i = EMPTY)
:element_{std::move(e)}, info_{ i } {}
};
std::vector array_;
size_t current_size_;
bool IsActive(size_t current_pos) const
{ return array_[current_pos].info_ == ACTIVE; }
size_t FindPos(const HashedObj & x) const {
size_t offset = 1;
size_t current_pos = InternalHash(x);
while (array_[current_pos].info_ != EMPTY &&
array_[current_pos].element_ != x) {
current_pos += offset; // Compute ith probe.
offset += 2;
if (current_pos >= array_.size())
current_pos -= array_.size();
}
return current_pos;
}
void Rehash() {
std::vector old_array = array_;
// Create new double-sized, empty table.
array_.resize(NextPrime(2 * old_array.size()));
for (auto & entry : array_)
entry.info_ = EMPTY;
// Copy table over.
current_size_ = 0;
for (auto & entry :old_array)
if (entry.info_ == ACTIVE)
Insert(std::move(entry.element_));
}
size_t InternalHash(const HashedObj & x) const {
static std::hash hf;
return hf(x) % array_.size( );
}
};
#endif // QUADRATIC_PROBING_H
Answer:
Sorry po idont know po ehhh sorry
Find the reference angle of the angle = 850°
Answer:
magine a coordinate plane. Let’s say we want to draw an angle that’s 144° on our plane. We start on the right side of the x-axis, where three o’clock is on a clock. We rotate counterclockwise, which starts by moving up. We keep going past the 90° point (the top part of the y-axis) until we get to 144°. We draw a ray from the origin, which is the center of the plane, to that point. Now we have a ray that we call the terminal side. But we need to draw one more ray to make an angle. We have a choice at this point. Our second ray needs to be on the x-axis. If we draw it from the origin to the right side, we’ll have drawn an angle that measures 144°. If we draw it to the left, we’ll have drawn an angle that measures 36°. This second angle is the reference angle. It’s always the smaller of the two angles, will always be less than or equal to 90°, and it will always be positive. Here’s an animation that shows a reference angle for four different angles, each of which is in a different quadrant. Notice how the second ray is always on the x-axis.
Explanation:
how many stages needed to have powerful amplifier?
Power amplifier stages in a real circuit. Circuit diagram of a three stage practical audio power amplifier is shown in the figure below. Small signal transistor Q1 and its associated components form the voltage amplification stage.
Answer:
Generally you should pick an amplifier that can deliver power equal to twice the speaker's program/continuous power rating. This means that a speaker with a “nominal impedance” of 8 ohms and a program rating of 350 watts will require an amplifier that can produce 700 watts into an 8 ohm load.
What is one advantage of using the Option Group Control for data validation? It works best with fields that use the date data type. It alerts the user when the database is about to close. It applies to numeric fields only, eliminating text errors. The data entry is restricted to specific fields, reducing errors.
Answer:
The Data Entry is Restricted to Specific Fields, Reducing Errors
Explanation:
Answer:
D
Explanation:
edge2021
What is the output of the following code?
int x = 6, y = 3, z=24, result=0;
result = 2*((z/(x-y))%y+10);
cout<< result<
Answer:
The output is 24
Explanation:
Given
The above code segment
Required
The output
We have (on the first line):
[tex]x = 6[/tex]
[tex]y = 3[/tex]
[tex]z=24[/tex]
[tex]result=0[/tex]
On the second line:
[tex]result = 2*((z/(x-y))\%y+10)[/tex]
Substitute the value of each variable
[tex]result = 2*((24/(6-3))\%3+10)[/tex]
Solve the inner brackets
[tex]result = 2*((24/3)\%3+10)[/tex]
[tex]result = 2*(8\%3+10)[/tex]
8%3 implies that, the remainder when 8 is divided by 3.
The remainder is 2
So:
[tex]result = 2*(2+10)[/tex]
[tex]result = 2*12[/tex]
[tex]result = 24[/tex]
Hence, the output is 24
Suppose you are given a relation R with four attributes ABCD. For each of the following sets of FDs, assuming those are the only dependencies that hold for R, do the following: (a) Identify the candidate key(s) for R. (b) Identify the best normal form that R satisfies (1NF, 2NF, 3NF, or BCNF). (c) If R is not in BCNF, decompose it into a set of BCNF relations that preserve the dependencies.
1. C → D, C → A, B → C
2. B → C, D → A
3. ABC → D, D → A
4. A → B, BC → D, A → C
5. AB → C, AB → D, C → A, D → B
Solution :
1.
a). Candidate keys : [tex]$B$[/tex]
b). R is in [tex]$2F$[/tex] but not [tex]$3NF$[/tex]
c). C → [tex]$D$[/tex] and C → [tex]$A$[/tex], both causes violations of [tex]$BCNF$[/tex]. The way to obtain the join preserving decomposition is to decompose [tex]$R$[/tex] into [tex]$AC, BC$[/tex] and CD.
2.
a). Candidate keys : [tex]$BD$[/tex]
b). [tex]$R$[/tex] is in [tex]$1NF$[/tex] but not [tex]$2NF$[/tex].
c). Both B → [tex]$C$[/tex] and D → [tex]$A$[/tex] cause [tex]$BCNF$[/tex] violations. The decomposition : [tex]$AD $[/tex], [tex]$BC, BD$[/tex] is [tex]$BCNF$[/tex] and lossless and the join preserving.
3.
a). Candidate keys : [tex]$ABC, BCD$[/tex]
b). R is in [tex]$3NF$[/tex] but not [tex]$BCNF$[/tex]
c).[tex]$ABCD$[/tex] is not in [tex]$BCNF$[/tex] since D → [tex]$A$[/tex] and [tex]$D$[/tex] is not a key. But if we split up the [tex]$R$[/tex] as [tex]$AD,BCD$[/tex] therefore we cannot preserve dependency [tex]$ABC$[/tex] → D. So there is no [tex]$BCNF$[/tex] decomposition.
4.
a). Candidate keys : [tex]$A$[/tex]
b). R is in [tex]$2NF$[/tex] but not [tex]$3NF$[/tex]
c). BC → [tex]$D$[/tex] violates [tex]$BCNF$[/tex] since [tex]$BC$[/tex] does not contain the key. And we split up R as in [tex]$BCD, ABC$[/tex].
5.
a). Candidate keys : [tex]$AB, BC, CD, AD$[/tex]
b). [tex]$R$[/tex] is in [tex]$3NF$[/tex] but not [tex]$BCNF$[/tex].
c). C → [tex]$A$[/tex] and D → [tex]$B$[/tex] both causes a violations. The decomposition into [tex]$AC,BCD$[/tex] but this will not preserve [tex]$AB$[/tex] → C and [tex]$AB$[/tex] → D, and [tex]$BCD$[/tex] is still not [tex]$BCNF$[/tex] because [tex]$D$[/tex] → [tex]$B$[/tex]. So we need to decompose further into [tex]$AC,BD,CD$[/tex] However when we try to revive the lost functional dependencies by adding [tex]$ABC$[/tex] and [tex]$ABD$[/tex], we that these relations are not in [tex]$BCNF$[/tex] form. Therefore, there is no [tex]$BCNF$[/tex] decomposition.
What are the advantages and disadvantages of the lenses used on cameras in capturing black and white film?
The lenses that are used on cameras in capturing black and white film are vital for creating timeless pictures and highlighting the shape and pattern in the image.
Black and white photography is an image where all the colors have been removed. This can be by choice of the photographic film.
The advantage of the lenses used on cameras in capturing black and white film:
It's vital for creating a timeless picture.It highlights form, shape, and pattern.It's vital in distancing the content material from reality.The disadvantage of the lenses used on cameras in capturing black and white film is that it lacks emotions which a colored photograph will have reflected.
Read related link on:
https://brainly.com/question/22250013
Advantages that can be associated with the lens of of camera that is utilized in capturing black and white film are:
It helps to give the highlight of the pattern and shape of the content.
It can be stored for longer time ( timelessness).
disadvantages that can be associated with the lens of of camera that is utilized in capturing black and white film is that it doesn't portray emotions.
Black and white photography can be regarded as one that doesn't contain variety of color.It is a photography that doesn't portray an emotion, emotions in this sense means color, which serves a disdvantage.We can conclude that this type of photography give room fir a picture that can remain for long time, it's timeless and this serve as one of the advantage.
Learn more at:
https://brainly.com/question/20176933?referrer=searchResults
Please Fix This For Me
print ("Please enter a number between 1 and 100")
n = input
if = n < 1 and n > 100:
if = (n // 2 == 0):
print (n, "is even")
if = (n // 3 == 0):
print (n, "is odd")
else:
print("You have not entered a number between 1 and 100.")
Answer:
The correction is as follows:
n = int(input("Please [tex]enter\ a[/tex] [tex]number\ between\ 1[/tex] and 100: "))
if n < 1 or n > 100:
print("You [tex]have\ not[/tex] entered a [tex]number\ between\ 1[/tex] and 100.")
elif n % 2 == 0:
print (n, "is even")
else:
print (n, "is odd")
Explanation:
See attachment for explanation
True or False The two types of general construction projects are residential for homes or dwellings and commercial for a commercial businesses or repairs to a structure by a commercial construction business?
Answer:
The answer is b the demands of business owners for access to customers.
Explanation: