PSTAT 10 USCB 2025/2026 Exam
Questions and Detailed Answers | Get it
100% Correct Answers
> print("PSTAT 10") - 🧠 ANSWER ✔✔[1] "PSTAT 10"
>7+5*SQRT(9)-2 - 🧠 ANSWER ✔✔20
example of character vector - 🧠 ANSWER ✔✔y<- c("one","two","three")
command that extracts the 4th element of x - 🧠 ANSWER ✔✔x[4]
barplot(H, xlab, ylab, main, names.arg, col, border)
Then names. arg is.... - 🧠 ANSWER ✔✔a vector of the names that will
appear under each bar
summary(x) - 🧠 ANSWER ✔✔prints the result of min, 1st Qu.,Median,
Mean, 3rd Qu., Max.
given the vector x<-3:7, the length of x is: - 🧠 ANSWER ✔✔5
rbind(x,y) - 🧠 ANSWER ✔✔[,1] [,2] [,3]
COPYRIGHT©NINJANERD 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY
STATEMENT. ALL RIGHTS RESERVED
1
, x123
y 10 11 12
which of the following is NOT a predefined constant in R? - 🧠 ANSWER
✔✔MONTH.NAME
a tibble: - 🧠 ANSWER ✔✔displays the first 10 rows and all the columns that
fit on the screen
df1<- data.frame(x=c(1,2,3), y=c(5,NA,8))
na.omit(df1) - 🧠 ANSWER ✔✔x y
115
338
a fair coin is tossed ten times. The probability of obtaining 4 or fewer heads
can be found by submitting which of the following lines of code? - 🧠
ANSWER ✔✔pbinom(4, size=10, prob=1/2)
which of the following is a binomial random variable? - 🧠 ANSWER ✔✔the
number of women taller than 68 inches in a random sample of 5 women
COPYRIGHT©NINJANERD 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY
STATEMENT. ALL RIGHTS RESERVED
2
Questions and Detailed Answers | Get it
100% Correct Answers
> print("PSTAT 10") - 🧠 ANSWER ✔✔[1] "PSTAT 10"
>7+5*SQRT(9)-2 - 🧠 ANSWER ✔✔20
example of character vector - 🧠 ANSWER ✔✔y<- c("one","two","three")
command that extracts the 4th element of x - 🧠 ANSWER ✔✔x[4]
barplot(H, xlab, ylab, main, names.arg, col, border)
Then names. arg is.... - 🧠 ANSWER ✔✔a vector of the names that will
appear under each bar
summary(x) - 🧠 ANSWER ✔✔prints the result of min, 1st Qu.,Median,
Mean, 3rd Qu., Max.
given the vector x<-3:7, the length of x is: - 🧠 ANSWER ✔✔5
rbind(x,y) - 🧠 ANSWER ✔✔[,1] [,2] [,3]
COPYRIGHT©NINJANERD 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY
STATEMENT. ALL RIGHTS RESERVED
1
, x123
y 10 11 12
which of the following is NOT a predefined constant in R? - 🧠 ANSWER
✔✔MONTH.NAME
a tibble: - 🧠 ANSWER ✔✔displays the first 10 rows and all the columns that
fit on the screen
df1<- data.frame(x=c(1,2,3), y=c(5,NA,8))
na.omit(df1) - 🧠 ANSWER ✔✔x y
115
338
a fair coin is tossed ten times. The probability of obtaining 4 or fewer heads
can be found by submitting which of the following lines of code? - 🧠
ANSWER ✔✔pbinom(4, size=10, prob=1/2)
which of the following is a binomial random variable? - 🧠 ANSWER ✔✔the
number of women taller than 68 inches in a random sample of 5 women
COPYRIGHT©NINJANERD 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY
STATEMENT. ALL RIGHTS RESERVED
2