Improving Software security throughout the SDLC helps in creating more reliable software. Do you agree
Consider the below given iris data set. This dataset contains 3 classes of 15 instances each and each class refers to a type of iris plant. The dataset has two features: sepal length, sepal width. The third column is for species, which holds the value for these types of plants. A new plant is identified. You have to classify the Species class of new identified plant with the help of KNN algorithm[.
Write a program that takes as input two numbers n (integer) and x (double), and prints arctan(x) evaluated by taking n terms of the Taylor series (using x0 =0):
arctan(x) = x - x 3 /3 + x 5 /5 - x 7 /7 …
To care of numerical accuracy and rounding off we have created a print(x) function. Please use this to print your final answer. Suppose your answer is in a variable called ans, then print it to screen using “print(ans);” and NOT “cout << ans;”.
Please print a newline( using “cout<<endl;” is one way to do it) after printing your answer
Write a program to compute the N-point inverse-DFT (IDFT) of a sequence. DO not use the inbuilt command. Test your program on the DFTs of the sequences in the previous part.
Write a Program to compute the N-point DFT of a sequence. Don't use the inbuilt command. Write your own routine of DFT.
Differentiate between client server computing and peer to peer processing
Senerio:
ATM (Automated Teller Machine) machines are electronic outlets that allow customers to do their basic transactions without interaction of bank’s representative. While programming this ATM in C++, We have created a class named CUSTOMER which stores customer data (i.e. name, NIC, age, address, account balance and transaction history etc.). There is a friend function that wants to access some private information of the class.
Question:
Being a C++ developer, analyze the whole scenario, what do you think, does a friend function contradict the rules of Encapsulation?
Give your opinion in yes or no with strong reasons.
Assignment:write a program to compute the shaded portion of a circle in java, provided that the value of the outer circle = 25cm, and the inner circle=15cm
How the distributed objects overcome the problem which are raised by socket and RPC? Is it necessary to use both socket and RPC in the distributed environment? Justify with valid reason.
We would like to assess if there is any difference in the average price quotes provided by Mary and Barry.