0% found this document useful (0 votes)
9 views1 page

C Questionn2

Uploaded by

Indranil Pathak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views1 page

C Questionn2

Uploaded by

Indranil Pathak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

IKON COMPUTER EDUCATION & TRAINING INSTITUTE

A Government Registered ISO 9001 : 2015 Institute

Subject: C Language Marks: 45

Section A: Any 6 (6*5) =30 N.B. WAP=WRITE A PROGRAM

1. WAP & input any number and check if it is Krishnamurthy number or not.

2. WAP & input any number & count how many Prime digits are there.

3. WAP & input the marks of 6 subjects through array. Check the Highest marks obtained.

4. WAP & input the age of a student. Using UDF (User defined Function) check if he/she is a teenager or not.

5. WAP & input any number. Check if it is a PalPrime (Palindrome + Prime) number or not.

6. WAP & find out the sum of the following series.


S= ½ + 2/3 + 3/4 + 4/5 + 5/6 +……..nth term

7. WAP and input any 10 alphabets through array. Check How many Vowels are there.

8. Using Do…while loop print the multiplication table of any number upto first 10th term.

9. Enter the sides of a triangle. Check if the triangle is isosceles, scalene or equilateral.

10. (Any one)

A. 1 B. 7 6 5 4 3
12 6543
123 543
1234 43
12345 3

Section B: SAQs: Any 5 (5*3=15)

1. Mention any 3 rules to develop a c program.

2. Define what is Pre-processor directives.

3. What is Fall through explain with example.

4. Differentiate break and continue statement.

5. What is Infinite loop? Give an example.

6. Differentiate between While and For loop.

7. What is user defined function? Give an example.

8. What is subscripted variable? Give an example.

Cell:8240159300

You might also like