An atom has 20 neutrons and 19 protons in its nucleus. How many electrons are in its outer (valence) electron shell? How many shells does it have? What is its atomic mass in g/mol? What is the element?
|
1, 3, 39, K |
||
|
1, 4, 19, Mg |
||
|
2, 4, 19, Mg |
||
|
2, 4, 39, K |
||
|
1, 4, 39, K |
In: Biology
Credit Cards
Credit card numbers follow patterns.
Given that a number has satisfied the above criteria A and B the following steps are taken to validate the number:
Given the number:
4388576018402626
The steps 1 - 5 above would be (after determining that A an B above have been satisfied):
Step 1:
2 * 2 = 4
2 * 2 = 4
4 * 2 = 8
1 * 2 = 2
6 * 2 = 12 ( 1 + 2 = 3)
5 * 2 = 10 (1 + 0 = 1)
8 * 2 = 16 (1 + 6 = 7)
4 * 2 = 8
Step 2:
4 + 4 + 8 + 2 + 3 + 1 + 7 + 8 = 37
Step 3:
6 + 6 + 0 + 8 + 0 + 7 + 8 + 3 = 38
Step 4:
37 + 38 = 75
Step 5:
75 % 10
You are to write a program that will prompt the user to enter a card number. You are then to determine if the number entered is valid or not. You are then to print to the screen if the number entered is a valid credit card number or not.
Your are to complete this program using functions. You are to have a function main in which you will only call the functions you have developed. The last line of your code is to be a call to main as below:
main()
Here are some valid numbers for testing purposes:
|
American Express |
378282246310005 |
|
American Express |
371449635398431 |
|
Discover |
6011111111111117 |
|
Discover |
6011000990139424 |
|
MasterCard |
5555555555554444 |
|
MasterCard |
5105105105105100 |
|
Visa |
4111111111111111 |
|
Visa |
4012888888881881 |
|
Visa |
4222222222222 |
Done in Python Format please
In: Computer Science
removing neurotransmitters from synaptic cleft?
1.chemical substance
2.diffusion
3.ligand binding site
4.synaptic terminal repuke
what happen to a nerve once it respond to
stimulus?
1.Na in the cell
2.Na out of cell
3.K out of her
4.K in the cell
neuron becomes hyperpolarized?
1. K in the cell
2.K out of cell
3.Na in cell
4.Na out if cell
sodium/ potassium exchange pump
1. Na out of cell and K in the cell
2. K and Na out of cell
3. Na into cell and K out of cell
action potential at end of axon result in?
1.release of neurotransmitters from axon
2.release ions from axon
3. generation of new action
establish emotion state?
1. limbic system
2.midbrain
3. pond
4.cerebellum
In: Biology
1) Describe fraud.
2) What are the three categories of fraud and list an example of each.
3) Describe the fraud triangle.
4) List the key requirements of the Sarbanes-Oxley Act (SOX) 5) List the components of the framework commonly used in corporations when analyzing their internal control systems:
1.
2.
3.
4.
5.
6) List the five common principles of Internal Control and give an explanation and example of each
1.
2.
3.
4.
5.
7) Name two reasons why internal control for cash is important.
1.
2.
8) What does the term “cleared the bank” mean?
9) What are the two basic reasons that a company’s cash records do not balance to the bank statement?
1.
2.
10) Define the following:
1. Bank errors
2. EFT
3. Service charges
4. NSF checks
5. Deposits in transit
In: Accounting
A recent survey asked students to rate their stress-level during the first week of classes. Students responded on a scale from 1 to 8 wherein 1 was almost no stress and 8 being stressed to the max. Students responses to the survey are illustrated in the table below.
.
| .. Score . x... | .. Frequency . f .. |
| 1 | 2 |
| 2 | 4 |
| 3 | 7 |
| 4 | 4 |
| 5 | 4 |
| 6 | 1 |
| 7 | 6 |
| 8 | 2 |
.
Using the table information, answer the following:
How many students were surveyed?
What is the mean stress rating? Use 2 decimals in your answer.
What is the median stress rating? Use 2 decimals in your answer.
What is the mode of this data set?
What is the range of this data set?
In: Statistics and Probability
1. Create the following items in R. Show the R output provided by each object.
b The matrix 1 2 3 4 5 6 7 8 9 10 11 12 stored as object mat1.
c The matrix 1 5 9 2 6 10 3 7 11 4 8 12 stored as object mat2.
d A data frame datfr such that the vector 1 2 3 4 5 6 is in the first column, green green red blue yellow red is in the second column, and 4 7 2 8 2 10 is in the third column.
e A list objs consisting of the objects in parts a, b, c, and d, in that order.
In: Statistics and Probability
Write a program that acts as a basic calculator
please use #include studio not ios.stream
int main(int argc, char* argv[])
{
calculator();
return 0;
}
/* Sample run of the program - Input and Output */
0 - Exit
1 - Add
2 - Subtract
3 - Multiply
4 - Divide
Please select an option : 1
Please enter the value : 5
Result = 5.000000
0 - Exit
1 - Add
2 - Subtract
3 - Multiply
4 - Divide
Please select an option : 2
Please enter the value : 1
Result = 4.000000
0 - Exit
1 - Add
2 - Subtract
3 - Multiply
4 - Divide
Please select an option : 3
Please enter the value : 3
Result = 12.000000
0 - Exit
1 - Add
2 - Subtract
3 - Multiply
4 - Divide
Please select an option : 4
Please enter the value : 2
Result = 6.000000
0 - Exit
1 - Add
2 - Subtract
3 - Multiply
4 - Divide
Please select an option : 0
In: Computer Science
|
Diet |
|||
|
Exercise |
<30% fat |
30% - 60% fat |
>60% fat |
|
<60 minutes |
4 |
3 |
2 |
|
4 |
1 |
2 |
|
|
2 |
2 |
2 |
|
|
4 |
2 |
2 |
|
|
3 |
3 |
1 |
|
|
60 minutes |
6 |
8 |
5 |
|
or more |
5 |
8 |
7 |
|
4 |
7 |
5 |
|
|
4 |
8 |
5 |
|
|
5 |
6 |
6 |
In: Statistics and Probability
Solve the the process scheduling problem using the round robin FCFS algorithm studied in assignment 7. The program will show the order of execution of the processing and will provide the average waiting time for the following scenarios:
a) Time quantum =1
b) Time Quantum=3
Use the table below to draw the Gantt Chart (Spread sheet or by hand).
| Process ID | Arrival Time | Burst Time |
| 1 | 0 | 4 |
| 2 | 1 | 5 |
| 3 | 2 | 2 |
| 4 | 3 | 1 |
| 5 | 4 | 6 |
| 6 | 6 | 3 |
| 7 | 7 | 2 |
In: Computer Science
2. Consider the same computer system used in problem 1. The following trace of accessed page numbers was recorded over time: 1, 0, 2, 2, 1, 7, 6, 7, 0, 1, 2, 0, 3, 0, 4, 5, 1, 5, 2, 4, 5, 6, 7, 6, 7, 2, 4, 2, 7, 3, 3, 2, 3. The first two page references were reads, while the third was a write, and every third reference after that was also a write operation.
c) Assuming that the clock replacement policy is used in combination with a modify bit for write operations, show how the contents of the four memory frames change over the sequence of page references. Compute the hit rate assuming that all frames are initially empty
In: Electrical Engineering