Back to Contests

Weekly Challenge #3 – File Handling & Advanced Topics

Advanced contest covering file operations, exception handling, and advanced language features. This contest has finished.

Finished
Start: 26 December 2025 at 04:38 am
End: 2 January 2026 at 04:38 am

Contest finished on 2 January 2026 at 04:38 am. View your performance below.

Your Performance

Score

0 / 250

Problems Solved

0 / 9

Progress

Contest finished. Your final score (locally) was 0 / 250. Rankings are stored only on your browser. For real leaderboards, we'll add login + cloud storage later.

Contest Rules

# Contest Rules (Finished) This contest has ended. View your performance below. ## What Was Covered - File reading and writing operations - Exception and error handling - Advanced language features (templates, generators) - Best practices for robust programming ## Final Results Check your score and solved problems in the performance section below.

Problems

Problem 1: Count Characters in FileChallengeC

Write a C program to count the number of characters in a file.

Score: +30 pts
File HandlingI/O
Problem 2: File Reading and WritingIntermediateC++

Write a C++ program to read data from a file and write results to another file.

Score: +25 pts
File HandlingI/O
Problem 3: Template Function for MaximumChallengeC++

Write a C++ template function to find maximum of two numbers (works with int, float, double).

Score: +30 pts
TemplatesGeneric Programming
Problem 4: Exception HandlingIntermediateC++

Write a C++ program to divide two numbers with exception handling for division by zero.

Score: +25 pts
ExceptionsError Handling
Problem 5: Exception HandlingIntermediateJava

Write a Java program to handle division by zero exception using try-catch.

Score: +25 pts
ExceptionsError Handling
Problem 6: File Reading and WritingChallengeJava

Write a Java program to read from a file and write to another file using FileReader and FileWriter.

Score: +30 pts
File HandlingI/O
Problem 7: File Reading and WritingIntermediatePython

Write a Python program to read from a file and write processed data to another file.

Score: +25 pts
File HandlingI/O
Problem 8: Exception HandlingIntermediatePython

Write a Python program to handle division by zero and invalid input exceptions.

Score: +25 pts
ExceptionsError Handling
Problem 9: Fibonacci GeneratorChallengePython

Write a Python generator function to generate Fibonacci numbers up to n terms.

Score: +35 pts
GeneratorsAdvanced