Professional Documents
Culture Documents
COMPUTER SCIENCE
CHAPTER 4 - WORKSHEET
1. a<b
2. a==b
3. a+=b
4. a - -
5. b%a
6. ++b
7. a*=b
8. a<2 &&b<8
9. !(a==b)
10. a>=10
1. X= 3*4/2+5/5+9-1
2. Y= 2+3*5-1
3. 8<3 && 7>1
4. !(7= =7)
5. Z= 5/2+3
10. Write a program to accept four numbers from the user, find its product and display
the result.
12.Write a program to input the side of a square and display its area and perimeter.
var a=20; var b= 40; var c=”90”; executing the following code
var d; document.write(“<pre>”+”O
document.write(a+d);