Trending ▼   ResFinder  

ICSE Notes 2018 : Computer Applications (Cambridge Public School, Bangalore)

13 pages, 155 questions, 107 questions with responses, 152 total responses,    7    0
Sparsh Agarwal
Indian School of Mines University (ISM), Dhanbad
B.Tech
+Fave Message
 Home > sparsh_arsenal >   F Also featured on: School Page icse and 1 more

Formatting page ...

Subject: Computer Applications STD: X ICSE Practice Paper for the Board Examination March 2018 I. Represent the following Mathematical expressions as Java expressions:(1) 4 x (y) (2) 2x2 +3 x (x+y) (3) |x| + a2 + b 2 (4) S 30 + 30 (5) 0.05a3 +b2 (a+b) II. Evaluate the following and write the output:(1) int a=5, b=6, c=2; System.out.println (a+b%c-a*b); System.out.println (c/a + c%a); (2) int x=-4, y=-2; x*=x++ + y++ - ++x; System.out.println ("x= "+x+ "\n y= "+y); (3) char x= 'B '; int y=5; System.out.println (x++%y++ + ++x); System.out.println (x+","+y); (4) int m=100, n=150, k=200; System.out.println ("Output is "+(m%10==n%10)); System.out.println ("Output is "+!(k>m || K%m==0)); (5) int a=20, b=18; char c='a', c1='b'; System.out.println System.out.println System.out.println System.out.println System.out.println System.out.println System.out.println a=b=++a; System.out.println ("Examination "+a+b); ("Output is "+a+c); ("Output is "+(a+c)); (a+c+" is the output"); (c++); (c + b++); (c+" "+b); (a+" "+b); (6) int x=1000, y=500; if(x+y%3==0) System.out.println (x+=y); else System.out.println (x-=y); (7) Write the Output: if (i) char op='a' (ii) char op='d'; switch (op) { case 'a': System.out.println ("case a executed"); case 'b': System.out.println ("case b also executed due to absence of break in case a"); break; case 'c': System.out.println ("case c executed"); default: System.out.println ("User s Input is not matching"); } 1

Formatting page ...

Top Contributors
to this ResPaper
(answers/comments)


Siddhant Joshi

(59)

Aayush Joshi

(30)

Abhijna Choodi

(19)

Abhigyan Agarwal

(16)

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

 

© 2010 - 2024 ResPaper. Terms of ServiceContact Us Advertise with us

 

sparsh_arsenal chat