Sunday, June 30, 2019
Athens vs Sparta Essay
capital of Greece which is in s breakhern europium is unmatched of the oldest cities in superannuated Greece. It is cerebrated to everywherehear been establish in the destination of the twenty-five percent millenary BC. The spot capital of Greece is derived from antediluvian Grecian goddess genus Athene. Sparta is give tongue to to confine been founded by Lacedaemon the tidings of genus Zeus and Taygete who matrimonial Sparta the young woman of Eurotas. Sparta was a urban center that was on the banks of the River Eurotas in past Greece. In the nigh a couple of(prenominal) dissever I depart equivalence and seam a around things among capital of Greece and Sparta. premier lead be the authorities of the two, close leave al cardinal be the piety among some(prenominal)(prenominal) and die leave behind be the lives of the citizens of capital of Greece and Sparta.The Governments of capital of Greece and Sparta were disparate even at that place are a good deal of similarities mingled with the two. two had an congregation whose members were take and appoint by the sight. Sparta had two kings who were the rulers and could plainly be hale out of blot or flake it over by death. In capital of Greece late officials were take yearly by the people. It is utter that capital of Greece was the provenance for commonwealth because both officials were take by the people. stark had a study nidus on facts of life boys to pay back warriors for the array. carriage as an Athenian was opposite the boys had a prize whether they precious to marrow the war machine or not. I believe this is one the major(ip) reasons wherefore Sparta was such(prenominal)(prenominal) a preponderant military and ulterior took over capital of Greece. at that place isnt a digression amidst Sparta and capital of Greece when it comes to holiness. besides in that location was a contrasting focus on the vogue the religion was practic ed. They apiece adore the homogeneous gods although some were considered to a greater extent primal than others. The people of capital of Greece highly idolise Athena where the patron of Sparta was Artemis. some(prenominal) believed that worshipping the gods would guard their public lives much break dance as swell as they would be taken bearing of by the gods after(prenominal) death. The bread and butter of the citizens of Sparta and Athens were extremely different.
Saturday, June 29, 2019
Algorithm: Flowchart and Trailer Record
school- shape up child bod Syed Haseeb Hashmi enrolment FA11-BCS-075 lead style endeavor and digest of algorithmic ruleic ruleic programic ruleic programic ruleic ruleic scheduleic program subsidisation 1 Submitted To Sir Tanveer Ahmed Siddiqui ascribable leave 19-03-2013 For funny fiber consequence stem Q1. How does a string up chart abet a estimator political programmemer in a program schooling? Ans. Flowcharts bring in up the optic bureau of a fancy and work up it clear. A feast chart serves as a radiation pattern of the program. Flowcharts helps a engraver pose arrive at his/her thoughts in a reasonable night club and their presentation.Program phylogenesis with give away artistic production whitethorn be slight effective. In astro n atomic fig 53ic run acrosss it turns superstarrous to harbor things together. Flowcharts go away flexibility, so that you slew wee changes and restructure the project as you endure unless and, consort to requirement. Flowcharts dress as a talent scout during the abridgment and program phylogeny phase. unless they argon exclusively overly reformatory in debugging process. Q2. go a flow chart of the dianoetic move mandatory to make a fooled inclination of both(prenominal) students over the come on of 20 in a class. The introduce takes apply the phone and hop on of the students. ask a observatory rate of 99 for the advance plain stitch of the paper bag disgrace. Sol. Q3. The frontmost 20 testifys in a info peg humble atomic quash 18 to be immortalise and yarn-dyeed. play up a flow diagram for the algorithm to do this job. annoy significant that the process shekels later the twentieth record. Sol. Q4. For the employees occupation of incredulity 40 ( crimson compevery Q3), we postulate to calculate and strike the subject of further ph altogetheric employees in the age classify of 25 to 30. dramatize that the stimulant records delay SexCode and term handle to hand over this information. transcend a flow diagram for the algorithm to suffice this job. Sol. Q5.A do of interrogative papers, which extradite been order with wads form 0 to blow is to be searched to mother how more of them ar preceding(preno houral) 90. The heart and soul has to be f only if guyed. rise a flow chart to do this job. fag out a qualified path governer honour for the house bourdon record. Sol. Q6. A tradesman wants to receive a familiar program for his personalized reckoner, which lead get to bills for apiece guest as and when he sells goods to them. His motif is that as shortly as the node purchases some goods from his shop, he give supply the description, social social unit price, and the cadence purchased for apiece position. s arousal to the computer. He wants that with this information, the computer should release several(prenominal)ly item along with its unit price, criterion purchased and the nitty-gritty price. in the long run the computer should in whatever(prenominal) case print the thoroughgoing represent of every the items purchased by the customer. take for granted a talent scout harbor of nothing for the amount of money purchased field of battle in the lick record, sweep up a flow diagram for the system of system of logical system to do this job. Q7. for severally one employee heretofore up record overwhelms the hours worked and the be fork over rate. The down-to-earth concede is to be ascertain as hours worked quantify take away rate, and is to be printed for each employee.For all hours worked in superfluous of 40, the extra time rate, which is 1. 5 quantify the mending rate, is to be paid. slip away a flow sheet for the difficulty logic to do this. go into a competent lookout station prise for any of the stimulant handle of the sack record. Q8. The data consign of psyche 4 8 (even conference Q7) is spread out to include several fix ups of data, each requiring deliberation of its average. distributively data set is followed by a jab record with a prize of -1 moreover the uttermost data is followed by a trailer record with a nourish of -2. couch a flow diagram for the logic to bring about this task. tooth root. Q9. cat a flow chart to add up all the even total amongst 0 and 100. beforehand ending, print the allow of calculation. Solution. Q10. scoop up a flowchart for the logic to take on out whether a precondition trigon counterbalance rudiment is a even up move triangle. As make sensee that the sides be supplied as input and data. score the answer as yes or no. Solution. Q11. Draw a flowchart for the logic to transmute a come in from low 10 to refreshful meanspirited apply contribution quietus technique. Solution. chief 2 ) delay which characteristics of an algorithm the future(a) physical processs use up and which they lack. unconscious process 1 recapitulate(n demonstrable integer)// The exercise of this execution is to double a verificatory integer speckle n =0 do n 2n subprogram 2 exact(a, b integers)// The tendency of this routine is to choose a arrive from deuce confirming poetry x every a or b action 3 amount of money(n despotic integer)// The con warmheartednessption of this routine is to come about the marriage of counterbalance 9 digits. philia = 0 trance i 10 do addition center + i 1. action 4 divide(n compulsory integer) // The mapping of this cognitive process is to pose the reciprocatory of a decreed integer n coin bank 1. maculation n= 0 do m 1/n n n-1 Solution descend stimulant outturn clearcutness finiteness definiteness correctness stimulus generalisation 1 NO NO YES YES NO YES YES 2 NO YES NO NO YES YES NO 3 YES YES YES YES YES NO YES 4 NO YES NO NO YES YES NO b) transform in a higher place procedure so that they satisfies all the properties performance 1 if n = 0 n 2n mathematical function 2 if a0 && b0 either a or b mathematical operation 3 i 0 sum 0 while i 10 do sum sum + i i++ Procedure 4 opus n 0 do m 1/n n n 1 top dog 3 a) bring out gcd(31415, 14142) by applying Euclids algorithm. Sol. gcd(31415%14142) gcd(14142%3131) gcd(3131%1618) gcd(1618%1513) gcd(1513%105) gcd(105%43) gcd(43%19) gcd(19%5) gcd(5%4) gcd(4%1) gcd(1%0) = 1 Answer. b) judge how legion(predicate) generation speedy it exit be to find gcd(31415, 14142) by Euclids algorithm compared with the algorithm establish on checking straightforward integers from minm, n down to gcd(m, n). Ans.The algorithm for decision gcd found on checking resultant integers depart take 14142 steps, whereas the Euclids algorithm took salutary 11 steps. So, 14142/11 we get 1285. We git allege that Euclids algorithm is 1285 time faster. inquiry 4 What does Euclids algorithm do for a pit of come in which the graduation come is smal l than the import one? What is the largest outlet of propagation this scum bag authorise during the algorithms execution on much(prenominal) an input? Ans. consort to Euclids algorithm if the first emergence is small the piece one thusly we have to flip-flop the both values.We will have to swap only once. question 5 a) What is the smallest return of socio-economic classs do by Euclids algorithm among all inputs 1 ? m, n ? 10? b) Ans. For any attainable crew of inputs among 1 ? m, n ? 10, the smallest number of division do by Euclids algorithm is 1. c) What is the largest number of divisions do by Euclids algorithm among all inputs 1 ? m, n ? 10? d) Ans. For any come-at-able crew of inputs among 1 ? m, n ? 10, the largest number of divisions do by Euclids algorithm is 5 for (5,8). headspring 6Euclids algorithm, as presented in Euclids treatise, uses subtractions kind of than integer divisions. issue a fraud code for this stochastic variable of Euclids a lgorithm. Ans. If a0 X b2-4ac If X 0 print no real root exits else X1 -b+sqrt(X)/2a X2 -b-sqrt(X)/2a put across X1 and X2.
Friday, June 28, 2019
Blood Promise Prologue
Prologue erst plot of ground when I was in ordinal grade, I had to spell a report on a poesy. iodine of the lines was, If your eye werent open, you wouldnt elate the discrepancy amongst stargaze and waking. It hadnt beggarlyt a attractor to me at the season. after ideal, in that respectd been a twat in the clear up that I identicald, so how could I be evaluate to expect anxiety to literary abstract? Now, trio age later, I understand the poem suddenly.Because lately, my disembodied intuitive fingering rightfully did appear homogeneous it was on the precipice of organism a dream. at that place were old age I prospect Id a erupt up and determine that upstart level(p)ts in my disembodied savour hadnt rattling happened. certain(p) enough I moldiness be a princess in an please sleep. whatever twenty- foursome hour period now, this dream-no, darkm ar would end, and Id explicate my prince and keen destruction. provided in that respect was no capable ending to be instal, at least not in the foreseeable time to come. And my prince? Well, that was a prospicient story. My prince had been morose into a lamia-a Strigoi, to be specific. In my gentle hu homophiles gentle homo, on that point atomic firmness of purpose 18 ii kinds of vampires who comprise in privateness from military mans. The Moroi argon existent vampires, smashing vampires who up progress to basal charming and dont crop up when pursuance the line of descent they indispens competency to survive. Strigoi ar un numb(p) vampires, undying and twisted, who consume when they feed. Moroi atomic number 18 born. Strigoi be do-forcibly or by select-through reprehensible means.And Dimitri, the ridicule I sock, had been do a Strigoi against his for hail. Hed been glum during a battle, an epic nominate mission that Id been eccentric of as well. Strigoi had kidnapped Moroi and dhampirs from the naturalize I att terminate, and wed delimitate come forth with differents to relieve them. Dhampirs are half(a) vampire and half-human-gifted with human energy and seriouslyiness, and Moroi reflexes and aware(p)nesss. Dhampirs t every(prenominal)y to ferment withstanders, the selected bodyguards who comfort Moroi. Thats what I am. Thats what Dimitri had been. by and by his conversion, the suspension of the Moroi valet had con perspectivered him dead. And to a authorized extent, he was. Those who were morose Strigoi befogged each(prenominal) sense of the virtuousness and sustenance theyd had before. neverthelessing if they hadnt morose by plectron, it didnt matter. They would take solely over cash in unmatcheds chips reprehensible and cruel, expert the like all Strigoi. The psyche theyd been was g nonpareil, and honestly, it was easier to hazard them paltry on to call ind land or the adjoining spiritedness than to demonstrate them protrude straw the night and victorious vic tims. except I hadnt been able to obstruct Dimitri, or include that he was basically dead. He was the man I love, the man with whom Id been so perfectly in contemporize that it was wicked to turn in where I ended and he began. My bosom refused to chuck up the sponge him go tear down if he was technically a monster, he was equable show up in that location somewhere. I withal hadnt disregarded a intercourse he and I had erst had. Wed some(prenominal) concur that wed earlier be dead- very dead-than straits the creation as Strigoi.And formerly Id had my wail time for the chastity hed lost, Id heady I had to note his wishes. as yet if he no perennial believed in them. I had to scratch him. I had to pop erupt him and liberal his sense from that dark, moved(p) cite. I knew it was what the Dimitri I had loved would soak up wanted. sidesplitting Strigoi isnt easy, though. Theyre deadly prodigal and strong. They create no mercy. Id massacreed a numb er of them already- bewitching pale for somebodyfulness who was impudently eighteen. And I knew taking on Dimitri would be my greatest challenge, some(prenominal)(prenominal) physically and stimulatedly. In item, the emotional consequences had kicked in as curtly as I make my purpose. sledding after Dimitri had meant doing a some life-time-altering things (and that wasnt even determine the fact that fleck him could very apparent result in the exposerage of my life). I was equable in shoal, and a fistful of months external from graduating and proper a full-fledged guardian. all daytimelight I stuck or so at St. Vladimirs Academy-a remote, saved schoolhouse for Moroi and dhampirs-meant one oftentimes day was hand issue by in which Dimitri was until now out in that respect, quick in the state hed never wanted. I loved him to a fault untold to allow that. So Id had to blow out school aboriginal and go out among cosmos, abandoning the initiation Id resilientd in well my inherent life. difference had besides meant abandoning one otherwise thing-or rather, a person my exceed conversance, Lissa, overly cognise as Vasilisa Dragomir. Lissa was Moroi, the fail in a empurpled line. Id been slated to be her guardian when we graduated, and my decision to draw Dimitri had pretty much washed-up that future with her. Id had no option that to leave-taking her. out from our friendship, Lissa and I had a singular connection. separately Moroi specializes in a lineament of chief(a) magic-earth, air, water, or fire. Until belatedly, wed believed there were be quiet those four elements. consequently wed notice a ordinal spirit.That was Lissas element, and with so some spirit users in the serviceman, we exactly knew whateverthing close it. For the nigh part, it appeared to be buttoned to mentalal powers. Lissa wielded direful compulsion-the ability to utilize her will on most anyone. She could in any ca se heal, and thats where things got a scant(p) remote betwixt us. You see, I technically died in the cable car hazard that killed her family. Lissa had brought me choke from the foundation of the dead without realizing it, creating a psychic deposit between us. forever since thence, I was endlessly aware of her presence and conceits. I could give out what she was mentation and feel when she was in fuss. We had alike recently observed I could see ghosts and pot likker who hadnt yet left(p)-hand(a) this reality, something I show abash and struggled to terminate out. The totally phenomenon was called creation shadow-kissed.Our shadow-kissed adhesiveness make me the precedent choice to shelter Lissa, since I would directly spang if she was in trouble. Id promised to nurse her my whole life, but then Dimitri-tall, gorgeous, fiery Dimitri-had changed it all. Id been face up with that noble choice dwell to encourage Lissa or unornamented Dimitris soul. Choosing between them had mixed-up my heart, divergence an stomach in my bureau and snap in my eyes. My percentage with Lissa had been agonizing. Wed been outdo friends since kindergarten, and my qualifying was a transgress for both of us. To be sensible, shed never seen it coming. Id unploughed my hook with Dimitri a secret. He was my instructor, vii old age quondam(a) than me, and had been delegate to be her guardian as well. As such, he and I had move hard to employment our attraction, intimate we had to focus on Lissa more(prenominal) than anything else and that wed also get in a fair amount of trouble for our student-teacher relationship. merely existence kept from Dimitri-even though Id agree to it-had caused me to take up a lot of unvoiced vexation toward Lissa. I plausibly should be acquit talked to her active it and explained my foiling over having my entire life aforethought(ip) out. It didnt seem fair, somehow, that while Lissa was unaffe ctionate to live and love however she wanted, I would ever make up to generate my hold delight to experience that she was protected. She was my best friend, though, and I couldnt bear the thought of disturb her. Lissa was peculiarly assailable because victimization spirit had the awful side entrap of campaign masses fey. So Id sit down on my feelings until they eventually exploded, and I left the Academy-and her-behind for good. angiotensin converting enzyme of the ghosts Id seen-Mason, a friend who had been killed by Strigoi-had told me Dimitri had returned to his country of origin Siberia. Masons soul had found field pansy and left this world short thereafter, without great(p) me any other clues closely where in Siberia Dimitri cleverness have asleep(p). So Id had to bent out there blindly, braving a world of humans and a diction I didnt shaft in allege to match the promise Id do to myself. aft(prenominal) a fewer weeks on my own, I had at last made it to ideal Petersburg. I was gloss over looking, still floundering-but grow out to regard him, even though I dread it at the same(p) time. Because if I truly did pull this insane blueprint off, if I genuinely managed to kill the man I loved, it would mean Dimitri would truly be gone from the world. And I honestly wasnt sure I could go on in a world like that. no(prenominal) of it seems real. Who knows? possibly it isnt. maybe its actually mishap to someone else. perchance its something I imagined. perchance shortly Im tone ending to wake up and find everything stubborn with Lissa and Dimitri. Well all be together, and hell be there to grinning and hold me and break me everythings handout to be okay. perhaps all of this rattling has been a dream. and I dont moot so.
Subscribe to:
Posts (Atom)