Chapter 24

Explain the Purpose and Use of Programming Concepts

In this chapter, you discover the purpose and use of programming concepts such as identifiers (variables, constants), containers (arrays, vectors), functions, and objects (properties, attributes, methods). This chapter covers CompTIA IT Fundamentals+ objective 4.3.

Foundation Topics

Identifiers

In programming, an identifier is a name assigned by the user to a program element such as a variable or constant.

Variables

Image

A variable is a value paired with a symbolic name, enabling the program to refer to the name in calculations. For example, if x=3 and y=4, you can use the expression ...

Get CompTIA IT Fundamentals+ FC0-U61 Cert Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.