SlideShare a Scribd company logo
1 of 1
Download to read offline
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.

More Related Content

More from 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
 

More from 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
 

Recently uploaded

The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

size separation d pharm 1st year pharmaceutics
size separation d pharm 1st year pharmaceuticssize separation d pharm 1st year pharmaceutics
size separation d pharm 1st year pharmaceutics
 
Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17
 
[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online Presentation[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online Presentation
 
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
 
The Last Leaf, a short story by O. Henry
The Last Leaf, a short story by O. HenryThe Last Leaf, a short story by O. Henry
The Last Leaf, a short story by O. Henry
 
“O BEIJO” EM ARTE .
“O BEIJO” EM ARTE                       .“O BEIJO” EM ARTE                       .
“O BEIJO” EM ARTE .
 
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfINU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
 
philosophy and it's principles based on the life
philosophy and it's principles based on the lifephilosophy and it's principles based on the life
philosophy and it's principles based on the life
 
The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptx
 
Dementia (Alzheimer & vasular dementia).
Dementia (Alzheimer & vasular dementia).Dementia (Alzheimer & vasular dementia).
Dementia (Alzheimer & vasular dementia).
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT VẬT LÝ 2024 - TỪ CÁC TRƯỜNG, TRƯ...
 
Word Stress rules esl .pptx
Word Stress rules esl               .pptxWord Stress rules esl               .pptx
Word Stress rules esl .pptx
 
....................Muslim-Law notes.pdf
....................Muslim-Law notes.pdf....................Muslim-Law notes.pdf
....................Muslim-Law notes.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
 
Morse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptxMorse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptx
 
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
Operations Management - Book1.p  - Dr. Abdulfatah A. SalemOperations Management - Book1.p  - Dr. Abdulfatah A. Salem
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
 
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
 
Essential Safety precautions during monsoon season
Essential Safety precautions during monsoon seasonEssential Safety precautions during monsoon season
Essential Safety precautions during monsoon season
 
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
 
How to Manage Notification Preferences in the Odoo 17
How to Manage Notification Preferences in the Odoo 17How to Manage Notification Preferences in the Odoo 17
How to Manage Notification Preferences in the Odoo 17
 

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.