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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.