This repository contains the solutions to the Associate Software Engineer coding assignment at Cloud Vandana. The tasks cover Java, JavaScript, and HTML, demonstrating problem-solving skills, coding proficiency, and the ability to build functional projects.
-
Description: Implemented a custom method to shuffle an array of numbers
[1, 2, 3, 4, 5, 6, 7]
without using built-in methods likeCollections.shuffle()
. -
Implementation: The
shuffleArray()
method uses a random swap algorithm to shuffle the array.
-
Description: Created a function that converts Roman numeral strings (e.g.,
IX
) into their corresponding integer values (e.g.,9
). -
Implementation: The conversion is done using a dictionary of Roman numeral values and iterating over the string.
-
Description: A function that checks if a sentence is a pangram (contains all the letters of the alphabet at least once).
-
Implementation: The string is converted to lowercase and checked using a set to ensure all letters are present.
-
Description: A function that reverses each word in a sentence without changing the word order.
-
Implementation: The sentence is split into words, and each word is reversed individually.
-
Description: A custom sorting algorithm to sort an array in descending order without relying on JavaScript's built-in
sort()
method. -
Implementation: A simple sorting algorithm, like bubble sort, is used to sort the array in descending order.
-
Description: A simple Basic Calculator built using HTML, CSS, and JavaScript. The calculator performs basic arithmetic operations such as addition, subtraction, multiplication, and division.
-
Live Demo: Basic Calculator
-
Description: A Survey Form that collects user information such as Name, Date of Birth, Gender, Profession, Email, and Mobile Number. It includes form validation to ensure all fields are completed before submission.
-
Live Demo: Survey Form
- Clone the repository or download the files.
- Navigate to the Java files (
ShuffleArray.java
,RomanToInteger.java
,PangramChecker.java
). - Compile and run the Java files in your IDE or terminal.
- Clone the repository or download the files.
- Ensure Node.js is installed. You can download it from here.
- Open a terminal and navigate to the JavaScript files (
reverseWords.js
,sortArray.js
). - Run the JavaScript files using Node.js:
node reverseWords.js node sortArray.js
- Open
basicCalculator.html
orsurveyForm.html
in any modern web browser to interact with the projects. - Both projects are functional with embedded JavaScript for interactivity.