Thursday, November 28, 2019

Managing A Personal Computer Essays - Scripting Languages

Managing A Personal Computer Managing A Personal Computer 1.1 The AUTOEXEC.BAT file is one of files which loads every time the computer is booted. It contains command lines and procedures to run programs and load settings for the system's hardware and software configuration. It also may contain command lines procedures to run programs which may clean your system's hard drive of temporary files and viruses. An example of this file is shown below: @ECHO OFF PROMPT $P$G SET PATH=C:\DOS LH C:\SBCD\DRV\MSCDEX.EXE /S /D:MSCD001 /M:8 /V SET BLASTER=A220 I5 D1 T4 SET SOUND=C:\SBPRO C:\MOUSE\MMOUSE.COM The first line of this batch file, @ECHO OFF, is programming command which hides all the command lines procedures from the user. The second line is also a programming command that configures the CUI command prompt. The parameters after PROMPT tell the CUI what to show. The $P stands for current drive and path and $G stands for the greater than sign (>). Apart from those two parameters, a user can add any characters after PROMPT and it'll be shown as the command prompt. The next command configures the CUI to search for files in that directory first before looking in its current location. The SET and PATH command procedures, even though different commands, are used in conjunction to configure CUI environment variables and the parameters displayed after that are what the CUI will search in first. The next command is loading DOS's CD-Rom drive letter allocater (The CD-Rom driver must be loaded first in the CONFIG.SYS). The parameters after the executable file inform the CUI to allocate a particular drive letter for the CD-Rom and also may inform the CUI to allocate extended memory or how to read the CD-Rom in terms of speed and sectors. The LH configures the CUI to load this command procedure in high or extended memory. The next command procedure allocates the Interrupt and Drive Memory allocation for the system's sound card as well as informing the CUI of the sound card's input/output range. The next command procedure informs the CUI to look for all the drivers for the sound card in its parameters which will be a directory on the hard disk. The last command loads the driver for the mouse. This command procedure doesn't need any parameters and is just a single command procedure telling the CUI to load that executable file. 1.2 A Batch File Which Asks For User Input: @echo off cls IF "%1"=="C" GOTO DRIVE IF "%1"=="D" GOTO DRIVE if "%1"=="c" goto drive if "%1"=="d" goto drive echo Please type INSTALL X (Replace X with your hard drive letter) echo eg. INSTALL C goto :quitinstall :DRIVE echo Welcome to the Batch Input Demo written by Leon Douglas. echo. echo Do You wish to continue? choice /n Yes or No cls echo off md %1:\minstall cd %1:\minstall echo off copy a:\inst2.bat inst2 :quitinstall Without going into excessive detail of this batch program, what it is accomplishing is a drive letter to install a program into as well as a yes or no instruction to continue. The first part of the batch file which is in bold is the piece of programming that requires a drive letter to be typed as a parameter to the batch file. It will only recognise C or D as drive letters, whether it be as uppercase or lowercase. If the user does not type a parameter or types a different drive letter other than C or D, the batch file will display a message that states a drive letter is required before continuing. In the second piece of programming which is in italics is what the user will see if they type C or D as a parameter next to the batch file's name as the command procedure. This part of the programming asks the user whether to continue with the installation or not. If the user types anything apart from yes,no,y or n the program will not proceed until the correct parameter is typed. If the user enters the correct parameter the program will proceed to the next step which is shown above in bold and Italics. This part of the batch program makes a directory on the given drive and then copies another batch file from the same location as itself to the directory it created. From here, this batch file terminates after the command procedure is given to start the other batch file. 1.3 Macros That Automate Procedures Within A GUI (Windows) Within Windows 95 there are several ways that procedures can be automatically loaded without the input of a user. The two most common methods are by placing command line procedures as icons within the Startup folder of Windows or by placing the command line procedures in the LOAD= line of the WIN.INI. Another method is by

Sunday, November 24, 2019

will gun control reduce crime essays

will gun control reduce crime essays Crime rate in the United States is higher than 60 percent of all countries. It is not only gun-related crime it is crime in general. They have tried many different ways to lower crime rate but have not been successful. The government has stiffened drug, rape, gun, and other laws but have not yet been able to successfully lower crime rate. To lower crime rate, stiffened gun control laws are not the way to go. Gun control is not a major factor in lowering crime rate. Guns are not only owned by the criminals but also by citizens and police officials intended for protection. Don G. Kates Jr. states that gun control advocates argue we have police officials for protection. But police cannot always be everywhere. There are only 125,000 police officers on duty at one given time to protect a population of 250 million! Statistics state law-abiding citizens use handguns more than those citizens who intend to perpetrate crime do. There are 645,000 defense uses of handguns against persons per year compared to 581,000 criminal misuses of guns. Many handguns are intended for self-defense, to be exact 40 percent of handgun owners cite defense against crime. Criminals break the laws with or without the use of gun. They break the law anyway so what is the difference if the gun laws are strict or not. Criminals also make weapons, use knives, and other objects besides guns to help in their crime. They do not get their guns through customary retail. Statistics state selling among friends and family, and trading of guns is the highest percentage of gun distribution. Guns do not do the crime people do the crime. Advocates of gun control blame irresponsible people not guns. Foreign countries which have lower crime rates, have stronger laws in all areas not only gun control. Guns have nothing to do with crime rates. It is the people of the country and how they abide the law. If the government didnt have to pay an average of ...

Thursday, November 21, 2019

Significant Others Assignment Example | Topics and Well Written Essays - 500 words

Significant Others - Assignment Example Because of the support Rivera give to her Kahlo, she returned the same support to him. She thought that her husband was the greatest painter of all times, referring her as â€Å"architect of life.† However, Kahlo did not want to compete with Rivera as she would talk about her artwork in diminishing terms, as though they were an amusing pastime. She would defend the artwork of Rivera passionately against all detractors (Chadwick & Courtivron 123). Since Rivera was an older and more experience than his Kahlo, his influence in the art industry assisted Kahlo’s art to be recognized worldwide. The legacy of their partnership is their approach to birth, shared pre-occupation their country with the death. Both Kahlo and River in their paintings included delineations of pre-Hispanic art. Moreover, the central subject of their paintings in that they addressed each other. When Kahlo painted Rivera, she would depict him as her husband and the one she loved. Similarly, Rivera painted his wife by depicting her as a political figure or symbol. For an instant, in Rivera’s 1928 Insurrection, he painted her as an eager political activist; dressed in a red-work shirt emblazoned with a red star (Chadwick & Courtivron 132). The social media that I belong to and is most significant in my life is Facebook. Facebook helps me to connect quickly with my family and pals across the world in a relaxed manner. I am able to know how each of my Facebook friends is failing and passing news to them at will. Sharing of photos, images, status and videos is easy in Facebook. In addition, I am on Twitter as it helps me to meet different people and organizations in a casual environment. With the hashtags in Twitter, I am able to know what the different parties are conversing about. My mother is the most important person in my life. She supports me in my education and career as an artist. She gives me moral support as she has a place for my

Wednesday, November 20, 2019

The Bottom Billion Essay Example | Topics and Well Written Essays - 2000 words

The Bottom Billion - Essay Example Collier writes that ‘the countries at the bottom coexist with the 21st century, but their reality is the 14th century: civil war, plague, ignorance’. Collier has studied for decades about the countries, their struggles and their efforts to escape poverty. He wrote the book with a compilation of a lifetime’s findings and technical research. The book focuses on the billions of people who are facing problems because of the never ending poverty (Quinn 1). In this book, Collier has based his research on the hard-headed analysis of the cost-benefits rather than emotional aspects or post colonial guilt. He has talked with facts and the calculations for instance the cost of the badly governed diminishing state and its neighbours is the loss of the economic growth of about $100bn. In this situation, it seems like a bargain to spend a few million dollars on skilled administrators for government support, infrastructure projects and sending troops to put down rebellions. Collier’s findings have overturned the persistent myths about the failure that Africa is facing for decades. He finds that the history of failure and civil wars is not because of the poor politicians or restless populace, but because of poverty. So he states that all countries that are poor and low income face about 14 per cent chances of entering in a civil war during a five year period. Collier writes that the young men who are recruited by the rebel armies are cheap in an environment of immense poverty. Hence, joining the rebel movements give these young men a minor chance of riches (Collier 57). The four poverty traps described in the book includes conflict as the first. Conflict is a trap which cannot be escaped without the help of global aid and support. Other three traps are landlocked with bad or poor neighbours, natural resources abundant and bad governance. Example is that of Switzerland which is landlocked but its neighbours Germany and Italy have giant markets and they are able to sell their goods to rich consumers, whereas Uganda is landlocked but it has neighbours such as Sudan and Somalia that are failed states. Abundant natural resources mean economic boon but in poor countries, these resources mean encouragement for corrupt politicians to snatch power and make economies vulnerable whether it is the oil discovery, copper or diamonds (Saucier 2). Bad governance is a trap which can be seen in Africa and because of which Africa has become disreputable. Countries that are not landlocked and are on the coast can be lucky with the large workforce and for them governance wouldn’t matter much. If the state doesn’t come in the way, growth from exports can take off. However, for countries that are landlocked, the economy is dependent on air-flows or on the revenues from natural resources hence governance is critical. In such countries if bad governance is present, the country can continue to fail. Collier has given the example of Chad where the cash that has to be spent on government healthcare sector, is disappeared even before it reaches the hospitals. This book overall addresses the poorest billion people in the world, most of who are in Africa. Collier has analyzed about 58 countries in this world that harbour the poorest people. The four traps are what cause the poverty to increase and the nations to fail. These traps cause the divergence of these countries from the rest of the world. These countries are failing since

Monday, November 18, 2019

Date Rape Crime Statistics Essay Example | Topics and Well Written Essays - 1250 words

Date Rape Crime Statistics - Essay Example The fact that the parties knew each other or that the woman willingly accompanied the man are not legal defenses to a charge of rape, although one Pennsylvania decision ruled that there had to be some actual physical resistance." The term 'rape' is a broader domain that involves a variety of sexual assaults. These can be classified on the basis of the level of acquaintance between the rapist and the victim, on the basis of number of rapists, on the basis of the consent of the victim, age of victim etc. It is different from other types of rape like stranger rape, spousal rape or statutory rape. Date Rape is the sexual assault by someone, whom the victim knows; whereas, as it is obvious from name, the stranger rape is committed by the person whom victim never knew before. It is interesting to note that, contrary to what is commonly believed, date rapes are more common than the stranger one. Spousal rape is the act of rape by the spouse. The legal status of this kind of rape is disputed in many constitutions. Statutory rape refers to rape when the consent of victim exists, thus no force or threat is applied, but the age of the victim is less than the Age of Consent, the age when one is allowed to give his/her c onsents for the sexual assault. The use of these drugs, especially that of alcohol is most c... Rohypnol is one common example of Benzodiazepines. It causes amnesia to a varying level. Gamma-hydroxybutyrate It has an affect very similar to alcohol. Other drugs Ketamine is a dissociative anaesthetic, and MDMA (Ecstasy) is an empathogenic phenylethylamine. Chloral hydrate has a sedative/hypnotic effect similar to that of benzodiazepines. (Francis, 1996) The use of these drugs, especially that of alcohol is most common. Moreover, use of these drugs in the date rape is yet popular, since the rapist can easily let the victim have the drug without the victim's awareness, on account of his acquaintance with the victim.(Hodgson and Kelly, 2007) The Victim Offender Relationship: Unlike the popular belief, the ratio of date rape is far greater than that of stranger rape. In Canada, the acquaintance rape accounts for approximately 64% in 2004. (Criminal Victimization in Canada survey, 2004), while the same accounted for 67 % in United States of America. (Criminal Victimization in United States of America survey, 2004) Approximately 28% of victims are raped by husbands or boyfriends, 35% by acquaintances, and 5% by other relatives. (Violence against Women, Bureau of Justice Statistics, U.S. Dept. of Justice, 1994) However, these statistics are yet far below the reality on account of different reasons. First of all, there is a common hesitance to report the event. In the United States in 2004, only 35.8 percent of rape/sexual assault crimes were reported to the police, according to the National Crime Victimization Survey. The FBI estimates that only 37% of all rapes are reported to the police. U.S. Justice Department statistics are even lower, with only 26% of all rapes or attempted rapes being reported to law enforcement officials. Furthermore, the definition of various

Friday, November 15, 2019

Wednesday, November 13, 2019

The Wild West in the 1800s :: essays research papers

Sanitary conditions in the West were practically non-existent. In the cities, horse manure covered the streets. Housewives emptied garbage, dishwater, and chamber pots into the middle of the city streets where free-roaming pigs devoured the waste. The pigs left their urine and feces on the streets. It was not easy to wash clothes. Many people had clothes splattered with manure, mud, sweat, and tobacco juice. Privies, or necessary houses were often to close to the homes with a very noticeable odor on hot and/or windy days. If a family had a kitchen, all the members washed at the sink each day, without soap, rubbing the dirt off with a coarse towel. Eventually, many cold bedrooms had a basin, ewer (pitcher), cup, and cupboard chamber pot. Bed bugs and fleas covered many of the travelers’ beds. â€Å"Isaac Weld saw filthy beds swarming with bugs.† These insects followed the travelers, crawling on their clothes and skin. Alcohol consumption was at an all time high at the late 1820s. â€Å"Elbridge Boyden, architect and builder, said that alcohol was used as commonly as the food we ate.† It was a symbol of hospitality and fellowship. Drinking and fighting (a knock-down) went together. The violent fights involved â€Å"gouging,† in which a person looses an eye. Early America was sexually active. One third of the brides were pregnant on their wedding day. Sexual relations were a part of courtship. â€Å"Bundling was the custom that allowed couples to sleep on the same bed without undressing.† â€Å"Erastus Worthington, a local historian, noticed the custom in 1828, of females admitting young men to their beds, who sought their company in marriage.† In large cities, prostitution became more common and was priced according to location. Tobacco usage was wide spread because it was cheap, homegrown, and duty free. Short, thick, clay pipes were used, although snuff and powdered tobacco were inhaled.