Friday, November 13, 2020

Software Lab Based on R Programming

 Software Lab Based on R Programming ( UGC CBCS ASSIGNMENT) 

 1. Write a program that prints ‗Hello World‘ to the screen. CLICK HERE ( NO VOICE )

2. Write a program that asks the user for a number n and prints the sum of the numbers 1 to n. CLICK HERE

 3. Write a program that prints a multiplication table for numbers up to 12. CLICK HERE

4. Write a function that returns the largest element in a list.  CLICK HERE

5. Write a function that computes the running total of a list. CLICK HERE

6. Write a function that tests whether a string is a palindrome. CLICK HERE

7. Implement the following sorting algorithms: 

          i)  Selection sort,  CLICK HERE

         ii)  Insertion sort, - CLICK HERE

        iii)  Bubble Sort - CLICK HERE

8. Implement linear search.  - CLICK HERE 

9. Implement binary search. - CLICK HERE

10. Implement matrices addition, subtraction and Multiplication  CLICK HERE

No comments:

Post a Comment