Home works and Assignments Online

Home » Class XI (S-II) » Computer Science XI

Computer Science XI

Shift-II

Date of submission: 2 Jan., 2015

 

1.Write the syntax and use of keywords break,continue,goto and exit() function. Explain each with proper examples.

2. What are nested for loops? Write a program to illustrate the use of nested for loop.

3.Write a program to convert entered number into its corresponding character. (For ex:- 123 as OneTwoThree)

4. . Explain the following terms with proper examples:

a)Array (b) Class (c) Object (d) Inheritance (e) Polymorphism (f) structure

5. . Explain the following terms with proper examples:

a) Syntax errror (b) Runtime error (c) Compile time error (d) Logic error

6. Define arguments. Differentiate between different types of arguments. Give proper examples

7.Write a program to calculate volume and area of a sphere(Volume=4/3πr3 and 4πr2 ) by passing arguments

8 Write a program to check whether a number is prime or not by passing arguments to a function.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: