0% found this document useful (0 votes)
3 views

Fortran_Practice_Assignments

The document outlines various Fortran practice assignments categorized into sections such as Basic Programming, Arrays and Matrices, File Handling, Numerical Methods, String Manipulation, Modules and Subroutines, and Projects. Each section includes specific tasks like calculating factorials, matrix operations, file reading, and implementing numerical methods. Additionally, it suggests projects for data analysis, simulation, and game development.

Uploaded by

dikodi2651
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Fortran_Practice_Assignments

The document outlines various Fortran practice assignments categorized into sections such as Basic Programming, Arrays and Matrices, File Handling, Numerical Methods, String Manipulation, Modules and Subroutines, and Projects. Each section includes specific tasks like calculating factorials, matrix operations, file reading, and implementing numerical methods. Additionally, it suggests projects for data analysis, simulation, and game development.

Uploaded by

dikodi2651
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Fortran Practice Assignments

Basic Programming

- Write a program to calculate the factorial of a given number using recursion.

- Create a program to check if a number is prime.

- Write a program to generate the Fibonacci series up to n terms.

Arrays and Matrices

- Add two matrices.

- Multiply two matrices.

- Find the transpose of a matrix.

- Calculate the determinant of a 3x3 matrix.

File Handling

- Read a list of numbers from a file and find their sum and average.

- Write the multiplication table of a given number to a file.

Numerical Methods

- Implement the Newton-Raphson method to find the root of a quadratic equation.

- Solve a system of linear equations using Gaussian elimination.

- Calculate the integration of a function using Simpson's Rule.

String Manipulation

- Write a program to reverse a string.

- Count the number of vowels, consonants, and words in a given string.

Modules and Subroutines

- Write a module that provides functionalities to calculate:

- - Area and circumference of a circle.


- - Area and perimeter of a rectangle.

- Import the module into a program to test its functionality.

Projects

- Data Analysis: Analyze a dataset of student marks from a file and calculate average, highest, and

lowest marks.

- Simulation: Simulate projectile motion and display the trajectory.

- Game: Build a simple number guessing game.

You might also like