This repository contains materials and projects developed during the Algorithms and Data Structures I course, offered by the Federal University of Alfenas. Credits to professors Paulo Alexandre Bressan and Luiz Eduardo da Silva for the provided materials.
The course covers the following topics:
-
Constants and Variables
- Definition and usage
- Variable scope and lifetime
-
Arithmetic, Relational, and Logical Expressions
- Basic arithmetic operations
- Relational operators
- Logical operators
-
Input and Output Commands
- Reading from input
- Writing to output
-
Operations
- Basic mathematical operations
- Advanced operations
-
Control Structures
- Conditional statements (if, else, switch)
- Looping statements (for, while, do-while)
-
Arrays and Records
- Array declaration and manipulation
- Records (structs) usage
-
Functions
- Function declaration and definition
- Parameter passing and return values
-
Files
- File handling (reading and writing files)
- File operations (open, close, read, write)
-
Sorting Algorithms
- Insertion sort
- Selection sort
- Exchange sort (bubble sort)
-
Program Development
- Editing, compiling, executing, and debugging programs
The following assignments were developed as part of this course:
-
Assignment 1: Magic Number
-
Assignment 2: Sales Matrix
-
Assignment 3: Agenda Sorter