Thursday, May 29, 2014

FPL-1, Practical List




110010: FUNDAMENTALS OF PROGRAMMING LANGUAGES I
Teaching Scheme                                                                              Examination Scheme
Theory: 1 Hr/Week
Practical: 2 Hrs/Week                                                                      On Line : 50 Marks





List of Assignments

Group A - Assignments (All Compulsary)


  1.  Use and study of linux GUI and commands
  2.  Handling and use of eclipse editor for creating projects in C , python (pydev), java
  3. Using eclipse, to write test “hello world” program in C,python.


Group B - Assignments (At Least 8)

 1.      Write a C program to accept 5 numbers from console and then to display them back in ascending ord 

2.      Write a c program to calculate the sum of all numbers from 0 to 100 (both inclusive) that are divisible  by     4.


3.      Write a C program to accept the three sides of the triangle from console and to test and print the type of triangle – equilateral, isosceles, right angled, none of these 

 4.    Write a C program to accept a string from console and to display the following on console.
          A)Total number of characters in the string. 
          B)total number of vowels in the string.
          C)total number of occurance of character “a” in the string. 
          D) total number of occurance of string “the” in the string.

5.      Write a class to convert character string of lowercase to uppercase and numeric digits in reverse order.

6.      Write a program in C to read an integer and display each of the digit of the integer in English.

7.      Write a program in C, to generate first 20 Fibonacci numbers.

8.      Write a program in C, to generate prime numbers between 1 and n.

9.      Write a program in C, to compute GCD of given two integers.

10.      Write a program in C, to compute factorial of the given positive integer using recursive function.

11.  Write a program in C, to compute roots of quadratic equation.

12.  Write a program in C, to sort n integers in bubble sort.

13.  Write a program in C, to compute addition, subtraction, multiplication of two matrices.

14.      Use functions to read, display and add/subtract and multiply the matrices.

15.  Write a program in C to carryout following operations on strings, using library functions. 
A.     To concatenate a string S2 to string S1.
B.     To find the length of a given string. 
C.     To compare two strings S1 and S2. 
D.     To copy the string S2 to another string S1.

16.  Find a substring in a string using LISP.

 Group C - Assignments (At Least One)

1.      Write a program in MATLAB/OCTAVE to compute addition/subtraction/multiplication of two matrices. Use functions to read, display and add/subtract/multiply the matrices. 

2.      Write a program in eclipse – python to generate prime numbers between 1 and n.



No comments:

Post a Comment