Saturday, December 28, 2019

Understanding Arrays in PHP

An array is a systemic arrangement of objects. Hum, what does this mean? Well in programming an array is a type of data structure. Each array can hold several pieces of information. It’s sort of like a variable in that it stores data, but not at all like a variable in that instead of storing one bit of information it can store many pieces of information. Let’s start with an example. Let’s say that you are storing information about people. You could have a variable that stored my name â€Å"Angela†. But in an array, you could store my name, my age, my height, my In this sample code, we will look at storing two bits of information at a time, the first being somebody’s name and the second being their favorite color. In this example code, you can see that the friend array is sorted by number, and contains a list of friends. In the second array, color, instead of using numbers it uses strings to identify the different bits of information. The identifier used to retrieve data from the array is called it’s key. In our first example, the keys were integers 0, 1, 2, and 3. In our second example, the keys were strings. In both cases, we are able to access the data held in the array by using both the array’s name, and the key. Like variables, arrays always start with a dollar sign ($array) and they are case sensitive. They can not start with an underscore or a number, you must start them with a letter. So, to put it simply, an array is kind of like a variable with lots of little variables inside of it. But what exactly do you do with an array? And how is it useful to you as a PHP programmer? In practice, you will probably never create an array like the one in the example above. The most useful thing you can do with an array in PHP is to use it to hold information you get form somewhere else. Having your websites information stored in an MySQL database is not uncommon. When your website needs certain information it simply accesses your database, and wha-laa, on demand data. Let’s say you have a database of people who live in your city. You now want to search that database and print out records for anyone named â€Å"Tom†. How would you go about doing this? You would read through the database for people named Tom, and then pull their name and all the other information about them from the database, and place it in an array inside of your program. You are then able to cycle through this array, and print out the information or store it to use elsewhere in your program. On the surface, an array might not look that interesting to you, but when you do more programming and start storing more complex data structures you will find you are often writing them to arrays when they need to be used.

Friday, December 20, 2019

Understanding the Decisions to Drop The Atomic Bomb Essay

The death of thousands in a moment, this was the power of the weapon the United States held in their possession. It was nearly the end of World War II. With Germany defeated and the Allied Forces ready for the cease-fire, only the Axis power of Japan stood in the way of the end of the World War. Worried about Nazi Germany’s technological advances earlier in the war, the United States began to research atomic energy and the possibility of creating an atomic bomb (Walker 10). When the bombs were created, the arguments for and against the use of it were gruesome, lengthy, and all understandable in some way. During the decision to drop atomic bombs on Japan, President Harry S. Truman and his fellow politicians had to consider the ethical†¦show more content†¦The use of this bomb would mean saving both military supplies and American lives at the cost of the Japanese. (9) Though few could see much trouble with such an outcome, the scientists had another way at looking at th ese options. Though the scientists themselves were the ones to encourage the creation of the atom bomb, their plans and views differed immensely from those of the military. As World War II raged on, Germany was suspected of harnessing atomic energy and directing it into powering a weapon. Albert Einstein, agreeing with Leo Silzard, the man who first thought into the concept, urged President Franklin D. Roosevelt to look further into the study of atomic energy and the possibility of using it for a bomb. President Roosevelt, fearing the German’s advances in this study, quickly agreed and sent money to the University of Chicago to begin the study and research of atomic energy. (Roleff 62) (The Manhattan Project 1) Upon sending this money, the top-secret research program and building of the atomic bomb began. Later moving from Chicago to Los Alamos, New Mexico, this secret project was called the Manhattan Project. (1) Einstein later explained that his recommendation to the president was to onl y further the United State’s knowledge of this energy and to have an extra line of defense if the Germans were to ever launch a nuclear attack. (Roleff 62) When the possibility of using one of these weapons wasShow MoreRelatedAtomic Bombs On Hiroshima And Nagasaki844 Words   |  4 Pagesdropped atomic bombs over the Japanese cities of Hiroshima and Nagasaki killing nearly 200,000 people. This resulted in Japans surrender in World War II. J. Samuel Walker analyzes this historical event in his book Prompt and Utter Destruction: Truman and the Use of Atomic Bombs. Over the past 70 years’ extensive research has been conducted and there is an understanding that Truman’s decision to drop the atomic bombs is inconclusive. It is impossible to determine that the use of the bomb was the quickestRead MoreDebating History : Atomic Age947 Words   |  4 PagesMay 1, 2015 Debating History – Atomic Age Towards the end of World War II, the belief that Americans had of the war was one of invading Japan and ending the war in traditional style and in traditional surrender. However, to the efforts of J. Robert Oppenheimer and fellow associates changed the course of warfare and history by creating the atomic bomb. The Manhattan Project The Manhattan project was a very key point in history that involved the production of the bomb and of course the plan on attackingRead MorePresident Truman: The Reasoning for Dropping the Atomic Bomb1230 Words   |  5 Pageschallenges met by any 20th-century president. He discovered in July 1945 that some scientists working for the United States government had successfully tested an atomic bomb in New Mexico. President Truman wanted to use the atomic bomb to end the war in the Pacific, but with fewest U.S. catastrophes. This decision was one of the most momentous decisions of the 20th century and extremely perplexing when analyzed. Harry S. Truman became the 33rd president by the death of Franklin D. Roosevelt. PresidentRead MoreThe Threat Of The Atomic Bombs1467 Words   |  6 Pagesthe U.S. was Right in Dropping the Atomic Bombs In 1945, President Truman had to make one of the toughest decisions a president has ever been faced with. This decision, of course, being whether to drop the atomic bombs on Japanese cities, not drop the bombs at all, or do a demonstration by dropping a bomb in the ocean near Tokyo. Truman eventually chose to drop the atomic bombs on both Hiroshima and Nagasaki in August of 1945. This choice to drop the atomic bombs was right because these bombings assistedRead MoreThe Manhattan Project1519 Words   |  7 PagesThe process of building the two atomic bombs was long and hard. The Manhattan project employed 120,000 people, and cost almost $2 billion. Although there were 120,000 Americans working on the project only a select group of scientist knew of the atomic bomb development. Vice president Truman never knew about the development of the bombs until he became president. The axis powers did not know what was going on with the development of the atomic bomb; there was a soviet spy in the project. The sovietRead MoreThe Atomic Bombs On Japanese Cities1454 Words   |  6 PagesIn 1945, President Truman had to make one of the toughest decisions a president has ever been faced with. This decision, of course, being whether to drop the atomic bombs on Japanese cities, not drop the bombs at all, or do a demonstration by dropping a bomb in the ocean near Tokyo. Truman eventually chose to drop the atomic bombs on both Hiroshima and Nagasaki in August of 1945. This choice to drop the atomic bombs was right because these bombings assisted in slowing the expansion of the SovietRead MoreThe Atomic Explosion Of Hiroshima And Nagasaki855 Words   |  4 Pageswhether it was necessary for the United States to drop the bomb on either Hiroshima and Nagasaki has been going on for about half a century. Many have argued that Harry S. Truman did the right thing while others disagree that it was a horrible decision. There is technically not a right or wrong answer because no one kne w what could have happened if the United States did not drop the bombs on either cities. There can only be disagreements over the decisions a leader could make in order to protect its peopleRead MoreWorld War Two and the Atomic Bomb Essay739 Words   |  3 PagesWorld War Two and the Atomic Bomb World War II is one of the most historic points in the history of the world. The war was by far the most devastating in the history of the world. There were many controversial actions during the war, but one of the biggest was the decision by the United States to drop atomic bombs. The atomic bomb should have been used to end the war because it saved more lives than continuing the war. The official bombing order was signed on July 25, 1945, by ThosRead MoreEssay On The Atomic Bomb837 Words   |  4 Pagesbasis, yet this type of strategy is still in use. Is the bombing of innocent people justified if it ultimately brings an end to the war? The dropping of the atomic bombs on Hiroshima and Nagasaki during World War II clearly exemplifies the ethical question of whether bombing civilians was right or wrong. The decision to drop the atomic bomb on Hiroshima and Nagasaki was not clear cut. Harry S. Truman and his associated generals (Stimson and Groves) had to come to a conclusion on how to swiftly endRead MoreThe Bomb And Its Impact On Hiroshima982 Words   |  4 Pagessudden, BOOM! A bomb hit right there in Nicholls Quad. But then again, you wouldn’t know a bomb had dropped because you would be dead already. You would have been too close to the bomb explosion and would have just disappeared. Even though the novel Black Rain depicts Shigematsu and Yasuko as the main characters, the bomb is really what made this book. Without the atomic bomb, Shigematsu and Yasuko wouldn’t have anything this devastating to write about. That’s why I believe the bomb is the main character

Wednesday, December 11, 2019

Early childhood free essay sample

Our work as men and women raising children is important because our influence lasts a lifetime. But what are the most important gifts we give our children? Self-love, self-concept, and self-esteem. Self-Love * Self-love is the most essential of all skills. It is concepts children learn from the way parents (and other adults) treat them. Children first need to know that they are loved and accepted for who they are. With this as a basis, their natural impulse is to take that love and learn to contribute it to the world in constructive ways. It is not difficult then, to see that self-love is the best gift we can give our children. *love in children, as in adults, means liking themselves, enjoying themselves, and accepting themselves. Children need to know that although parents may not always like what they do, or have done, we still like and love them. There is a great difference between rejecting a child’s behaviour and rejecting the child. We will write a custom essay sample on Early childhood or any similar topic specifically for you Do Not WasteYour Time HIRE WRITER Only 13.90 / page Help the child understand that he or she is a human being and as a human being he or she will make mistakes. Our goal is to help children learn from those mistakes and assist them in making corrections. Self-Concept *Self-concept is the image we have of ourselves. It means liking ourselves just the way we are. To teach children about self-concept, we must look at them without labels or comparisons. If a child is taller than most of the other children in his or her class, he or she may feel awkward. However, if the child is taught that his or her height is an asset of which to be proud, the child will grow up with respect for him- or herself and others. *There are things about every child that are unique. It is by zeroing in on each special quality—whether it is their willingness to let someone else ride their trike, their whimsical sense of humour, or their ability to carry a tune—that we give children a positive sense of self. Children take great pride and delight in the knowledge that there is no one exactly like them in the world. Share a child’s uniqueness by looking into his or her eyes with a smile that says, â€Å"You are special. I love to be with you! † Self-Esteem *Self-esteem has been defined as â€Å"the sense of being lovable and capable. † When these two qualities are in sync, a child has high self-esteem. *Children learn about themselves and know themselves only by reflection. For the first important years of their lives, parents are the major influence providing this reflection to the child. Later on, teachers and friends in addition to parents provide this reflection. Reaction: As a parent, we want to make right and wonderful for our children, we want our children a happiest child of all, and we want to eliminate conflict, disappointment, rejection, and failure from their lives. But we need to remember that life is a process. Of all us will encounter difficult situation, trouble, worry, and complication as they move through life. As they grow up they encounter and experience some unexpected things to happen . the best thing to do is to explain and feel them that they are not alone in their ups and down. Child may feel different emotions. We should not reject them we should listen to them even though it is nonsense. Also we should help our child look for strengths by helping him/her experience success and in every success they did they should receive reward by encourage them. Parent’s guidance and presence is highly recommended we should always aware for our child’s feeling or condition regarding with their emotional and physical. Because child is delicate sensitive they get easily get hurt especially in a situation that they don’t understands what is happening. Therefore, the most important task as a parent is by giving them love and care and a strong sense of self-love, self-concept, self-esteem that we prepare them to learn what life is all about for them also to understand what life is why is there circumstances happen in every life. That child that has a sense of self-love, self-esteem and self-concept has a high self-confidence and has strength emotion that can lead them to be a successful one.

Wednesday, December 4, 2019

Molecular Biologist Career Journal free essay sample

Education/Training Required: All molecular biologists must at least earn a bachelor’s degree in a related science field. Required courses usually include cell biology, evolutionary biology, genetics, ecology, general chemistry, biochemistry, organic chemistry, physics, molecular biology, multivariable calculus, and linear algebra. Most jobs for molecular biologists require a doctoral degree. During college, students may want to participate in science-related activities, or consider joining a school science-fair or club. Getting a job as a laboratory assistant in a research laboratory may also be helpful. Molecular biologists may also want to consider postdoctoral work when considering a research career. Daily Activities/Responsibilities: The field of molecular biology studies macromolecules and the macromolecular mechanisms found in living things. Molecular biologists design molecular laboratory experiments, oversee their execution, and interprets the results. Molecular biologists conduct research on mechanisms of gene expression, cell differentiation, cell signaling, cellular bioinformatics, and other areas. Molecular biologists direct, organizes, prioritize, or coordinate biological lab activities. We will write a custom essay sample on Molecular Biologist Career Journal or any similar topic specifically for you Do Not WasteYour Time HIRE WRITER Only 13.90 / page Molecular biologists must prepare reports, manuscripts, and meeting presentations. Molecular biologists also perform laboratory procedures following protocols including cloning and extraction, gel electrophoresis, ribonucleic acid purification, or deoxyribonucleic acid sequencing. Salary Range: The average median wage for a molecular biologist in 2011 was $70,790. The projected growth of molecular biologists from 2012-2020 is expected to be around 3%-9%. Molecular biologists can earn up to as much as $95,000 or more. A molecular biologist’s salary can vary greatly due to company, industry, location, experience, and benefits. A molecular biologist with less than one year of experience earned a median yearly salary of $21,000 to $49,355. With five to nine years of experience, the range increases between $44,699 and $68,748; with over 20 years of experience, the salary range is $61,020 to $97,854 per year. Self Reflection: I’m not completely sure that I am truly interested in pursuing this career. The career of molecular biology itself seems appealing, but I do not think that I would have the patience to become a molecular biologist. The salary, too, is very low until you earn more experience in this field of biology; however, the salary is somewhat higher than most other careers in the medical field.