SlideShare a Scribd company logo
1 of 1
Download to read offline
Consider the following algorithm: for(i=1;i<=1.5*n;i++) System.out.print(" " +i); for (i=n;i>=1;i)
System.out.print(" " " i); When n=6, which of the following sets of numbers appears in the output in
the order displayed? a. 132 b. 213 c. 123 d. none of the aboveConsiter itha fallawing alportam 1 in
1 131

More Related Content

More from adhiapparals

Consider the following graph and answer the next two questio.pdf
Consider the following graph and answer the next two questio.pdfConsider the following graph and answer the next two questio.pdf
Consider the following graph and answer the next two questio.pdfadhiapparals
 
Consider the following grammar ExpressionExpressionExp.pdf
Consider the following grammar ExpressionExpressionExp.pdfConsider the following grammar ExpressionExpressionExp.pdf
Consider the following grammar ExpressionExpressionExp.pdfadhiapparals
 
Consider the following financial information for Kleen Compa.pdf
Consider the following financial information for Kleen Compa.pdfConsider the following financial information for Kleen Compa.pdf
Consider the following financial information for Kleen Compa.pdfadhiapparals
 
Consider the following function f static ltTgt void fA.pdf
Consider the following function f static ltTgt void fA.pdfConsider the following function f static ltTgt void fA.pdf
Consider the following function f static ltTgt void fA.pdfadhiapparals
 
Consider the following function pow void pow Crime c1.pdf
Consider the following function pow  void pow  Crime c1.pdfConsider the following function pow  void pow  Crime c1.pdf
Consider the following function pow void pow Crime c1.pdfadhiapparals
 
Consider the following figure from this weeks reading a P.pdf
Consider the following figure from this weeks reading a P.pdfConsider the following figure from this weeks reading a P.pdf
Consider the following figure from this weeks reading a P.pdfadhiapparals
 
Consider the following data set Using the linear regression.pdf
Consider the following data set Using the linear regression.pdfConsider the following data set Using the linear regression.pdf
Consider the following data set Using the linear regression.pdfadhiapparals
 
Consider the following cross A A B b D d .pdf
Consider the following cross A  A      B  b     D   d .pdfConsider the following cross A  A      B  b     D   d .pdf
Consider the following cross A A B b D d .pdfadhiapparals
 
Consider the following data for a closed economy Y14 tril.pdf
Consider the following data for a closed economy Y14 tril.pdfConsider the following data for a closed economy Y14 tril.pdf
Consider the following data for a closed economy Y14 tril.pdfadhiapparals
 
Consider the following data for a particular country In.pdf
Consider the following data for a particular country     In.pdfConsider the following data for a particular country     In.pdf
Consider the following data for a particular country In.pdfadhiapparals
 
Consider the following code snippet What header files are n.pdf
Consider the following code snippet What header files are n.pdfConsider the following code snippet What header files are n.pdf
Consider the following code snippet What header files are n.pdfadhiapparals
 
Consider the following cash flow profile and assume MARR is .pdf
Consider the following cash flow profile and assume MARR is .pdfConsider the following cash flow profile and assume MARR is .pdf
Consider the following cash flow profile and assume MARR is .pdfadhiapparals
 
Consider Japan and Vietnam producing capitalintensive robo.pdf
Consider Japan and Vietnam producing capitalintensive robo.pdfConsider Japan and Vietnam producing capitalintensive robo.pdf
Consider Japan and Vietnam producing capitalintensive robo.pdfadhiapparals
 
Consider the following BNF grammar G based on the TinyC++ s.pdf
Consider the following BNF grammar G based on the TinyC++ s.pdfConsider the following BNF grammar G based on the TinyC++ s.pdf
Consider the following BNF grammar G based on the TinyC++ s.pdfadhiapparals
 
Consider the following bonds Which of the bonds A to D is m.pdf
Consider the following bonds Which of the bonds A to D is m.pdfConsider the following bonds Which of the bonds A to D is m.pdf
Consider the following bonds Which of the bonds A to D is m.pdfadhiapparals
 
Consider the following benefit and cost data of a project a.pdf
Consider the following benefit and cost data of a project a.pdfConsider the following benefit and cost data of a project a.pdf
Consider the following benefit and cost data of a project a.pdfadhiapparals
 
Consider the figure below as a link layer and network layer.pdf
Consider the figure below as a link layer and network layer.pdfConsider the figure below as a link layer and network layer.pdf
Consider the figure below as a link layer and network layer.pdfadhiapparals
 
Consider the EU as made of two blocks the Eastern and South.pdf
Consider the EU as made of two blocks the Eastern and South.pdfConsider the EU as made of two blocks the Eastern and South.pdf
Consider the EU as made of two blocks the Eastern and South.pdfadhiapparals
 
Consider an urn with 20 balls in it numbered 1220 Ta.pdf
Consider an urn with 20 balls in it numbered 1220 Ta.pdfConsider an urn with 20 balls in it numbered 1220 Ta.pdf
Consider an urn with 20 balls in it numbered 1220 Ta.pdfadhiapparals
 
Consider a standard DFF By itself this chip is not able to.pdf
Consider a standard DFF By itself this chip is not able to.pdfConsider a standard DFF By itself this chip is not able to.pdf
Consider a standard DFF By itself this chip is not able to.pdfadhiapparals
 

More from adhiapparals (20)

Consider the following graph and answer the next two questio.pdf
Consider the following graph and answer the next two questio.pdfConsider the following graph and answer the next two questio.pdf
Consider the following graph and answer the next two questio.pdf
 
Consider the following grammar ExpressionExpressionExp.pdf
Consider the following grammar ExpressionExpressionExp.pdfConsider the following grammar ExpressionExpressionExp.pdf
Consider the following grammar ExpressionExpressionExp.pdf
 
Consider the following financial information for Kleen Compa.pdf
Consider the following financial information for Kleen Compa.pdfConsider the following financial information for Kleen Compa.pdf
Consider the following financial information for Kleen Compa.pdf
 
Consider the following function f static ltTgt void fA.pdf
Consider the following function f static ltTgt void fA.pdfConsider the following function f static ltTgt void fA.pdf
Consider the following function f static ltTgt void fA.pdf
 
Consider the following function pow void pow Crime c1.pdf
Consider the following function pow  void pow  Crime c1.pdfConsider the following function pow  void pow  Crime c1.pdf
Consider the following function pow void pow Crime c1.pdf
 
Consider the following figure from this weeks reading a P.pdf
Consider the following figure from this weeks reading a P.pdfConsider the following figure from this weeks reading a P.pdf
Consider the following figure from this weeks reading a P.pdf
 
Consider the following data set Using the linear regression.pdf
Consider the following data set Using the linear regression.pdfConsider the following data set Using the linear regression.pdf
Consider the following data set Using the linear regression.pdf
 
Consider the following cross A A B b D d .pdf
Consider the following cross A  A      B  b     D   d .pdfConsider the following cross A  A      B  b     D   d .pdf
Consider the following cross A A B b D d .pdf
 
Consider the following data for a closed economy Y14 tril.pdf
Consider the following data for a closed economy Y14 tril.pdfConsider the following data for a closed economy Y14 tril.pdf
Consider the following data for a closed economy Y14 tril.pdf
 
Consider the following data for a particular country In.pdf
Consider the following data for a particular country     In.pdfConsider the following data for a particular country     In.pdf
Consider the following data for a particular country In.pdf
 
Consider the following code snippet What header files are n.pdf
Consider the following code snippet What header files are n.pdfConsider the following code snippet What header files are n.pdf
Consider the following code snippet What header files are n.pdf
 
Consider the following cash flow profile and assume MARR is .pdf
Consider the following cash flow profile and assume MARR is .pdfConsider the following cash flow profile and assume MARR is .pdf
Consider the following cash flow profile and assume MARR is .pdf
 
Consider Japan and Vietnam producing capitalintensive robo.pdf
Consider Japan and Vietnam producing capitalintensive robo.pdfConsider Japan and Vietnam producing capitalintensive robo.pdf
Consider Japan and Vietnam producing capitalintensive robo.pdf
 
Consider the following BNF grammar G based on the TinyC++ s.pdf
Consider the following BNF grammar G based on the TinyC++ s.pdfConsider the following BNF grammar G based on the TinyC++ s.pdf
Consider the following BNF grammar G based on the TinyC++ s.pdf
 
Consider the following bonds Which of the bonds A to D is m.pdf
Consider the following bonds Which of the bonds A to D is m.pdfConsider the following bonds Which of the bonds A to D is m.pdf
Consider the following bonds Which of the bonds A to D is m.pdf
 
Consider the following benefit and cost data of a project a.pdf
Consider the following benefit and cost data of a project a.pdfConsider the following benefit and cost data of a project a.pdf
Consider the following benefit and cost data of a project a.pdf
 
Consider the figure below as a link layer and network layer.pdf
Consider the figure below as a link layer and network layer.pdfConsider the figure below as a link layer and network layer.pdf
Consider the figure below as a link layer and network layer.pdf
 
Consider the EU as made of two blocks the Eastern and South.pdf
Consider the EU as made of two blocks the Eastern and South.pdfConsider the EU as made of two blocks the Eastern and South.pdf
Consider the EU as made of two blocks the Eastern and South.pdf
 
Consider an urn with 20 balls in it numbered 1220 Ta.pdf
Consider an urn with 20 balls in it numbered 1220 Ta.pdfConsider an urn with 20 balls in it numbered 1220 Ta.pdf
Consider an urn with 20 balls in it numbered 1220 Ta.pdf
 
Consider a standard DFF By itself this chip is not able to.pdf
Consider a standard DFF By itself this chip is not able to.pdfConsider a standard DFF By itself this chip is not able to.pdf
Consider a standard DFF By itself this chip is not able to.pdf
 

Recently uploaded

Mental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsMental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsPooky Knightsmith
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmStan Meyer
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdfMr Bounab Samir
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Association for Project Management
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1GloryAnnCastre1
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataBabyAnnMotar
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...Nguyen Thanh Tu Collection
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxkarenfajardo43
 
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvRicaMaeCastro1
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17Celine George
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseCeline George
 
week 1 cookery 8 fourth - quarter .pptx
week 1 cookery 8  fourth  -  quarter .pptxweek 1 cookery 8  fourth  -  quarter .pptx
week 1 cookery 8 fourth - quarter .pptxJonalynLegaspi2
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxDhatriParmar
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQuiz Club NITW
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptxDhatriParmar
 

Recently uploaded (20)

Mental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsMental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young minds
 
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and Film
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdf
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped data
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
 
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17
 
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 Database
 
week 1 cookery 8 fourth - quarter .pptx
week 1 cookery 8  fourth  -  quarter .pptxweek 1 cookery 8  fourth  -  quarter .pptx
week 1 cookery 8 fourth - quarter .pptx
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
 

Consider the following algorithm fori1ilt15ni+.pdf

  • 1. Consider the following algorithm: for(i=1;i<=1.5*n;i++) System.out.print(" " +i); for (i=n;i>=1;i) System.out.print(" " " i); When n=6, which of the following sets of numbers appears in the output in the order displayed? a. 132 b. 213 c. 123 d. none of the aboveConsiter itha fallawing alportam 1 in 1 131