R Programming Online Assessment Questions & Answers
40 questions for the online assessment stage — 18 easy, 21 medium, 1 hard.
About the online assessment round
Most companies start with an online test: aptitude and reasoning, a few MCQs on core R Programming concepts, and one or two short hands-on tasks. It filters a large number of applicants, so speed and accuracy both count.
Tips for the online assessment round
- Practise under a timer: about one minute per MCQ and 15-20 minutes per hands-on task.
- Read every option before answering; tests often include two nearly correct choices.
- Use a stable internet connection, keep your camera on and avoid switching tabs in proctored tests.
- Attempt the questions you are sure about first, then return to the harder ones.
How do you customise scales, labels and themes in ggplot2?
Show answer
How do you generate the same report for each of 20 regions automatically?
Show answer
How do you add logging to a production R script?
Show answer
Why does correlation not imply causation?
Show answer
Explain the apply family of functions in R.
Show answer
What is vectorization in R and why does it matter?
Show answer
What is the structure of an R package?
Show answer
Explain reactivity in Shiny.
Show answer
What is the difference between base R graphics and ggplot2?
Show answer
Your function fails with 'the condition has length > 1' when given a vector. What is wrong?
Show answer
What is Rcpp and when would you use it?
Show answer
How do you handle missing values in calculations in R?
Show answer
Which chart types would you use for comparing categories, trends and distributions?
Show answer
How do you find out why your R code is slow?
Show answer
How do you perform a t-test in R?
Show answer
What tools does R offer for time series forecasting?
Show answer
What are the assumptions of linear regression?
Show answer
What is the difference between a vector and a list in R?
Show answer
Your team wants to share a Shiny app with 200 internal users. What deployment options exist?
Show answer
How do you create a column with multiple conditions in dplyr?
Show answer
Finance says 120 transactions are missing from your report compared with their system. How do you find them?
Show answer
What are the main dplyr verbs?
Show answer
What is an array in R?
Show answer
Write a recursive function in R to calculate factorial and Fibonacci numbers.
Show answer
How would you compare R and Python for a data role?
Show answer
How do you connect R to a SQL database and run queries?
Show answer
What is the difference between Quarto and R Markdown?
Show answer
Your data is heavily skewed and the sample is small. Can you still use a t-test?
Show answer
Your function gives correct results when you test it but wrong results in the main script. What could be the cause?
Show answer
What makes a chart misleading?
Show answer
What is the difference between mutate() and summarise()?
Show answer
What is the tidyverse?
Show answer
How do you interpret the summary output of an lm() model?
Show answer
How do you create sequences and repeated values in R?
Show answer
Show different ways to index vectors and data frames in R.
Show answer
How do you create interactive charts in R?
Show answer
How do you save a ggplot chart for a report or presentation?
Show answer
How do you write a function in R with default arguments?
Show answer
How do you build a logistic regression model for churn in R?
Show answer
Frequently asked questions
What happens in the R Programming online assessment round?
Most companies start with an online test: aptitude and reasoning, a few MCQs on core R Programming concepts, and one or two short hands-on tasks. It filters a large number of applicants, so speed and accuracy both count.
How do I clear the online assessment round?
Practise under a timer: about one minute per MCQ and 15-20 minutes per hands-on task. Read every option before answering; tests often include two nearly correct choices. Use a stable internet connection, keep your camera on and avoid switching tabs in proctored tests.
Which round comes next?
A typical order is online assessment, telephonic screening, one or two technical rounds, a managerial round and HR. Use the other round pages to practise each stage.