We have executed below areas in Ruby Programming Language, Iterators - Completed (3 testcases) File I/O - Completed (4 testcases) Exceptions - Completed (4 testcases) ObjectOriented - Completed (8 testcases) Total - 19 testcases Attached screenshot can be referred for Successful Output. #rubyasprogram #rubyprogramming #testexecution
Ruby Programming Test Cases Completed: Iterators, File I/O, Exceptions, ObjectOriented
More Relevant Posts
-
Programming Languages : Popularity vs. Performance #embedded #embeddedsystems #embeddedapplications #embeddedprogramming #embeddedsystem #EmbeddedSoftware #EngineeringMindset #CareerDevelopment #embeddedengineering #microcontroller #cpu #memory #programming #software #coding #code #program #development #developer #project #engineering #engineer #learning #safety #standards #iso #Cybersecurity #RustLang #rust #C #Python #go #kotlin #java #Javascript #swift #performance
To view or add a comment, sign in
-
-
#Day20 – Rearranging Arrays Using Two Pointer 😲 -#Programming ⚠️ Today’s programming session focused on array rearrangement problems and improving problem-solving logic using pointers. ✔ Learned how to rearrange array elements without creating a new array ✔ Used the two-pointer approach (i and j) to optimize space complexity ✔ Practiced keeping the original order of elements while rearranging ✔ Understood how to separate special values (like -1 or 0) from other elements ✔ Learned how array objects are passed by reference in Java, so modifications reflect in the original array Example problem solved: Rearrange an array so that all -1 values appear on one side and positive numbers on the other side while maintaining order. TAP Academy Harshit T Somanna M G #Java #Arrays #ProblemSolving #DSA #ProgrammingJourney #Consistency
To view or add a comment, sign in
-
-
PROBLEM #10 ⚡ , MOVE ZEROES, in #leetcode by using two pointer method. swapping the non zeroes to the left and the zeroes to the right. time complexity - o(n); #problemsolving #dsa #arrays #geeksforgeeks #java #programming #computerscience #developer #datastructuresandalgorithms
To view or add a comment, sign in
-
-
Day 20 of Programming – Rearranging Programs Today I practiced array rearrangement problems, which are very useful for improving logic building and problem-solving skills. Rearranging elements in an array helps in understanding index manipulation, swapping techniques, and efficient iteration. 🔹 What I learned today: ✅ Rearranging elements based on conditions ✅ Using loops and swapping techniques ✅ Improving array manipulation skills ✅ Writing optimized solutions 🔹 Practice Problems I Worked On: • Rearrange array in ascending and descending order • Rearrange array so positive and negative numbers alternate • Move all zeros to the end of the array • Rearrange elements so that even numbers come before odd numbers • Reverse an array using swapping technique #Programming #Java #Arrays #ProblemSolving #CodingJourney #Developer #LearningToCode
To view or add a comment, sign in
-
-
Method Overloading vs Method Overriding in C# Understanding the difference between these two concepts is essential for mastering Object-Oriented Programming in C#. 🔹 Method Overloading (Compile-Time Polymorphism) Same method name, different parameters. It improves readability and flexibility by allowing multiple ways to perform a similar action within the same class. ◾ Happens at compile time ◾ Same class ◾ Different parameter list (type/number/order) Example use case: Performing calculations with different input combinations. 🔸 Method Overriding (Run-Time Polymorphism) Same method signature, different implementation in a derived class. It allows child classes to provide specific behavior while maintaining a common structure. ◾ Happens at runtime ◾ Requires inheritance ◾ Uses virtual and override Example use case: Customizing behavior in derived classes. ◾ In Simple Terms: Overloading = Same method name, different inputs Overriding = Same method, different behavior Both are powerful features that help write flexible, scalable, and maintainable C# applications. #CSharp #DotNet #OOP #Programming #SoftwareDevelopment #BackendDevelopment #Coding #CleanCode
To view or add a comment, sign in
-
In C#, there are different ways to return multiple values from a method Two common approaches: Tuple 🆚 out parameter Both work ✅ But they feel very different when you read and maintain the code 👀 🟢 Tuple ✨ Named return values 🧼 Cleaner method signature 📖 Easier to read 🚀 More modern & expressive 🟡 out parameter 📌 Requires variable declaration first 🧩 Multiple parameters to manage 📚 More verbose at scale 🏛️ Common in traditional Try-pattern Small design decisions 🧠 Big long-term impact 📈 Modern C# is not just about making code work ⚙️ It’s about making code clear, intentional, and easy to understand 💡 #CSharp #DotNet #CleanCode #SoftwareEngineering #Programming #Developers
To view or add a comment, sign in
-
-
ArrayList Capacity vs Size 📦 ArrayList Size vs Capacity – Not the Same! Many developers think size = capacity. 🔹 Size → Number of elements actually present 🔹 Capacity → Internal array length Example: ArrayList<String> list = new ArrayList<>(10); 👉 Size = 0 👉 Capacity = 10 When size exceeds capacity → resizing happens. ⚠ Frequent resizing = performance cost. #Java #ArrayList #CollectionsFramework #BackendDevelopment #SoftwareEngineering #JavaDeveloper #Programming #TechTips #PerformanceOptimization #day43ofJavaandSpringboot
To view or add a comment, sign in
-
Day 13 of Programming - Array Pairs Today I explored an interesting concept in arrays: Array Pairs. In many programming problems, we often need to find pairs of elements in an array that satisfy a certain condition. Working with pairs helps improve problem-solving skills and strengthens understanding of loops and array traversal. 🔹 What are Array Pairs? Array pairs are combinations of two elements taken from an array. By comparing these pairs, we can solve various logical problems. 📌 Problems I Practiced Today: • Finding all possible pairs in an array • Finding pairs with a given sum • Finding pairs with maximum difference • Finding pairs with minimum difference • Finding duplicate pairs in an array • Counting the total number of pairs #Day13 #ProgrammingJourney #Java #Arrays #CodingPractice #ProblemSolving #LearnToCode
To view or add a comment, sign in
-
-
Breaking down multi-dimensional arrays and memory representation in the JVM. Understanding what happens behind the scenes makes you a stronger developer. 💻 #Java #JVM #DataStructures #Programming #TechEducation
To view or add a comment, sign in
-
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development