COM207 Full Course (July 2018) (No Midterm No Final Exam)

COM 207 Programming in C/C+

Module 1 Discussion

Let’s begin with a discussion of programming and user environments with special focus on the programming development environments. What are the simplest? What are the more complex environments like? Give some examples of each.

Some hints:

Review what a text editor is versus a word processor

Read online about Microsoft Visual Studio

COM 207 Programming in C/C+

Module 2 Discussion

Variables often confuse the novice programmer. What are variables? How do we define/declare them and why? What are datatypes and why do we have so many? When do we need variables and how do we use them in our code?

COM 207 Programming in C/C+

Module 3 Discussion

Look at your daily activities. Start thinking about some of the tasks you perform and all the decisions needed to accomplish it. You will be surprised at how many decisions you take for granted that are necessary for some of the most mundane things. Give a real life example of a task and the succession of decisions that go into it and try to describe what sort of decision each is and the Boolean logic goes into each.

COM 207 Programming in C/C+

Module 4 Discussion

Let’s compare the various loop structures. As we did in last week’s discussion, give a real world example of using various loops.

Can you give an example of when you might not be able to use a particular type of loop such as a For loop?

COM 207 Programming in C/C+

Module 5 Discussion

How do arrays compare with the variable types we discussed earlier in the course? How do they differ?

COM 207 Programming in C/C+

Module 6 Discussion

The previous edition of the book had us working with file types and I have accidentally posted this discussion out of turn. I will still accept posts on file types but we can also discuss arrays. Let me give you some ideas on what to think about and discuss.

What is an array?

When might we use arrays?

What are some good examples of arrays or data that would be suited to arrays in the physical world?

COM 207 Programming in C/C+

Module 7 Discussion

What is a string and how do strings differ from other data types? How do they relate to arrays?

 

COM 207 Programming in C/C+

Module 8 Discussion

This week we really are discussing file types and file access. This discussion will extend beyond your chapter reading so feel free to look online for more information. I think it is good for you to be exposed to the broader topic of file I/O.

What are some various types of files? What is meant by file access method? Lastly, though I do not believe our text mentions this term, look up what a “File Cursor” is and describe the term.

COM 207 Programming in C/C+

Module 1 Hands-On Learning

Please complete the following exercises:

Chapter 2, Exercises: 1 and 5, p. 45

Chapter 2, Exercise: 8, p. 46

COM 207 Programming in C/C+

Module 2 Hands-On Learning

Please complete the following exercises:

Chapter 3, Exercises 4 and 6, p. 72

Chapter 4, Exercise 11, p. 107

Chapter 4, Exercise 14, p. 108

COM 207 Programming in C/C+

Module 3 Hands-On Learning

Please complete the following:

Chapter 5, Lab 5-1, pp. 137-138

Chapter 5, Computer Exercise 11, p. 150

Chapter 6, Lab 6-1, pp. 177-178

Chapter 6, Computer Exercise 13, p. 191

COM 207 Programming in C/C+

Module 4 Hands-On Learning

Please complete the following:

Chapter 7, Lab 7-2, pp. 230-233

Chapter 7, Computer Exercise 19, p. 241

Chapter 8, Lab 8-2, pp. 263-267

Chapter 8, Computer Exercise 18, p. 274

COM 207 Programming in C/C+

Module 5 Hands-On Learning

Please complete the following:

Chapter 9, Lab 9-2, pp. 307-314

Chapter 9, Computer Exercise 16, pp. 322-323

Chapter 10, Lab 10-2, pp. 347-355

Chapter 10, Computer Exercise 16, pp. 363-364

COM 207 Programming in C/C+

Module 6 Hands-On Learning

Please complete the following:

Chapter 11, Lab 11-2, pp. 407-411

Chapter 11, Computer Exercise 20, p. 418

Chapter 12, Lab 12-2, pp. 446-449

Chapter 12, Computer Exercise 23, p. 454

COM 207 Programming in C/C+

Module 7 Hands-On Learning

Please complete the following:

Chapter 13, Lab 13-2, pp. 492-497

Chapter 13, Computer Exercise 20, p. 506

Chapter 13, Computer Exercise 21, p. 506

Chapter 13, Computer Exercise 25, p. 506

COM 207 Programming in C/C+

Module 8 Hands-On Learning

Please complete the following:

Chapter 14, Lab 14-2, pp. 530-539

Chapter 14, Computer Exercises 19 and 20, p. 546