Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
281 views

Css MP

The document summarizes a microproject to design a form that checks if a passed string is a palindrome. It includes an introduction to palindromes, the aim to create a form using JavaScript that accepts a string from the user and checks if it is a palindrome. It describes the actual methodology which was to gather information on palindromes, develop code using built-in JavaScript methods to reverse a string and compare it to the original, test the code, and prepare a report. The code provided uses methods like toLowerCase(), split(), reverse(), join() to reverse the string and compare it to the original to check if it is a palindrome.

Uploaded by

Rutuja Pote
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
281 views

Css MP

The document summarizes a microproject to design a form that checks if a passed string is a palindrome. It includes an introduction to palindromes, the aim to create a form using JavaScript that accepts a string from the user and checks if it is a palindrome. It describes the actual methodology which was to gather information on palindromes, develop code using built-in JavaScript methods to reverse a string and compare it to the original, test the code, and prepare a report. The code provided uses methods like toLowerCase(), split(), reverse(), join() to reverse the string and compare it to the original to check if it is a palindrome.

Uploaded by

Rutuja Pote
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 12

A

MICROPROJECT REPORT
ON
“Design a form to check whether a passed string is
palindrome or not.”

SUBMITTED
BY

Roll No Name of Group Members


12 Rutuja Limkar

Under Guidance of -

Mrs.J.C Joshi

Diploma Course in Information Technology (As per


directives of I Scheme, MSBTE)

Sinhgad Technical Education Society’s

SOU.VENUTAI CHAVAN POLYTECHNIC, PUNE -


411041
ACADEMIC YEAR 2022-2023
Maharashtra State Board of technical
Education Certificate
This is to certify that Ms. Rutuja Sandip Pote with Roll No.12 of
Fifth Semester of Diploma in Information Technology of
Institute Sou. Venutai Chavan Polyechnic (Code : 0040) has
successfully completed the Micro-Project in Client Side
Scripting Language (22519) for the academic year 2022-2023.

Place: SVCP, Pune Enrollment No:2000400083


Date: Exam Seat No:

Mrs.J.C.Joshi Mr.U.S.Shirshetti Dr. M.S.Jadhav

Subject Teacher Head of department Principal


INDEX

SR NO CONTENTS PAGE NO

1 Rationale
2 Aim of the Micro-Project

3 Course Outcomes Addressed

4 Literature Review

5 Actual Methodology Followed

6 Output of microproject

7 Actual Resources Used

8 Skills Developed

9 Applications of Micro Project


Design a form to check whether a passed string is palindrome or not

Annexure - I

Part A - Micro-Project Proposal

“Design a form to check whether a passed string is


palindrome or not.”

1.0 Aim of the Micro-Project -


Design a form to accept the string from user and write JavaScript to check whether a
passed string is palindrome or not.

2.0 Intended Course Outcomes –


a) Create interactive web pages using program flow control structure.
b) Implement array and function in JavaScript.
c) Create event based web forms using JavaScript.

3.0 Proposed methodology –


The project aims is to design a form to accept the string from user and write
JavaScript to check whether a passed string is palindrome or not in the following
format:

Step I :- Searched and Selected the topic for micro project.


Step II:- Discussed about the microproject.
Step II :- Distributed the work accordingly.
Step III :- Collected and gathered the required data.
Step IV :- Develop a code then test the code and remove errors if any.

Step V :- Process information in one document.


Step VI :- Consulted with our subject teacher.

4.0 Action Plan

Sr. Details of Activity Date


No.

Department of Computer Technology academic year 2020-21 1


Design a form to check whether a passed string is palindrome or not

Disscussion and Finalize of


1 03/09/2022
topic.

Preparation and submission


2 08/09//2022
of Abstract.

3 Literature Review. 16/10/2022

4 Collected of data. 21/10/2022

Disscussion and outline of


5 10/11/2022
Content.

6 Editing and proof Reading 17/11/2022


of Content.

Compilation of Report and


7 Presentation. 05/12/2022

Final submission of
8 13/12/2022
Microproject.

5.0 Resources Required -

Sr. No. Resources required Specifications


1 Computer system Processor i5 RAM-8GB
2 Operating System Windows 10
3 Notepad Text editor
4 Web browser Microsoft store, Google Crome

Team Members
Roll No. Name
12 Rutuja Pote

Department of Computer Technology academic year 2020-21 2


Design a form to check whether a passed string is palindrome or not

Annexure – II

Micro-Project Report
On

“Design a form to check whether a passed string is


palindrome or not.”

Department of Computer Technology academic year 2020-21 3


Design a form to check whether a passed string is palindrome or not

6.0 Rationale –
A palindrome is a word, number, phrase, or other sequence of characters which reads
the same backward as forward. There are also numeric palindromes, including
date/time stamps using short digits 11/11/11 11:11 and long digits 02/02/2020.
Sentence-length palindromes ignore capitalization, punctuation, and word boundaries.

The word palindrome was introduced by Henry Peacham in 1638. It is derived from
the Greek roots 'again' and 'way, direction'; a different word is used in Greek,
'carcinic' (lit. crab-like) to refer to letter-by-letter reversible writing. In recent history,
there have been competitions related to palindromes, such as the 2012 World
Palindrome Championship, set in Brooklyn, USA. The longest palindromic word in
the Oxford English Dictionary is the onomatopoeic tattarrattat, coined by James Joyce
in Ulysses (1922) for a knock on the door.

Palindrome examples-
Below are a few example of Palindrome
1. Mom
2. Madam
3. Dad
4. Level
5. civic

7.0 Aim of the Micro-Project –


Design a form to accept the string from user and write JavaScript to check whether a
passed string is palindrome or not.

8.0 Course Outcomes Achieved –

a) Create interactive web pages using program flow control structure.


b) Implement array and function in JavaScript.
c) Create event based web forms using JavaScript.

9.0 Literature Review-

Department of Computer Technology academic year 2020-21 4


Design a form to check whether a passed string is palindrome or not

This solution is very intuitive - we will simply reverse the string and compare it to the
original. If they are equal, it’s a palindrome. Here we are using reverse(), split(),
join(), toLowerCase() which are built-in functions.

• toLowerCase(): This function will lower case the whole string.

• Split(): Split function will split the string into individual characters.

• Reverse(): Reverse function will reverse the string which is output from the above
function. This means the string will be starting from the last character reading
character by character until the first character.

• Join(): Join function will join the characters which were output in reverse fashion
from the above function.

10.0 Actual Methodology followed-

1. We focused on the materials we needed, as well as the instructions and sorted it


out in a manner which will expedite different responsibilities of the team
members.
2. Gathered information about Palindrome string.
3. Developed a code for palindrome string using built-in method.
4. Tested the code.
5. Prepared a report.
6. Checked for any further changes to be done in the project.
7. Created the final report of the project.

Code-
<!DOCTYPE html>
<html>
<head>
<script type="text/JavaScript">

function myFunction()

Department of Computer Technology academic year 2020-21 5


Design a form to check whether a passed string is palindrome or not

{
var str = document.getElementById('txtbox').value;

var result = checkPalindrome(str);


alert('The Entered String "'+str +'" is "'+result+'"');
}
function checkPalindrome(str)
{
var orignalStr;
str = str.toLowerCase();

orignalStr = str;

str = str.split('');
str = str.reverse();
str = str.join('');

var reverseStr = str;

if(orignalStr == reverseStr)
{
return 'Palindrome';
}
else
{
return 'Not Palindrome';
}
}
</script>
</head>
<body>
<form>
<h4><a href=""></a></h4>
<input type="text" id="txtbox" placeholder="Enter String" />
<input type="button" onclick="myFunction()" value="Check Palindrome" />
</form>

Department of Computer Technology academic year 2020-21 6


Design a form to check whether a passed string is palindrome or not

</body>
</html>

11.0 Output of Microproject –

output: string is palindrome

Department of Computer Technology academic year 2020-21 7


Design a form to check whether a passed string is palindrome or not

output: string is not palindrome

12.0 Actual Resource Used-

Sr. No. Resources required Specifications

1 Computer system Processor i5 RAM-8GB

2 Operating System Windows 10

3 Notepad Text editor

4 Web browser Microsoft store, Google Crome

13.0 Skills Developed –


During the course of this micro-project we learnt about how to check whether a passed
string is Palindrome or not.

1. After working on the allotted microproject topic, We gained various skills like
working in team, making coordination between team members.
2. This project also made me increase my programming skills.

3. Such project work increases our knowledge other from the regular course work.
4. We learnt about palindrome using built-in method.
5. We learnt various methods of palindrome.

14.0 Applications of this Micro-project -


1. Most of us are introduced to palindrome as children. On their simple level,
palindrome are simple phrases that have the same sequence of letters when read
both forward and backward

2. Most of the poet use palindrome phrases in their poetry so that it is easy to
understand to children.

3. There are many more complicated palindromes poetry. Once you’ve mastered
writing simple palindromes, writing a palindrome poem can be an exciting way to
put your skills to the test.

Department of Computer Technology academic year 2020-21 8


Design a form to check whether a passed string is palindrome or not

The most families palindromes, in English at least, are character-by-character-the


written character read the same backwards as forwards.

4. Some palindrome use words as units rather than letters.

Department of Computer Technology academic year 2020-21 9

You might also like