SlideShare une entreprise Scribd logo
1  sur  1
Télécharger pour lire hors ligne
1. Draw the UML diagram for a do-while loop.
2. What is the value of the Boolean expression when x =5 and y= 10?(True or false)
a) (x==0) && (y<18) ______
b) (y>20) || (x<=5) _______
c) !(x==12) ________
d) (x==1) && (y<100)
e (x<10) || (y>x) _________
f Which are the ones above (a to g) are examples of Short circuit evaluation?__________
3. We need three methods of name Volume One which is taking length, width and height to
calculate volume of Rectangular prism (V=L*w*h) One which is taking the side to calculate the
volume of the square. (V = s
3
)
a). Write 2 methods for the above 2 conditions
b. Write the main method which calls the above 2 methods.

Contenu connexe

Plus de adeshpawar234

1 El valor presente de una empresa de acuerdo con DCF est .pdf
1 El valor presente de una empresa de acuerdo con DCF est .pdf1 El valor presente de una empresa de acuerdo con DCF est .pdf
1 El valor presente de una empresa de acuerdo con DCF est .pdf
adeshpawar234
 
1 Cul de las siguientes afirmaciones sobre cultura y lide.pdf
1 Cul de las siguientes afirmaciones sobre cultura y lide.pdf1 Cul de las siguientes afirmaciones sobre cultura y lide.pdf
1 Cul de las siguientes afirmaciones sobre cultura y lide.pdf
adeshpawar234
 
1 Est bien documentado que las afinidades de los anticuerp.pdf
1 Est bien documentado que las afinidades de los anticuerp.pdf1 Est bien documentado que las afinidades de los anticuerp.pdf
1 Est bien documentado que las afinidades de los anticuerp.pdf
adeshpawar234
 
1 En cul de los siguientes roles un lder traducira los .pdf
1 En cul de los siguientes roles un lder traducira los .pdf1 En cul de los siguientes roles un lder traducira los .pdf
1 En cul de los siguientes roles un lder traducira los .pdf
adeshpawar234
 
1 En el tercer prrafo de este ensayo vemos la llamativa i.pdf
1 En el tercer prrafo de este ensayo vemos la llamativa i.pdf1 En el tercer prrafo de este ensayo vemos la llamativa i.pdf
1 En el tercer prrafo de este ensayo vemos la llamativa i.pdf
adeshpawar234
 

Plus de adeshpawar234 (20)

1 Define what constitutes abuse maltreatment and neg.pdf
1 Define what constitutes abuse maltreatment and neg.pdf1 Define what constitutes abuse maltreatment and neg.pdf
1 Define what constitutes abuse maltreatment and neg.pdf
 
1 Describe an E test plastic strip How are they placed on.pdf
1 Describe an E test plastic strip  How are they placed on.pdf1 Describe an E test plastic strip  How are they placed on.pdf
1 Describe an E test plastic strip How are they placed on.pdf
 
1 El valor presente de una empresa de acuerdo con DCF est .pdf
1 El valor presente de una empresa de acuerdo con DCF est .pdf1 El valor presente de una empresa de acuerdo con DCF est .pdf
1 El valor presente de una empresa de acuerdo con DCF est .pdf
 
1 Cul de las siguientes afirmaciones sobre cultura y lide.pdf
1 Cul de las siguientes afirmaciones sobre cultura y lide.pdf1 Cul de las siguientes afirmaciones sobre cultura y lide.pdf
1 Cul de las siguientes afirmaciones sobre cultura y lide.pdf
 
1 Fill the missing parts in this C code snippet begintabu.pdf
1 Fill the missing parts in this C code snippet begintabu.pdf1 Fill the missing parts in this C code snippet begintabu.pdf
1 Fill the missing parts in this C code snippet begintabu.pdf
 
1 Fill out the deviation blanks dev 2 Calculate the Va.pdf
1 Fill out the deviation blanks dev  2 Calculate the Va.pdf1 Fill out the deviation blanks dev  2 Calculate the Va.pdf
1 Fill out the deviation blanks dev 2 Calculate the Va.pdf
 
1 Explain what antbiouc resistance is Be sure to inchade s.pdf
1 Explain what antbiouc resistance is Be sure to inchade s.pdf1 Explain what antbiouc resistance is Be sure to inchade s.pdf
1 Explain what antbiouc resistance is Be sure to inchade s.pdf
 
1 Fertilizers applied to fields and crops contain nutrients.pdf
1 Fertilizers applied to fields and crops contain nutrients.pdf1 Fertilizers applied to fields and crops contain nutrients.pdf
1 Fertilizers applied to fields and crops contain nutrients.pdf
 
1 fenol krmzsnn amac nedir n varln oksijenin varln pH de.pdf
1 fenol krmzsnn amac nedir n varln oksijenin varln pH de.pdf1 fenol krmzsnn amac nedir n varln oksijenin varln pH de.pdf
1 fenol krmzsnn amac nedir n varln oksijenin varln pH de.pdf
 
1 Explain the Asset Collaboration and Communication Softwar.pdf
1 Explain the Asset Collaboration and Communication Softwar.pdf1 Explain the Asset Collaboration and Communication Softwar.pdf
1 Explain the Asset Collaboration and Communication Softwar.pdf
 
1 Explain the different types of flash memory NOR NAND et.pdf
1 Explain the different types of flash memory NOR NAND et.pdf1 Explain the different types of flash memory NOR NAND et.pdf
1 Explain the different types of flash memory NOR NAND et.pdf
 
1 Explique cmo la tierra adquiri su estructura en capas .pdf
1 Explique cmo la tierra adquiri su estructura en capas .pdf1 Explique cmo la tierra adquiri su estructura en capas .pdf
1 Explique cmo la tierra adquiri su estructura en capas .pdf
 
1 Explain how you can determine when a patients health or .pdf
1 Explain how you can determine when a patients health or .pdf1 Explain how you can determine when a patients health or .pdf
1 Explain how you can determine when a patients health or .pdf
 
1 Explain technologies that lead to enhanced decisionmakin.pdf
1 Explain technologies that lead to enhanced decisionmakin.pdf1 Explain technologies that lead to enhanced decisionmakin.pdf
1 Explain technologies that lead to enhanced decisionmakin.pdf
 
1 Could a cyber attack cause an electrical blackout a Yes.pdf
1 Could a cyber attack cause an electrical blackout a Yes.pdf1 Could a cyber attack cause an electrical blackout a Yes.pdf
1 Could a cyber attack cause an electrical blackout a Yes.pdf
 
1 Est bien documentado que las afinidades de los anticuerp.pdf
1 Est bien documentado que las afinidades de los anticuerp.pdf1 Est bien documentado que las afinidades de los anticuerp.pdf
1 Est bien documentado que las afinidades de los anticuerp.pdf
 
1 Epiglottitis is a condition in which the epiglottis is in.pdf
1 Epiglottitis is a condition in which the epiglottis is in.pdf1 Epiglottitis is a condition in which the epiglottis is in.pdf
1 Epiglottitis is a condition in which the epiglottis is in.pdf
 
1 Emikd is interested in purchasing the mobile home that Ya.pdf
1 Emikd is interested in purchasing the mobile home that Ya.pdf1 Emikd is interested in purchasing the mobile home that Ya.pdf
1 Emikd is interested in purchasing the mobile home that Ya.pdf
 
1 En cul de los siguientes roles un lder traducira los .pdf
1 En cul de los siguientes roles un lder traducira los .pdf1 En cul de los siguientes roles un lder traducira los .pdf
1 En cul de los siguientes roles un lder traducira los .pdf
 
1 En el tercer prrafo de este ensayo vemos la llamativa i.pdf
1 En el tercer prrafo de este ensayo vemos la llamativa i.pdf1 En el tercer prrafo de este ensayo vemos la llamativa i.pdf
1 En el tercer prrafo de este ensayo vemos la llamativa i.pdf
 

Dernier

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 
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)

SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
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
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.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
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
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.
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.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)
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
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
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
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
 
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 setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
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
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
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
 
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...
 

1 Draw the UML diagram for a dowhile loop 2 What is the .pdf

  • 1. 1. Draw the UML diagram for a do-while loop. 2. What is the value of the Boolean expression when x =5 and y= 10?(True or false) a) (x==0) && (y<18) ______ b) (y>20) || (x<=5) _______ c) !(x==12) ________ d) (x==1) && (y<100) e (x<10) || (y>x) _________ f Which are the ones above (a to g) are examples of Short circuit evaluation?__________ 3. We need three methods of name Volume One which is taking length, width and height to calculate volume of Rectangular prism (V=L*w*h) One which is taking the side to calculate the volume of the square. (V = s 3 ) a). Write 2 methods for the above 2 conditions b. Write the main method which calls the above 2 methods.