SlideShare a Scribd company logo
my_fnctn < function (a,b,c){ a<a+1 b<b+c for (a in 1:b){ if (a<10){ a<a+1 } else a print("in here") } }
return (a) } my_fnctn (1,2,3) 23. Reference the above user created function. What will be returned
when calling: my_fnctn (1,2,3) ? a) "in here" b) "in here" 10 c) 6 d) 2,3,4,5,6 e) Nothing will be
returned.count <0 count 2<0 count 3<0 while (count <5){ count = count +1 repeat { count2 =
count2 +1 if (count2 <3){ break } for (i in c("a", "b", "c", "d")){ count3 = count3 +1 } print (count +
count2 + count 3 )22. What will be the output of the above code chunk? a) 0 b) "8 a b c d" c) 10 d)
We will get an error

More Related Content

More from adianantsolutions

Mycobacterium tuberculosis infecta a casi 13 de la poblaci.pdf
Mycobacterium tuberculosis infecta a casi 13 de la poblaci.pdfMycobacterium tuberculosis infecta a casi 13 de la poblaci.pdf
Mycobacterium tuberculosis infecta a casi 13 de la poblaci.pdf
adianantsolutions
 
My code is below How do I write this code without usin.pdf
My code is below How do I write this code without usin.pdfMy code is below How do I write this code without usin.pdf
My code is below How do I write this code without usin.pdf
adianantsolutions
 
Muscle Fiber Microanatomy and sliding Filament Model sarcole.pdf
Muscle Fiber Microanatomy and sliding Filament Model sarcole.pdfMuscle Fiber Microanatomy and sliding Filament Model sarcole.pdf
Muscle Fiber Microanatomy and sliding Filament Model sarcole.pdf
adianantsolutions
 
Mr Reed John was broaght to the ED at 0430 this moening Hi.pdf
Mr Reed John was broaght to the ED at 0430 this moening Hi.pdfMr Reed John was broaght to the ED at 0430 this moening Hi.pdf
Mr Reed John was broaght to the ED at 0430 this moening Hi.pdf
adianantsolutions
 

More from adianantsolutions (20)

Multi choice Which sequence represents the correct sequence .pdf
Multi choice Which sequence represents the correct sequence .pdfMulti choice Which sequence represents the correct sequence .pdf
Multi choice Which sequence represents the correct sequence .pdf
 
n2 1 let xPn Show that yv2x0X22n 2 Let x1x2.pdf
n2  1 let xPn Show that yv2x0X22n 2 Let x1x2.pdfn2  1 let xPn Show that yv2x0X22n 2 Let x1x2.pdf
n2 1 let xPn Show that yv2x0X22n 2 Let x1x2.pdf
 
n Faturalama Belgesi ilevini kullanmak iin n koullar nele.pdf
n Faturalama Belgesi ilevini kullanmak iin n koullar nele.pdfn Faturalama Belgesi ilevini kullanmak iin n koullar nele.pdf
n Faturalama Belgesi ilevini kullanmak iin n koullar nele.pdf
 
Myra had high scores as cooperative team player evenkeele.pdf
Myra had high scores as cooperative team player evenkeele.pdfMyra had high scores as cooperative team player evenkeele.pdf
Myra had high scores as cooperative team player evenkeele.pdf
 
Mycobacterium tuberculosis infecta a casi 13 de la poblaci.pdf
Mycobacterium tuberculosis infecta a casi 13 de la poblaci.pdfMycobacterium tuberculosis infecta a casi 13 de la poblaci.pdf
Mycobacterium tuberculosis infecta a casi 13 de la poblaci.pdf
 
My library gt IT 145 Intro to Software Development home .pdf
My library gt IT 145 Intro to Software Development home .pdfMy library gt IT 145 Intro to Software Development home .pdf
My library gt IT 145 Intro to Software Development home .pdf
 
My code is below How do I write this code without usin.pdf
My code is below How do I write this code without usin.pdfMy code is below How do I write this code without usin.pdf
My code is below How do I write this code without usin.pdf
 
My essay topic is Water Pollution in black Mississippi Jacks.pdf
My essay topic is Water Pollution in black Mississippi Jacks.pdfMy essay topic is Water Pollution in black Mississippi Jacks.pdf
My essay topic is Water Pollution in black Mississippi Jacks.pdf
 
Msrda renkli bir aleuron tohumun bir ksm bir maddenin var.pdf
Msrda renkli bir aleuron tohumun bir ksm bir maddenin var.pdfMsrda renkli bir aleuron tohumun bir ksm bir maddenin var.pdf
Msrda renkli bir aleuron tohumun bir ksm bir maddenin var.pdf
 
MRPnin baarl bir ekilde uygulanmas ve iletilmesi iin aadak.pdf
MRPnin baarl bir ekilde uygulanmas ve iletilmesi iin aadak.pdfMRPnin baarl bir ekilde uygulanmas ve iletilmesi iin aadak.pdf
MRPnin baarl bir ekilde uygulanmas ve iletilmesi iin aadak.pdf
 
Mr senabe is a senior teacher in a secondary school he has.pdf
Mr senabe is a senior teacher in a secondary school he has.pdfMr senabe is a senior teacher in a secondary school he has.pdf
Mr senabe is a senior teacher in a secondary school he has.pdf
 
Multiple Choice that those genes are not useful in interpret.pdf
Multiple Choice that those genes are not useful in interpret.pdfMultiple Choice that those genes are not useful in interpret.pdf
Multiple Choice that those genes are not useful in interpret.pdf
 
MT2992 Define the various tasks and responsibilities of ma.pdf
MT2992 Define the various tasks and responsibilities of ma.pdfMT2992 Define the various tasks and responsibilities of ma.pdf
MT2992 Define the various tasks and responsibilities of ma.pdf
 
Multiple Choice An inspirational appeal is more likely to be.pdf
Multiple Choice An inspirational appeal is more likely to be.pdfMultiple Choice An inspirational appeal is more likely to be.pdf
Multiple Choice An inspirational appeal is more likely to be.pdf
 
Muchos promedios y cifras industriales se publican en cada u.pdf
Muchos promedios y cifras industriales se publican en cada u.pdfMuchos promedios y cifras industriales se publican en cada u.pdf
Muchos promedios y cifras industriales se publican en cada u.pdf
 
Muscle Fiber Microanatomy and sliding Filament Model sarcole.pdf
Muscle Fiber Microanatomy and sliding Filament Model sarcole.pdfMuscle Fiber Microanatomy and sliding Filament Model sarcole.pdf
Muscle Fiber Microanatomy and sliding Filament Model sarcole.pdf
 
Munk N amp Hodges J 1999 How Levis Trashed a Grea.pdf
Munk N amp Hodges J 1999 How Levis Trashed a Grea.pdfMunk N amp Hodges J 1999 How Levis Trashed a Grea.pdf
Munk N amp Hodges J 1999 How Levis Trashed a Grea.pdf
 
Ms Emy Co is an industrial partner in an electronics compan.pdf
Ms Emy Co is an industrial partner in an electronics compan.pdfMs Emy Co is an industrial partner in an electronics compan.pdf
Ms Emy Co is an industrial partner in an electronics compan.pdf
 
Mr Reed John was broaght to the ED at 0430 this moening Hi.pdf
Mr Reed John was broaght to the ED at 0430 this moening Hi.pdfMr Reed John was broaght to the ED at 0430 this moening Hi.pdf
Mr Reed John was broaght to the ED at 0430 this moening Hi.pdf
 
Identify the FALSE statement regarding recombination All re.pdf
Identify the FALSE statement regarding recombination All re.pdfIdentify the FALSE statement regarding recombination All re.pdf
Identify the FALSE statement regarding recombination All re.pdf
 

Recently uploaded

ppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyesppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyes
ashishpaul799
 

Recently uploaded (20)

Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxJose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & EngineeringBasic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
 
B.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdfB.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdf
 
Application of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matricesApplication of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matrices
 
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxMatatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
 
An Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptxAn Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptx
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx
 
ppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyesppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyes
 
Advances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdfAdvances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdf
 
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General QuizPragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
 
The impact of social media on mental health and well-being has been a topic o...
The impact of social media on mental health and well-being has been a topic o...The impact of social media on mental health and well-being has been a topic o...
The impact of social media on mental health and well-being has been a topic o...
 
Gyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxGyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptx
 
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdf
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdfTelling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdf
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdf
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 

my_fnctn lt function abc alta+1 bltb+c for a in .pdf

  • 1. my_fnctn < function (a,b,c){ a<a+1 b<b+c for (a in 1:b){ if (a<10){ a<a+1 } else a print("in here") } } return (a) } my_fnctn (1,2,3) 23. Reference the above user created function. What will be returned when calling: my_fnctn (1,2,3) ? a) "in here" b) "in here" 10 c) 6 d) 2,3,4,5,6 e) Nothing will be returned.count <0 count 2<0 count 3<0 while (count <5){ count = count +1 repeat { count2 = count2 +1 if (count2 <3){ break } for (i in c("a", "b", "c", "d")){ count3 = count3 +1 } print (count + count2 + count 3 )22. What will be the output of the above code chunk? a) 0 b) "8 a b c d" c) 10 d) We will get an error