...defined in C by using structures Members of a structure are of the same/different data types A pointer to a structure can be used to pass a structure to a function Memory is allocated when we define a structure 2. Given the following array: int a[9] = {1,2,3,4,5,6,7,8,0}; what will be the output of the printf("%d",a[5]); ? Answers: 3 4 5 6 3. Which of the following function will convert a string into an integer? Answers: • int() • number() • tonum() • atoi() • val() 4. Which standard C programing function is used to clear the memory allocated by the malloc() function? Answers: • delete • elease • free • calloc • destroy 5. From which loop...
Words: 759 - Pages: 4
...and left 48 on the right side leaving x= 48. By solving with a number sentence, I got the same final answer of forty-eight. When I plugged my number sentence into Wolfram Alpha, its answer agreed with mine saying that x was equal to forty-eight. When doing this problem, I found it quite easy because it was very similar to the baseball cards activity I completed with my MEP. From doing this activity, I learned that it often helps to work backwards. I applied this strategy and quickly arrived at an answer. I am confident that my answer is correct because I worked through the problem carefully in logical steps and also because I double checked my answer by putting forty-eight in for x in my number sentence. 4. Yesterday the Valley Vista recycling van picked up a total of 4500 pounds of material. A newspaper weighed three times as much as aluminum cans and aluminum weighed twice as much as glass, what was the weight of each material? Upon reading through this problem, I determined that I needed to find the individual weights of the glass, aluminum cans, and newspapers and that they needed to all add to four thousand five hundred pounds. To do this, I again decided to employ the strategies of working backwards and also going straight to creating a number sentence. I started with glass and created an expression for each of the recycling items. The number sentence I created was x + 2x + (2x• 3)= 4,500. In this number sentence x stands for the...
Words: 2153 - Pages: 9
...Concept: The stages of writing development include precommunicative stage, semiphonetic stage, phonetic stage, transitional stage, correct stage. Reason: It’s important to know what stage of writing development a student is in so that their work can be assessed accordingly. Each stage is important and needs to be nourished. Question 1: For students who fall behind in spelling, what stage are they most likely to have trouble with? Question 2: Are the stages the same for students with disabilities, or could there be more or less stages depending on their specific areas of difficulty? Concept: Print awareness includes graphic principles, awareness of alphabetic nature of writing, concepts about print, alphabet knowledge, and orthographic concepts. Reason: Print awareness is an integral part of writing and reading development because children need to be able to conceptualize writing before they can begin to learn the rules of writing in their language Question 1: How does print awareness differ among other languages, like Japanese, that don’t have letters? Question 2: Since children need print awareness for both reading and writing, how does one develop faster than the other? Concept: Learning to spell and learning to read both rely on the relationships between letters and sounds. Reason: This is important because it indicates that by improving skills in writing, you improve skills in reading, and vice versa. Teachers can use this information to help students make connections between...
Words: 505 - Pages: 3
...Written Assignment Unit 6________________________________________ 1) The first task is to review some information that might be useful later: a) Write a brief definition of the word "quartile" as we have used it in previous weeks. Be sure to provide a citation: A quartile is the number that spits a set of data into quarters; thus, there is the first quartile, the second (median) and the third quartile (Yakir, 2011, p.g 32). b) Write a brief definition of the word "quantile" as it might be used in statistics. Be sure to provide a citation (do not cut and paste... use your own words to summarize what you discovered): A quantile is refers to aa set of values that split an ordered set of data, into equal parts. For instance, a quartile is a...
Words: 1458 - Pages: 6
...1. The earth’s heat imbalance is due to a heat surplus and a heat deficit. The tropical regions receive more heat energy from the sun when compared to the Polar Regions due to factors such as distance from the sun, atmospheric depletion, unit surface area and angle of strike. 2. This heat imbalance may be transferred across the earth in order to try and stabalise this imbalance. This is done by ocean currents and winds. Warm ocean currents transfer warm water from warm, tropical regions to cold Polar Regions thus warming the polar areas and cold ocean currents transfer cold water from the cold, Polar Regions to the warm tropical, regions thus cooling the tropical areas. Winds on the other hand, transfer heat by advection. Winds move from high pressure areas (colder) to low pressure areas (warmer) therefore cooling the warmer regions and creating a pressure gradient (PG). This means that the steeper the PG the stronger the wind likewise, the more gentle the PG the weaker the wind. This is the pressure gradient force (PGF). The PGF is...
Words: 417 - Pages: 2
...Imagine that you have a student in your class who acts out during independent math activities. Would you use high-p requests or choice making with this student? Explain your answer. I personally would choose to use high-p requests in this situation. I would choose this because I could give that child small tasks that I know he will be more likely to accomplish before he starts the activity. Then he will be more likely to do the activity because he is already engaged in the things I asked him to do before we started the activity. 4. For what types of behaviors would you implement a DRL procedure? Give one example. DRL is used to reduce the occurrence of an otherwise appropriate behavior. An example of this type of behavior would be a child asking to use the bathroom every ten minutes. 5. List a consideration for teachers who implement DRI. One thing to consider when implementing DRI is that it is not going to eliminate all occurrences of the problem behavior, but it should result in the child engaging in more positive than more negative behaviors. A teacher should not get discouraged and stop implementing DRI if he/she isn’t seeing huge...
Words: 608 - Pages: 3
...I have decided to go with group A- A mixed nationality class of sixteen pre-intermediate 13/14-year-olds doing a short holiday course in an English speaking country. The teens are on holiday in London, England. Considering these students are doing a holiday course, they’re likely visiting the country with their families and/or friends. I chose this listening clip because I felt it would work great for this group of students as it will be relevant to them, seeing as they are on holiday and a bus tour of London is possibly something they would be doing sometime during their stay. The listening text is interesting, funny and filled with facts. It is easy to follow and isn’t too long which could lead students to losing track, especially if there is any vocabulary they do not understand, which would lead to them getting distracted by trying to find out what a word means and fall behind. To start off my lesson, I would greet my students and have a quick discussion about the previous lesson, we would then move on to the listening lesson. I will begin by showing the students some pictures of London and the tour bus, in doing so, I would also be eliciting from them; what they are seeing in the pictures and what they think the listening clip will be about. I would then turn it into a game, in which the students could work in pairs or small groups and guess what the listening clip will be about and see who wins. As part of the warmer process I would introduce the topic of the listening...
Words: 840 - Pages: 4
...the middle of the data set when it was in order. The median of the price of required course materials is $300. That means that the typical full time WMU student who has declared their major pays about $300 for required course materials each semester. For question 7, we used mode to find the measure of center. The mean and median do not make sense to use for this question since it is categorical. Categorical questions do not have a set value, therefore can not be put in any numerical sort of order. Mode is the only way to find measure of center for categorical data because it will be the category that occurs most frequently. The category that occurs the most frequently is some before, some after, so the mode is some before, some after. 4. For question 2, to find the measure of variability, we used the range of the data. We used the range because the scale is 1, the minimum is 12, and the maximum is 21. That means that the range is 9. Since the numbers are so close together, we thought it would make the most sense to use the range to show variability. Also, since the range is only 9, it shows that the data has little variability. For questions 3 and 7, there is no way to find the measure of variability, because both of these questions are categorical questions. Since categorical questions have no set value, there is no way to measure variability, For question 6, to find measure of variability, we used the Inter Quartile Range (IQR) to find the measure of variability...
Words: 1406 - Pages: 6
...to buy but raises the cost of living for farmers due to the lower production costs. Sustainable agriculture causes more human labor, which increases the price of food. With fair trade prices, farmers are able to grow and preserve their land using sustainable agriculture techniques. This allows for better prices for farmers as well as a better environment and crops for consumers as well. Urbanization is the process whereby cities, towns, and suburbs grow as populations shift from rural to urban livelihoods. The rate of urbanization in many areas across the world has increasingly changed over the years. Cities continue to grow; the reduced need for labor has increased food supply and has started pushing people out of rural areas. Question #4 a. England’s BREXIT: leaving the EU i. BREXIT refers to the United Kingdom leaving the European Union. In June 2016, citizens of the United Kingdom won the majority vote, which was to leave the European Union. Citizens voted to leave, for one, because they believe there are too many rules on business in the United Kingdom; secondly, the United Kingdom is charged billions of pounds a year in European Union membership fees for little in return. And finally, so that they can control their borders and reduce the number of people coming to live and work in the United Kingdom. Many people from British Overseas Territories, decide to pack up and move to the United Kingdom for better employment opportunities and better benefits from the United...
Words: 1264 - Pages: 6
...A1. Include visual supports in your daily schedule. The visual supports that I have chosen for Maria’s daily schedule include a group of numbers to signify math, a blue and white “Bathroom Break” image, a picture of the resource room for her resource room time, a music note, art sign and P.E for her different specials depending on the day. I also included a lunch sack for lunch time, a book for core reading time, a picture of a group of students reading for reading interventions groups, a picture of the playground for recess, a molecule for science, a thumbs up for choice time, and lastly, a bell for dismissal. A1a. Explain why the visuals you have included are developmentally appropriate for Maria: The visuals that I have chosen are developmentally appropriate because they are at her age level. Maria is a ten-year-old girl who is in fourth grade. Her reading assessments show that she is between yearend of first grade and beginning third grade level for reading. Because there was such a vast range in her reading abilities, I chose some pictures that had words and others that did not. I made sure not to use any younger kid pictures as to ensure that I was respectful of her age and abilities. A1ai. Justify the use of visual supports for Maria using scholarly sources: According to Child Language Teaching and Therapy, students with Down Syndrome have a deficit in short term verbal memory but are much stronger in short term visual memory. Verbally reminding Maria to stop...
Words: 1929 - Pages: 8
...Relative Thinking and Quantities and Change. In this problem, students are given measurements of two individuals in the unit of buttons, but only one of their measurements in the unit of paperclips. The problem is to find the other individuals measurement in paper clips. For Relative Thinking, students are required to use multiplicative logic to solve for a proportional change between units. It is very similar to a typical Relative Thinking problem involving growth of two objects, however, the change of units makes it also a good introductory task for Unitizing as they must understanding the difference and scales of the two units. For Quantities and Change, students must understanding how the measurements are changing between the objects and the units. The essential question is how much the measurement in paper clips changes depending on how much the...
Words: 497 - Pages: 2
...Unit 4 Assignment Short Answers 1. Modules allow the programmer to write an operation once, and then be able to execute it any time needed later in the code. 2. Header – The starting point of the module Body- The list of statements that belong to the module 3. The program returns to the memory address just after from where the module was called, and continues to execute 4. A local variable is a variable that is declared from within the module. Only statements in that module can access it. 5. A local variable’s scope begins at the variable’s declaration and ends at the end of the module in which it is declared. 6. Passing an argument by value is a one-way communication from the main program to the module. Changes to the parameter variable inside the module do not affect the argument in the calling part of the program. Passing an argument by reference is a two-way communication from the main program to the module and it allows modification of the variable in the calling program 7. Global variables make a program difficult to debug because any statement in a program file can change the value of a global variable. If you find that the wrong value is being stored in the global variable, you have to track down every statement that accesses it to determine where the bad value is coming from. 1. Module timesTen (integer originalNumber by value) Set a = originalNumber * 10 Input a Display “The answer is “, a 5. Module getNumber (integer number...
Words: 483 - Pages: 2
...400-550.5/23.8 = -6.32 which is our z value. Now we want to use the table to find the probability that we get a value greater than 400 so we want to solve 1- the probability corresponding to z=-6.32 in the table =1-0 = 100% (this is expected because if you look at the close values they are all up around the 500s so 400 would be very very unexpected). 3. Here we want to use the same formula but solve it for 45 in each direction so we solve (505.5-550.5)/23.8 = -1.89 and (595.5-550.5)/23.8 = 1.89. Now we look at the z table and see that we get probabilities of 0.0294 and 0.9706 respectively. Since we want the probability within that range we take the upper range minus the lower to give us the middle range so we solve 0.9706-0.0294 = 0.9412. 4. Such a price would not only be unusual, it would be unheard of. The z score for such a price would be (362.5-550.5)/23.8 = -7.90 which corresponds to a probability of 0 from the z score table. 5. Since i don't have your text book i don't know what they consider to be unusual, but for arguments sake here i will use 1 standard deviation away from the mean. This means that we have z scores of -1 and 1 so we would want to solve +/-1 = (x - 550.5)/23.8 ->+/-23.8 = (x - 550.5) -> x = 526.7 and 574.3. 6. this is done using the built in excel formulas and we get: Quartile 1 = 533.8 Quartile 2 = 548.62 Quartile 3 = 571.405 7. To test this we made the graph in the attached excel document. From this graph we can see that The data is relatively close...
Words: 463 - Pages: 2
...Q3. How does increased loading change L, W, and t? When F doubles from 4.0 N to 8.0 N for the small rubber band, does the deformation, L-L0, also double? When F doubles from 4 N to 8 N for the large rubber band, does the deformation also double? As the load increases, L increases and W and t decrease. From 4 N to 8 N, the deformation does not double; it doubles from 1N to 4N, and from 2N to 15N. The deformation rate slows as more force is applied. From 4N to 8N on the larger rubber band, the deformation does not double either. Both the small and large rubber bands deformed at approximately the same rate. Q4. What is the reason for the “2” in the cross-sectional area computation in Tables 2 and 3? Since values for width and thickness were only obtained for one side of the rubber band, they must be multiplied by 2 to account for the other side. However, the rubber band used in our experiment was cut, so we did not perform this calculation. In this lab, rubber bands were used to represent tendons to show...
Words: 522 - Pages: 3
...David Camacho PT1420 Programming Lab 2.1 Display Welcome to the Fiber Optic Calculator Program. Enter company name. Enter the number of fiber optic cable needed. Multiply .87 times the feet needed for the total cost. Display the total cost of the fiber optic cable and the company name. Purpose of Variable | Variable Name | Stores cost of fiber | fiberCost | Stores the company name | firstChoice | Stores the number of feet to be installed | 50 | Stores the calculated cost of installed fiber | .87 | Display “Welcome to the Fiber Optic Calculator Program” Set fiberCost = .87 Display “What is the company name?” Input companyName Display “How many feet of fiber will be installed” Input feetInstalled Set totalCost = fiberCost * feetInstalled Display “For the company” , companyName, “the total cost will be $” , totalCost David Camacho PT1420 Lab 2.2 Flowchart David Camacho PT1420 Programming Lab 2.3 Visual Studios Program David Camacho Unit 2 HW Assignment 1 Short Answer 1.What does a professional programmer usually do first to gain an understanding of a problem? The programmer creates a design for the program, which starts by asking the customer what they need the program to accomplish. 2.What is pseudocode? Pseudocode is an informal language that has no syntax rules, and is not meant to be compiled or executed. 3.Computer programs typically perform what three steps? Step 1: Input is received. Step 2: Some...
Words: 718 - Pages: 3