Premium Essay

Pt1420 Unit 3 Assignment

Submitted By
Words 728
Pages 3
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 …show more content…
It uses equality and inequality relational operators. The complete triangle program has three integer input variables A, B and C, one output variable TRI_KIND,27 nodes,14 paths and the longest path has 13 nodes through the software. It is a bigger and more complex procedure than the quadratic equation solver. The output variable returns the type of triangle corresponding to the three input variables. The triangle procedure decides whether the three input variables represent the lengths of the sides of a triangle and determines the type of the triangle, equilateral, isosceles, scalene or right angled scalene. The name of the main procedure is TRIANGLE and it has two sub

Similar Documents

Premium Essay

Pt1420 Unit 3 Assignment

...We agreed on the following solutions: 7) Samaneh to give more pronounced direction on projects, and to make sure she specifies that she is confident of the changes she is requesting 8) Ensi to take more comprehensive notes in meetings, review what she is asked to do, and come to Samaneh with a written list of questions where she feels she needs more information 8A) I would also like to add that it would be constructive to my achievements if I receive written review/feedback/requests from Samaneh in a more professional, organised and trackable way. On === I was busy working on the target population report from morning to late evening. After I completed my first draft, it was reviewed by Venesa as were assigned to present this task to the marketing team. According to my memory, it was after 5:00pm that day when you approached me at my desk very aggressively. You then pointed your finger on me, raised your voice and argued that I was assigned to this report not Venesa’s project and asked me to change a couple of things. The manner in which you tackled this situation was highly unprofessional and unnecessary. Consequently, I tried to explain that I had spent the whole day writing the report and Venesa just reviewed it. Unfortunately, you disregarded my explanation and continued to command that I make changes to the document. Although your words and actions were very disrespectful, I kept my emotions under control as I am very careful to not mix my emotions with my work. I then worked...

Words: 655 - Pages: 3

Premium Essay

Pt1420 Unit 3 Assignment

...BIM, which are the acronyms for Building Information Modelling can be described as a concept that makes up database that allows all building design to be present in one database. Due to this concept we are able to understand that the entire building cycle. BIM is the methodology that handles the facilitation of data that is integrated from numerous layouts; there is a combination of the data which forms the common operating picture for the entire lifecycle, financial and environmental assessment allows for the cost of a building project to be assessed. The job to provide a general view of the data is BIM, this also allows for the integration of processes, in addition, a GIS implementation is also a common framework at an enterprise level. Data will be stored in a central storage, data can be related to each other through common geography, it does not matter at what scale the project will be assessed, it can be assessed through individual assets as well as to an entire country. All the above mentioned elements are ensured by an enterprise GIS system. The most important and most significant point is that GIS has the strength to work at any scale necessary. GIS is fast gaining popularity in the BIM space, GIS has the ability to reach any scale, no matter how big or how small, this in turn allows facilities managers, as well as building contractors to have a high level of detail from the common operating images. Data can be viewed at both levels, this is the result of being able to...

Words: 821 - Pages: 4

Premium Essay

Pt1420 Unit 3 Assignment

...challenging week. I had too much on my plate: I had two graded quizzes to study for, I had a programming assignment and several writing assignments and weekly journals, including an assessment to complete. To be honest to I really give up because writing has always been a challenge to me before I enrolled at UoPeople. However I have been making some strides my writing skills since I enrolled here before these huge piles of assignments this week. Although I regarded them huge challenge but I decided to jump into the assignment immediately. I was given a programming assignment to “ given an assignment to develop a Python program that will act as a calculator. The calculator must prompt the user to enter two numbers and an operation. The operation can be to add, subtract, multiply, or divide the two numbers. The program must check that the user has not entered the value 0 for either of...

Words: 511 - Pages: 3

Premium Essay

Pt1420 Unit 3 Assignment

...associated the problems with real-life scenarios showing his strong mathematical reasoning and problem solving skills. For example, Andrew showed to better understand when he compared the amounts with cookies. In addition, Andrew commented that the number line was also helpful when solving for problem number 3, which shows he might not be completely comfortable with the concept of amounts yet. Even though this assessment was made for second graders and Andrew is a third grader, since Andrew’s least favorite subject is math and he is not performing well in the subject area, I thought it would be good to go over the assessment...

Words: 1056 - Pages: 5

Premium Essay

Pt1420 Unit 3 Assignment

...general and workplace math literacy. 2. a. Tell the function of the specific unit. The teacher would say, “Yards tell how long something is. We use yards to measure objects that are about three or more feet long.” b. Illustrates the unit. The teacher would draw a yard length line on the board to show the students how long a yard actually is. c. The teacher would demonstrate how to use the measuring tools (for this lesson a yard stick would be a measuring tool). d. Presents application exercises in which students determining the appropriate tool to use when measuring an object....

Words: 1343 - Pages: 6

Premium Essay

Pt1420 Unit 3 Assignment

...things that I did were to read the learning guide and then I began to work on the programming assignment that was assigned to me this week. I took the self quiz after I finished the programming assignment for this week. The assignment for this week was not that hard and all I had to do was read the directions and do what they told me to do. 2. I was excited to see that the assignment for this week was going to have me use python to program and compute the area of a triangle. 3. Python made me realize that I was typing print in the wrong way because I was typing it in as Print and not print and this made Python think that it was an error since variable names are case sensitive. 4. I was mostly excited to work on this assignment and the learning guide helped me to prevent myself from getting confused and...

Words: 510 - Pages: 3

Premium Essay

Pt1420 Unit 3 Assignment

...Assignment – 3 Problem 1 Primary Data: The data obtained directly by the means of observing the data. Example: Ambulance Siren By listening to the siren of the ambulance, the basic information is to give the way to the ambulance because of the emergency. Secondary Data: The data obtained from the presence of the primary data. By the presence of the primary data where secondary data is absent. Example: Absence of Light from the Laptop When the Laptop is on the light appears from the keyboard. But, even though the laptop is on the light does not appear from the keyboard which means the laptop is not functioning properly. Meta Data: The data which give the brief information about the source of other data. Example: App Information in the Mobile App information in a mobile can be determined like when the application is downloaded (by date, time and day). It also shows the how much size of MB it is occupying in the mobile. Operational Data: Operational Data defines about the position of a system. Example: Automobile Wheels The running wheel of the vehicle indicates the automobile is in moving state. Derivative Data: The data which is generated from the original...

Words: 484 - Pages: 2

Premium Essay

Pt1420 Unit 3 Assignment

...The unit I have in mind would connect geography, history, writing and language arts. The Big idea of the unit would give students an understanding of the cultures within and around their neighborhood within a 20 mile radius of their school. The students will learn how to gather census data on the surrounding communities to include theirs. The students will determine the ethnic groups that are dominate within each community. The unit would require students to discover one important historical or place of importance within each community and write of its’ significance. The students will learn how to use geo-caching software or equipment to go to those locations and document the site with photographs and write-ups of what they observe around...

Words: 297 - Pages: 2

Premium Essay

Pt1420 Unit 3 Assignment

...Jake has made reasonable progress this semester in Digital Technologies. He is capable of passing when he applies himself. His current programming assessment is going well. He also has the opportunity of gaining more credits with the external report. This will require a bit of homework on his part. The external report is due in the last term after the holidays. Overall a reasonable result this year for Samuel in Digital Technologies. I highly encourage him to practice more programming to build his confidence and ability on this topic. Concentration on his written work and planning skills would also help with gaining higher marks in future studies. He did have the opportunity to resubmit for a higher grade but declined the offer. His current assessment is on programming in the Python language, this is the last internal assessment for this subject. Thomas worked steadily all year in Digital Technologies. He passed most of the standards that were on offer. Although he found aspects of the course difficult he did manage to handle it. Further programming practice will give him more confidence if he intends on taking this subject next year. He has an externally marked report due next term after the holidays. This will require a bit of homework to complete by the due date. Hayden has made some progress in Digital Technologies. He has found the course very challenging but to his credit, he has not given up. The algorithm he designed was not up to the standard required at level one...

Words: 470 - Pages: 2

Premium Essay

Pt1420 Unit 3 Assignment 1

...Paolo Mutia Sociology – Gordon 3 November 2015 Assignment 3 Social status is the position that someone occupies in society or in a social group, while roles are the behaviors, obligations, and privileges attached to a status. For example, a woman may have the status of mother in her family. Because of this status of a mother, she is expected to perform a role for her children. This role may be defined through actions such as nurturing, education, protecting, and guiding the children. Social structure, is the arrangement of institutions where human beings in a society interact and live together. The group collectively decides the set of statuses and roles. By creating a set of expectations of actions and behavior, people know what to expect...

Words: 1606 - Pages: 7

Premium Essay

Pt1420 Unit 3 Assignment 1

...This is a part to evaluate the storyboard produced in question 2a and question 2b according to Nielsens Heuristics. Question 2a is creating a new order record and stores it in the storage of order record. Question 2b is loop of the records to enable user to fill or skip the order record. Visibility of system status Users are well-informed after every step that they made. For instance, when users reached the graphical user interface to input some details such as order number and customer id, there are examples in the form of grey colour wording in the textbox to guide them how to fill in details in a more appropriate way. Besides that, users will be redirect to the next step after they clicked on the buttons. For example, the user will be direct to next page after fill in the details in the order number textbox. The users maybe prompt with a message to try again in the input session of the order number and there is a button to let them navigate back to previous page which is homepage. Meanwhile, if the user entered an order number which can be found in the database, they will be direct to view order record. There is two buttons in the creation of new customer and proceed buttons. The users will be having only two options, that are input the customer id and click the proceed button or the customer may register themselves with the new customer button to input their personal details. Match between system and the real world For both of the storyboards, the main language...

Words: 1311 - Pages: 6

Premium Essay

Pt1420 Unit 3 Assignment 1

...the hand can be deciphered. The standards of play assess diverse hands differently. In this manner, the principles of play here can be noted as a environment. The conduct of the two players is reflected onto the round of poker with the expectation of corresponding with one another. This conduct is not a rules' piece of poker play as it passes on particular implications insignificant to the games principles. They are purposefully being made and don't happen normally inside of the environment of poker. The conduct that the players enjoy, can't be considered as a piece of the gameplay, yet is a piece of another environment, which makes it as a meta data around the hands of each player and subsequently it is not treated as environmental data. 3) Both definitions (general which means of information (GDI) and MTC) view information as something profitable within the association that they...

Words: 535 - Pages: 3

Premium Essay

Pt1420 Unit 3 Assignment 1 Problem Analysis

...Problem Statement We hay bales in pairs to find equals of 80, 82, 83 ,84 ,85, 86, 87, 88, 90, and 91. Is there more than one answer to this problem. Process So far I was able to have bales like “bales 2 and 3” I was able to get 10 different kinds. Also since there are 10 different numbers two it would make sense. The different bales were 1 and 2, 1 and 3, 1 and 4, 1 and 5, 2 and 3, 2 and 4, 2 and 5, 3 and 4, 3 and 5, and for last 4 and 5. I was able to get this because at the beginning it showed the those numbers to 2 and 4. Then it said so on. I also wondered why they stopped at five in the second number. So I did keep going on and found ten groups of numbers. Which were going with the total numbers that were ten. The numbers were 80, 82, 83, 84, 85, 86, 87, 88, 90,91. In total there were ten...

Words: 367 - Pages: 2

Premium Essay

Pt1420 Unit 3 Assignment 1 Algorithm Essay

...1. Explain what software you used to create your game To create my game, a software called “Scratch was used. Scratch is a software that is downloadable on most PC’s, people can use this program to share interactive media. This is includes self-made games as well as animations. 2. Explain what an algorithm is  An algorithm is a process, or a set of rules to be followed in calculations or other problem-solving operations, especially by a computer. However, algorithms are used in our day to day life, whether you notice or not. For example; a daily routine, or a cooking recipe. 3. Explain what an if statement is An if statement is a “block” or a piece of code that when one thing happens, it will do that, but if another happens, it will do something else. For example, when...

Words: 653 - Pages: 3

Premium Essay

Home Page » Computers and Technology Pt1420 Unit 1 in: Computers and Technology Pt1420 Unit 1 “Unit 1 Assignment 1” Itt Technical Institute Intro to Programming – Pt1420 Unit 1 Assignment 1 Short Answer Questions 1.

...Home Page » Computers and Technology Pt1420 Unit 1 In: Computers and Technology Pt1420 Unit 1 “Unit 1 Assignment 1” ITT Technical Institute Intro to Programming – PT1420 Unit 1 Assignment 1 Short Answer Questions 1. Why is the CPU the most important component in a computer? The reason the CPU is the most important component in a computer is because without the CPU you can’t run any software. 2. What number does a bit that is turned on represent? What number does a bit that is turned off represent? The number in a bit that represents a turned on position is 1. The number in a bit that represents a turned off position is 0. 3. What would call a device that works with binary data? A digital device is a device that works with binary data. 4. What are the words that make up a high-level programming language called? Keywords or Reserved Words are words that make up a high-level programming language. 5. What are short words that are used in assembly language called? Mnemonics are short words that are used in assembly language. 6. What is the difference between a compiler and an interpreter? The difference between a compiler and an interpreter is that a compiler translates high-level language into separate machine language program while an interpreter translates AND executes the instructions in a high-level language program. 7. What type of software controls the internal operations of the computer’s hardware? An operating...

Words: 393 - Pages: 2