Pages

Thursday 11 April 2024

PPS PREPARATION 4:

Preparation Questions 4:

1) One Dimensional Array (With Syntax and Program)

2) Write a Program to find maximum and minimum from 1-Dimensional array.

3) Write a Program to find sum and average of array elements.

4) Two Dimensional Array (With Syntax and Program)

5) Program of Sum of two 3*3 array.

6) Program of Multiplication of two 3*3 array.

Wednesday 27 March 2024

PPS PREPARATION 3:

Preparation Questions 3:

1) WHILE Loop (With Syntax and Program)

2) DO WHILE Loop (With Syntax and Program)

3) FOR loop (With Syntax and Program)

4) Practical 3 Programs

5) Practical 4 Programs

Thursday 21 March 2024

UNIT 4 ARRAY : PROGRAMS

UNIT 4 : ONE DIMENSIONAL ARRAY PROGRAMS : VIEW

PPS PREPARATION 2

Preparation Questions 2:

1) If Statement (With Syntax and Program)

2) If Else Statement (With Syntax and Program)

3) Nested If Else Statement (With Syntax and Program)

4) Else If Ladder Statement (With Syntax and Program)

5) Switch case Statement (With Syntax and Program)

6) GOTO Statement (With Syntax and Program)

7) Practical 2 Programs

Monday 18 March 2024

PPS PRACTICAL 2 EXTRA PROGRAM FOR PRACTICE

1. Write a C program to accept two integers and check whether they are equal or      not.

2. Write a program to check whether a number is odd or even. (if else statement).

3. Write a C program to check whether a given number is positive or negative. (if else statement).

4. Write a C program to read the age of a candidate and determine whether he is eligible to cast his/her own vote. (if else statement).

5. Write a C program to accept the height of a person in centimeters and categorize the person according to their height. ()

< 150.0 CM

person is Dwarf

150.0 >= && < 165.0

person is average heighted

>= 165.0 && <= 195.0

person is taller

>195

abnormal height

6. Write a program in C to accept a grade and declare the equivalent description:

    Grade    Description

        E     Excellent

        V     Very Good

        G     Good

        A     Average

        F     Fail

7. Write a C program for reading any Month Number and displaying the Month name as a word. (Using Switch Case)

8. Write a C program to read temperature in centigrade and display a suitable message according to the temperature state below: (Using Else If Ladder)

Temp < 0 then Freezing weather

Temp 0-10 then Very Cold weather

Temp 10-20 then Cold weather

Temp 20-30 then Normal in Temp

Temp 30-40 then Its Hot

Temp >=40 then Its Very Hot

PPS PREPARATION 1

Preparation Questions 1:

1) Explain Basic structure of C Program with example.

2) List Data Types in C. Explain Primary Datatypes.

3) List and explain all operators with a program.

4) Practical 1 programs.


Wednesday 6 March 2024

PPS PRACTICAL 1 EXTRA PROGRAM FOR HOME WORK

1. Write a program to find sum of two numbers.

2. Write a program to find area of rectangle. (Area = length * width)

3. Write a program to find area of square. (Area = length * length)

4. Write a program to calculate inch from centimeter. (inch = centimeter * 2.56)

5. Write a program to calculate average of two numbers.

6. Write a program to print ASCII value of a number.


PPS PREPARATION 4:

Preparation Questions 4: 1) One Dimensional Array (With Syntax and Program) 2) Write a Program to find maximum and minimum from 1-Dimensiona...