...6.1) Comparison of three numbers Problem is of comparison of values among three values , a very simple problem. Here, the decision making process is done based on the value of the parameters a,b and c. The data types of all these variables are interger. 6.2) Binary search A binary search locates the position of an item in a sorted array. Binary search works by comparing an input value to the middle element of the array. The comparison determines whether the element equals the input, less than the input or greater. When the element being compared to equals the input the search stops and typically returns the position of the element. If the element is not equal to the input then a comparison is made to determine whether the input is less than or greater than the element. Depending on which it is the algorithm then starts over but only searching the top or bottom subset of the array's elements. If the input is not located within the array the algorithm will usually output a unique value indicating this. Binary search algorithms typically halve the number of items to check with each successive iteration, thus locating the given item (or determining its absence) in logarithmic time. A binary search is a dichotomic divide and conquer search algorithm. 6.3) Quadratic problem In Quadratic equation solver problem(called the procedure under test) is chosen. This procedure has three predicates involving both linear and non-linear functions of the input variables. In this there are three...
Words: 728 - Pages: 3
...placed under construction on 10/28/2015. The construction area was from mile marker 213 to mile marker 236 with significant crashes causing interstate blockage daily. There was a major increase in the number of crashes documented due to various issues within the construction area. After consulting with the area supervisor, I was authorized to develop a crash reduction plan for this section of highway. I identified issues within the construction zone and met with personnel from TxDOT, Texas Sterling, Webber and various other contractors to address the problem issues; to include: water drainage, tapers, extruders, speed limits, lane closures, and worker safety. A HEAT map and crash data was pulled. Day patrols were increased, a UCRP (Drone Unit) was strategically placed, surge operations and multiple laser task forces were conducted. In turn, major crashes were reduced, construction zone safety was increased, and traffic flow was improved; while teamwork and overall area morale were strengthened. During a declared disaster in Navarro County due to major flooding, I was selected to serve as the contact person for field operations. I advised the Chain of Command as it became necessary to close Interstate 45 due to Richland Creek flooding at the 220-milepost. I placed Troopers south of the creek due to the next crest. I informed the command post of locations to station Trooper so that traffic on the interstate could be shut down. I was able to give the Chain of Command alternate...
Words: 1291 - Pages: 6
...CS113: Academic Strategies for the Business Professional Unit 5 Academic Writing Assignment Full Name: Heather Parrish Two-digit Section #: 05 Instructions: Download this document to your computer before filling it out. Save using “Save As” and add your name to the front removing the phrase “YourName.” All of the gray boxes below should be appropriately filled in and the document saved again before submitting to the Unit 6 Dropbox. Paragraph Writing Paragraph #1: Purpose: Brief Description Write a complete paragraph about a person who has influenced you in positive ways. Do not write more than 1 paragraph for this topic. Focus on at least one way in which this person has made an important impact upon you. Use specific ideas and examples to illustrate your points and make sure to refer to the Paragraph Structure Chart located in the unit Reading. Include a topic sentence, supporting details, and a conclusion. Your response should be a minimum of 5 complete sentences. One person who has influenced me in a positive way is my daughter. She has an uncanny ability to see the good in everything and everybody. It is a gift that goes much further than childlike innocence, although she probably does perceive the world with an untainted and sincere affection. She has helped me to realize the good in me in a way that encourages me to be that person. That is how she brings out the best in me. I think the world could learn from her...
Words: 820 - Pages: 4
...Assignment 1 Task 1 Task 1 a): Iron Man DVD Interface The purpose of this example, is that it is a DVD that is made for the entertainment of who ever watches the movie. It gives you four things to choose from, Play, Set up, Special features and scene selection. The menu uses button that are interactive and take you to different scenes that have different types of media, for example the special features button will take you to a new scene with different features such as deleted scenes and a cartoon adventures. I think the DVD is a very good display of imagery and animation. It’s very easy to navigate, the buttons are clear and is just a very simple user interface. The graphics used are very crisp and clear. They are well sized as they are...
Words: 1493 - Pages: 6
...There's dirt filling every pore, a kink in my neck from straining down into the unit, and several rocks somewhere in my abdomen desperate to make their presence known. Lifting the last spoonful of 5YR 3/2 silty clay loam carefully into the dustpan with my trusty plastic spoon, I confidently declare the shallow, twisting tunnel I had spent the last 45 minutes meticulously excavating... a chipmunk hole. Likely constructed in the early 21st century. Strange though it may sound, this experience is one of my proudest moments. Sweat dripping down my nose from the humid Connecticut summer, back sore from countless hours hunched over screens, finding nothing in the small dustpan’s worth of dirt collected from the potential feature, I knew there was nothing I would rather do....
Words: 669 - Pages: 3
...Unit 1 Assignment 1 Integrated Circuit Technology A motherboard is the backbone of the personal computer, it transfers information and power to all the other components. The motherboard is the largest board inside of the computer that contains the basic input and output system that allows every component to communicate with one another. Attached to the motherboard is a chip comprised with dozens of pins called the central processing unit. Along with the CPU attached to the motherboard is the dual-inline memory modules a part of the random access memory. RAM is the most common type of memory used another type is ROM, read only memory, which stores data onto metal disc within the device. The operating system manages the hardware resources and provides a place to run programs. The last components of the personal computer are the tower and the human interface devices. The tower holds all the components that make up the computer except for the HID which are located outside of the computers tower. The main purpose of the HID’s are to help us interact with the computer, a few examples are the keyboard, mouse, monitor, video camera and speakers. You put together the Motherboard, CPU, RAM, ROM, OS, Tower, HID’s add a power supply and you have a basic personal computer. PROCESSOR TRANSISTOR YEAR Intel 4004 | 2,300 | 1971 | Intel 8008 | 3,500 | 1972 | Intel 8080 | 4,500 | 1974 | Intel 8085 | 6,500 | 1976 | Intel...
Words: 427 - Pages: 2
...CS 2301- Unit 3 Learning Assignment Abebe Erena University of the people term 5 (2015-2016) July 6, 2016 An operating system (OS) is a program that manages the computer's resource and its CPU, primary storage, it's input/output device. so that the resources can be correctly and fairly used by one or more persons and /or computer programs. an operating system will initialize the various registers when started, something like buffers, and controllers used by the computer. *multi-programming has come to be a given in modern computing. a computer allows multiple programs to execute more than one program at a time. for example, say a word processor,...
Words: 643 - Pages: 3
...For the unit 3 assignment, you must develop a program that reads the file icecream.dat. This file is supplied in the “Files for Unit 3 Assignment” directory in Unit 3. You must use TextIO methods to read the file. As you read the file, count the total number of ice cream cones that were sold. (This is the same as the number of lines that you read from the file.) Also count the total number of "Strawberry" cones that were sold. At the end of the program, print out the total number of cones, the number of Strawberry cones, and the percentage of cones that were Strawberry. Note: To do this program, you have to know when to stop reading from the file. TextIO has a function named TextIO.eof() to check whether the entire file has been read. The value of this function...
Words: 431 - Pages: 2
...For the unit 3 assignment, there will be three tasks: First you must create a logic circuit using only basic gates such as AND, OR, NOR, NAND, NOT, etc. to implement an ADDER capable of adding two 4 bit binary numbers. Second you must create a logic circuit using only basic gates such as AND, OR, NOR, NAND, NOT, etc. to implement a Subtractor that is capable of subtracting the second number from the first, by converting the second number into its 2's complement form and then adding the resulting number to the first number. You do not need to worry about accomodating the addition or subtraction of negative numbers as part of your assignment. Finally, for the third part of the assignment you must create a limited ALU (Arithmetic logic unit) circuit using Logism that implements a Full...
Words: 945 - Pages: 4
...Part 1 Question 1: What is computer architecture? Computer architecture is a set of rules and methods that describe the functionality, organization, and implementation of computer systems. The area includes in computer architecture has the fundamental physical components that constitute a computer system (hardware), the kind of instructions or language the computer can understand, and the underlying computer technology that manipulates these instructions (sometimes referred to as microarchitectures). Question 2: How does data represented / stored / processed in computer? Computer use binary digit as 0 and 1 to store data. Binary digit or called bits is the smallest unit of data in the computing. Not only that, all data represented by made up of binary digits. For example, 01000001 could be a number 65, or character as ‘A’ or a color in an image. The data processed through Boolean Logic. It is a form of algebra in all values are reduced to either TRUE or FALSE as 1 and 0. So that can be formed up a group of binary digit. Question 3: How does a computer carry out instruction execution? The computer stores the program code with the data in the main memory, and the CPU controls the execution of this...
Words: 1347 - Pages: 6
...// This project is submitted as part of the assessment for Year 9 IST. // This is all my own work. I have referenced any work used from other // sources and have not plagiarised the work of others. // (signed) Maximilian Evans //Starting Variables //Game Length Variable var timer = 30; //Game Running? Variable var gameRunning = false; //Current Score Variable var currentScore = 0; //Mole Hit? Variable var moleHit = false; //Number of Moles Variable var i = 40; //==========================================================\\ //START GAME FUNCTION \\ //This function runs when either the start button or restart\\ //button is clicked. It resets the variables, iterates the \\ //game timer, as well as controlling which mole and where \\ //it has to appear next \\ //==========================================================\\ function runGame() { //Variable to determine if game is running gameRunning = true; //Var i = number of moles in game i = 40; //Sets game length to 30 secs timer = 30; //Updates current score document.getElementById("moles-whacked").innerHTML = ('0'); //Starts timer/game var countdown = setInterval(function startGame() { //Hides start button when game starts document.getElementById("start-button").style.display = "none"; //Hides restart button when game starts document.getElementById("restart-button").style.display = "none"; ...
Words: 740 - Pages: 3
...Unit 5 Assignment 1: Video Summary NT1110 There are two major manufactures we use in today’s market which are Intel and AMD. There are some minor competitions but don’t stay on the market for long. The system bus for the CPU is also known as the Front-side bus as it inserts the CPU and has a 64 bit data pass. In the CPU theirs a controller that controls communication between the motherboard and other components with the CPU. The ALU is responsible for performing complex calculations. Communications between the controllers and the ALU’s uses a 32 bit wide internal data bus. A processor is usually measured in GHz. A system Bus is usually measured in MHz and has limiting factors of speed. The multiplier is the ratio between processor and the System bus. The system bus speed x multiplier equals the processor speed. CPU manufactures have come up with different ways to make the CPU work faster. Two multi-processing requires multiple processors (In other words your system must be designed to support more than one CPU on a single motherboard). Dual Core Processors have been recently developed, that means incorporating multiple processors with multiple ALU’s inside a CPU. These ALU’s process their information individually. There’s two cache memory’s which are SRAM and DRAM. SRAM is also called Static RAM, it is faster and more expensive then DRAM, it holds memory without being refreshed and DRAM must be refreshed. There are three types of RAM which are L1 cache, L2 cache, and L3 cache...
Words: 644 - Pages: 3
...Digital graphics assignment 1 CPU- the CPU is an abbreviation for central processing unit and acts as the brain of the computer. Carrying out a high percentage of the commands given by hardware and software that is also installed in the computer. An example of a modern day CPU is the Intel core i7 processor Graphics card- the graphics card is a piece of hardware installed into a computer on the motherboard, which processes and displays images that the computer needs displaying. The graphics card has its own memory built in so it does not strain the CPU to use and doesn’t use the RAM installed to run constantly. The higher the amount of built in memory the higher quality it can process and display images .And example of a modern day graphics...
Words: 739 - Pages: 3
...Management Accounting Individual Assignment 1. Variable manufacturing cost per unit = (323,000,000-160,000,000-24,000,000-100,000,000) 850,000 = $45.88 per unit Fixed manufacturing cost per unit = $100,000,000 850,000units = $117.65 per unit Total manufacturing cost per unit= 45.88+117.65 = $163.53per unit 2. Fixed overhead rate= $100,000,000 800,000units =$125 per unit Production volume variance= (850,000 X 125)-(800,000 X 125) =$106,250,000-$100,000,000 = $6,250,000 Favourable 3. Absorption costing. | $ | $ | SalesLess: Cost of goods soldOpening inventoryProduction(850,000 X (255+125))(-)Ending inventory(30,000 X 405)Gross MarginAdjustments for production variance(850,000-800,000)x125Operating Income | 0323,000,000(11,400,000) | 450,000,000(311,600,000) | | | | | | 138,400,0006,250,000F | | | 144,650,000 | Income Statement for the year ended 31December 2012 4. Variable Costing Income Statement for the year ended 31 December 2012 | $ | $ | SalesOpening inventoryProduction(850,000 X 255)(-)Ending inventoryContribution MarginFixed factory overheadOperating income | 0216,750,000(7650,000) | 450,000,000(209,100,000) | | | 240,900,000(100,000,000) | | | 140,900, 000 | 5. Based on the calculations of absorption costing and variable costing for the year 2012,it would be better to calculate and measure using the absorption costing...
Words: 288 - Pages: 2
...Week 2 Assignment: Understanding Effective Money Management Assessment A, Part 1: Creating a Personal Financial Statement - Assets | 1 point | Car: Bluebook value $1250.00Cash: $378.00Savings Accounts: $826.00 | Assessment A, Part 2: Creating a Personal Financial Statement - Debts | 1 point | Rent: $750.00Electric/ Gas bill: $131.75Cable/ internet/ Phone bill: $80.42Credit Card: $31.00Cell phone bill: $72.37 | Assessment A, Part 3: Identify Money Management Tool | 1 point | Explain to Monica how the money management tools were identified. | Students should explain how they evaluated various cash management products and services. | Assessment A, Part 4: Creating a Personal Financial Statement – Steps | 1 point | Drag the steps listed on the right into their correct sequences on the left. When done click the Send button | Step 1: I got all my financial stuff together – bills, loans, bank statements, etc. | Step 2: I balance my checkbook. | Step 3: I decided what were my assets and what were my debts. | Step 4: I enter my assets in the program. | Step 5: I enter my debts in the program. | Step 6: The program gave me a Net worth figure at the end. | Assessment B: Creating a Monthly Cash Flow Statement ...
Words: 255 - Pages: 2