notes
Trending

Computer Programming Part-4

Computer programming is the process of designing, writing, testing, and maintaining computer programs. A computer program is a set of instructions that a computer can execute to perform a specific task or solve a problem. Here are some common concepts in computer programming:

Lecture Sheet of Rana Sir (NSTU)

Lecture-6-arraryDownload
Lecture-7-Pointer-StringDownload
Lecture-8-Struc-and-UnionDownload
Lecture-9-File-OperationDownload
Lecture-10-Computer-GraphicsDownload
  1. Arrays: An array is a data structure that stores a collection of elements of the same type in a contiguous block of memory. Arrays are useful for storing and manipulating large amounts of data, such as lists or matrices.
  2. Pointers and Strings: Pointers are variables that store memory addresses. They are commonly used to manipulate data structures in memory, such as arrays and linked lists. Strings are sequences of characters that are often represented as arrays of characters. Pointers and strings are frequently used together in computer programming.
  3. File Operations: File operations involve reading and writing data to and from files on a computer’s disk. File operations are useful for storing data between program runs and for exchanging data between programs.
  4. Computer Graphics: Computer graphics involves creating and manipulating visual images using computers. There are many types of computer graphics, including 2D and 3D graphics, vector graphics, raster graphics, and interactive graphics.

Types of Computer Graphics:

  1. 2D Graphics: 2D graphics involve creating and manipulating two-dimensional images, such as charts, diagrams, and logos. Examples of software that use 2D graphics include Adobe Illustrator and Microsoft Visio.
  2. 3D Graphics: 3D graphics involve creating and manipulating three-dimensional images, such as video game environments, architectural renderings, and product designs. Examples of software that use 3D graphics include Blender and Autodesk Maya.
  3. Vector Graphics: Vector graphics use mathematical equations to represent images, such as curves and lines, rather than pixels. Vector graphics are often used in graphic design and printing.
  4. Raster Graphics: Raster graphics are made up of pixels, or small dots of color. Raster graphics are commonly used for digital photographs and web graphics.

In conclusion, computer programming is a broad field that encompasses many concepts and techniques. Arrays, pointers and strings, file operations, and computer graphics are just a few examples of the many topics covered in computer programming.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button
Change