wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Page 1

Total questions: 150

Worksheet time: 1hrs 15mins

Name
Class
Date
1.

Identify the programming language represented by the large blue letter shown on the cover image.

a)

Python programming language logo

b)

R programming language logo

c)

Ruby programming language logo

d)

Rust programming language logo

2.

Which term best describes the content indicated by the black text beneath the large letter on the cover image?

a)

Data visualization handbook

b)

R programming topic name

c)

Database administration guide

d)

Robotics engineering manual

3.

The branding on the cover includes a company name in lowercase with two-tone coloring. Which is the correct rendering?

a)

TutoriaLsPoint

b)

tutorialspoint

c)

Tutorial Point

d)

Tutorials Point

4.

What short tagline appears directly beneath the company name logo on the cover?

a)

learnfastandbetter

b)

simplyeasylearning

c)

efficientcodingpractice

d)

scienceandtechnology

5.

At the bottom of the cover, which website URL is displayed?

a)

www.tutorialspoint.org

b)

www.tutorialspoint.com

c)

www.tutorialpoint.com

d)

www.tutorialspoints.com

6.

Two social media icons appear at the bottom corners. Which platforms are represented?

a)

LinkedIn and GitHub

b)

Facebook and Twitter

c)

Instagram and YouTube

d)

Reddit and Discord

7.

A small emblem appears in the top-right corner showing a stylized book and person within a diamond. What does this most likely signify?

a)

Government approval mark

b)

Certification for open-source license

c)

Publisher or brand badge

d)

Accreditation seal of a university

8.

The metallic ring behind the large letter resembles which symbol associated with R software?

a)

An oval backdrop used in R logo

b)

A chain link symbol for packages

c)

A gear representing computation

d)

A pie chart icon for graphics

9.

Considering the visual hierarchy, which element is intended to be noticed first by readers?

a)

Large blue letter 'R'

b)

Black 'Programming' word

c)

Footer website URL line

d)

Small emblem in the corner

10.

What is the primary subject area implied by the cover design and text?

a)

Organic chemistry synthesis

b)

Mechanical engineering design

c)

Statistical computing with R

d)

Cellular biology microscopy

11.

Which best describes R in the tutorial overview?

a)

A statistical language and graphics environment

b)

A hardware framework for embedded devices

c)

A database engine for transactional queries

d)

A markup system for document typesetting

12.

Who originally created the R language?

a)

Bjarne Stroustrup and James Gosling

b)

Dennis Ritchie and Ken Thompson

c)

Guido van Rossum and Linus Torvalds

d)

Ross Ihaka and Robert Gentleman

13.

Under which license is R freely available?

a)

BSD Simplified License

b)

Apache Software License 2.0

c)

MIT Open Source License

d)

GNU General Public License

14.

Which operating systems are mentioned as having pre-compiled R binaries?

a)

Linux, Windows, and Mac

b)

ChromeOS, Haiku, and ReactOS

c)

Android, iOS, and FreeBSD

d)

Solaris, AIX, and HP-UX

15.

What is the stated origin of the name 'R'?

a)

First letter of both authors’ first names

b)

A contraction of 'Research' and 'Runtime'

c)

Reference to the Bell Labs Language S

d)

An acronym for 'Reporting and Regression'

16.

Who is the target audience for the tutorial?

a)

Graphic designers and UX researchers

b)

Chemists and laboratory technicians

c)

Programmers, statisticians, and data miners

d)

Network engineers and system admins

17.

What prerequisite is recommended before starting the tutorial?

a)

Prior experience with Hadoop clusters

b)

Knowledge of GPU shader languages

c)

Basic understanding of programming terminologies

d)

Advanced calculus and linear algebra proficiency

18.

What does the tutorial claim it provides to beginners?

a)

A cloud service for hosted R notebooks

b)

Enough understanding to progress to expertise

c)

A complete reference for every R package

d)

Certification recognized by universities

19.

Which statement reflects the copyright policy of the e-book?

a)

Redistribution is allowed for educational institutions

b)

Users cannot reuse or republish content without consent

c)

All materials are public domain and freely reusable

d)

Content may be repurposed with attribution only

20.

What caution does the publisher include regarding the content?

a)

It is legally binding technical documentation

b)

It is peer-reviewed and error-free

c)

It may contain inaccuracies or errors

d)

It is updated hourly to ensure accuracy

21.

Which section appears first in the document after the title page?

a)

About the Tutorial section heading

b)

R – Overview chapter heading

c)

Audience description subsection

d)

Table of Contents section heading

22.

What is the chapter number assigned to 'R – ENVIRONMENT SETUP'?

a)

Chapter 2 in the list

b)

Chapter 4 in the list

c)

Chapter 1 in the list

d)

Chapter 3 in the list

23.

Which item is listed under 'R – OVERVIEW'?

a)

Vectors subsection entry

b)

Variable Assignment entry

c)

R Command Prompt entry

d)

Evolution of R entry

24.

Which subsection belongs to 'R – BASIC SYNTAX'?

a)

Factors subsection item

b)

Arrays subsection item

c)

Comments subsection item

d)

Lists subsection item

25.

Which chapter lists 'Data Frames' as a subsection?

a)

R – BASIC SYNTAX chapter heading

b)

R – DATA TYPES chapter heading

c)

R – VARIABLES chapter heading

d)

R – ENVIRONMENT SETUP chapter heading

26.

Which two subsections are shown under 'R – ENVIRONMENT SETUP'?

a)

Factors and Data Frames entries

b)

Try it Option Online and Local Environment Setup

c)

Matrices and Arrays entries

d)

R Script File and Comments entries

27.

Which content item immediately follows 'Matrices' in the 'R – DATA TYPES' chapter list?

a)

Data Frames subsection title

b)

Lists subsection title

c)

Variable Assignment subsection title

d)

Arrays subsection title

28.

Which chapter includes 'Variable Assignment' as a subsection?

a)

R – VARIABLES chapter section

b)

R – DATA TYPES chapter section

c)

R – BASIC SYNTAX chapter section

d)

R – OVERVIEW chapter section

29.

Which branding mark appears at the bottom of the page?

a)

tutorialspoint logo and tagline

b)

R Foundation circular seal

c)

CRAN mirror page watermark

d)

GNU Project official emblem

30.

Which chapter number corresponds to 'R – BASIC SYNTAX'?

a)

Numbered as chapter 1

b)

Numbered as chapter 5

c)

Numbered as chapter 2

d)

Numbered as chapter 3

31.

Which section would most likely explain how to use arithmetic symbols like + and - in R?

a)

R – DECISION MAKING overview

b)

R – FUNCTION components

c)

R – OPERATORS section

d)

Miscellaneous Operators appendix

32.

Where would you find guidance on writing conditional branches such as if-else in R?

a)

R – DECISION MAKING chapter

b)

Function Definition topic

c)

Logical Operators topic

d)

R – LOOPS chapter

33.

Which topic is most relevant for comparing values using <, >, or == in R?

a)

Relational Operators topic

b)

Assignment Operators topic

c)

Built-in Function topic

d)

Loop Control Statements topic

34.

Which loop type in R repeats until a condition becomes false?

a)

Repeat loop construct

b)

For loop construct

c)

Switch statement construct

d)

While loop construct

35.

Which chapter would cover statements that immediately exit a loop execution?

a)

Assignment Operators topic

b)

R – Break Statement topic

c)

R – Next Statement topic

d)

R – Switch Statement topic

36.

Which topic would explain assigning values with symbols like <- in R?

a)

Logical Operators topic

b)

Arithmetic Operators topic

c)

Assignment Operators topic

d)

Miscellaneous Operators topic

37.

Which section likely introduces true/false operations such as AND or OR in R?

a)

R – For Loop topic

b)

Function Components topic

c)

Relational Operators topic

d)

Logical Operators topic

38.

Which chapter would you consult to learn about built-in routines callable with parentheses in R?

a)

R – DECISION MAKING chapter

b)

R – FUNCTION chapter

c)

R – OPERATORS chapter

d)

R – LOOPS chapter

39.

Which topic would best help iterate over elements of a vector index by index in R?

a)

R – For Loop topic

b)

R – While Loop topic

c)

R – Repeat Loop topic

d)

R – Switch Statement topic

40.

Which decision-making construct selects behavior based on matching cases of a single value?

a)

If-else chain construct

b)

Switch statement construct

c)

Next statement construct

d)

Break statement construct

41.

Which R topic focuses on writing and invoking custom operations created by the user?

a)

R — Strings and Manipulation

b)

R — User-defined Functions

c)

R — Vectors and Accessing Elements

d)

R — Arrays Calculations

42.

In R, which section would most likely cover rules for constructing character sequences?

a)

R — Arrays: Naming Columns

b)

R — Strings: Construction Rules

c)

R — Matrices: Computations

d)

R — Lists: Merging Elements

43.

Which topic includes techniques for accessing individual components within a one-dimensional data structure?

a)

Matrix Computations in R

b)

Converting List to Vector in R

c)

Accessing Vector Elements in R

d)

Lazy Evaluation of Function in R

44.

Which R topic emphasizes combining separate list objects into one?

a)

Accessing Array Elements in R

b)

Merging Lists in R

c)

Calling a Function in R

d)

Vector Manipulation in R

45.

Where would you study computations performed on a two-dimensional numeric structure in R?

a)

Vector Creation in R

b)

String Manipulation in R

c)

Matrix Computations in R

d)

Calculations Across Array Elements

46.

Which topic most directly addresses labeling dimensions of multi-dimensional data structures?

a)

Naming Columns and Rows in Arrays

b)

Rules Applied in String Construction

c)

Accessing Elements of a Matrix

d)

Creating a List in R

47.

Which heading signifies deferred evaluation behavior in R?

a)

Matrix Elements Access

b)

Vector Manipulation Techniques

c)

Accessing Array Elements

d)

Lazy Evaluation of Function

48.

Which R topic deals with transforming a heterogeneous container into a homogeneous sequence?

a)

String Manipulation Tools

b)

Converting List to Vector

c)

Accessing Matrix Elements

d)

Vector Creation Basics

49.

Which section would you consult to learn how to pick specific entries by row and column indices?

a)

Manipulating List Elements

b)

Accessing Vector Elements

c)

Lazy Evaluation of Function

d)

Accessing Elements of a Matrix

50.

Which topic best covers applying arithmetic across every position in a multi-dimensional structure?

a)

String Manipulation Guidelines

b)

Calculations Across Array Elements

c)

Vector Creation Procedures

d)

Calling a Function Mechanics

51.

Which R topic focuses on handling categorical variables represented as levels?

a)

R – Packages management

b)

R – Data frames basics

c)

R – Factors overview

d)

R – CSV files handling

52.

Changing the order of levels is most directly associated with which section?

a)

R – Excel file input

b)

R – Packages installation

c)

R – Data reshaping

d)

R – Factors section

53.

Extracting and expanding tabular datasets would be covered under which topic?

a)

R – Data frames

b)

R – CSV files

c)

R – Excel file

d)

R – Factors

54.

Joining columns and rows in a table is part of which broader R concept?

a)

CSV analysis procedures

b)

Package verification tasks

c)

Factor level generation

d)

Data reshaping operations

55.

Melting and casting are techniques primarily used for which purpose?

a)

Analyze CSV headers

b)

Install external packages

c)

Transform data structure

d)

Order factor levels

56.

Getting and setting the working directory belongs to which file-related topic?

a)

R – Packages configuration

b)

R – Excel file reading

c)

R – CSV files workflows

d)

R – Data frames editing

57.

Which section likely covers reading and writing tabular comma-separated data?

a)

R – Packages

b)

R – Factors in frames

c)

R – Data reshaping

d)

R – CSV files module

58.

Installing and verifying the xlsx package are steps in which topic?

a)

R – Excel file processing

b)

R – Factors management

c)

R – CSV file operations

d)

R – Data frames tasks

59.

Input as xlsx file and reading the Excel file are procedures for handling what format?

a)

Binary model format

b)

Plain text data format

c)

Spreadsheet data format

d)

Image raster format

60.

Merging data frames is part of which workflow described?

a)

Data reshaping processes

b)

Factor level generation

c)

Package installation steps

d)

CSV writing methods

61.

Which R topic focuses on writing raw byte sequences to disk?

a)

R web data retrieval

b)

R JSON data handling

c)

R XML parsing utilities

d)

R binary files operations

62.

What task is associated with reading hierarchical node-based documents in R?

a)

Rendering pie chart colors

b)

Connecting to MySQL databases

c)

Writing binary streams to files

d)

Processing XML file structures

63.

In R, which section lists installing a package before reading structured text data?

a)

R JSON file workflow

b)

R web data scraping

c)

R pie charts styling

d)

R databases introduction

64.

Converting a tree-like format into a tabular data frame in R most closely refers to:

a)

Pie chart to histogram method

b)

Binary file to vector process

c)

XML to data frame procedure

d)

Web data to HTML table view

65.

Which listed capability involves querying and updating rows using R?

a)

Parsing the first XML node

b)

Reading a JSON document

c)

Interacting with MySQL tables

d)

Styling pie chart titles

66.

To filter results when retrieving records through R, which subsection applies?

a)

Query with filter clause

b)

Read the JSON file

c)

Details of the first node

d)

Pie chart title and colors

67.

Which action precedes converting JSON into a data frame according to the sequence?

a)

Install rjson package first

b)

Connect to MySQL server

c)

Write the binary file

d)

Read web data endpoints

68.

Dropping tables in MySQL via R belongs to which broader topic?

a)

R databases management

b)

R web data handling

c)

R pie charts creation

d)

R binary files usage

69.

Selecting color schemes for a circular chart in R is covered under:

a)

Pie chart title and colors

b)

XML to data frame steps

c)

Writing the binary file

d)

Querying the tables section

70.

Reading data from hierarchical markup versus key–value text in R distinguishes which pair of sections?

a)

R web data vs R XML files

b)

R binary files vs R pie charts

c)

R databases vs R web data

d)

R XML files vs R JSON file

71.

Which R function is typically used to fit a simple linear regression model to data?

a)

nls() for maximum likelihood variance models

b)

lm() for fitting ordinary least squares models

c)

glm() for generalized additive spline models

d)

prcomp() for principal component projection models

72.

In an R bar chart, which element controls the text displayed beneath each bar?

a)

bar border color aesthetic value

b)

legend group descriptor entries

c)

plot main title annotation string

d)

x-axis category label text strings

73.

Which plot is best suited in R to display the distribution of a continuous variable using bins?

a)

Boxplot using boxplot() default

b)

Histogram using hist() with breaks

c)

Scatterplot using points() alone

d)

Line chart using plot() with type

74.

What primary purpose does a boxplot serve when visualizing data?

a)

Show pairwise linear correlation strengths

b)

Summarize spread with quartiles and median

c)

Depict cumulative frequency over bins

d)

Map categorical counts across groups

75.

When constructing a scatterplot matrix in R, what does each cell represent?

a)

Single-variable histogram density

b)

Box-and-whisker summary by group

c)

Bivariate scatter of two variables

d)

Time-series line of one variable

76.

Which statistic is most resistant to extreme outliers in a dataset?

a)

Median as the central robust measure

b)

Mean as the arithmetic average value

c)

Variance as dispersion around mean

d)

Mode as the most frequent category

77.

In R, when preparing a line chart with multiple series, what is a common approach?

a)

Use barplot() to stack continuous lines

b)

Use lines() to add additional series

c)

Use hist() to convert lines to bins

d)

Use boxplot() to overlay series summaries

78.

What does adding a notch to a boxplot primarily help indicate?

a)

Confidence interval around the median

b)

Presence of autocorrelation patterns

c)

Skewness coefficient of distribution

d)

Exact interquartile range boundaries

79.

Which argument most directly sets the main title in base R plots?

a)

lty for the line type pattern

b)

cex for the character expansion

c)

pch for the plotting symbol code

d)

main for the plot title string

80.

What is a typical first step to establish a linear regression workflow in R?

a)

Perform principal component rotation first

b)

Inspect scatterplots of predictors versus outcome

c)

Set bin breaks for a frequency histogram

d)

Immediately compute residual autocorrelation

81.

Which R function returns the cumulative distribution for the normal distribution?

a)

rnorm() gives cumulative probability

b)

qnorm() gives cumulative probability

c)

pnorm() gives cumulative probability

d)

dnorm() gives cumulative probability

82.

In R, which function generates random values from a normal distribution?

a)

rnorm() generates random values

b)

qnorm() generates random values

c)

pnorm() generates random values

d)

dnorm() generates random values

83.

Which R function returns quantiles for the normal distribution?

a)

dnorm() returns quantiles

b)

qnorm() returns quantiles

c)

pnorm() returns quantiles

d)

rnorm() returns quantiles

84.

For binomial distribution tasks in R, which function computes the probability mass at k successes?

a)

rbinom() computes mass at k successes

b)

qbinom() computes mass at k successes

c)

pbinom() computes mass at k successes

d)

dbinom() computes mass at k successes

85.

Which R function returns the cumulative distribution for the binomial distribution?

a)

qbinom() returns cumulative distribution

b)

pbinom() returns cumulative distribution

c)

dbinom() returns cumulative distribution

d)

rbinom() returns cumulative distribution

86.

Which modeling technique is most appropriate for a binary outcome?

a)

Logistic regression for binary outcome

b)

Time series analysis for binary outcome

c)

Multiple regression for binary outcome

d)

Poisson regression for binary outcome

87.

Which R analysis is suited to model counts with a log link?

a)

Multiple regression models counts

b)

ANCOVA models counts

c)

Logistic regression models counts

d)

Poisson regression models counts

88.

Which topic focuses on comparing continuous outcomes across groups while adjusting covariates?

a)

Decision trees across groups

b)

Nonlinear least squares across groups

c)

Analysis of covariance across groups

d)

Time series analysis across groups

89.

Which R topic would you use to fit a parametric curve to data by minimizing squared error?

a)

Multiple regression minimizes squared error

b)

Nonlinear least squares minimizes squared error

c)

Poisson regression minimizes squared error

d)

Decision trees minimize squared error

90.

Which R method is explicitly designed for sequential data with different time intervals or multiple series?

a)

Logistic regression handles sequential data

b)

Time series analysis handles sequential data

c)

Decision trees handle sequential data

d)

ANCOVA handles sequential data

91.

Which R topic typically involves building ensembles of decision trees for classification or regression?

a)

R linear regression assumptions

b)

R chi-square test procedures

c)

R survival analysis fundamentals

d)

R random forest methods overview

92.

What statistical test in R assesses association between categorical variables in contingency tables?

a)

Chi-square test for independence

b)

Survival analysis with Kaplan–Meier

c)

Random forest variable importance

d)

ANOVA for mean differences

93.

Which analysis in R focuses on time-to-event outcomes and censoring?

a)

Survival analysis techniques

b)

Chi-square test workflow

c)

Random forest modeling

d)

Principal component analysis

94.

When preparing to use a new algorithm in R, what is the first practical step noted in the index?

a)

Set a random seed

b)

Tune hyperparameters

c)

Import training datasets

d)

Install an R package

95.

Random forests in R are best described as which type of model?

a)

Nonparametric contingency test

b)

Time-to-event estimator

c)

Single parametric regression

d)

Bagged decision tree ensemble

96.

In survival analysis, which curve estimates the probability of surviving past time t?

a)

Cox-Pearson chi-square curve

b)

Random forest ROC curve

c)

Poisson rate function curve

d)

Kaplan–Meier estimator curve

97.

For a 2x2 contingency table of counts, which R function family commonly performs the chi-square test?

a)

glm function

b)

randomForest function

c)

survfit function

d)

chisq.test function

98.

Which R function name is commonly associated with fitting random forest models?

a)

chisq.test

b)

survfit

c)

randomForest

d)

lm

99.

Censoring in survival data refers to what situation?

a)

Model overfits training data

b)

Counts violate independence

c)

Predictor missing at random

d)

Event time not fully observed

100.

Which assumption is central to the standard chi-square test of independence?

a)

Expected cell counts sufficiently large

b)

Proportional hazards hold

c)

Trees grown to maximum depth

d)

Predictors uncorrelated

101.

Which statement best describes R in the context of data work?

a)

A low-level firmware debugging toolkit

b)

A statistical analysis and graphics environment

c)

A web-only language for front-end design

d)

A proprietary suite for office productivity

102.

Who initially wrote the R language at the University of Auckland?

a)

James Gosling and Anders Hejlsberg

b)

Ross Ihaka and Robert Gentleman

c)

Guido van Rossum and Bjarne Stroustrup

d)

Ken Thompson and Dennis Ritchie

103.

What type of language is the core of R?

a)

An interpreted language supporting functions and loops

b)

A compiled language without function support

c)

A markup language focused on document styling

d)

A bytecode-only language for embedded devices

104.

Which integration is explicitly supported by R for efficiency?

a)

Direct control of GPU shaders only

b)

Exclusive integration with Java applets

c)

Procedures written in C, C++, .Net, Python or FORTRAN

d)

Automatic translation to HTML and CSS

105.

Under which license is R freely available?

a)

MIT Non-redistributable License

b)

GNU General Public License

c)

Proprietary Educational License

d)

Apache Commercial License

106.

What is GNU S in relation to R?

a)

A GNU-style copy-left distribution of R

b)

A separate proprietary replacement for R

c)

A web service for hosting datasets

d)

A hardware specification for servers

107.

Which statement about the evolution of R is accurate?

a)

Bug reports are handled only by private vendors

b)

A core group since mid-1997 can modify the source

c)

The language appeared first after 2005 globally

d)

No external contributions have ever been accepted

108.

Which feature highlights R’s data handling capability?

a)

Exclusive real-time operating system scheduling

b)

Built-in email server and SMTP relay

c)

Effective data handling and storage facility

d)

Native 3D game engine with physics modules

109.

Which structures does R provide operators for calculation on?

a)

Streams, sockets, pipes and semaphores

b)

Arrays, lists, vectors and matrices

c)

Trees, heaps, stacks and queues

d)

Sprites, meshes, shaders and textures

110.

Which graphical capability is noted among R’s features?

a)

Only text-based output without figures

b)

Graphics restricted to print-only formats

c)

Mandatory use of external plotting libraries

d)

Graphical facilities for data analysis and display

111.

Which claim best summarizes R’s status in statistics programming as shown?

a)

A proprietary platform limited to one company

b)

Primarily a legacy system with declining use

c)

The world’s most widely used statistics language

d)

A niche tool for small hobby projects

112.

What reason is given for R being the #1 choice among data scientists?

a)

Its exclusive focus on web design features

b)

A vibrant and talented contributor community

c)

Its expensive enterprise licensing model

d)

Mandatory government regulation requiring R

113.

Where is R commonly taught according to the text?

a)

Universities offering formal courses

b)

Private corporate bootcamps only

c)

High schools with mandatory coding

d)

Military academies exclusively

114.

In which domain is R deployed as described?

a)

Mission‑critical business applications

b)

Primarily graphic design studios

c)

Casual gaming on mobile devices

d)

Only personal finance spreadsheets

115.

What does the tutorial promise to teach readers?

a)

Exclusive proprietary database systems

b)

Only theoretical math without coding

c)

R programming with suitable examples

d)

Advanced kernel development techniques

116.

How does the tutorial describe its instructional approach?

a)

Complex and highly technical steps

b)

Simple and easy steps with examples

c)

Unstructured notes without guidance

d)

Purely self‑assessment quizzes only

117.

Which factor most likely contributes to R’s widespread adoption, based on the text?

a)

Strong community support fostering growth

b)

Scarcity of package support limiting choices

c)

Prohibition of open‑source collaboration

d)

Dependence on single‑vendor maintenance

118.

Which statement aligns with R’s role in education and industry?

a)

Banned in enterprises due to licensing

b)

Restricted to art schools with minor applications

c)

Taught academically and used in critical business

d)

Ignored by universities, used only in hobby groups

119.

Which misconception would the text directly correct?

a)

R cannot be learned through tutorials

b)

R lacks any community of contributors

c)

R is the world’s most widely used statistics language

d)

R is rarely used for statistics programming

120.

Given the tutorial’s promise, what should a learner expect first?

a)

Training only in non‑programming theory

b)

Exclusive access to paid enterprise tools

c)

Immediate deployment to production systems

d)

A sequence of simple steps with examples

121.

In the shown code snippet, what does print("Hello World") accomplish when executed in an R console?

a)

Compiles the string into bytecode

b)

Opens a graphical message dialog

c)

Saves the string into a text file

d)

Displays the string to the output console

122.

According to the installation notes, what happens if you run the Windows installer on a 64-bit system?

a)

It fails unless forced to 64-bit

b)

It installs only the 32-bit version

c)

It installs only the 64-bit version

d)

It installs both 32-bit and 64-bit versions

123.

Which file path launches the R-GUI after installation on Windows, as described?

a)

R\R-3.2.2\bin\i386\Rgui.exe

b)

R\bin\x64\Rconsole.exe

c)

R\Program Files\Rgui\run.exe

d)

C:\Windows\System32\Rgui.exe

124.

What is the primary purpose of the Try it option mentioned at the top right corner of the website?

a)

Provide cloud storage for datasets

b)

Benchmark R scripts for performance

c)

Download source code for offline use

d)

Execute examples online while learning

125.

When executing print(23.9 + 11.6), which outcome is expected in R?

a)

It triggers a syntax error

b)

It returns a logical TRUE

c)

It concatenates numbers as text

d)

It outputs the numeric sum

126.

Why might a beginner prefer using the online environment before local setup?

a)

It removes setup complexity and allows practice

b)

It disables modification of examples

c)

It enforces strict memory limits for safety

d)

It hides code to prevent copying

127.

What file type is the Windows installer described for R?

a)

A .bat script launcher

b)

A .zip compressed archive

c)

A .msi Windows module

d)

An .exe installer package

128.

If your Windows system is 32-bit, what does the installer do by default?

a)

Installs both architectures

b)

Installs the 32-bit version only

c)

Installs the 64-bit version only

d)

Cancels the installation process

129.

After installation, what interface does clicking Rgui.exe bring up?

a)

A Java-based IDE

b)

A database management tool

c)

A terminal for Python

d)

The R-GUI for programming

130.

What confidence-building benefit is emphasized for using the Try it option with examples?

a)

Preventing runtime errors entirely

b)

Guaranteeing faster execution speeds

c)

Receiving graded feedback automatically

d)

Seeing immediate results while reading

131.

Which command installs the core functionality of R on a Red Hat–based Linux system?

a)

pacman -S r

b)

dnf add r-core

c)

apt-get install r-base

d)

yum install R

132.

After launching R from the terminal, which command quits the R session?

a)

close()

b)

q()

c)

exit()

d)

quit()

133.

Which statement correctly describes R’s licensing according to the startup message?

a)

R is commercial software with paid support terms

b)

R is open source with mandatory warranty provisions

c)

R is free software with ABSOLUTELY NO WARRANTY

d)

R is proprietary software with limited redistribution

134.

What platform architecture is reported in the sample R startup output?

a)

i386-redhat-linux-gnu (32-bit)

b)

x86_64-redhat-linux-gnu (64-bit)

c)

ppc64le-centos-linux-gnu (64-bit)

d)

arm64-ubuntu-linux-gnu (64-bit)

135.

Which command at the R prompt installs an additional package needed for 3D charts?

a)

require("plotrix")

b)

install("plotrix")

c)

library("plotrix")

d)

install.packages("plotrix")

136.

Which R prompt command provides online help demos?

a)

help.start()

b)

help()

c)

demo()

d)

contributors()

137.

Which command opens the HTML browser interface to help documentation?

a)

browseVignettes()

b)

help.start()

c)

help()

d)

citation()

138.

Which command shows information on how to cite R or its packages?

a)

license()

b)

version()

c)

contributors()

d)

citation()

139.

If you need details about distribution terms for R, which command should you type at the prompt?

a)

legal() or terms()

b)

license() or licence()

c)

copyright() or usage()

d)

policy() or warranty()

140.

When short on time across Linux flavors, which approach is suggested to quickly get R running?

a)

Compile R from source for all systems

b)

Install packages via CRAN mirrors

c)

Follow each distribution’s full manual

d)

Use yum command to install R

141.

Which command starts the R interpreter at a command prompt on a Unix-like system?

a)

Rscript program.R

b)

$ R on terminal

c)

start R application

d)

run R console now

142.

In R, which operator is used to assign a value to a variable in the example creating myString?

a)

<<- global assign

b)

:= assignment token

c)

<- assignment arrow

d)

= assignment operator

143.

What output is produced after executing print(myString) when myString <- "Hello, World!"?

a)

Hello, World! without quotes

b)

[1] "Hello, World!" line

c)

"Hello, World!" twice printed

d)

[1] Hello, World! unquoted

144.

Which statement correctly describes the role of print() in the example program?

a)

It declares a string variable

b)

It evaluates and returns invisibly

c)

It displays the stored string

d)

It assigns text to myString

145.

When writing an R script file, which interpreter command executes the file test.R from the shell?

a)

$ source test.R

b)

$ Rscript test.R

c)

$ R CMD BATCH test.R

d)

$ runR test.R

146.

What is the primary difference between using the R command prompt and an R script file in the example?

a)

Prompt performs compiled execution

b)

Script enables saved, repeatable runs

c)

Prompt requires external packages only

d)

Script cannot print to console

147.

Which line in the script example is a comment and ignored by the interpreter?

a)

myString <- "Hello, World!"

b)

print ( myString )

c)

# My first program in R Programming

d)

Rscript test.R command line

148.

Which prompt symbol indicates the R interpreter is ready to accept commands after launching?

a)

# comment prompt symbol

b)

: assignment prompt symbol

c)

> R interpreter prompt

d)

$ system prompt symbol

149.

If myString is assigned a different text, which change is needed so the program prints the new text?

a)

No modification is necessary

b)

Edit both assignment and print

c)

Change myString assignment

d)

Modify only print() call

150.

On Windows or other systems, how does the Rscript execution command differ according to the example?

a)

Needs PowerShell wrapper script

b)

Requires .exe extension added

c)

Same syntax across systems

d)

Uses CMD BATCH instead