0% found this document useful (0 votes)
82 views18 pages

C Project

The document describes a microproject on basic math functions including Floyd's triangle and HCF and LCM. It provides details on the aims of the project, course outcomes addressed, proposed methodology in 10 steps, and an action plan with timeline. Two students will complete the microproject and submit a report including necessary forms and certificates.

Uploaded by

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

C Project

The document describes a microproject on basic math functions including Floyd's triangle and HCF and LCM. It provides details on the aims of the project, course outcomes addressed, proposed methodology in 10 steps, and an action plan with timeline. Two students will complete the microproject and submit a report including necessary forms and certificates.

Uploaded by

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

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION,MUMBAI

GOVERNMENT POLYTECHNIC,BEED
[Institute Code:0032 ]

MICROPROJECT

Course & Code :- Programming In C Language (312009)

Title of Micro project :-


Basic Maths Function:
1] Floyds tringle
2] HCF & LCM

Subject Teacher Head of Department Principal

Seal of
institute

1
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION,MUMBAI

CERTIFICATE OF MICROPROJECT

This is to certify that following students of ET2K of Diploma in


ELECTRONICS & COMMUNICATION of the institute GOVERNMENT
POLYTECHNIC , BEED , Institute code:0032, have satisfactorily completed
MICROPROJECT work in subject/Course for academic year 2023-24 as
prescribed in the curriculum.

Roll Exam
No. Title of Microproject
Enrollment Name of Student
No.
425 Basic Maths Function:
23510230354 AJINKYA DHAGE 1] Floyds tringle
428 23510230357 KARTIK GONGARE 2] HCF & LCM

Place :- Beed Date: 26/02/2024

Subject Teacher Head of Department Principal

Seal of
institute

2
Teacher Evaluation Sheet
Name of Student :-Ajinkya Bandu Dhage Enrollment No :- 23510230354

Programme: Electronics & Telecommunication Semester :- ET2K


Course Title & Code :- Programming In C Language Roll no :-425

Title of the Micro-Project: [In short] :-


Basic Maths Function
Course Outcomes :-
A. Write assembly language program for the given problem.
B. Use instructions for different addressing modes.
C. Develop an assembly language program using assembler.

Evaluation as per Suggested Rubric for Assessment of Micro Project


Sr.
Characteristic to be assessed Poor Average Good Excellent
No. ( Marks 1 - 3 ) ( Marks 4 - 5 ) ( Marks 6 - 8 ) ( Marks 9- 10 )

[A] Process and Product Assessment (Convert total marks out of 06)
1 Relevance to the course
2 Literature Review/information
collection
3 Completion of the Target as per
project proposal
4 Analysis and data representation
5 Quality of Prototype/Model
6 Report Preparation
Total Marks Out of (6)

[B] Individual Presentation/Viva (Convert total marks out of 04)

1 Presentation
2 Viva
Total Marks Out of (4)

MIcro-Project Evaluation Sheet


Process and Product Assessment Total Marks
(6 marks) Individual 10
(Note: The total marks taken from the above Rubrics Presentation/Viva
is to be converted in proportion of ‘6’ marks) (4 marks)

Name and designation of the Teacher: (Lecturer in CM)

Dated Signature…………………………………………………………………………

3
Teacher Evaluation Sheet

Name of Student :-Kartik Gonjare Enrollment No :- 23510230357


Programme: Electronics & Telecommunication Semester :- ET2K
Course Title & Code :- Programming In C Language Roll no :-428

Title of the Micro-Project: [In short]


Basic Maths Function
Course Outcomes :-
A. Write assembly language program for the given problem.
B. Use instructions for different addressing modes.
C. Develop an assembly language program using assembler.

Evaluation as per Suggested Rubric for Assessment of Micro Project


Sr.
Characteristic to be assessed Poor Average Good Excellent
No. ( Marks 1 - 3 ) ( Marks 4 - 5 ) ( Marks 6 - 8 ) ( Marks 9- 10 )

[A] Process and Product Assessment (Convert total marks out of 06)
1 Relevance to the course
2 Literature Review/information
collection
3 Completion of the Target as per
project proposal
4 Analysis and data representation
5 Quality of Prototype/Model
6 Report Preparation
Total Marks Out of (6)

[B] Individual Presentation/Viva (Convert total marks out of 04)

1 Presentation
2 Viva
Total Marks Out of (4)

MIcro-Project Evaluation Sheet


Process and Product Assessment Total Marks
(6 marks) Individual 10
(Note: The total marks taken from the above Rubrics Presentation/Viva
is to be converted in proportion of ‘6’ marks) (4 marks)

Name and designation of the Teacher: (Lecturer in CM)

Dated Signature…………………………………………………………………………
4
Annexure –I
Part – A Micro-Project Proposal
(Format for Micro-Project Proposal A about 2-3 pages)

Title of Micro-Project : Basic Maths Function

1.0 Aims/Benefits of the Micro-Project (minimum words)

AIM : a) Floyd's Triangle:

Floyd's Triangle is a right-angled triangular sequence of natural numbers, used for creating patterns. It
starts with 1 at the top and then increments the numbers consecutively in a triangular manner. Each
row represents a number, and the numbers increase from left to right.

b) HCF (Highest Common Factor) and LCM (Least Common Multiple):

1. HCF (Highest Common Factor):

-Also known as GCD (Greatest Common Divisor).


-It is the largest positive integer that divides each of the numbers without leaving a
remainder.

2. LCM (Least Common Multiple):

-It is the smallest positive integer that is divisible by each of the numbers without leaving a
remainder.
Benefits:
Floyd's Triangle is a useful program for teaching nested loops and array usage in programming and
exploring number patterns in mathematics.

L.C.M and H.C.F of two or more numbers help in finding out quick solutions and thus
reduce time during examinations. The concept of L.C.M. is important to solve problems related to
racetracks, traffic lights, etc.

2.0 Course Outcomes Addressed


A. Write assembly language program for
the given problem.
B. Use instructions for different
addressing modes.
C. Develop an assembly language program
using assembler.

3.0 Proposed Methodology

5
(Procedure in brief that will be followed to do the micro-project) in about 100 to 200
words).
Step 1: Study the micro project.
First of all group members will go through the micro project list. The discussion will be done in group.
After the topic will be finalized. The guide will help to clear the doubts and problem in project making.
Step 2: Collecting information from internet, books.
The work will be distributed among the group members. And different format will be collected for report
making like certificate, teacher evaluation sheet, annexure-A and B
Step 3: Finalizing the formats in collaboration.
All group member will go through sample collected, then format will be finalized.
Step 4: Finalizing the topic.
After finalizing the format, the topic will be discussed .the topic will be discussed unanimously and as
per the availability of material.
Step 5: Listing the stationary items required for project along with budget.
Everyone will give stationary list required for report writing.
Step 6: Discussion of budget in group and finalize the amount.
The group members will discuss their views and budget will be finalized.

6
Step 7: Collection of photos and information/contents.
Every group member will collect their data from different website, books and from personal visit to
industry and give it to project guide for proof reading. After proof reading the data along with photo
will be finalized and every group member will be proceed for their job.
Step 8: Printing/Drawing.
Printing or drawing will be done and shown to project guide
Step 9: Explanation/Preparation.
During oral/vi-va project will be explained.

5.0 Action Plan (Sequence and time required for major activity)

Name of
Sr. Planned Planned
Details of activity Responsible
No. Start Finish
Team
date date
Members
1 Reserch & selection 05/01/2024 18/01/2024 Kartik
2 Planing & Design 19/01/2024 25/01/2024 Yash
3 Implementation 06/02/2024 10/02/2024 Yash
Refinement
4 11/02/2024 29/02/2024 Kartik
Documentation
5 01/02/2024 06/02/2024 Yash & Kartik

Information collection by each group


6 20/02/2024 22/02/2024 Kartik
member

7 Report writing/Printing 23/02/2024 24/02/2024 Yash_&_Kartik

6.0 Resources Required (major resources such as raw material, some machining facility,
software etc.)

S.
Name of Resource/material Specifications Qty Remarks
No.
1
Computer,Mobile,Internet,Printer,Scanner Processor: i5 Ram:8GB 01

2
EMU-8086 Software/Debugger -

3 Google For Understanding the Project -


4 Printer Taking Print of soft copy 01

7
Names of Team Members with Roll Nos.

Roll No. Name of student


257 Kartik Shivraj Swami.
258 Yash Shantkumar Yangali.

8
Annexure – II

Part – B Micro-Project Report


(Outcomes after Execution) Format for Micro-Project Report (Minimum 6 pages)

Title of Micro-Project:

Convert Hexadecimal number to equivalent BCD

1.0 Rationale
(Importance of the project, in about 30 to 50 words. This is a modified version of the earlier
one written after the work)

To convert from HEX to BCD, you have to first convert the HEX to Decimal, then convert the Decimal
digits to BCD digits, by converting each Decimal digit to 4 binary digits. Example : convert Hex 1A2B3C to
BCD. Convert HEX 1A2B3C to Decimal to get 1715004.
2.0 Aims/Benefits of the Micro-Project

As we have seen in this Binary Numbers section of tutorials, there are many different binary codes used in
digital and electronic circuits, each with its own specific use, with Binary Coded Decimal being one of the
main ones.

The main advantage of binary coded decimal is that it allows easy conversion between decimal (base-10)
and binary (base-2) form. However, the disadvantage is that BCD code is wasteful as the states
between 1010 (decimal 10), and 1111 (decimal 15) are not used. Nevertheless, binary coded decimal has
many important applications especially using digital displays.

3.0 Course Outcomes Achieved (Add to the earlier list if more COs are addressed)
A. Write assembly language program for
the given problem.
B. Use instructions for different
addressing modes.
C. Develop an assembly language program
using assembler.

4.0 Literature Review

Websites:
1) https://www.electronics-tutorials.ws/binary/binary-coded-decimal.html
2)https://projectsgeek.com/2011/05/hex-to-bcd-conversion-in-
assembly- language.html

9
5.0 Actual Methodology Followed.

Step 1: Study the micro project.


First of all group members derived the micro project list form the project guide and went through the
topics. The discussion will be done in group. After the topic will be finalized. The guide will helped to
clear the doubts and problem in project making.
Step 2: Collecting information from internet, books.
Then the work was distributed among the group members.the preliminary search was collection of
different formats required for microproject.this responsibility was given to Mr.Kartik Swami C Mr.Yash
Yangali both of them made search of welding form different websites,books,magazines etc.for tis they
took help of teachers,parants,neighbours,and visited some places also and the collection was done by
them,
Step 3: Finalizing the formats in collaboration.
All group member will go through sample collected, everyone expressed their views on making of job
using welding and requirement of data.After one hour discussion on it all members finalized the
annexure A,B
Step 4: Finalizing the topic.
After finalizing the format, the topic will be discussed . the different field were discussed by the
members.among that it was decided to prepare microproject on topic “Convert
Hexadecimal number to equivalent BCD”. the topic will be discussed
unanimously and as per the availability of material.and everyone was given deadline for that.

Step 5: Listing the stationary items required for project along with budget.
Everyone was told to prepare stationary list required for report writing and information collection and
keep ready budget for it.
Step 6: Discussion of budget in group and finalize the amount.
In the next week every group members discussed their views and budget was finalized.it was Rs 50
each and it was told budget of group should not exceed than the above amount.
Step 7: Collection of photos and information/contents.
Every group member will collected their data from different website, books and from personal visit to
industry and gave it to project guide for proof reading. After proof reading the data along with photo
were be finalized and every group member started their job.Information collected and included in
this report Step 8: Printing/Drawing.
We all decided to make report in print format,one member took printout of report,it was shown to project guide
by every member and collected tips for presentation.

10
Step 9: Explanation/Preparation.
Everyone did good preparation of micro-project which was needed for vi-va

6.0 Actual Resources Used (Mention the actual resources used).

S. No. Name of Resource/material Specifications Qty Remarks

Processor: i5
1 Computer 01
Ram:8GB

Software/Compiler
2 -
EMU-8086
For Understanding
3 Google -
the Project.
Taking Print of soft
4 Printer -
copy

7.0 Outputs of the Micro-Projects

(Drawings of the prototype, drawings of survey, presentation of collected data, findings etc.)

8.0 Skill Developed / Learning outcome of this Micro-Project

Through this microproject the following things are learnt and the skill developed by the group
1. The concept of project understood.
2. The structure and requirement of proposal and report understood.
3. The necessity of team work is understood.
4. What is the role of group leader and team member? It well understood.
5. The importance of time management and good communication skill is understood.
6. How to search information and use of different online tools came to know.
7. The writing in English skill is developed.
8. The new words are collected.
9. The computer access skill is developed.
10. Able to tackle and solve the problem arised due to miscommunication and misunderstanding.
11. The decision making ability is developed but needed good cooperation.

9.0 Applications of this Micro-Project


1. Creating Convert Hexadecimal number to equivalent BCD project in assembly language.
2. Understand how to create Projects by using Assembly Programming language
3. Creating bond with friends and teachers
There are many digital clock applications available for download. Some of

11
12
ALGORITHM :-
Convert Hexadecimal number to equivalent BCD :-

Step I : Initialize the data segment.

Step II : Initialize BX = 0000 H and DH =

00H. Step III : Load the number in AX.

Step IV : Compare number with 10000 decimal. If below goto step VII else goto

step V.

Step V : Subtract 10,000 decimal from AX and add 1 decimal to

DH Step VI : Jump to step IV.

Step VII : Compare number in AX with 1000, if below goto step X else goto

step VIII.

Step VIII : Subtract 1000 decimal from AX and add 1000 decimal to

BX. Step IX : Jump to step VII.

Step X : Compare the number in AX with 100 decimal if below goto step

XIII Step XI : Subtract 100 decimal from AX and add 100 decimal to BX.

Step XII : Jump to step X

Step XIII : Compare number in AX with 10. If below goto step XVI

Step XIV : Subtract 10 decimal from AX and add 10 decimal to

BX.. Step XV : Jump to step XIII.

Step XVI : Add remainder in AX with result in

BX. Step XVII : Display the result in DH and BX.

Step XVIII : Stop.

13
FLOWCHART :-
Convert Hexadecimal number to equivalent BCD :-

14
PROGRAM IN ASSEMBLY PROGRAMMING LANGUAGE :-
Convert Hexadecimal number to equivalent BCD :-

.model small
.stack 100

.code

Mov ax, 0ffffh ; hex number to find it’s

bcd Mov bx, 0000

Mov dh, 0

L9 : cmp ax, 10000 ; if

ax>10000 Jb l2

Sub ax, 10000 ; subtract

10000 Inc dh ; add 1 to dh

Jmp l9

L2 : cmp ax, 1000 ; if

ax>1000 Jb l4

Sub ax, 1000

Add bx, 1000h ; add 1000h to

result Jmp l2

L4 : cmp ax, 100 ; if

ax>100 Jb l6

Sub ax, 100

Add bx, 100h ; add 100h to

result Jmp l4

L6 : cmp ax, 10 ; if ax>10

15
Jb l8

Sub ax, 10

Add bx, 10h ; add 10h to

result Jmp l6

L8 : add bx, ax ; add remainder

; to result

Mov ah, 02

Mov cx, 0204h ; Count to display

; 2 digits

Go: rol dh, cl

Mov dl, dh

And dl, 0fh

Add dl, 30h ; display 2 msb

digits Int 21h

Dec ch

Jnz go

Mov ch, 04h ; Count of digits to be

; displayed

Mov cl, 04h ; Count to roll by 4

bits L12: rol bx, cl ; roll bl so

that msb

; comes to lsb

Mov dl, bl ; load dl with data to be

; displayed

And dl, 0fH ; get only lsb

16
Cmp dl, 09 ; check if digit is 0-9 or letter A-F
Jbe l14

17
Add dl, 07 ; if letter add 37H else only add

30H L14: add dl, 30H

Mov ah, 02 ; Function 2 under INT 21H (Display

character) Int 21H

Dec ch ; Decrement

Count Jnz l12

Mov ah, 4cH ; Terminate

Program Int 21H

End

18

You might also like