McqkartGet appPractise

Consider the following R code: x <- 1:6 x[c(TRUE, FALSE)] * c(1, 10, 100) What is printed when the code is run?

A[1] 2 40 600
B[1] 2 13 105
C[1] 1 20 300
D[1] 1 30 500
🔒 Answer hidden — practise on Mcqkart to check yourself and see the explanation.

Want more like this? Create a free account to practise a full test, track your progress, and get spaced-repetition review.

Practise on Mcqkart →🎓 Book an expert →