Posts

Showing posts from October, 2017

Act 2 Scene 4 Merchant Of Venice Answers

Image

Seven wonders and its countries and to check whether the country is there in the list and print the result with the capital and the wonder- Java program

This is the complied and working java program to Input a array for seven wonders and its countries and to check whether the country is there in the list and print the result with the capital and the wonder You can enter the countries and the wonders by yourself and keep it in a string but i prefer this method  import java.util.*;     public class seven_wonders     {         public static void main (String args[])     {         String country;         int f=0;         Scanner in = new Scanner (System.in);         String wonder[]=new String [2];         String capital[] =new String [2];    for(int i=0;i<7;i++)         {             System.out.println("Enter the seven wonders");             wonder[i]=in.next();     ...

Floyds Triangle-Java program

Image
This is our complied and working Java program for a Floyds Triangle This was the input i got when i entered the number of rows to be 15 According to icse board the number of rows required in a floyds triangle is 5 so you can choose and vary it according to your choice import java.util.Scanner ;   class FloydTriangle { public static void main ( String args [ ] ) { int n, num = 1 , c, d ; Scanner in = new Scanner ( System . in ) ;   System . out . println ( "Enter the number of rows of floyd's triangle you want" ) ; n = in. nextInt ( ) ;   System . out . println ( "Floyd's triangle :-" ) ;   for ( c = 1 ; c <= n ; c ++ ) { for ( d = 1 ; d <= c ; d ++ ) { System . out . print ( num + " " ) ; num ++; }   System . out . println ( ) ; } } } The Questi...

ICSE computer applications solved paper-2015

Our solved paper for ICSE computer applications  solved paper-2016 Section A(40 marks) Question 1 (a)What are the default values of the primitive datatypes int and float ? Ans : Default value of int is 0 and that of float is 0.0f (b) Name any two OOP principles ? Ans : 1.Object   2.Class (c)What are Identifiers? Ans : Identifiers are a type of tokens used in Java Programming.Their value may change several types during the execution of the program. Example : int a = 5;  here ‘a’ is the Identifier and holds a value of 5 in int type. (d)Identify the literals listed below : (i)0.5  (ii)’A’  (iii)false  (iv)”a” Ans : (i) Real literal  (ii)character literal  (iii)boolean literal  (iv)String literal (e)Name the wrapper class of char type and boolean type Ans : Wrapper class of char is Character and that of boolean is Boolean Question 2 (a)Evaluate the va...

Computer applications icse board exam paper solved 2017

Image
The Solved paper for 2017 Computer Application  SECTION A(40 MARKS) Question 1: a) What is Inheritance ? [2] Ans.  It is process by which objects of one class acquire the properties of objects of another class. In OOP the concepts of inheritance provides the idea of re-usability. b)Name the operators listed below [2] i)<               ii) ++ iii)&&        iv)?: Ans. i) Relational Operator     ii) Increment Operator iii) Logical Operator                iv) Ternary Operator c) State the number of bytes occupied by char and int data types.[2] Ans. int 4 bytes. char  2 byte. d) Write one difference between / and % operator. [2] Ans. The arithmetical operator / is used to find quotient of two numb...