SlideShare une entreprise Scribd logo
1  sur  2
University Name
Practical Examination 2018
R-programming language
SET:
Degree Program: Mathematics
Course Title: R
Date of Examination:
Student’s name:
Course Code:
Semester:
Time duration: 2 hr.
Total Marks: 30
Roll No:
Note: All questions are compulsory.
Q.1) Point out the correct statement in each part : 04 marks
1. a) The value NaN represents undefined value.
b) Number Inf represents infinity in R.
c) NaN can also be thought of as a missing value.
d) All of the above.
2. a) x <- c(1 + 0i, 2 + 4i)
b) x <- c(TRUE, FALSE)
c) x <- c(T, F)
d) None of the above.
3. a) read.table(filename,header=TRUE,sep=‘,’)
b) read.csv(filename,header=TRUE,sep=‘,’)
c) read.table(filename,header=TRUE,sep=‘,’)
d) None of the above.
4. a) read.table(filename,header=TRUE)
b) read.csv(filename,header=TRUE)
c) read.table(filename,header=TRUE)
d) None of the above.
Q.2) Discuss the following by using Rstudio : 05 marks
a) Scatterplot.
b) Boxplot.
Luckshay Batra luckybatra17@gmail.com Page 2 of 2
Q.3) 15 marks
a) make arithmetic progressive vector.
b) Create a vector with some of your friend’s names.
c) Get the length of above vector.
d) Get the first three friends from above vector.
e) Sort your friends by names.
f) list the variables in the workspace.
g) to clear console window in R.
h) Calculate square root of 729.
i) Create a new variable ’b’ with value 1947.0.
j) Convert ‘b’ from previous exercise to character.
k) for comment in R.
l) is a tool for checking normality.
m) is used to view dataset in a spreadsheet-type format.
n) Create a vector numbers from 1 to 6 and find out its class.
o) Create a vector containing following mixed elements {1, ‘a’, 2, ‘b’} and find out its class.
Q.4) Create the following data frames in R. 06 marks
a.
b.
Student’s name: End of exam

Contenu connexe

Tendances

Compiler Design
Compiler DesignCompiler Design
Compiler Design
Mir Majid
 
Asymptotic notations
Asymptotic notationsAsymptotic notations
Asymptotic notations
Ehtisham Ali
 
Dynamic Programming
Dynamic ProgrammingDynamic Programming
Dynamic Programming
Bharat Bhushan
 

Tendances (20)

Performance analysis(Time & Space Complexity)
Performance analysis(Time & Space Complexity)Performance analysis(Time & Space Complexity)
Performance analysis(Time & Space Complexity)
 
DBMS Canonical cover
DBMS Canonical coverDBMS Canonical cover
DBMS Canonical cover
 
Compiler Design
Compiler DesignCompiler Design
Compiler Design
 
COMPILER DESIGN- Syntax Directed Translation
COMPILER DESIGN- Syntax Directed TranslationCOMPILER DESIGN- Syntax Directed Translation
COMPILER DESIGN- Syntax Directed Translation
 
Machine Learning-Linear regression
Machine Learning-Linear regressionMachine Learning-Linear regression
Machine Learning-Linear regression
 
The dag representation of basic blocks
The dag representation of basic blocksThe dag representation of basic blocks
The dag representation of basic blocks
 
15 puzzle problem using branch and bound
15 puzzle problem using branch and bound15 puzzle problem using branch and bound
15 puzzle problem using branch and bound
 
K-Means manual work
K-Means manual workK-Means manual work
K-Means manual work
 
Bruteforce algorithm
Bruteforce algorithmBruteforce algorithm
Bruteforce algorithm
 
Intermediate code generation in Compiler Design
Intermediate code generation in Compiler DesignIntermediate code generation in Compiler Design
Intermediate code generation in Compiler Design
 
Chapter 5 Syntax Directed Translation
Chapter 5   Syntax Directed TranslationChapter 5   Syntax Directed Translation
Chapter 5 Syntax Directed Translation
 
Error Detection & Recovery
Error Detection & RecoveryError Detection & Recovery
Error Detection & Recovery
 
Recognition-of-tokens
Recognition-of-tokensRecognition-of-tokens
Recognition-of-tokens
 
Interpolation and-its-application
Interpolation and-its-applicationInterpolation and-its-application
Interpolation and-its-application
 
Floyd Warshall Algorithm
Floyd Warshall AlgorithmFloyd Warshall Algorithm
Floyd Warshall Algorithm
 
Asymptotic notations
Asymptotic notationsAsymptotic notations
Asymptotic notations
 
Unit 1 - R Programming (Part 2).pptx
Unit 1 - R Programming (Part 2).pptxUnit 1 - R Programming (Part 2).pptx
Unit 1 - R Programming (Part 2).pptx
 
Syntax directed translation
Syntax directed translationSyntax directed translation
Syntax directed translation
 
02 order of growth
02 order of growth02 order of growth
02 order of growth
 
Dynamic Programming
Dynamic ProgrammingDynamic Programming
Dynamic Programming
 

Similaire à R Programming language model test paper

exercise-week-2-core-c-progr
exercise-week-2-core-c-progrexercise-week-2-core-c-progr
exercise-week-2-core-c-progr
Chi Lam
 

Similaire à R Programming language model test paper (20)

CBSE Class 12 Computer Science(083) Sample Question Paper 2020-21
CBSE Class 12 Computer Science(083) Sample Question Paper 2020-21CBSE Class 12 Computer Science(083) Sample Question Paper 2020-21
CBSE Class 12 Computer Science(083) Sample Question Paper 2020-21
 
Srinivas Reddy Amedapu, CPDS, CP Lab, JNTU Hyderabad
Srinivas Reddy Amedapu, CPDS, CP Lab, JNTU HyderabadSrinivas Reddy Amedapu, CPDS, CP Lab, JNTU Hyderabad
Srinivas Reddy Amedapu, CPDS, CP Lab, JNTU Hyderabad
 
Srinivas Reddy Amedapu C and Data Structures JNTUH Hyderabad
Srinivas Reddy Amedapu C and Data Structures JNTUH HyderabadSrinivas Reddy Amedapu C and Data Structures JNTUH Hyderabad
Srinivas Reddy Amedapu C and Data Structures JNTUH Hyderabad
 
C lab excellent
C lab excellentC lab excellent
C lab excellent
 
C and Data Structures Lab Solutions
C and Data Structures Lab SolutionsC and Data Structures Lab Solutions
C and Data Structures Lab Solutions
 
C and Data Structures
C and Data Structures C and Data Structures
C and Data Structures
 
C mcq practice test 4
C mcq practice test 4C mcq practice test 4
C mcq practice test 4
 
Computer science ms
Computer science msComputer science ms
Computer science ms
 
Programming Exam Help
 Programming Exam Help Programming Exam Help
Programming Exam Help
 
C- Programming Assignment 3
C- Programming Assignment 3C- Programming Assignment 3
C- Programming Assignment 3
 
3rd Semester Computer Science and Engineering (ACU) Question papers
3rd Semester Computer Science and Engineering  (ACU) Question papers3rd Semester Computer Science and Engineering  (ACU) Question papers
3rd Semester Computer Science and Engineering (ACU) Question papers
 
22316-2019-Summer-model-answer-paper.pdf
22316-2019-Summer-model-answer-paper.pdf22316-2019-Summer-model-answer-paper.pdf
22316-2019-Summer-model-answer-paper.pdf
 
Computer Science Sample Paper 2
Computer Science Sample Paper 2Computer Science Sample Paper 2
Computer Science Sample Paper 2
 
exercise-week-2-core-c-progr
exercise-week-2-core-c-progrexercise-week-2-core-c-progr
exercise-week-2-core-c-progr
 
[Question Paper] C++ and Java (Old Course) [June / 2014]
[Question Paper] C++ and Java (Old Course) [June / 2014][Question Paper] C++ and Java (Old Course) [June / 2014]
[Question Paper] C++ and Java (Old Course) [June / 2014]
 
Cs101 endsem 2014
Cs101 endsem 2014Cs101 endsem 2014
Cs101 endsem 2014
 
Introduction to Python Programming.pptx
Introduction to Python Programming.pptxIntroduction to Python Programming.pptx
Introduction to Python Programming.pptx
 
Computer science sqp
Computer science sqpComputer science sqp
Computer science sqp
 
Revision1 C programming
Revision1 C programmingRevision1 C programming
Revision1 C programming
 
6th. Grade-2 integers
6th. Grade-2 integers6th. Grade-2 integers
6th. Grade-2 integers
 

Plus de Luckshay Batra

Plus de Luckshay Batra (12)

Values and ethics in mathematics
Values and ethics in mathematicsValues and ethics in mathematics
Values and ethics in mathematics
 
Motivation in Education
Motivation in EducationMotivation in Education
Motivation in Education
 
Mathematica model test paper
Mathematica model test paperMathematica model test paper
Mathematica model test paper
 
Matlab-Data types and operators
Matlab-Data types and operatorsMatlab-Data types and operators
Matlab-Data types and operators
 
Black scholes model
Black scholes modelBlack scholes model
Black scholes model
 
Network flows
Network flowsNetwork flows
Network flows
 
Jacobi iterative method
Jacobi iterative methodJacobi iterative method
Jacobi iterative method
 
Sas
SasSas
Sas
 
Markov chain
Markov chainMarkov chain
Markov chain
 
Cyclic group in music
Cyclic group in musicCyclic group in music
Cyclic group in music
 
Big m method
Big m methodBig m method
Big m method
 
Application of laplace wave equation in music
Application of laplace wave equation in musicApplication of laplace wave equation in music
Application of laplace wave equation in music
 

Dernier

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Dernier (20)

ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 

R Programming language model test paper

  • 1. University Name Practical Examination 2018 R-programming language SET: Degree Program: Mathematics Course Title: R Date of Examination: Student’s name: Course Code: Semester: Time duration: 2 hr. Total Marks: 30 Roll No: Note: All questions are compulsory. Q.1) Point out the correct statement in each part : 04 marks 1. a) The value NaN represents undefined value. b) Number Inf represents infinity in R. c) NaN can also be thought of as a missing value. d) All of the above. 2. a) x <- c(1 + 0i, 2 + 4i) b) x <- c(TRUE, FALSE) c) x <- c(T, F) d) None of the above. 3. a) read.table(filename,header=TRUE,sep=‘,’) b) read.csv(filename,header=TRUE,sep=‘,’) c) read.table(filename,header=TRUE,sep=‘,’) d) None of the above. 4. a) read.table(filename,header=TRUE) b) read.csv(filename,header=TRUE) c) read.table(filename,header=TRUE) d) None of the above. Q.2) Discuss the following by using Rstudio : 05 marks a) Scatterplot. b) Boxplot.
  • 2. Luckshay Batra luckybatra17@gmail.com Page 2 of 2 Q.3) 15 marks a) make arithmetic progressive vector. b) Create a vector with some of your friend’s names. c) Get the length of above vector. d) Get the first three friends from above vector. e) Sort your friends by names. f) list the variables in the workspace. g) to clear console window in R. h) Calculate square root of 729. i) Create a new variable ’b’ with value 1947.0. j) Convert ‘b’ from previous exercise to character. k) for comment in R. l) is a tool for checking normality. m) is used to view dataset in a spreadsheet-type format. n) Create a vector numbers from 1 to 6 and find out its class. o) Create a vector containing following mixed elements {1, ‘a’, 2, ‘b’} and find out its class. Q.4) Create the following data frames in R. 06 marks a. b. Student’s name: End of exam