May all your troubles last as long as your New Year's resolutions.
Work On your C++ Projects
Due Date March 20, 2008
Click on the link
Project 1
// name: my first program in C++
// name: my second program in C++
Project 2
// name: operating with variables
// name: initialization of variables
// my first string
// defined constants: calculate circumference
C++ Projects
Due Date March 7, 2008
Read pages 2 to 11 in the Purple textbook C++ Basics by Todd Knowlton
Write a paragraph for each of the Objectives on your. Copy and paste into MS Word or Google Documents. Type the Answers in a different COLOR. Answer on Google Sites.
Due Date March 14, 2008
Define the Vocabulary terms. Copy and paste into MS Word or Google Documents. Type the Answers in a different COLOR. Answer on Google Sites. executable file graphic user interface (GUI) high-level language linker low-level language machine language object code object file operating system programming language source code
Due Date March 18, 2008
Complete the lesson 1 Review Questions. Copy and paste into MS Word or Google Documents. Type the Answers in a different COLOR. Answer on Google Sites.
Lesson 1: Review Questions
True/False
Type True if the statement is true. Type False if it is false.
1. A word processor is an example of an application program. 2. The programs in a typical computer’s ROM provide programs such as spreadsheets and video games. 3. The operating system controls input and output operations of a computer. 4. An instruction set is a system for interacting with computer users through pictures. 5. A compiler creates a source code file. 6. The programming language most like machine language is C++. 7. Programs written in low-level languages usually require less memory than those written in high-level languages. 8. High-level languages are more difficult to read than low-level languages. 9. An interpreter creates an object file that a linker makes into an executable file. 10. Most modern compilers are programs that must be run separately from the linker.
Written Questions
Write your answers to the following questions.
11. What does the acronym ROM stand for? 12. List three operations managed by operating systems. 13. What is the device that processes the instructions in a computer? 14. What is the name of the number system commonly used to represent the state of being on or off? 15. Give an example of a low-level programming language. 16. List three examples of high-level programming languages. 17. List two advantages of a low-level language. 18. Describe the process involved when using a compiler to program a computer. 19. Describe one advantage that compiled programs have over interpreted programs. 20. Why is it important for professional programmers to have worked with various programming languages?
Due Date March 13, 2008
Go to Introduction to Xcode to learn how to write your First C++ Program.
Lesson 2—Entering, Compiling, and Running a C++ Program
· Study the objectives for the lesson. Write a description for each of the Objectives. Answer on Google Sites.
Due Date March 24, 2008
Follow the directions to create your first C++ program using Xcode. Answer on Google Sites.
· This lesson gives you the chance to create your first C++ program. You will learn about the structure of a C++ program, enter source code, compile and run the program, and modify the source code. You will also learn how to run a standalone program creating by your C++ compiler.
· As a guide to new vocabulary, examine the Vocabulary list at the beginning of the lesson. The glossary is also an excellent reference for terms in this lesson.
· The purpose of the sidebar items that are embedded within the text throughout the lesson is to provide users with important background information, both technical and historical. Boxed items occur under these different headings throughout the book: Concept Builder, Did You Know?, Hot Tip, Important, and Note.
BEGIN
braces case sensitive comments compiler directives functions header file lowercase main function statement uppercase
·
Complete the Lesson 2 Review Questions on pages 24–25. Copy and paste into MS Word or Docs & Spreadsheets. Type the Answers in a different COLOR. Answer on Google Sites. Due Date March 28, 2008
Lesson 2: Review Questions
ASSESS
· Quiz on Friday.
Unit 1: Review Questions
Copy and paste into MS Word or Docs & Spreadsheets. Type the Answers in a different COLOR. Answer on Google Sites.
Due Date March 31, 2008
Write the letter of the description from Column 2 that best matches the term or phrase in Column 1.
Column 1 Column 2
_____ 1. algorithm A. The set of commands a microprocessor is made to understand
_____ 2. assembler B. A program that links object files created by a compiler into an executable program
_____ 3. compiler C. A program that reads assembly language and converts it into machine language.
_____ 4. executable file D. A program in the form of a high-level language
_____ 5. instruction set E. A program that translates a high-level language into machine language but does not save the machine language
_____ 6. interpreter F. The device in the computer that processes the instructions
_____ 7. linker G. A set of sequential instructions followed to solve a problem
_____ 8. microprocessor H. The machine language code produced by a compiler
_____ 9. object code I. A program that translates a high-level language into machine language, then saves the machine language
_____ 10. source code J. The output of a linker