Web Technology Slip 30
Reviewed by technical_saurabh
on
February 12, 2021
Rating:
team-analytics.blogspot.com
Reviewed by technical_saurabh
on
February 12, 2021
Rating: 5
Reviewed by technical_saurabh
on
February 12, 2021
Rating: 5
Reviewed by technical_saurabh
on
February 12, 2021
Rating: 5
Reviewed by technical_saurabh
on
February 12, 2021
Rating: 5
Reviewed by technical_saurabh
on
February 12, 2021
Rating: 5
Reviewed by technical_saurabh
on
February 12, 2021
Rating: 5
Reviewed by technical_saurabh
on
February 12, 2021
Rating: 5
Reviewed by technical_saurabh
on
February 12, 2021
Rating: 5
Reviewed by technical_saurabh
on
February 12, 2021
Rating: 5
Reviewed by technical_saurabh
on
February 12, 2021
Rating: 5
Web Technology Slip 20
Reviewed by technical_saurabh
on
February 12, 2021
Rating: 5
Web Technology Slip 19
Reviewed by technical_saurabh
on
February 12, 2021
Rating: 5
Reviewed by technical_saurabh
on
February 12, 2021
Rating: 5
Web Technology Slip 17
Answer :
Answer :
Reviewed by technical_saurabh
on
February 11, 2021
Rating: 5
Web Technology Slip 15
Answer :
Answer :
Reviewed by technical_saurabh
on
February 11, 2021
Rating: 5
Web Technology Slip 14
Answer :
Reviewed by technical_saurabh
on
February 11, 2021
Rating: 5
Answer :
Reviewed by technical_saurabh
on
February 11, 2021
Rating: 5

1) Give names to the elements in the list.
list_data <- ava="" br="" c="" ed="" lack="" list="" reen="" ython="">
print(list_data)
names(list_data) = c("Color", "Language(s)")
print("List with column names:")
print(list_data)
2) Add an element at the end of the list.
list_data <- ava="" br="" c="" ed="" lack="" list="" reen="" ython="">
print("List:")
print(list_data)
print("Add a new element at the end of the list:")
list_data[4] = "New element"
print("New list:")
print(list_data)
3) Remove the last element.
list_data <- ava="" br="" c="" ed="" lack="" list="" reen="" ython="">
print(list_data)
print("Remove the Last element of the list:")
list_data[2] = NULL
print("New list:")
print(list_data)
4) Update the 3rd Element
list_data <- br="" c="" ed="" lack="" list="" reen="" saurabh="" ython="">
print(list_data)
print("Update the second element of the list:")
list_data[3] = "R programming"
print("New list:")
print(list_data)
->->->->
m1 = matrix(c(1, 2, 3, 4, 5, 6), nrow = 2)
print("Matrix-1:")
print(m1)
m2 = matrix(c(0, 1, 2, 3, 0, 2), nrow = 2)
print("Matrix-2:")
print(m2)
result = m1 + m2
print("Result of addition")
print(result)
result = m1 - m2
print("Result of subtraction")
print(result)
num = as.integer(readline(prompt = "Enter a number: "))
for(i in 1:10) {
print(paste(num,'x', i, '=', num*i))
}
Reviewed by technical_saurabh
on
December 28, 2020
Rating: 5
Reviewed by technical_saurabh
on
December 23, 2020
Rating: 5
Answer :
print("First 10 letters in lower case:")
t = head(letters, 10)
print(t)
print("Last 10 letters in upper case:")
t = tail(LETTERS, 10)
print(t)
print("Letters between 22nd to 24th letters in upper case:")
e = tail(LETTERS[22:24])
print(e)
slip 5
x = c(10, 20, 30)
print("Sum:")
print(sum(x))
print("Mean:")
print(mean(x))
print("Product:")
print(prod(x))
Slip 6
marks = c(70, 95, 80, 74)
barplot(marks,
main = "Comparing marks of 5 subjects",
xlab = "Marks",
ylab = "Subject",
names.arg = c("English", "Science", "Math.", "Hist."),
col = "darkred",
horiz = FALSE)
Reviewed by technical_saurabh
on
December 22, 2020
Rating: 5