This repository contains solutions for Tutorial 2.1 of the course 21CSE392P Visual Programming at SRM Institute of Science and Technology, Department of CINTEL.
- Sum of two integers with triple if same
- Find the longest word in a string
- Left circular rotation of an array
- Find third largest integer using one loop
- Convert 2D array to 1D array
- Find angle between hour and minute hands
- Remove duplicate elements from array
- FilterAndSort method for students with GPA > 3.5
- ReadFileAndSumNumbers method
- Thread-safe Singleton class
- DownloadFileAsync method
- Sum of even numbers in array
- Calculate circle circumference without modifying class
- Call constructor with parameters without new instances
- Convert kilometers to meters
- Remove all but first $ occurrence
- Evaluate arithmetic expressions
- Compute (x+y)z and xy + y*z
- Display number in formatted pattern using {0}
- Reverse words in a sentence
- Create string of four copies of last four characters
- Create array from middle elements of three arrays
- Check if average is whole number
- Check if string length is odd or even
- Find longest common prefix
- Count elements in a stack
- Bubble sort implementation
- Bubble sort with optimization
- Insertion sort implementation
- Count digits using recursion
- Calculate average with empty array exception handling
- Read date with format validation
- Handle Int32 overflow exception
- Calculate quotient and remainder using output parameters
- Product of large numbers as string
- Add whole and fractional values to date
- Write lines to file excluding given string
- Read last line of a file
- Count number of lines in a file
- Display right angle triangle pattern with numbers
- Display alphabet pattern A with asterisk
- Display alphabet pattern E with asterisk
- Display alphabet pattern Z with asterisk
- Divide numbers with non-numeric exception handling
- Read date with format validation
- Download multiple URLs with exception handling
- Validate integer range with exception
- Add internal marks with triple if same
- Find longest word in resume text
- Left circular rotation for load balancing
- Find third highest score using one loop
- Convert 2D temperature grid to 1D array
- Calculate clock angle for smartwatch
- Remove duplicate roll numbers
- FilterAndSort students by GPA
- Read file and sum transaction values
- Thread-safe configuration singleton
- Async file download with size reporting
- Sum even meter readings
- Calculate circumference without modifying Circle class
- Constructor with parameters without new instances
- Convert kilometers to meters for travel app
- Remove extra $ symbols from transaction strings
- Evaluate complex arithmetic expressions
- Compute research formulas
- Display number in formatted pattern using {0}
- Reverse words in sentence for word processor
- Generate string from last four characters
- Create array from middle elements of three arrays
- Check if average score is whole number
- Check username length odd or even
- Find longest common prefix for search keywords
- Count undo operations in stack
- Bubble sort for learning platform
- Bubble sort explanation with example
- Insertion sort for nearly sorted data
- Count digits using recursion
- Calculate average with empty input handling
- Validate date format with exception handling
- Handle Int32 overflow exception
- Return quotient and remainder using output parameters
- Product of large numbers as string
- Add fractional days to date for scheduling
- Write lines to file excluding keywords
- Read last line of log file
- Count lines in text file
- Display numeric and alphabet patterns using *
- University: SRM Institute of Science and Technology
- Department: CINTEL
- Course Code: 21CSE392P
- Course Name: Visual Programming
- Tutorial: 2
This project is licensed under the MIT License - see the LICENSE file for details.
"Coding is for fun, not for academics. Free to use, enjoy!"
Built with ❤️ and a lot of ☕