Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

School of Computer Science and Engineering

Winter Semester 2023-24

Course Code BCSE207P-Programming for Data Science Lab


Class Number : VL2023240504738/VL2023240504796

Slot: L19+L20/L51+L52

Experiment-1
Instructions:

• Aim, Sample input, Output and results must be recorded.


• Coding and Output (With Reg No & name) must be included.
• Prepare a document as instructed and upload (Final Version) in VTOP student's
log in on-time.

1.Create a table for surveying a covid symptoms of the people for specific village. (Minimum 25 rows
and 10 columns)
2. Develop the R script using base function and user defined functions to perform following
operations in the created table,
Base functions: Nchar, Sum, Round, Paste, Min
User defined: Classify the person as children, young and old
3. Vector operations (string and numeric) for the columns of table crated

4. Vector filtering (from the table created) including recycling case.


5. control statement for counting and checking purpose from any column: For loop, While loop and
If-else
6. Modify:
Add the decision column to positive or negative based on setting a condition
Change the fever value above 97F to High
Find the children names who are Positive
Print the old person names who is negative.
7. Introduce any 2 new packages and their popular functions (any 5)

You might also like