logo
  • Home
  • Test & Rank
  • About
  • Training
  • Programming
  • CS
  • IT
  • IS
  • ECE
  • EEE
  • EE
  • Civil
  • Mechanical
  • Chemical
  • Metallurgy
  • Instrumentation
  • Aeronautical
  • Aerospace
  • Biotechnology
  • Mining
  • Marine
  • Agriculture
  • MCA
  • BCA
  • Internship
  • Jobs
  • Contact

R-Programming Multiple Choice Questions | MCQs | Quiz

R Programming Interview Questions and Answers
Pratice R Programming questions and answers for interviews, campus placements, online tests, aptitude tests, quizzes and competitive exams.

Get Started

•   R History - 1
•   R History - 2
•   R Overview - 1
•   R Overview - 2
•   R Overview - 3
•   R Basics - 1
•   R Basics - 2
•   R Basics - 3
•   R Basics - 4
•   Install & Configure
•   Console Evaluation - 1
•   Console Evaluation - 2
•   Data Types - 1
•   Data Types - 2
•   Data Types - 3
•   Data Types - 4
•   Data Types - 5
•   Data Types - 6
•   Data Types - 7
•   Reading Datasets - 1
•   Reading Datasets - 2
•   Textual Data Formats - 1
•   Textual Data Formats - 2
•   Connection Interfaces
•   Subsetting - 1
•   Subsetting - 2
•   Vectorized Operations - 1
•   Vectorized Operations - 2
•   Dplyr Basics - 1
•   Dplyr Basics - 2
•   Control Structures - 1
•   Control Structures - 2
•   Control Structures - 3
•   Functions - 1
•   Functions - 2
•   Functions - 3
•   Functions - 4
•   Functions - 5
•   Functions - 6
•   Functions - 7
•   Functions - 8
•   Dates & Times
•   Scoping Rules - 1
•   Scoping Rules - 2
•   Loop Functions - 1
•   Loop Functions - 2
•   Debugging
•   Debugging Tools
•   Simulation - 1
•   Simulation - 2
•   R Profiler - 1
•   R Profiler - 2
•   ggplot2 - 1
•   ggplot2 - 2
•   ggplot2 - 3
•   Data Wrangling - 1
•   Data Wrangling - 2
•   Exploratory Data Analysis-1
•   Exploratory Data Analysis-2
•   Commands - 1
•   Commands - 2
•   Commands - 3
•   Packages - 1
•   Packages - 2
•   Packages - 3
•   Packages - 4
•   Packages - 5
•   Visualizing Data - 1
•   Visualizing Data - 2
•   Linear Regression - 1
•   Linear Regression - 2
•   Linear Regression - 3
•   Predictive Analytics
•   Distribution - 1
•   Distribution - 2
•   R Graphics - 1
•   R Graphics - 2
•   Neural Networks

Best Reference Books

R Programming Books

R Programming Tests

Certification Test
Internship Test
Job Test
All Tests
Top Rankers
Practice Test 1
Practice Test 2
Practice Test 3
Practice Test 4
Practice Test 5
Practice Test 6
Practice Test 7
Practice Test 8
Practice Test 9
Practice Test 10
Mock Test 1
Mock Test 2
Mock Test 3
Mock Test 4
Mock Test 5
Mock Test 6
Mock Test 7
Mock Test 8
Mock Test 9
Mock Test 10
« Prev Page
Next Page »

R Programming Questions and Answers – Graphics with R – 1

Posted on July 12, 2015 by Manish

This set of R Programming Language Multiple Choice Questions & Answers (MCQs) focuses on “Graphics with R – 1”.

1. Which level plotting commands generate figures?
a) Low
b) High
c) Both high and low
d) No levels
View Answer

Answer: b
Explanation: High level plotting commands generate figures. A figure consists of a plot region surrounded by margins.
advertisement

2. The size of the margins is controlled by the argument _____
a) Mai
b) Sai
c) Lai
d) Jai
View Answer

Answer: a
Explanation: The size of the margins is controlled by the argument mai. The value of mai is a vector c(bottom, left, top, right) of length 4 whose values are the widths.

3. ______ will be called inside par() to set margins.
a) Mai
b) Smai
c) May
d) Jay
View Answer

Answer: a
Explanation: The value of mai is vector c(bottom, left, top, right) of length 4 whose values are the widths. Mai will be called inside par() to set margins.

4. Axes, axis labels and titles all appear in the ________ of the figure.
a) Directions
b) Margin labels
c) Margins
d) Widths
View Answer

Answer: c
Explanation: Axes, axis labels and titles all appear in the margins of the figure. Mai will be called inside par() to set margins.

5. Each margin is considered to have a number of ___________
a) Test
b) Text lines
c) Line segment
d) Margins
View Answer

Answer: c
Explanation: Axes, axis labels and titles all appear in the margins of the figure. Each margin is considered to have a number of text lines (not necessarily a whole number).
advertisement

6. Which line numbers are further away from the plot?
a) Lower
b) Higher
c) Medium
d) Simple
View Answer

Answer: b
Explanation: Higher line numbers are further away from the plot. Axes, axis labels and titles all appear in the margins of the figure.

7. The graphical parameter __________ defines how many lines appear in each of the four margins.
a) Par
b) Mar
c) Char
d) Ian
View Answer

Answer: b
Explanation: The graphical parameter mar defines how many lines appear in each of the four margins. So mar is an alternative way of defining margins.

8. Which is the alternative way of defining margins?
a) Mar
b) Par
c) Char
d) Nar
View Answer

Answer: a
Explanation: The graphical parameter mar defines how many lines appear in each of the four margins. So mar is an alternative way of defining margins.

9. The standard font determines the width of the text lines in the __________
a) Function
b) Package
c) Library
d) Margin
View Answer

Answer: d
Explanation: For any open graphics device there is a standard font which will be used for any characters if no other font is specified (font). The standard font determines the width of the text lines in the margins.

10. Which function draws an axis on the current plot?
a) axis()
b) par()
c) mar()
d) jar()
View Answer

Answer: a
Explanation: The axis() function draws an axis on the current plot. The side argument determines on which side it is to appear.
advertisement

Sanfoundry Global Education & Learning Series – R Programming Language.

Here’s the list of Best Reference Books in R Programming Language .

To practice all areas of R Programming Language, Here is complete set of 1000+ Multiple Choice Questions and Answers.
« Prev Page - R Programming Questions and Answers – Distribution – 2
» Next Page - R Programming Questions and Answers – Graphics with R – 2

« R Programming Questions and Answers – Distribution – 2
R Programming Questions and Answers – Graphics with R – 2 »
advertisement

Deep Dive @ Sanfoundry:

  1. C Programming Examples on Computational Geometry Problems & Algorithms
  2. C# Programming Examples on Files
  3. C++ Programming Examples on STL
  4. C# Programming Examples on Strings
  5. Programming Questions and Answers
  6. Ruby Programming Questions and Answers
  7. Computer Graphics Questions and Answers
  8. R Programming Questions and Answers
  9. C Programming Examples on File Handling
  10. C# Programming Examples on Inheritance
Manish Bhojasia
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He is Linux Kernel Developer & SAN Architect and is passionate about competency developments in these areas. He lives in Bangalore and delivers focused training sessions to IT professionals in Linux Kernel, Linux Debugging, Linux Device Drivers, Linux Networking, Linux Storage, Advanced C Programming, SAN Storage Technologies, SCSI Internals & Storage Protocols such as iSCSI & Fiber Channel. Stay connected with him @ LinkedIn | Facebook | Twitter

Best Careers

Developer Tracks
SAN Developer
Linux Kernel Developer
Linux Driver Developer
Linux Network Developer

Live Training Photos
Mentoring
Software Productivity
GDB Assignment
Sanfoundry is No. 1 choice for Deep Hands-ON Trainings in SAN, Linux & C, Kernel Programming. Our Founder has trained employees of almost all Top Companies in India such as VMware, Citrix, Oracle, Motorola, Ericsson, Aricent, HP, Intuit, Microsoft, Cisco, SAP Labs, Siemens, Symantec, Redhat, Chelsio, Cavium, ST-Micro, Samsung, LG-Soft, Wipro, TCS, HCL, IBM, Accenture, HSBC, Mphasis, Tata-Elxsi, Tata VSNL, Mindtree, Cognizant and Startups.

Best Trainings

SAN I - Technology
SAN II - Admin
Linux Fundamentals
Advanced C Training
Linux-C Debugging
System Programming
Network Programming
Linux Threads
Kernel Programming
Kernel Debugging
Linux Device Drivers

Best Reference Books

Computer Science Books
Algorithm & Programming Books
Electronics Engineering Books
Electrical Engineering Books
Chemical Engineering Books
Civil Engineering Books
Mechanical Engineering Books
Industrial Engineering Books
Instrumentation Engg Books
Metallurgical Engineering Books
All Stream Best Books

Questions and Answers

1000 C Questions & Answers
1000 C++ Questions & Answers
1000 C# Questions & Answers
1000 Java Questions & Answers
1000 Linux Questions & Answers
1000 Python Questions
1000 PHP Questions & Answers
1000 Hadoop Questions
Cloud Computing Questions
Computer Science Questions
All Stream Questions & Answers

India Internships

Computer Science Internships
Instrumentation Internships
Electronics Internships
Electrical Internships
Mechanical Internships
Industrial Internships
Systems Internships
Chemical Internships
Civil Internships
IT Internships
All Stream Internships

About Sanfoundry

About Us
Copyright
Terms
Privacy Policy
Jobs
Bangalore Training
Online Training
Developers Track
Mentoring Sessions
Contact Us
Sitemap
© 2011 Sanfoundry. All Rights Reserved.