COP 3502 Chapter Notes - Chapter 2: Binary Operation, Decimal Mark, Integer Literal

43 views4 pages

Document Summary

The focus of this chapter is on learning elementary programming techniques to solve problems. programs work and useful tool for inding errors in programs. Concatenate strings: the plus sign has two meanings, addiion and concatatening or combining strings. In this case the + is being used as a string concatenaion operator. Break a long string: a string cannot cross lines in the source code. To ix the error, break the string into separate substrings and sue the concatenaion operator to combine them. Wriing a program involves designing a strategy for solving the problem and then using a programming language to implement that strategy. Algorithm: describes how a problem is solved by lising the acions that need to be taken and the order of their execuion. Pseudocode: natural language mixed with some programming code. Code: write a program; when you code you translate an algorithm into a program. Variable: represents a value stored in the computer"s memory.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents