SlideShare une entreprise Scribd logo
1  sur  2
Please let me know which of these 10 C++ statements are True and and which are False (no
explanation needed, thx).
A recursive function is a function whose definition contains a call to the function being defined
A design technique is to break a problem into smaller tasks, with the prospect that a smaller
problem will be easier to solve. If the smaller task is the identical to the original task excepting
only that the size is smaller, the problem may be solved using a recursive algorithm, and
implemented with a recursive function.
It is proper for a recursion to run on without ending.
A proper recursive solution requires at least two cases: a recursive function that calls the
recursive function with a smaller problem, and a base, or stopping case.
In recursion, it is unnecessary to decide whether a stopping case has been reached.
A programmer must have the source code for libraries to extend them, even using inheritance.
If class D is derived from class B, we speak of D as the child class and B as the parent class.
If class D is derived from class B, we speak of D as the derived class and B as the base class.
If class D is derived from class B, then we say that class D inherits from class B.
If class D is derived from class B then class D has only some of the members from B, and the
additional members defined in D.
Solution
1) true
2)true
3)false
4)true
5)false
6)false
7)true
8)true
9)true
10)true may be sometimes its a conditional question

Contenu connexe

Similaire à Please let me know which of these 10 C++ statements are True and and w (2).docx

4. Recursion - Data Structures using C++ by Varsha Patil
4. Recursion - Data Structures using C++ by Varsha Patil4. Recursion - Data Structures using C++ by Varsha Patil
4. Recursion - Data Structures using C++ by Varsha Patilwidespreadpromotion
 
The Expression Problem - Part 2
The Expression Problem - Part 2The Expression Problem - Part 2
The Expression Problem - Part 2Philip Schwarz
 
Algorithms Design Patterns
Algorithms Design PatternsAlgorithms Design Patterns
Algorithms Design PatternsAshwin Shiv
 
Oop.concepts
Oop.conceptsOop.concepts
Oop.conceptstahir266
 
Recursion
RecursionRecursion
RecursionNikxjon
 
ADA Unit — 3 Dynamic Programming and Its Applications.pdf
ADA Unit — 3 Dynamic Programming and Its Applications.pdfADA Unit — 3 Dynamic Programming and Its Applications.pdf
ADA Unit — 3 Dynamic Programming and Its Applications.pdfRGPV De Bunkers
 
Recursion vs. Iteration: Code Efficiency & Structure
Recursion vs. Iteration: Code Efficiency & StructureRecursion vs. Iteration: Code Efficiency & Structure
Recursion vs. Iteration: Code Efficiency & Structurecogaxor346
 
Learning puppet chapter 2
Learning puppet chapter 2Learning puppet chapter 2
Learning puppet chapter 2Vishal Biyani
 
C, C++ Interview Questions Part - 1
C, C++ Interview Questions Part - 1C, C++ Interview Questions Part - 1
C, C++ Interview Questions Part - 1ReKruiTIn.com
 
Operations management chapter 03 homework assignment use this
Operations management chapter 03 homework assignment use thisOperations management chapter 03 homework assignment use this
Operations management chapter 03 homework assignment use thisPOLY33
 
Mit202 data base management system(dbms)
Mit202  data base management system(dbms)Mit202  data base management system(dbms)
Mit202 data base management system(dbms)smumbahelp
 

Similaire à Please let me know which of these 10 C++ statements are True and and w (2).docx (18)

4. Recursion - Data Structures using C++ by Varsha Patil
4. Recursion - Data Structures using C++ by Varsha Patil4. Recursion - Data Structures using C++ by Varsha Patil
4. Recursion - Data Structures using C++ by Varsha Patil
 
The Expression Problem - Part 2
The Expression Problem - Part 2The Expression Problem - Part 2
The Expression Problem - Part 2
 
Algorithms Design Patterns
Algorithms Design PatternsAlgorithms Design Patterns
Algorithms Design Patterns
 
Oop.concepts
Oop.conceptsOop.concepts
Oop.concepts
 
Recursion
RecursionRecursion
Recursion
 
ADA Unit — 3 Dynamic Programming and Its Applications.pdf
ADA Unit — 3 Dynamic Programming and Its Applications.pdfADA Unit — 3 Dynamic Programming and Its Applications.pdf
ADA Unit — 3 Dynamic Programming and Its Applications.pdf
 
Recursion vs. Iteration: Code Efficiency & Structure
Recursion vs. Iteration: Code Efficiency & StructureRecursion vs. Iteration: Code Efficiency & Structure
Recursion vs. Iteration: Code Efficiency & Structure
 
Chap14
Chap14Chap14
Chap14
 
What's in a Name?
What's in a Name?What's in a Name?
What's in a Name?
 
Delphi qa
Delphi qaDelphi qa
Delphi qa
 
Learning puppet chapter 2
Learning puppet chapter 2Learning puppet chapter 2
Learning puppet chapter 2
 
Kleisli Composition
Kleisli CompositionKleisli Composition
Kleisli Composition
 
C, C++ Interview Questions Part - 1
C, C++ Interview Questions Part - 1C, C++ Interview Questions Part - 1
C, C++ Interview Questions Part - 1
 
My Research Poster
My Research Poster My Research Poster
My Research Poster
 
3.5
3.53.5
3.5
 
Operations management chapter 03 homework assignment use this
Operations management chapter 03 homework assignment use thisOperations management chapter 03 homework assignment use this
Operations management chapter 03 homework assignment use this
 
Generics
GenericsGenerics
Generics
 
Mit202 data base management system(dbms)
Mit202  data base management system(dbms)Mit202  data base management system(dbms)
Mit202 data base management system(dbms)
 

Plus de kdavid658

The mutual fund industry is beginning to use the Internet to dissemina.docx
The mutual fund industry is beginning to use the Internet to dissemina.docxThe mutual fund industry is beginning to use the Internet to dissemina.docx
The mutual fund industry is beginning to use the Internet to dissemina.docxkdavid658
 
The primary tool for hardening symmetric cryptography is public key in.docx
The primary tool for hardening symmetric cryptography is public key in.docxThe primary tool for hardening symmetric cryptography is public key in.docx
The primary tool for hardening symmetric cryptography is public key in.docxkdavid658
 
the primary function of the skin the primary function of the skin.docx
the primary function of the skin    the primary function of the skin.docxthe primary function of the skin    the primary function of the skin.docx
the primary function of the skin the primary function of the skin.docxkdavid658
 
The primary difference between seasonality and cycles is- the duration.docx
The primary difference between seasonality and cycles is- the duration.docxThe primary difference between seasonality and cycles is- the duration.docx
The primary difference between seasonality and cycles is- the duration.docxkdavid658
 
The pointer in a node points to the data part of a node the count part.docx
The pointer in a node points to the data part of a node the count part.docxThe pointer in a node points to the data part of a node the count part.docx
The pointer in a node points to the data part of a node the count part.docxkdavid658
 
The nucleus of a 15 a distance of 5-4 x 10-11 m- What is the ratio of.docx
The nucleus of a 15 a distance of 5-4 x 10-11 m- What is the ratio of.docxThe nucleus of a 15 a distance of 5-4 x 10-11 m- What is the ratio of.docx
The nucleus of a 15 a distance of 5-4 x 10-11 m- What is the ratio of.docxkdavid658
 
The main function of a cell membrane is to allow substances to enter a.docx
The main function of a cell membrane is to allow substances to enter a.docxThe main function of a cell membrane is to allow substances to enter a.docx
The main function of a cell membrane is to allow substances to enter a.docxkdavid658
 
The left subtree of key value 14 has 3 key values and the right subtre.docx
The left subtree of key value 14 has 3 key values and the right subtre.docxThe left subtree of key value 14 has 3 key values and the right subtre.docx
The left subtree of key value 14 has 3 key values and the right subtre.docxkdavid658
 
Please show ALL work- If written please show with neat handwriting- I.docx
Please show ALL work- If written please show with neat handwriting- I.docxPlease show ALL work- If written please show with neat handwriting- I.docx
Please show ALL work- If written please show with neat handwriting- I.docxkdavid658
 
Please only answer if you know the answer- I have posted this twice an.docx
Please only answer if you know the answer- I have posted this twice an.docxPlease only answer if you know the answer- I have posted this twice an.docx
Please only answer if you know the answer- I have posted this twice an.docxkdavid658
 
Please make comments of the following discussion in 150-200 words-If y.docx
Please make comments of the following discussion in 150-200 words-If y.docxPlease make comments of the following discussion in 150-200 words-If y.docx
Please make comments of the following discussion in 150-200 words-If y.docxkdavid658
 
Please help!! I need to make the instructions for these by manipulatin.docx
Please help!! I need to make the instructions for these by manipulatin.docxPlease help!! I need to make the instructions for these by manipulatin.docx
Please help!! I need to make the instructions for these by manipulatin.docxkdavid658
 
PLEASE HELP! 1- The integrating power of globalization forces managers.docx
PLEASE HELP! 1- The integrating power of globalization forces managers.docxPLEASE HELP! 1- The integrating power of globalization forces managers.docx
PLEASE HELP! 1- The integrating power of globalization forces managers.docxkdavid658
 
please help with answer and explain homo and lumo in terms of acid-bas.docx
please help with answer and explain homo and lumo in terms of acid-bas.docxplease help with answer and explain homo and lumo in terms of acid-bas.docx
please help with answer and explain homo and lumo in terms of acid-bas.docxkdavid658
 
Please help me with this crossword!SolutionAcross- 4-Constitutional Is.docx
Please help me with this crossword!SolutionAcross- 4-Constitutional Is.docxPlease help me with this crossword!SolutionAcross- 4-Constitutional Is.docx
Please help me with this crossword!SolutionAcross- 4-Constitutional Is.docxkdavid658
 
Please Type Answer! Compare and contrast the properties of acids and b.docx
Please Type Answer! Compare and contrast the properties of acids and b.docxPlease Type Answer! Compare and contrast the properties of acids and b.docx
Please Type Answer! Compare and contrast the properties of acids and b.docxkdavid658
 

Plus de kdavid658 (16)

The mutual fund industry is beginning to use the Internet to dissemina.docx
The mutual fund industry is beginning to use the Internet to dissemina.docxThe mutual fund industry is beginning to use the Internet to dissemina.docx
The mutual fund industry is beginning to use the Internet to dissemina.docx
 
The primary tool for hardening symmetric cryptography is public key in.docx
The primary tool for hardening symmetric cryptography is public key in.docxThe primary tool for hardening symmetric cryptography is public key in.docx
The primary tool for hardening symmetric cryptography is public key in.docx
 
the primary function of the skin the primary function of the skin.docx
the primary function of the skin    the primary function of the skin.docxthe primary function of the skin    the primary function of the skin.docx
the primary function of the skin the primary function of the skin.docx
 
The primary difference between seasonality and cycles is- the duration.docx
The primary difference between seasonality and cycles is- the duration.docxThe primary difference between seasonality and cycles is- the duration.docx
The primary difference between seasonality and cycles is- the duration.docx
 
The pointer in a node points to the data part of a node the count part.docx
The pointer in a node points to the data part of a node the count part.docxThe pointer in a node points to the data part of a node the count part.docx
The pointer in a node points to the data part of a node the count part.docx
 
The nucleus of a 15 a distance of 5-4 x 10-11 m- What is the ratio of.docx
The nucleus of a 15 a distance of 5-4 x 10-11 m- What is the ratio of.docxThe nucleus of a 15 a distance of 5-4 x 10-11 m- What is the ratio of.docx
The nucleus of a 15 a distance of 5-4 x 10-11 m- What is the ratio of.docx
 
The main function of a cell membrane is to allow substances to enter a.docx
The main function of a cell membrane is to allow substances to enter a.docxThe main function of a cell membrane is to allow substances to enter a.docx
The main function of a cell membrane is to allow substances to enter a.docx
 
The left subtree of key value 14 has 3 key values and the right subtre.docx
The left subtree of key value 14 has 3 key values and the right subtre.docxThe left subtree of key value 14 has 3 key values and the right subtre.docx
The left subtree of key value 14 has 3 key values and the right subtre.docx
 
Please show ALL work- If written please show with neat handwriting- I.docx
Please show ALL work- If written please show with neat handwriting- I.docxPlease show ALL work- If written please show with neat handwriting- I.docx
Please show ALL work- If written please show with neat handwriting- I.docx
 
Please only answer if you know the answer- I have posted this twice an.docx
Please only answer if you know the answer- I have posted this twice an.docxPlease only answer if you know the answer- I have posted this twice an.docx
Please only answer if you know the answer- I have posted this twice an.docx
 
Please make comments of the following discussion in 150-200 words-If y.docx
Please make comments of the following discussion in 150-200 words-If y.docxPlease make comments of the following discussion in 150-200 words-If y.docx
Please make comments of the following discussion in 150-200 words-If y.docx
 
Please help!! I need to make the instructions for these by manipulatin.docx
Please help!! I need to make the instructions for these by manipulatin.docxPlease help!! I need to make the instructions for these by manipulatin.docx
Please help!! I need to make the instructions for these by manipulatin.docx
 
PLEASE HELP! 1- The integrating power of globalization forces managers.docx
PLEASE HELP! 1- The integrating power of globalization forces managers.docxPLEASE HELP! 1- The integrating power of globalization forces managers.docx
PLEASE HELP! 1- The integrating power of globalization forces managers.docx
 
please help with answer and explain homo and lumo in terms of acid-bas.docx
please help with answer and explain homo and lumo in terms of acid-bas.docxplease help with answer and explain homo and lumo in terms of acid-bas.docx
please help with answer and explain homo and lumo in terms of acid-bas.docx
 
Please help me with this crossword!SolutionAcross- 4-Constitutional Is.docx
Please help me with this crossword!SolutionAcross- 4-Constitutional Is.docxPlease help me with this crossword!SolutionAcross- 4-Constitutional Is.docx
Please help me with this crossword!SolutionAcross- 4-Constitutional Is.docx
 
Please Type Answer! Compare and contrast the properties of acids and b.docx
Please Type Answer! Compare and contrast the properties of acids and b.docxPlease Type Answer! Compare and contrast the properties of acids and b.docx
Please Type Answer! Compare and contrast the properties of acids and b.docx
 

Dernier

Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 

Dernier (20)

Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 

Please let me know which of these 10 C++ statements are True and and w (2).docx

  • 1. Please let me know which of these 10 C++ statements are True and and which are False (no explanation needed, thx). A recursive function is a function whose definition contains a call to the function being defined A design technique is to break a problem into smaller tasks, with the prospect that a smaller problem will be easier to solve. If the smaller task is the identical to the original task excepting only that the size is smaller, the problem may be solved using a recursive algorithm, and implemented with a recursive function. It is proper for a recursion to run on without ending. A proper recursive solution requires at least two cases: a recursive function that calls the recursive function with a smaller problem, and a base, or stopping case. In recursion, it is unnecessary to decide whether a stopping case has been reached. A programmer must have the source code for libraries to extend them, even using inheritance. If class D is derived from class B, we speak of D as the child class and B as the parent class. If class D is derived from class B, we speak of D as the derived class and B as the base class. If class D is derived from class B, then we say that class D inherits from class B. If class D is derived from class B then class D has only some of the members from B, and the additional members defined in D. Solution 1) true 2)true 3)false
  • 2. 4)true 5)false 6)false 7)true 8)true 9)true 10)true may be sometimes its a conditional question