SlideShare uma empresa Scribd logo
1 de 1
Baixar para ler offline
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

Mais conteúdo relacionado

Mais de 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
 

Mais de 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
 

Último

Último (20)

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_...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
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
 
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)
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 

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