Sample Paper of Computer for Class 10

Similar documents
COMPUTER APPLICATIONS

COMPUTER APPLICATIONS

COMPUTER APPLICATIONS

COMPUTER APPLICATIONS

COMPUTER APPLICATIONS

ICSE Class 10 Computer Applications ( Java ) 2010 Solved Question...

COMPUTER APPLICATIONS

Computer Science Paper 1 (Theory) Part I While working questions in this part, indicate briefly your working and reasoning wherever required.

PROGRAMMING IN C AND C++:

Subject: Computer Science

COMPUTER SCIENCE Paper 1

COMPUTER SCIENCE. Paper-1 (THEORY) Three /tollrs

ICSE Solved Paper, 2018

Module Contact: Dr Gavin Cawley, CMP Copyright of the University of East Anglia Version 1

Java for Non Majors Spring 2018

Suggestive List of C++ Programs

COMPUTER SCIENCE. Paper 1

Object-Oriented Programming (OOP) Basics. CSCI 161 Introduction to Programming I

F1 A Java program. Ch 1 in PPIJ. Introduction to the course. The computer and its workings The algorithm concept

Java for Non Majors. Final Study Guide. April 26, You will have an opportunity to earn 20 extra credit points.

CS212 Midterm. 1. Read the following code fragments and answer the questions.

INDIAN SCHOOL MUSCAT COMPUTER SCIENCE(083) CLASS XI

PART I. Answer all questions in this Part. While answering questions in this Part, indicate briefly your working and reasoning, wherever required.

COMPUTER SCIENCE PAPER 1

VALLIAMMAI ENGINEERING COLLEGE

3.Constructors and Destructors. Develop cpp program to implement constructor and destructor.

1 Short Answer (15 Points Each)

List of Practical for Class XII Computer Science

EECS168 Exam 3 Review

Method OverLoading printf method Arrays Declaring and Using Arrays Arrays of Objects Array as Parameters

TechSparxJavaTuitionsTechSparxJava

Today s Agenda. Quick Review

Introduction to Programming Using Java (98-388)

Good Earth School Naduveerapattu. Computer Applications Worksheet Class X

Chapter 7. Inheritance

VARIABLE, OPERATOR AND EXPRESSION [SET 1]

Chapter 7 User-Defined Methods. Chapter Objectives

POST GRADUATE DIPLOMA IN LIBRARY AUTOMATION AND NETWORKING (PGDLAN)

Chapter 4: Writing Classes

Objects as a programming concept

ISC 2009 COMPUTER SCIENCE PAPER 1 THEORY PART I Answer all questions in this part

ICSE Class 10 Computer Applications ( Java ) 2014 Solved Question Paper

You will not be tested on JUnit or the Eclipse debugger. The exam does not cover interfaces.

ICSE 2015 COMPUTER APPLICATIONS. Md. Zeeshan Akhtar

Final Exam Practice. Partial credit will be awarded.

SECTION A (40 Marks) Attempt all questions. (a) What is inheritance? [2] (c) State the number of bytes occupied by char and int data types.

Lab Session # 6 Functions. ALQUDS University Department of Computer Engineering

BCA (Part II) EXAMINATION, 2009 C++ PROGRAMMING Time allowed: Three Hours Maximum Marks: 50 Attempt any five questions

Contents Chapter 1 Introduction to Programming and the Java Language

COMPUTER APPLICATIONS (86)

CS 116. Lab Assignment # 1 1

Programming: Java. Chapter Objectives. Chapter Objectives (continued) Program Design Including Data Structures. Chapter 7: User-Defined Methods

Subclass Gist Example: Chess Super Keyword Shadowing Overriding Why? L10 - Polymorphism and Abstract Classes The Four Principles of Object Oriented

You must bring your ID to the exam.

AP Computer Science Chapter 10 Implementing and Using Classes Study Guide

Syllabus Under Autonomy Mathematics

Robots. Byron Weber Becker. chapter 6

COMP-202. Recursion. COMP Recursion, 2011 Jörg Kienzle and others

APCS Semester #1 Final Exam Practice Problems

Language Features. 1. The primitive types int, double, and boolean are part of the AP

Example: Monte Carlo Simulation 1


Downloaded from CHAPTER 3 PAIR OF LINEAR EQUATION IN TWO VARIABLE KEY POINTS

Computer Programming: C++

3. Convert 2E from hexadecimal to decimal. 4. Convert from binary to hexadecimal

This exam is open book. Each question is worth 3 points.

UNIVERSITY OF ENGINEERING & MANAGEMENT, KOLKATA C ASSIGNMENTS

BEng (Hons) Electronic Engineering. BEng (Hons) Telecommunications. Examinations for / Semester 2

Chapter 4. Defining Classes I

ISC 2006 COMPUTER SCIENCE PAPER 1 THEORY PART I Answer all questions in this part

Friend Functions and Friend Classes

AP CS Unit 3: Control Structures Notes

CMPT 117: Tutorial 1. Craig Thompson. 12 January 2009

COMP 202. Programming With Iterations. CONTENT: The WHILE, DO and FOR Statements. COMP Loops 1

1 Definitions & Short Answer (5 Points Each)

The Hyderabad Public School Begumpet, Hyderabad, A.P.

CHOICE BASED CREDIT SYSTEM (With effect from )

a) Answer all questions. b) Write your answers in the space provided. c) Show all calculations where applicable.

Unit Overview. Concepts & Understandings. Learning Targets

Review Questions for Final Exam

12/22/11. } Rolling a Six-Sided Die. } Fig 6.7: Rolling a Six-Sided Die 6,000,000 Times

Understanding class definitions. Looking inside classes (based on lecture slides by Barnes and Kölling)


Questions Bank. 14) State any four advantages of using flow-chart

Sai Nath University. Assignment For B.Sc-IT 6 TH

Reviewing for the Midterm Covers chapters 1 to 5, 7 to 9. Instructor: Scott Kristjanson CMPT 125/125 SFU Burnaby, Fall 2013

LAB 11: METHODS. CPCS The Lab Note Lab 11 Page 1. Statement Purpose:

CSI33 Data Structures

Arrays. Eng. Mohammed Abdualal

Analysis of Pupil Performance ICSE. Research Development and Consultancy Division. Council for the Indian School Certificate Examinations.

CS 302: Introduction to Programming in Java. Lecture 15

Anatomy of a Class Encapsulation Anatomy of a Method

Strings, Strings and characters, String class methods. JAVA Standard Edition

PROGRAMS. EXCELLENT ACADEMY OF ENGINEERING. Telephone: / NORMAL PROGRAM

m) sin() n) endl o) getch() p) cout

Using Classes and Objects

Padasalai.Net s Model Question Paper

Wipro Technical Interview Questions

Class object initialization block destructor Class object

CS 251 Intermediate Programming Methods and Classes

Transcription:

General Instructions: Sample Paper of Computer for Class 10 1. Answers to this Paper must be written on the paper provided separately. 2. You will not be allowed to write during the first 15 minutes. 3. This time is to be spent in reading the question paper. 4. The time given at the head of this Paper is the time allowed for writing the answers. 5. This Paper is divided into two Sections. 6. Attempt all questions from Section A and any four questions from Section B. 7. The intended marks for questions or parts of questions are given in brackets [ ]. SECTION A (40 Marks) Attempt all questions Question 1 (a) State the difference between final and finally { }. [2] (b) Java is an object Oriented programming. Comment. [2] (c) What is an Exception in Java? How do you handle it? [2] (d) What is the size and range of data type int. [2] (e) What is the difference between application class and class as user defined data type. [2] Question 2 (a) What is empty loop? Give an example [2] (b) What is scope of a local, instance and class variable? [2] (c) int a =21, b = 4, c; then evaluate (i) c+= a++ + 2*++b- a%b; [2] (ii) c= --a<<b; (d) What are System.out and System.in? [2]

(e) What will be the output of following code snippet and how many times the following loop will be executed? [2] int a=10, b=3; while (a>++b) { a--; System.out.println(a<<b); } Question 3 (a) State the difference between accessor and mutator function. Give an example of each. [2] (b) State difference between class and an interface. [2] (c) What is function overloading? Which principal of OOP is implemented function overloading? [2] (d) Give output of the following code snippet [2] String str = new String( ICSE Examination 2013 ); System.out.println(Integer.parseInt(str.substring(str.length()-3))+ str.length()); System.out.println(str.substring(0,4)+str.lastIndexOf( a )); (e) What is Wrapper class? Give examples [2] (f) What is copy constructor? Give an example [2] (g) What is scanner class? Name functions of scanner class to read integer and String data types. [2] h) Name the keyword [2] i) to create a package (ii) that converts a instance variable to class variable. i) Write the prototype of function [2] i) isprime() that checks if number n is prime or not?

ii) count() that returns the frequency of a specific character ch in a string str. j) Write a java statement to generate random number between 10 and 20 (both inclusive). [2] Attempt any four questions from this Section. SECTION B (60 Marks) The answers in this Section should consist of the Programs in either Blue J environment or any program environment with Java as the base. Each program should be written using Variable descriptions/mnemonic Codes such that the logic of the program is clearly depicted. Flow- Charts and Algorithms are not required. Question 4 Define a class BILL that calculates telephone bill of a consumer having the following description: Data members/instance variables int billno - bill number String name - name of consumer int unit - no. of units consumed in a month double amount bill amount to be paid by the person Member functions: BILL () - constructor to initialize data members with default initial value BILL( ) - parameterized constructor to accept billno, name and no. of units consumed. calculate() - to calculate the monthly telephone bill for a consumer as per following condition No. of Units consumed Rate in Rs. First 100 Units Only monthly rental

Next 100 units Rs. 0.60/ Unit Next 100 units Rs. 1.0/Unit Above 300 Rs 1.5/Unit display()- To display the details. Create an object in the main() method and invoke the above function to perform the desired task. [15] Question 5 Overload a function check() to perform the following task [15] i) to check if a number is Armstrong. A number is said to be Armstrong if the sum of cubes of its digits is equal to the number. ii) To check if given string is palindrome Question 6 Write a program to accept a sentence and print the Palindrome words [15] Example : INPUT : MOM AND DAD ARE LEARNING MALAYALAM OUTPUT: MOM DAD MALAYALAM Question 7 Write a program to store 16 integers in a 4 x 4 array and find a) find minimum and maximum no. along with its position. b) print both the diagonals in X format. [15] Question 8 Write a program to generate and find the sum of all prime numbers between two integers m and n entered by user. Assume that n is greater than m and also both are greater than zero. [15]

Question 9 Write a program to accept names of 100 persons and their telephones nos in a two different 1 Dimensional array and sort the telephone directory in alphabetical order of their name using bubble sort. [15]