0% found this document useful (0 votes)
30 views

STD 9 Questions On Unary and Binary Operator (Computer Applications)

The document contains a computer science assignment asking students to solve problems involving unary and binary operators in Java. It provides 5 problems involving operators like ++, --, +, *, and asks students to find the values of expressions like d=++c+c++ +4. It also provides 4 expressions to write in Java code involving variables and operators, such as p=abc and R=2(l+b).
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views

STD 9 Questions On Unary and Binary Operator (Computer Applications)

The document contains a computer science assignment asking students to solve problems involving unary and binary operators in Java. It provides 5 problems involving operators like ++, --, +, *, and asks students to find the values of expressions like d=++c+c++ +4. It also provides 4 expressions to write in Java code involving variables and operators, such as p=abc and R=2(l+b).
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

APPOLLO NATIONAL PUBLIC SCHOOL

Unary and Binary Operator


Class IX
ICSE KA 083 COMPUTER APPLICATIONS 2020-2021

Note : Write only the answers in the C.W .

I. Solve:
1. if p=5, find
d = ++p +5;

2. If a= 48, find
b = a++ + ++a;

3. If c =2, find
d= ++c + c++ +4;

4. If m=12; find
n= m++ * 5 + --m;

5. int a =0, b=30,c=40; find


a= --b + c ++ + b;

II. Write the java expressions for the following:


1. p=abc
2. R=2(l+b)
3. S=ab + bc + ca
4. 2(lb+bh+lh)

You might also like