Big Data

 Slip 1

Write an R program to find the maximum and the minimum value of a given vector. 

Slip2

Write an R program to sort a Vector in ascending and descending order.


Slip 3

Write an R program to compare two data frames to find the elements infirst data frame that are not present in second data frame.

Slip4

Write an R program to extract first 10 English letter in lower case andlast 10 letters in upper case and extract letters between 22nd to24th letters in upper case.

Slip 5

Write an R program to find Sum, Mean and Product of a Vector.

Slip6

Write an R program to create a simple bar plot of five subject’s marks.

Slip7

Write an R program to create a Dataframes which contain details of 5employees and display the details in ascending order.

Slip8

Write an R program to create a data frame using two given vectors anddisplay the duplicated elements and unique rows of the said data frame.

Slip9

Write an R program to change the first level of a factor with anotherlevel of a given factor.

Slip10

Write a script in R to create a list of cities and perform the following

1) Give names to the elements in the list.

2) Add an element at the end of the list.

3) Remove the last element.

4) Update the 3rd Element

Slip11

Write a script in R to create two vectors ofdifferent lengths and give these vectors as input to array and print additionand subtraction of those matrices.

Slip12

Write an R Program to calculate Multiplication Table

Slip13

Consider the inbuilt iris dataset

i) Create a variable “y” and attach to it the output attribute of the “iris” dataset.

ii) Create a barplot to breakdown your output attribute. 

iii) Create a density plot matrix for each attribute by class value.

Slip14

Write an R program to concatenate two given factor in a single factor anddisplay in descending order.

Slip15

Write an R program to extract the five of the levels of factor createdfrom a random sample from the LETTERS

Slip16

Consider the inbuilt mtcar dataset

i) Subset the vector, “mtcars[,1]“, for values greater than “15.0“.

ii) Subset “airquality” for “Ozone” greater than “28“, or “Temp” greater than “70“.

Return the first five rows.

iii) Subset “airquality” for “Ozone” greater than “100“. Select the columns “Ozone“,

“Temp“, “Month” and “Day” only.

Slip17

Write an R Program to calculate Decimal into binary of a given number.

Slip18

Write an R program to create three vectors a,b,c with 3 integers. Combinethe three vectors to become a 3×3 matrix where each column represents a vector.Print the content of the matrix.

Slip19

Write an R program to draw an empty plot and an empty plot specify the axes limits of the graphic.

Slip20

Consider Weather dataset

i) Selecting using the column number

ii) Selecting using the column name

iii) Make a scatter plot to compare Wind speed and temperature

Slip21

Consider the plantGrowth inbuilt dataset

i) Create a variable “y” and attach to it the output attribute of the “plantGrowth” dataset.

ii) Create a barplot to breakdown your output attribute. 

iii) Create a density plot matrix for each attribute by class value.

Slip22

Write an R program to print the numbers from 1 to 100 and print "SY" for multiples of 3, print "BBA" for multiples of 5, and print "SYBBA" for multiples of both.

Slip23

Write a script in R to create two vectors of different lengths and givethese vectors as input to array and print second row of second matrix of thearray.

Slip24

Write a script in R to create two vectors of different lengths and givethese vectors as input to array and print Multiplication of those matrices.

Slip25

Write an R program to create a list of elements using vectors, matricesand a functions. Print the content of the list.

Slip26

Write a script in R to create an array, passing in a vector of values anda vector of dimensions. Also provide names for each dimension .

Slip27

Write an R Program to calculate binary into Decimal of a given number.

Slip28

Write an R program to convert a given matrix to a list and print list inascending order.

Slip29

Write a script in R to create a list of students and perform the following

1) Give names to the students in the list.

2) Add a student at the end of the list.

3) Remove the firstStudent.

4) Update the second last student.

Slip 30

Write an R program to sort a list of 10 strings in ascending anddescending order.