Questions
Create initializer/constructor functions for book. Declare and implement functions like insert book(insert at End, InsertAtFirst), retrieve...

Create initializer/constructor functions for book. Declare and implement functions like insert book(insert at End, InsertAtFirst), retrieve book, update book information book using ISBN number in Library. Declare another function named Search to find a specific book from catalogue.

#include<iostream.h>
#include<conio.h>

struct book{
   char name[50];
   int ISBN;
   char authorname[50];
   char publishername[50];
   int issuedate;
   int issuemonth;
   int issueyear;
   int retdate;
   int retmonth;
   int retyear;
   struct book *next=NULL;
}

void insert(struct book *head){
    if *head.next==NULL{
       struct book node;
       cout<<"enter the name of book";
 
       gets(node.name)
       cout<<"enter the author name of book";
       gets(node.authorname)
       cout<<"enter the publisher name of book";
       gets(node.publishername)
       cout<<"enter isbn no.";
       cin>>node.ISBN;
       cout<<"enter the issue date month and year";
       cin>>node.issuedate;
       cin>>node.issuemonth;
       cin>>node.issueyear;
       cout<<"enter the return date month and year";
       cin>>node.retdate;
       cin>>node.retmonth;
       cin>>node.retyear;
       *head.next=&node;
    }
   else{
       insert(*head.next);
}
}
void main(){

//the pile of the books will be stored in a linked list where ISBN no. can be a searching key 
struct book library;//first book in library

insert(library);//inserting a book in library
insert(library);//inserting a book in library
getch();
}

In: Computer Science

Using a wheatstone bridge, solve for Vout for quarter, half, and full bridges and determine which...

Using a wheatstone bridge, solve for Vout for quarter, half, and full bridges and determine which one is most sensitive. Draw a diagram showing how you would place your strain gauges on a beam for each configuration. Discuss how you should use the right kind of strain gauge with appropriate G values to maximize the sensitivity.

In: Physics

3. Which of the following statements is NOT an explanation for how oxygen is released from...

3.

Which of the following statements is NOT an explanation for how oxygen is released from oxy-haemoglobin.

Select one:

A.
Carbon dioxide has a stronger affinity than oxygen to heme, and displaces oxygen in tissues.

B.
Formation of carbonic acid lowers the oxygen affinity of haemoglobin in tissues.

C.
The structure of deoxyhemoglobin is stabilized by the interaction with BPG.

D.
Salt bridges are formed with N-terminal carbamates in deoxyhemoglobin.

E.
Salt bridges are formed between acidic and basic side chains of His146 and Asp94, respectively in deoxyhemoglobin .

4.

Which of the following description of hemoglobin S (HbS) forming fibrous aggregates is FALSE?

Select one:

A.
Valine at position 6 of the β chains form hydrophobic interaction with other HbS.

B.
Formation of aggregates occurs more severely in homozygotes, i.e. both alleles carrying the mutation.

C.
The aggregates distort the shape of the red blood cells.

D.
Formation of aggregates occurs only in deoxygenated form of HbS.

E.
More aggregates are formed in lungs.

In: Biology

Nina is looking to analyze the distribution of the variable X=’grading. She gathered information from 1900...

Nina is looking to analyze the distribution of the variable X=’grading. She gathered information from 1900 to 2000, and her data concludes X follows a normal distribution with mean 75 and variance 30.

  1. What is the probability that a typical student from the current cohort enrolled receive a grade above 80?
  2. Between what values will the grades of the 95% of all students in the current cohort fall?
  3. Find the value that represents the 25th and 75th percentile of this distribution. Then, find the interquartile range. Can a student who got 45 be considered a potential outlier, explain the reasoning.

PLEASE SHOW EACH STEP AND EXPLAIN EACH STEP AS TO WHERE YOU ARE GETTING VALUES FROM (i.e., if you got value from z table, tell me why you use that table and where exactly). use mathematical formula as well as give me a reason why you used what formula you used.

In: Statistics and Probability

The Cambridge Study of delinquent development was undertaken in N. London to investigate the links between...

The Cambridge Study of delinquent development was undertaken in N. London to investigate the links between criminal behavior in young men and socioeconomic factors of the upbringing. A cohort of 395 boys was followed for about 20 years starting at the age of 8 or 9. All boys attended 6 schools located near the research office.

The table below provides the following summary statistics relating family income and convictions.

Income level

Inadequate

adequate

Comfortable or higher

No convictions

47

128

90

Convicted

43

57

30

  • Can we consider the cohort of these boys to be a random sample of a certain portion of the male youth of UK?
  • What is the necessary assumption that needs to be made about the income group assignment of these boys for the duration of the study?
  • Identify the random variables of the data set. What is the type of these variables?
  • Construct the appropriate plot of these data.
  • Do the two random variables seem to have an association? Which one can be used as explanatory?           

In: Statistics and Probability

The Cambridge Study of delinquent development was undertaken in N. London to investigate the links between...

The Cambridge Study of delinquent development was undertaken in N. London to investigate the links between criminal behavior in young men and socioeconomic factors of the upbringing. A cohort of 395 boys was followed for about 20 years starting at the age of 8 or 9. All boys attended 6 schools located near the research office.

The table below provides the following summary statistics relating family income and convictions.

Income level

Inadequate

adequate

Comfortable or higher

No convictions

47

128

90

Convicted

43

57

30

  • Can we consider the cohort of these boys to be a random sample of a certain portion of the male youth of UK?
  • What is the necessary assumption that needs to be made about the income group assignment of these boys for the duration of the study?
  • Identify the random variables of the data set. What is the type of these variables?
  • Construct the appropriate plot of these data.
  • Do the two random variables seem to have an association? Which one can be used as explanatory?  

In: Statistics and Probability

Database Normalize the relations to BCNF: Member- (MemID, dateJoined, firstName, lastName, street, city, state, zip, areaCode,...

Database

Normalize the relations to BCNF:

Member- (MemID, dateJoined, firstName, lastName, street, city, state, zip, areaCode, phoneNumber, currentOfficeHeld)

Play- (title, author, numberOfActs, setChanges)

Sponsor- (sponID, name, street, city, state, zip, areaCode, phoneNumber)

Subscriber- (subID, firstName, lastName, street, city, state, zip, areaCode, phoneNumber)

Production- (prodyear, seasonStartDate, seasonEndDate, title)

Performance – (perfyear,perfdate, time, seasonStartDate)

TicketSale- (saleID, saleDate, totalAmount, perfyear, perfdate,subID)

DuesPayment- (MemID, duesYear, amount, datePaid)

Donation – (sponID, donationDate, donationType, donationValue, prodYear, seasonStartDate)

Ticket- (saleID, seatLocation, price, type)

Member - Production-(MemID, prodYear, seasonStartDate, role, task)

In: Computer Science

Create a PHP class named "User" with the following private fields: name, birthdate in yyyy/mm/dd format,...

Create a PHP class named "User" with the following private fields:

name,

birthdate in yyyy/mm/dd format,

age, and

department.

In the class, include getter and setter methods to get and set the values of those variables.

Author a data entry webform using HTML text input boxes and a submit button. When the user clicks on the submit button, a "User" class is instantiated and the new User object's fields are populated. The HTML input boxes correspond to the field in the "User" class.

Add an "Insert" button that allows the user to insert the form data to a MySQL table.

Add a "Display" button the displays the contents of your MySQL table on the web form when the end-user clicks on the button.

In: Computer Science

Describe why a coastal location, like Santa Monica or San Diego, has a more moderate climate...

Describe why a coastal location, like Santa Monica or San Diego, has a more moderate climate throughout the year than an inland location like Little Rock, AR or Dallas, TX? Provide 4 main reasons.

In: Other

"Ted Cruz calls for the gold standard" Reem Nasr, CNBC Wednesday, 28 Oct 20 15 I...

"Ted Cruz calls for the gold standard" Reem Nasr, CNBC Wednesday, 28 Oct 20 15 I think the Fed should get out of the business of trying to juice our economy and simply be focused on sound money and monetary stability, ideally tied to gold,' he said during the Republican presidential debate." Explain in terms of an economist the assumptions that underlie this policy position and the argument an economist would make to support this position (using appropriate graphs). Then, explain the argument an economist would make against this position

In: Economics