0% found this document useful (0 votes)
24 views24 pages

Ashutosh C Lab

This document appears to be a record of programming experiments completed by a student. It includes sections for coding, testing, and implementing programs to solve various problems. The student is asked to write programs to: print their personal details using printf; find the area and perimeter of a rectangle; perform arithmetic and logical/bitwise operators; determine if a number is even or odd; check if a year is a leap year; find the largest of three numbers using nested if/else statements; add even numbers and multiply odd numbers from 1 to n; and find the sum of the digits of a three digit number. The document tracks the student's progress, documentation, and results for learning programming concepts through hands-on experiments.

Uploaded by

prksh27pk
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)
24 views24 pages

Ashutosh C Lab

This document appears to be a record of programming experiments completed by a student. It includes sections for coding, testing, and implementing programs to solve various problems. The student is asked to write programs to: print their personal details using printf; find the area and perimeter of a rectangle; perform arithmetic and logical/bitwise operators; determine if a number is even or odd; check if a year is a leap year; find the largest of three numbers using nested if/else statements; add even numbers and multiply odd numbers from 1 to n; and find the sum of the digits of a three digit number. The document tracks the student's progress, documentation, and results for learning programming concepts through hands-on experiments.

Uploaded by

prksh27pk
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/ 24

School: ............................................................................................................. Campus: .......................................................

Academic Year: ...................... Subject Name: ........................................................... Subject Code: ..........................

Semester: ............... Program: ........................................ Branch: ......................... Specialization: ..........................

Date: .....................................

(Learning by Doing and Discovery)

* Coding Phase: Pseudo Code / Flow Chart / Algorithm


Q.1. Write a program to print your name,regd no,address,Phone no and mali id using printf()
function.

* Testing Phase: Compilation of Code (error detection)

*As applicable according to the experiment.


Two sheets per experiment (10-20) to be used.
Applied and Action Learning

* Implementation Phase: Final Output (no error)

Output

* Coding Phase: Pseudo Code / Flow Chart / Algorithm


Q.2 Write a program to find the area and perimeter of a rectangle

*As applicable according to the experiment.


Two sheets per experiment (10-20) to be used.
Applied and Action Learning
* Testing Phase: Compilation of Code (error detection)

* Implementation Phase: Final Output (no error)

Output

Rubrics
Concept 10
Planning and Execution/ 10
Practical Simulation/ Programming
Result and Interpretation 10
Record of Applied and Action Learning 10
Viva 10
Total 50

Signature of the Student:

Signature of the Faculty:

*As applicable according to the experiment.


Two sheets per experiment (10-20) to be used.
School: ............................................................................................................. Campus: .......................................................

Academic Year: ...................... Subject Name: ........................................................... Subject Code: ..........................

Semester: ............... Program: ........................................ Branch: ......................... Specialization: ..........................

Date: .....................................

(Learning by Doing and Discovery)

* Coding Phase: Pseudo Code / Flow Chart / Algorithm


Q.1. Write a program to perform all the arithmetic operations

* Testing Phase: Compilation of Code (error detection)

*As applicable according to the experiment.


Two sheets per experiment (10-20) to be used.
Applied and Action Learning

* Implementation Phase: Final Output (no error)

Output

* Coding Phase: Pseudo Code / Flow Chart / Algorithm


Q.2 Write a program to perform all the logical and bitwise operators.

*As applicable according to the experiment.


Two sheets per experiment (10-20) to be used.
Applied and Action Learning
* Testing Phase: Compilation of Code (error detection)

*Implementation Phase: Final Output (no error)

Output

Rubrics
Concept 10
Planning and Execution/ 10
Practical Simulation/ Programming
Result and Interpretation 10
Record of Applied and Action Learning 10
Viva 10
Total 50

Signature of the Student:

Signature of the Faculty:


*As applicable according to the experiment.
Two sheets per experiment (10-20) to be used.
School: ............................................................................................................. Campus: .......................................................

Academic Year: ...................... Subject Name: ........................................................... Subject Code: ..........................

Semester: ............... Program: ........................................ Branch: ......................... Specialization: ..........................

Date: .....................................

(Learning by Doing and Discovery)

* Coding Phase: Pseudo Code / Flow Chart / Algorithm


Q.1.Write a program to find a number is even or odd using if else statement.

* Testing Phase: Compilation of Code (error detection)

* As applicable according to the experiment.


Two sheets per experiment (10-20) to be used.
* Implementation Phase: Final Output (no error)

Output

* Coding Phase: Pseudo Code / Flow Chart / Algorithm


Q.2.Write a program to check a year is leap year using conditional statement

* Testing Phase: Compilation of Code (error detection)

* As applicable according to the experiment.


Two sheets per experiment (10-20) to be used.
* Implementation Phase: Final Output (no error)

Output

* Coding Phase: Pseudo Code / Flow Chart / Algorithm


Q.3.Write a program to find the largest among 3 numbers using nested if else statement

* As applicable according to the experiment.


Two sheets per experiment (10-20) to be used.
Applied and Action Learning

* Testing Phase: Compilation of Code (error detection)

* Implementation Phase: Final Output (no error)

Output

Rubrics
Concept 10
Planning and Execution/ 10
Practical Simulation/ Programming
Result and Interpretation 10
Record of Applied and Action Learning 10
Viva 10
Total 50

Signature of the Student:

Signature of the Faculty:


* As applicable according to the experiment.
Two sheets per experiment (10-20) to be used.
School: ............................................................................................................. Campus: .......................................................

Academic Year: ...................... Subject Name: ........................................................... Subject Code: ..........................

Semester: ............... Program: ........................................ Branch: ......................... Specialization: ..........................

Date: .....................................

(Learning by Doing and Discovery)

* Coding Phase: Pseudo Code / Flow Chart / Algorithm


Q.1. Write a program to add all the even number and multiply all the odd number from 1 to n.

* Testing Phase: Compilation of Code (error detection)

*As applicable according to the experiment.


Two sheets per experiment (10-20) to be used.
Applied and Action Learning

* Implementation Phase: Final Output (no error)

Output

* Coding Phase: Pseudo Code / Flow Chart / Algorithm


Q.2 Write a program to enter a three digit number and find their sum.(if no=123 then result=6)

*As applicable according to the experiment.


Two sheets per experiment (10-20) to be used.
Applied and Action Learning
* Testing Phase: Pseudo Code / Flow Chart / Algorithm

* Implementation Phase: Final Output(no error)

Output

Rubrics
Concept 10
Planning and Execution/ 10
Practical Simulation/ Programming
Result and Interpretation 10
Record of Applied and Action Learning 10
Viva 10
Total 50

Signature of the Student:

Signature of the Faculty:

*As applicable according to the experiment.


Two sheets per experiment (10-20) to be used.
School: ............................................................................................................. Campus: .......................................................

Academic Year: ...................... Subject Name: ........................................................... Subject Code: ..........................

Semester: ............... Program: ........................................ Branch: ......................... Specialization: ..........................

Date: .....................................

(Learning by Doing and Discovery)

* Coding Phase: Pseudo Code / Flow Chart / Algorithm


Q.1. Write a program to print the following pattern.
*
* * *
* * * * *

* Testing Phase: Compilation of Code (error detection)

* As applicable according to the experiment.


Two sheets per experiment (10-20) to be used.
Applied and Action Learning

* Implementation Phase: Final Output (no error)

Output

* Coding Phase: Pseudo Code / Flow Chart / Algorithm


Q.2.Write a program to design a basic calculator using switch case.

* As applicable according to the experiment.


Two sheets per experiment (10-20) to be used.
Applied and Action Learning
* Testing Phase: Compilation of Code (error detection)

* Implementation Phase: Final Output (no error)

Output

Rubrics
Concept 10
Planning and Execution/ 10
Practical Simulation/ Programming
Result and Interpretation 10
Record of Applied and Action Learning 10
Viva 10
Total 50

Signature of the Student:

Signature of the Faculty:


* As applicable according to the experiment.
Two sheets per experiment (10-20) to be used.
School: ............................................................................................................. Campus: .......................................................

Academic Year: ...................... Subject Name: ........................................................... Subject Code: ..........................

Semester: ............... Program: ........................................ Branch: ......................... Specialization: ..........................

Date: .....................................

(Learning by Doing and Discovery)

* Coding Phase: Pseudo Code / Flow Chart / Algorithm


Q.1.Write a program to reverse a 1D array.

* Testing Phase: Compilation of Code (error detection)

* As applicable according to the experiment.


Two sheets per experiment (10-20) to be used.
* Implementation Phase: Final Output (no error)

Output

* Coding Phase: Pseudo Code / Flow Chart / Algorithm


Q.2.Write a program for matrix multiplication(3X3 matrix).

* Testing Phase: Compilation of Code (error detection)

* As applicable according to the experiment.


Two sheets per experiment (10-20) to be used.
* Implementation Phase: Final Output (no error) Output

* Coding Phase: Pseudo Code / Flow Chart / Algorithm


Q.3.Write a program to print the diagonal elements of a matrix.

* As applicable according to the experiment.


Two sheets per experiment (10-20) to be used.
Applied and Action Learning

* Testing Phase: Compilation of Code (error detection)

* Implementation Phase: Final Output (no error)

Output

Rubrics
Concept 10
Planning and Execution/ 10
Practical Simulation/ Programming
Result and Interpretation 10
Record of Applied and Action Learning 10
Viva 10
Total 50

Signature of the Student:

Signature of the Faculty:


* As applicable according to the experiment.
Two sheets per experiment (10-20) to be used.
School: ............................................................................................................. Campus: .......................................................

Academic Year: ...................... Subject Name: ........................................................... Subject Code: ..........................

Semester: ............... Program: ........................................ Branch: ......................... Specialization: ..........................

Date: .....................................

(Learning by Doing and Discovery)

* Coding Phase: Pseudo Code / Flow Chart / Algorithm


Q.1.Write a program to swap two number using call by value and call by address method using function.

* Testing Phase: Compilation of Code (error detection)

* As applicable according to the experiment.


Two sheets per experiment (10-20) to be used.
* Implementation Phase: Final Output (no error)

Output

* Coding Phase: Pseudo Code / Flow Chart / Algorithm


Q.2.Write a program to check a number is palindrome or not using function.

* Testing Phase: Compilation of Code (error detection)

* As applicable according to the experiment.


Two sheets per experiment (10-20) to be used.
* Implementation Phase: Final Output (no error)

Output

Coding Phase: Pseudo Code / Flow Chart / Algorithm


Q.3.Write a program to print prime numbers between 1 to n using function.

* As applicable according to the experiment.


Two sheets per experiment (10-20) to be used.
Applied and Action Learning

* Testing Phase: Compilation of Code (error detection)

* Implementation Phase: Final Output (no error)

Output

Rubrics
Concept 10
Planning and Execution/ 10
Practical Simulation/ Programming
Result and Interpretation 10
Record of Applied and Action Learning 10
Viva 10
Total 50

Signature of the Student:

Signature of the Faculty:


* As applicable according to the experiment.
Two sheets per experiment (10-20) to be used.

You might also like