{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Intro to Java Web-Notes_Part8

# Intro to Java Web-Notes_Part8 - Answer Key Question 1(Worth...

This preview shows pages 1–2. Sign up to view the full content.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Answer Key Question 1 (Worth 3 points) Decision Structures Give the value of this expression: ,, / {l'y(5 >, 4,) True Question 2 (Worth 3 pomts) Decision Structures Give the value of this expression: "11(100'} '0)’ f: True This :3 a 2:0 sci: arswm Question 3 (Worth 3 points) Decision Structures Give the value of this expression: ,, 'l,fio > o'&& 10 < 100“ ' ,” True 4 a “we” 3222;222:232" False \$332223 3233325222: 2:222 ”this geesﬁmz: 3 Question 4 (Worth 3 points) Decision Structures Give the value of this expression: True iniﬁs 5S El: Cid False \$032233 ”322323292: {322 {TREE} 23222233123032: CA3 Question 5 (Worth 3 points) Decision Structures Give the value of this expression: f“ True 2".“ False Question 6 (Worth 3 points) Decision Structures Assuming that theyfollowing variables have been declared , I, hirint’hoiur's' ': ’17,]? ,, I, , int [limit : '40; , , ,, give the value oft e following expression: r,rhOﬁrsi>iny&&yhoutsr<=?limit {3“ True “his is: a cor; V » False Points. Mmeﬁ on this»; {guestmw 3 Question 7 (Worth 3 points) Decision Structures Assuming that the following variables have been declared Q’mint hdu:51; 17; , jint limit ='40: , a , , give the value of the following expression: _ hours > 20,&& hours < limit My. 1 True {9‘39 l False infants earmﬂ or; this; gussﬁmé: 3 Question 8 (Worth 3 points) Decision Structures Give the value of this expression: true && false ll false && true True Question 9 (Worth 3 points) Decision Structures Give’the output of the following Java program: public/clasngomework fg_public static void main(string argS)’ I, If: I, ,7 " , ,,' '“' "r int count : 1L} fif (Count > 10) ,System.outrprintln(V0nel"); DSystemtoutpprintln("Two");,y,” vi, r3,systemfouttpfintln("Three"); ' fif'lcount +710 9: 35) , _ ',System,out.println("Fourﬁ);' rm. Opel Two , Three,' quff 'ThreeW F0111: “ ,' ...
View Full Document

{[ snackBarMessage ]}

### Page1 / 2

Intro to Java Web-Notes_Part8 - Answer Key Question 1(Worth...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online