Questions
We’ve seen that Hume claims that words are used quite frequently that have no "definite idea"...

We’ve seen that Hume claims that words are used quite frequently that have no "definite idea" attached to them. One way for this to happen is for people to have no clear idea of what they are talking about when they use these words. In your view, to what extent is this true of words like 'God,' 'soul' and 'heaven'? Combined with the apparent fact that there are no sense impressions of these things, does this mean, as Hume suggests, that they have the same metaphysical status as Santa Claus, and the Easter Bunny—fictitious entities that only some gullible kids believe in? And, hence, that we shouldn't bother to have philosophical conversations involving these words? minimum 150 words

In: Psychology

In the Little Albert experiment, Watson taught a young child to associate the sight of a...

In the Little Albert experiment, Watson taught a young child to associate the sight of a white rat with fear. He did this by giving the child a rat, then making a very loud sound near him, which elicited a fear response. Eventually, the sight of any white, fuzzy object (including a coat, a rabbit, and a Santa mask) elicited an immediate fear response (Cherry & Morin, 2019). Do you think this experiment by Watson was ethical? He created a lifelong fear in the child for the purposes of research. If you were going to repeat his experiment, what would you do differently to make it more ethical by today's standards?

In: Psychology

The compressability factor for the Van der Waal equation of state is Z=(PV/RT)=(V)/(V-b)-(a/RTV). As molar volume...

The compressability factor for the Van der Waal equation of state is Z=(PV/RT)=(V)/(V-b)-(a/RTV). As molar volume becomes large compared to b what happens to V/(V-b)? (What is the limiting value for the fraction V/(V-b) as molar volume gets very large?) What is the limiting value of - a/(RTV) as molar volumes get very large? What is the limiting value for the compressibility factor Z as molar volume increases? Molar volumes increase as pressure _________ .

In: Chemistry

ii. Let G = (V, E) be a tree. Prove G has |V | − 1...

ii. Let G = (V, E) be a tree. Prove G has |V | − 1 edges using strong induction. Hint: In the inductive step, choose an edge (u, v) and partition the set vertices into two subtrees, those that are reachable from u without traversing (u, v) and those that are reachable from v without traversing (u, v). You will have to reason why these subtrees are distinct subgraphs of G.

iii. What is the total degree of a tree?

In: Advanced Math

Java Language Add a recursive method to the program shown in the previous section that allows...

Java Language

Add a recursive method to the program shown in the previous section that allows
insert a value at the end of the stack.

Code:

class Stack {

protected Node top;

Stack() {

top = null; }

boolean isEmpty() {

return( top == null); }

void push(int v) {

Node tempPointer;

tempPointer = new Node(v);

tempPointer.nextNode = top;

top = tempPointer; }

int pop() {

int tempValue;

tempValue = top.value;

top = top.nextNode;

return tempValue; }

void printStack() {

Node aPointer = top;

String tempString = "";

while (aPointer != null) {

tempString = tempString + aPointer.value + "\n";

aPointer = aPointer.nextNode; }

System.out.println(tempString); }

boolean hasValue(int v) {

if (top.value == v) {

return true; }

else {

return hasValueSubList(top,v);

}

}

boolean hasValueSubList(Node ptr, int v) {

if (ptr.nextNode == null) {

return false; }

else if (ptr.nextNode.value == v) {

return true; }

else {

return hasValueSubList(ptr.nextNode,v);

}

}

}

class Node {

int value;

Node nextNode;

Node(int v, Node n) {

value = v;

nextNode = n;

}

Node (int v) {

this(v,null);

}

}

public class StackWithLinkedList2{

public static void main(String[] args){

int popValue;

Stack myStack = new Stack();

myStack.push(5);

myStack.push(7);

myStack.push(9);

System.out.println(myStack.hasValue(11));

}

}

System.out.println(myStack.hasValue(11)); } }

In: Computer Science

List department name, employee id, and employee name for all employees in department name order. Repeat...

  1. List department name, employee id, and employee name for all employees in department name order.
  2. Repeat for department #10 only.
  3. List the course ID, course name, section, instructor name, day, time, and room for all course sections.
  4. List the course ID, course name, section, student ID, and student name for CRN 1003. Display the list in ascending order of student last and first names.

DROP TABLE registration;
DROP TABLE sections;
DROP TABLE courses;
DROP TABLE students;
DROP TABLE instructors;


CREATE TABLE courses (
   cid varchar2(9) NOT NULL,
   cname varchar2(50) NOT NULL,
   credits number(1) DEFAULT 3,
   prereq varchar2(9),
   CONSTRAINT pk_courses PRIMARY KEY (cid)
);

INSERT INTO courses VALUES ('IS 201','Java Programming',3,null);
INSERT INTO courses VALUES ('IS 202','C++ Programming',3,'IS 201');
INSERT INTO courses VALUES ('IS 301','Web Design',3,null);
INSERT INTO courses VALUES ('IS 331','Business Applications',3,null);
INSERT INTO courses VALUES ('IS 401','Database Design',3,'IS 331');
INSERT INTO courses VALUES ('IS 413','SQL Programming',3,'IS 401');


CREATE TABLE students (
   sid char(9) NOT NULL,
   lname varchar(30) NOT NULL ,
   fname varchar2(30) NOT NULL ,
   gender char(1) NOT NULL ,
   addr varchar2(50) NOT NULL ,
   city varchar2(20) NOT NULL ,
   state char(2) NOT NULL ,
   zip varchar2(10) NOT NULL ,
   phone varchar2(14) NULL ,
   birthdate date NULL ,
   tuitionRate number(7, 2) NOT NULL ,
   creditsEarned number(3) NOT NULL ,
   CONSTRAINT pk_students PRIMARY KEY (sid)
);

INSERT INTO students VALUES ('100000001','Lee','George','M','15 Merchant Street','Honolulu','HI','96818','808-524-3333','01-MAY-1965',5000.00,47);
INSERT INTO students VALUES ('100000002','Yamamoto','Bill','M','3432 Birch Street','Honolulu','HI','96814','808-522-2212','03-JUN-1958',5000.00,12);
INSERT INTO students VALUES ('100000003','Carver','Hillary','F','22 Aardvark Avenue','Washington','DC','10101','800-212-3246','23-AUG-1991',5000.00,69);
INSERT INTO students VALUES ('100000004','King','Linda','F','341 Kaapahu Road','Paauilo','HI','96776',NULL,'01-SEP-1998',4399.00,6);
INSERT INTO students VALUES ('100000005','Rollings','Willie','M','1221 Ala Moana Blvd','Honolulu','HI','96814',NULL,NULL,4888.00,0);
INSERT INTO students VALUES ('100000006','Alexander','Wanda','F','93-123 Old Mill Road','Honokaa','HI','96727','808-776-2313','02-OCT-1997',5000.00,99);
INSERT INTO students VALUES ('100000007','Carver','Bill','M','33 Richards Street','Honolulu','HI','96813',NULL,'22-OCT-1990',5000.00,0);
INSERT INTO students VALUES ('100000008','DeLuz','Bob','M','102 Orleans Ave','San Francisco','CA','97745','808-555-3324','01-MAR-1998',5000.00,14);
INSERT INTO students VALUES ('100000009','Lee','Lisa','F','45 Fong Avenue','San Francisco','CA','97767','808-333-3432','21-APR-1997',5000.00,26);
INSERT INTO students VALUES ('100000010','Garcia','Sherrie','F','2 S. Beretania','Honolulu','HI','96817','808-663-4453','03-DEC-1997',5000.00,29);
INSERT INTO students VALUES ('100000011','Kamaka','Oscar','M','34 Kapolani Blvd','Honolulu','HI','96813','808-533-3332','12-FEB-1998',5000.00,0);

CREATE TABLE instructors (
   inId char(9) NOT NULL,
   iLname varchar2(30) NOT NULL,
   iFname varchar2(30) NOT NULL,
   rank varchar2(10) NOT NULL,
   office varchar2(10) NULL,
   phone varchar2(20) NULL,
   salary number(8,2) DEFAULT 0,
   CONSTRAINT pk_instructors PRIMARY KEY (inID)
);

INSERT INTO instructors VALUES ('200000001','Souza','Edward','Lecturer','LM101','808-533-4241',5000.00);
INSERT INTO instructors VALUES ('200000002','Tenzer','Laurie','Associate','LM102','808-533-4244',5000.00);
INSERT INTO instructors VALUES ('200000003','Otake','Bill','Assistant','MR101','808-533-4247',5800.00);

CREATE TABLE sections (
   crn char(4) NOT NULL,
   cid varchar2(9) NOT NULL,
   section char DEFAULT 'A',
   inId char(9) NOT NULL,
   days varchar2(10) DEFAULT 'TBA',
   time varchar2(16) DEFAULT 'TBA',
   room varchar2(10) NULL,
   CONSTRAINT pk_sections PRIMARY KEY (crn),
   CONSTRAINT fk_inid_sections FOREIGN KEY (inid) REFERENCES instructors(inid),
   CONSTRAINT fk_cid_sections FOREIGN KEY (cid) REFERENCES courses(cid)
);

INSERT INTO sections VALUES ('1000','IS 201','A','200000003','MWF','08:00 - 08:50','CL100');
INSERT INTO sections VALUES ('1001','IS 201','B','200000003','MWF','09:00 - 09:50','CL100');
INSERT INTO sections VALUES ('1002','IS 201','C','200000001','TTh','08:00 - 09:15','CL102');
INSERT INTO sections VALUES ('1003','IS 301','A','200000002','TTh','09:30 - 10:45','CL340');
INSERT INTO sections VALUES ('1004','IS 301','B','200000002','MWF','09:00 - 09:50','CL340');
INSERT INTO sections VALUES ('1005','IS 413','A','200000001','MWF','09:00 - 09:50','CL230');


CREATE TABLE registration (
   crn char(4) NOT NULL,
   sid char(9) NOT NULL,
   CONSTRAINT pk_registration PRIMARY KEY (crn,sid),
   CONSTRAINT fk_crn_registration FOREIGN KEY (crn) references sections(crn),
   CONSTRAINT fk_sid_registration FOREIGN KEY (sid) references students(sid)
);

INSERT INTO registration VALUES ('1000','100000001');
INSERT INTO registration VALUES ('1003','100000001');
INSERT INTO registration VALUES ('1005','100000001');
INSERT INTO registration VALUES ('1001','100000002');
INSERT INTO registration VALUES ('1004','100000002');
INSERT INTO registration VALUES ('1005','100000003');
INSERT INTO registration VALUES ('1002','100000004');
INSERT INTO registration VALUES ('1003','100000004');
INSERT INTO registration VALUES ('1005','100000004');
INSERT INTO registration VALUES ('1000','100000005');
INSERT INTO registration VALUES ('1003','100000005');
INSERT INTO registration VALUES ('1002','100000008');
INSERT INTO registration VALUES ('1004','100000008');
INSERT INTO registration VALUES ('1002','100000009');
INSERT INTO registration VALUES ('1005','100000009');
INSERT INTO registration VALUES ('1002','100000010');
INSERT INTO registration VALUES ('1005','100000010');
INSERT INTO registration VALUES ('1000','100000011');
INSERT INTO registration VALUES ('1003','100000011');
INSERT INTO registration VALUES ('1005','100000011');
commit;

In: Computer Science

List the course ID, course name, section, day, time, and room for all course sections. Order...

  1. List the course ID, course name, section, day, time, and room for all course sections. Order by course ID and section. Note you must join the courses and sections tables for this question.
  1. Repeat for CRN 1003 only.
  2. List the course ID, course name, section, instructor name, day, time, and room for all course sections. Be sure to join the proper tables.
  3. List the course ID, course name, section, student ID, and student name for CRN 1003. Display the list in ascending order of student last and first names. Be sure to join the proper tables.

DROP TABLE registration;
DROP TABLE sections;
DROP TABLE courses;
DROP TABLE students;
DROP TABLE instructors;


CREATE TABLE courses (
cid varchar2(9) NOT NULL,
cname varchar2(50) NOT NULL,
credits number(1) DEFAULT 3,
prereq varchar2(9),
CONSTRAINT pk_courses PRIMARY KEY (cid)
);

INSERT INTO courses VALUES ('IS 201','Java Programming',3,null);
INSERT INTO courses VALUES ('IS 202','C++ Programming',3,'IS 201');
INSERT INTO courses VALUES ('IS 301','Web Design',3,null);
INSERT INTO courses VALUES ('IS 331','Business Applications',3,null);
INSERT INTO courses VALUES ('IS 401','Database Design',3,'IS 331');
INSERT INTO courses VALUES ('IS 413','SQL Programming',3,'IS 401');


CREATE TABLE students (
sid char(9)   NOT NULL,
lname varchar(30) NOT NULL ,
fname varchar2(30) NOT NULL ,
gender char(1) NOT NULL ,
addr varchar2(50) NOT NULL ,
city varchar2(20) NOT NULL ,
state char(2) NOT NULL ,
zip varchar2(10) NOT NULL ,
phone varchar2(14) NULL ,
birthdate date NULL ,
tuitionRate number(7, 2) NOT NULL ,
creditsEarned number(3) NOT NULL ,
CONSTRAINT pk_students PRIMARY KEY (sid)
);

INSERT INTO students VALUES ('100000001','Lee','George','M','15 Merchant Street','Honolulu','HI','96818','808-524-3333','01-MAY-1965',5000.00,47);
INSERT INTO students VALUES ('100000002','Yamamoto','Bill','M','3432 Birch Street','Honolulu','HI','96814','808-522-2212','03-JUN-1958',5000.00,12);
INSERT INTO students VALUES ('100000003','Carver','Hillary','F','22 Aardvark Avenue','Washington','DC','10101','800-212-3246','23-AUG-1991',5000.00,69);
INSERT INTO students VALUES ('100000004','King','Linda','F','341 Kaapahu Road','Paauilo','HI','96776',NULL,'01-SEP-1998',4399.00,6);
INSERT INTO students VALUES ('100000005','Rollings','Willie','M','1221 Ala Moana Blvd','Honolulu','HI','96814',NULL,NULL,4888.00,0);
INSERT INTO students VALUES ('100000006','Alexander','Wanda','F','93-123 Old Mill Road','Honokaa','HI','96727','808-776-2313','02-OCT-1997',5000.00,99);
INSERT INTO students VALUES ('100000007','Carver','Bill','M','33 Richards Street','Honolulu','HI','96813',NULL,'22-OCT-1990',5000.00,0);
INSERT INTO students VALUES ('100000008','DeLuz','Bob','M','102 Orleans Ave','San Francisco','CA','97745','808-555-3324','01-MAR-1998',5000.00,14);
INSERT INTO students VALUES ('100000009','Lee','Lisa','F','45 Fong Avenue','San Francisco','CA','97767','808-333-3432','21-APR-1997',5000.00,26);
INSERT INTO students VALUES ('100000010','Garcia','Sherrie','F','2 S. Beretania','Honolulu','HI','96817','808-663-4453','03-DEC-1997',5000.00,29);
INSERT INTO students VALUES ('100000011','Kamaka','Oscar','M','34 Kapolani Blvd','Honolulu','HI','96813','808-533-3332','12-FEB-1998',5000.00,0);

CREATE TABLE instructors (
inId char(9) NOT NULL,
iLname varchar2(30) NOT NULL,
iFname varchar2(30) NOT NULL,
rank varchar2(10) NOT NULL,
office varchar2(10) NULL,
phone varchar2(20) NULL,
salary number(8,2) DEFAULT 0,
CONSTRAINT pk_instructors PRIMARY KEY (inID)
);

INSERT INTO instructors VALUES ('200000001','Souza','Edward','Lecturer','LM101','808-533-4241',5000.00);
INSERT INTO instructors VALUES ('200000002','Tenzer','Laurie','Associate','LM102','808-533-4244',5000.00);
INSERT INTO instructors VALUES ('200000003','Otake','Bill','Assistant','MR101','808-533-4247',5800.00);

CREATE TABLE sections (
crn char(4) NOT NULL,
cid varchar2(9) NOT NULL,
section char DEFAULT 'A',
inId char(9) NOT NULL,
days varchar2(10) DEFAULT 'TBA',
time varchar2(16) DEFAULT 'TBA',
room varchar2(10) NULL,
CONSTRAINT pk_sections PRIMARY KEY (crn),
CONSTRAINT fk_inid_sections FOREIGN KEY (inid) REFERENCES instructors(inid),
CONSTRAINT fk_cid_sections FOREIGN KEY (cid) REFERENCES courses(cid)
);

INSERT INTO sections VALUES ('1000','IS 201','A','200000003','MWF','08:00 - 08:50','CL100');
INSERT INTO sections VALUES ('1001','IS 201','B','200000003','MWF','09:00 - 09:50','CL100');
INSERT INTO sections VALUES ('1002','IS 201','C','200000001','TTh','08:00 - 09:15','CL102');
INSERT INTO sections VALUES ('1003','IS 301','A','200000002','TTh','09:30 - 10:45','CL340');
INSERT INTO sections VALUES ('1004','IS 301','B','200000002','MWF','09:00 - 09:50','CL340');
INSERT INTO sections VALUES ('1005','IS 413','A','200000001','MWF','09:00 - 09:50','CL230');


CREATE TABLE registration (
crn char(4) NOT NULL,
sid char(9) NOT NULL,
CONSTRAINT pk_registration PRIMARY KEY (crn,sid),
CONSTRAINT fk_crn_registration FOREIGN KEY (crn) references sections(crn),
CONSTRAINT fk_sid_registration FOREIGN KEY (sid) references students(sid)
);

INSERT INTO registration VALUES ('1000','100000001');
INSERT INTO registration VALUES ('1003','100000001');
INSERT INTO registration VALUES ('1005','100000001');
INSERT INTO registration VALUES ('1001','100000002');
INSERT INTO registration VALUES ('1004','100000002');
INSERT INTO registration VALUES ('1005','100000003');
INSERT INTO registration VALUES ('1002','100000004');
INSERT INTO registration VALUES ('1003','100000004');
INSERT INTO registration VALUES ('1005','100000004');
INSERT INTO registration VALUES ('1000','100000005');
INSERT INTO registration VALUES ('1003','100000005');
INSERT INTO registration VALUES ('1002','100000008');
INSERT INTO registration VALUES ('1004','100000008');
INSERT INTO registration VALUES ('1002','100000009');
INSERT INTO registration VALUES ('1005','100000009');
INSERT INTO registration VALUES ('1002','100000010');
INSERT INTO registration VALUES ('1005','100000010');
INSERT INTO registration VALUES ('1000','100000011');
INSERT INTO registration VALUES ('1003','100000011');
INSERT INTO registration VALUES ('1005','100000011');
commit;

In: Computer Science

for u=<2,1,-3> and v=<1,0,2>, a) find the angle between u and v b) use the formula...

for u=<2,1,-3> and v=<1,0,2>,

a) find the angle between u and v

b) use the formula proj_a b=((a•b)/|b|^2)b to find vector projection of v onto u

c) sketch vectors u, v, and the projection found with only using arrows

d) find the area of the parallelogram determined by u and v

In: Math

In a tabula form, state the differences between chondrichthyes and osteichtyes How do monotremes, marsupial and...

  1. In a tabula form, state the differences between chondrichthyes and osteichtyes
  2. How do monotremes, marsupial and placenta mammals differ?
  3. What is the difference between the following animals. I]diploblastic and troploblastic. ii] anadromous and catadromous iii] euryhaline and stenohaline iv] agnatha and agnathostomata v] metatheria and eutheria. Vi]annelid and mollusc
  4. Classify modern amphibians to different orders given the salient features of each order
  5. What advancement has phylum annelid over phylum platyhelminthes. Give list of the classes under phylum mollusc.
  6. Identify an animal phylum that exhibits the following features, protonephridia, cnidoblasts, canal system, tube foot, water vascular system, choanocytes and aristotle’s lantern

In: Biology

You've got some sheet steel and slice it up into two 16 cm (on a side)...

You've got some sheet steel and slice it up into two 16 cm (on a side) square pieces. You set them up 3.7 mm apart, then hook up a 12 V car battery, one plate to each terminal. Figure out the following list of things about your setup: (a) capacitance; (b) charge on each plate; (c) Electric field in between the plates; (d) stored energy. Unhook the battery and scoot the plates twice as far apart: what are your new answers for these four things? What if you left the battery connected when you moved the plates farther apart (same four things)?

In: Physics