January 19, 2018
###### The discussion topic of a subculture of violence is relevant for both a discussion of criminal violence and political violence or terrorism. To start our discussion let me ask if you think there is a subculture of violence in your community and/or the nation. If so, how would you describe its environment and values?
January 19, 2018

CS263 Entire Course Programming in C

CS263 Discussion Module 1 Programming in C

Explain the difference between using an algorithm and pseudo code.

CS263 Discussion Module 2 Programming in C

What are comments? Why comments are included in programs? Are they necessary for an production environment? Explain

CS263 Discussion Module 3 Programming in C

Why should you not use an external file name in any place other than the open statement?

CS263 Discussion Module 4 Programming in C

The three basic control structures are sequence, selection, and repetition. Pick one and discuss it.

CS263 Discussion Module 5 Programming in C

What is a function? State the advantages in using a function. What is the difference between system defined and user defined functions?

CS263 Discussion Module 6 Programming in C

1. What is the difference between static and register variables? Give at least one example.

CS263 Discussion Module 7 Programming in C

How are arrays processed? Explain with an example.

CS263 Discussion Module 8 Programming in C

1. What did you find difficult in doing this project?

2. What would you have done differently?

CS263 Module 1 Assignment Programming in C

Write an algorithm to compute the volume of water in cubic feet, flowing through a pipe of diameter d in feet, with a velocity of v feet per second. The formula to compute the volume flow rate per second is given by:

CS263 Module 2 Assignment Programming in C

Programming Exercise #5 on p. 127 of the textbook Write a program to calculate the volume flow rate in cubic feet per second of water flowing through a pipe of diameter d in inches and a velocity of v feet per second. The formula for the flow rate is given by: Where area = in square feet

CS263 Module 3 Assignment Programming in C

Written Assignment: Input and output functions

Complete Programming Exercise #2 on page 183

Write a program to compute the diameter in centimeters of a steel rod, an aluminum rod, and a copper rode, which can withstand a particular compression load. The allowable compression stress of steel, aluminum, and copper is 25,000 lbs/m2, 15,000 lbs/m2, and 20,000 lbs/m2, respectively.

Area of load / allowable compression stress

Area = π r2 where diameter

Input the compression load. Print the type of material, load, allowable stress, and diameter. Use formatted output with field width specifications that align the output.

CS263 Module 4 Assignment Programming in C

Written Assignment: Control Structures

Programming Exercise #3 on page 261 in textbook.

Write a program to compute the power loss in a transmission line with a resistance of 0.05 ohms/mile. Compute the power loss if 500kw of power is transmitted from a power generating station to cities at distances of 20, 30, 40, 50, 60, 70, 80, 90, 100 miles at 100 V and 200 V. The current (i) is calculated from:

i = power transmitted in watts / volts transmitted

The total resistance R is computed from the equation: * miles

Where r is the resistance per mile. The power loss is computed from the equation: Power 2 x R.

Display to console and pause the program

CS263 Module 5 Assignment Programming in C

Written Assignment: Control Structures

Programming Exercise #2 on p. 335 in the textbook.

Write a main function and the following functions to compute the stress and strain in a steel rod of diameter D (inches) and the length L (inches) subject to the compression loads P of 10,000 to 1,000,000 pounds in increments of 100,000 pounds. The modulus of elasticity E for steel is 30 X .

CS263 Module 6 Assignment Programming in C

Written Assignment: Storage Classes

1. Programming Exercise #2 on page 388 of the text.

Write a main function to input 20 integers in the range of 1 to 6. Write a function to count the number of times the numbers 2 and 5 occur. The function should declare static variables count2 and count5. Check the data validity in the main function.

CS263 Module 7 Assignment Programming in C

Programming Exercise # 5 P. 467

Write a program in C to record the temperature and pressure values in a scientific experiment and store the data in two one-dimensional arrays, then identify the extreme values of pressure and temperature. The array size is 20.

CS263 Module 8 Assignment Programming in C

Written Assignment Display Duplicate

\$120.00 – Purchase