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.