The goal of this laboratory is to acquire the
necessary knowledge needed to build and analyze a
basic electrical circuit. You will need to watch two videos
introducing the multimeter and the
breadboard. After watching these videos, you will need to answer
five relatively short questions
regarding the concept seen in the videos. Note, after much thought,
i decided to use two videos
from youtube. The creators of these videos did a wonderful job
explaining the different detail
pertaining to these two pieces of equipment.
The video for the multimeter demonstration can be found here:
https://www.youtube.com/watch?v=SLkPtmnglOI
The video for the breadboard can be found here:
https://www.youtube.com/watch?v=6WReFkfrUIk
In the diagram above we have two resistors R1 and R2 connected to a
power source V. The points
A,B,C,D,E and F are considered to be solderless connectors. Four
wires are connecting the entire
circuit. These wires connect the point A and B, B and C, D and E
and finally E and F together. Any of
the wires, or electrical components, could be removed to make a
measurement. Refer to this
diagram for question 1 to 4.
Question 1 (10 points): Using the multimeter explain how you would
measure the voltage drop on
R1? Did you have to remove any component to make the
measurement?
Question 2 (10 points): Using the multimeter explain how you would
measure the resistance of R1?
Did you have to remove any component to make the measurement?
Question 3 (10 points): Using the multimeter explain how you would
measure the current going
through R2? Did you have to remove any component to make the
measurement?
Question 4 (10 points): Using the multimeter explain how you would
measure the total current of
the circuit? Did you have to remove any component to make the
measurement?
Question 5 (10 points): Name two common mistake made by the student
when using a breadboard
In: Physics
Introduction:
One of the advantages of using Loops is to reduce the amount of programming effort especially when repeating the code is required. To demonstrate this advantages, the code below shows the PasswordGeneration class. The purpose of this program is to generate an ad hoc 12 letters long password upon a selection of a character from a string that contains a pool of letters.
|
/*simple Java program that generate a 12 characters long passwords * author : Dr. Modafar Ati * Version 1.0 */ public class PasswordGeneration { public static void main(String[] args) { String password; //create a pool of letters String letters = new String("&*()789FGHIJKabcdefghijklmLMNO^|{]}PQRSTU!@#$%VWXYZ123456nopqrstuvwxyzABCDE"); //select 12 random characters from the above pool char c1 = letters.charAt((int)(Math.random()*letters.length())); char c2 = letters.charAt((int)(Math.random()*letters.length())); char c3 = letters.charAt((int)(Math.random()*letters.length())); char c4 = letters.charAt((int)(Math.random()*letters.length())); char c5 = letters.charAt((int)(Math.random()*letters.length())); char c6 = letters.charAt((int)(Math.random()*letters.length())); char c7 = letters.charAt((int)(Math.random()*letters.length())); char c8 = letters.charAt((int)(Math.random()*letters.length())); char c9 = letters.charAt((int)(Math.random()*letters.length())); char c10 = letters.charAt((int)(Math.random()*letters.length())); char c11 = letters.charAt((int)(Math.random()*letters.length())); char c12 = letters.charAt((int)(Math.random()*letters.length()));
// Combine all characters into a string that represent the generated password password = Character.toString(c1) +Character.toString(c2) + Character.toString(c3); password += Character.toString(c4) +Character.toString(c5) + Character.toString(c6); password += Character.toString(c7) +Character.toString(c8) + Character.toString(c9); password += Character.toString(c10) +Character.toString(c11) + Character.toString(c12);
//present the user with the generated password System.out.println("Password generetad is : " +password); } } |
Now upon implementing Loops strategy, the number of lines of the previous program will be reduced significantly. Version 2 of the above code can be written after adding more functionality to it is shown below. The new code has extra flexibility added to it by given the user to specify the size of the password required.
|
/*simple Java program that generate a flexible size passwords * author : Dr. Modafar Ati * Version 2.0 */ import java.util.Scanner; public class PasswordGeneration { public static void main(String[] args) { Scanner input = new Scanner(System.in); String password=""; char c; int size = 0; String letters = new String("&*()789FGHIJKabcdefghijklmLMNO^|{]}PQRSTU!@#$%VWXYZ123456nopqrstuvwxyzABCDE"); System.out.print("What is the length of password would you like to generate : "); int lengthOfPasswords =input.nextInt();
while(size < lengthOfPasswords) { //select a random character from the list c = letters.charAt((int)(Math.random()*letters.length()));
//now append the letter to the pass String password += Character.toString(c);
size++; } System.out.println(password); input.close(); } } |
Task:
You are required to modify the second version of the program to satisfy the following conditions:
PS: Below is a sample output of the program
|
How many passwords would like to generate : 5 What is the length of password would you like to generate : 15 The following 5 are now generated ________________________________________________________________ tE3gEZMSEHtA6Ku n%iPfc%JGZaxGk6 Z^Rhdz5f7OIVx2F jh3dldFfFO9W)kS Kpjn$]9Pmpm(bX3 Would you like to generate another set of passwords (Y/N ) : y How many passwords would like to generate : 10 What is the length of password would you like to generate : 10 The following 10 are now generated ________________________________________________________________ &^upcN&DvY *x^D2(tX}$ Ie9HjCCIkD oOr*mT{kpC 4H7cz$m2U$ (]BBIRykgW *V8vTh2DN& BMxw%W8*|v dyLivkl)U1 hP4eFeI5FM Would you like to generate another set of passwords (Y/N ) : N Thank you |
Notes :
In: Computer Science
Quiz 2
Hippocrates
Thomas Sydenham
James Lind
Benjamin Jesty
Edward Jenner
Ignaz Semmelweis
John Snow
Louis Pasteur
Robert Koch
John Graunt
William Farr
Bernardino Ramazzini
Edgar Sydenstricker
Doll and Hill
Florence Nightingale
Janet Lane-Claypon
Alice Hamilton
Wade Hampton Frost
Identified various modes of transmission and incubation times for cholera
B. Provided classifications of morbidity statistics to improve the value of morbidity information
C. Observed in the 17th century that certain jobs carried a high risk for disease
D. Introduced the words "epidemic" and "endemic"
E. Advanced useful treatments and remedies including exercise, fresh air, and a healthy diet, which other physicians rejected at the time
F. Through an experimental study, showed that lemons and oranges were protective against scurvy
G. Invented a vaccination for smallpox
H. The father of modern epidemiology
I. Used data as a tool for improving city and military hospitals
J. Conducted the first cohort study investigating the association between smoking and lung cancer
K. Promoted the idea that some diseases, especially chronic diseases, can have a multifactorial etiology
L. Observed that milkmaids did not get smallpox, but did get cowpox
M. Developed a vaccine for anthrax
N. Pioneered the use of cohort and case-control studies to identify risk factors for breast cancer
0. A pioneer in the field of toxicology
P. Credited for producing the first life table
Q. Used photography to take the first pictures of microbes in order to show the world that microorganisms in fact existed and that they caused many diseases
R. A statistician who was a pioneer in developing the theory of epidemiologic study design and causal inference
S. Discovered that the incidence of puerperal fever could be drastically cut by the use of hand washing standards in obstetrical clinics
2. List some of the contributions of the microscope to epidemiology.
3. What two individuals contributed to the birth of vital statistics?
What type of epidemiologic study was used by James Lind?
5. What types of epidemiologic studies were used by Doll and Hill?
In: Biology
As the COVID-19 epidemic rages in Ghana, many are seeking answers to the following questions: 1. What are the risk factors for getting infected with COVID-19? 2. What are the risk factors for having symptomatic infection i.e. feeling unwell? 3. What are the risk factors for severe disease (needing hospitalization) and death once a person is infected with COVID-19? Out of the under listed, choose a study design to answer any ONE of the three research questions above: 1. Case-based (prevalent cases) 2. Case-based (incident cases) 3. Case-Cohort (incident cases) 4. Density/Nested (incident cases) 5. Case-Crossover (incident cases) 6. Retrospective cohort 7. Community trial 8. Randomized controlled trial Question 1 Describe the design you select for carrying out the study to answer the research question you selected. In your description, be sure to capture as many elements as possible which highlight the design. E.g. if the simple case-control design was one of the options and you had selected it (note it is not one of the options), you would have to clearly define who your cases would be and who your controls would be, as well as when and how you would identify them etc. Type your response here. Word limit: min 600, max 1,000 Question 2 Provide three specific and practical reasons for your choice of study design for the research question you selected as opposed to any other of the designs. Do not simply state the generic strengths or advantages of your chosen study design, but make them specific to the research question. Type your response here. Word limit: min 200, max 500 Question 3 For each study design you have described to address the research questions, provide three possible research biases and how you would solve them. Do not simply state generic biases and how they are addressed, but be practical about it and how it relates specifically to the research question.
In: Nursing
QUESTION 33
1. In order to BEST test a causal hypothesis about an exposure and outcome, the researcher should incorporate which of the following elements into their study?
|
a. |
Randomly assign participants to the different groups |
|
|
b. |
Ensure that the exposure preceded the outcome in time. |
|
|
c. |
Conduct multivariate statistics to control for confounding variables. |
|
|
d. |
Ensure that the research team is "blind" to the study group and hypotheses. |
2 points
QUESTION 34
1. Sustainable development considers the following main factors when addressing a global health issue:
|
a. |
Disease transmissibility and environment |
|
|
b. |
None of the above |
|
|
c. |
Environmental, social, and economic |
|
|
d. |
Culture, economic, and social |
2 points
QUESTION 35
1. Rising temperature impacts vector-borne disease transmission through:
|
a. |
All of the above |
|
|
b. |
Shorter incubation periods |
|
|
c. |
Biting frequency |
|
|
d. |
Increased disease transmissibility |
2 points
QUESTION 36
1. Industrialization has contribute to the spread of emerging communicable diseases.
True
False
2 points
QUESTION 37
1. Compared to other study designs, studies that use the _________ design yield results that are the most difficult to interpret.
|
a. |
Analytic |
|
|
b. |
Case-control |
|
|
c. |
Cross-sectional |
|
|
d. |
Cohort |
2 points
QUESTION 38
1. According to the WHO, approximately 1.2 billion worldwide live in poverty.
True
False
2 points
QUESTION 39
1. The most effective intervention to decrease WASH-related disease transmission is:
|
a. |
Hygiene |
|
|
b. |
Sanitation |
|
|
c. |
improved water supply |
|
|
d. |
Improved water quality |
2 points
QUESTION 40
1. Which of the following is a strength of using a cohort study design?
|
a. |
Sample size can be small |
|
|
b. |
Causality can be inferred |
|
|
c. |
Efficient for studying rare diseases |
|
|
d. |
Can study several outcomes |
2 points
QUESTION 41
1. When examining the global HIV data between 2000 and 2015, the number of people living with HIV _______ and the number of people who received HIV treatment _________.
|
a. |
increased, decreased |
|
|
b. |
decreased, decreased |
|
|
c. |
decreased, increased |
|
|
d. |
increased, increased |
In: Biology
a) Describe the Democritian model for the atom.
b) Describe the Thomson model for the atom. What experiment led to its formulation?
c) Describe the Rutherford model for the atom. What experiment led to its formulation?
d) Describe the Bohr atom. What experimental evidence led to its formulation?
In: Chemistry
How do we get two lines of interference pattern in the experiment of finding the wavelength of monochromatic light using a Lloyd's mirror?
Please explain with the help of a diagram. Also tell why there is a dark fringe at the middle instead of a white fringe like in Young's double slit experiment.
In: Physics
a. Explain and provide reasons for how you would assign participants to groups for an experiment that wants to study Masters of Professional Accounting students and the effects of participation in group work training on satisfaction with a group work project.
b. What are some factors that might impact the results of your experiment in (a).?
In: Accounting
Determine if the greatest % salinity at which bacteria was able to grow at the end of the experiment is significantly different than at the start of the experiment by using the t-test.
Pooled Data:
| Control Plates | 15% salinity agar plates | |
| 1 | 12.67 | 9.23 |
| 2 | 12.47 | 9.72 |
| 3 | 12.78 | 10.25 |
In: Biology
How can I use this topic in a study or experiment scenario:
adolescent dating violence? Questionnaires, independent variables,
dependent variables, participants, ages? I like the topic, but I am
having a hard time determining how the experiment should go for my
psychology class.
In: Psychology