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

Computer Science Project: Algorithms & Programming

The document outlines a Computer Lab Assignment for Grade 9 students at Fluorescent Secondary School, focusing on algorithms, flowcharts, HTML, and Python programming, with a submission deadline of 2082-08-21. It includes acknowledgments, endorsements, and a declaration by the student, Sujan Pandey, highlighting the guidance received from the instructor and the project's alignment with academic objectives. The document also features various algorithms and flowcharts, as well as HTML and Python code examples related to the assignment topics.

Uploaded by

voldigoada675
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)
6 views24 pages

Computer Science Project: Algorithms & Programming

The document outlines a Computer Lab Assignment for Grade 9 students at Fluorescent Secondary School, focusing on algorithms, flowcharts, HTML, and Python programming, with a submission deadline of 2082-08-21. It includes acknowledgments, endorsements, and a declaration by the student, Sujan Pandey, highlighting the guidance received from the instructor and the project's alignment with academic objectives. The document also features various algorithms and flowcharts, as well as HTML and Python code examples related to the assignment topics.

Uploaded by

voldigoada675
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

Fluorescent Secondary School

Address: Baniyatar, Kathmandu


Contact: fluorescent2052@[Link]

Computer Lab Assignment (Third Terminal)


Topic:
i. Algorithm
ii. Flowchart
iii. Html Programming
iv. Python Programming

Deadline: 2082-08-21

Name: Sujan Pandey


Class: Nine
Section: ‘A’
Roll no: 9
Acknowledgement

This project has been completed as part of the academic


curriculum, focusing on key foundational topics in computer
science: Algorithm, Flowchart, HTML Programming, and
Python Programming. The objective was to explore and
implement core programming principles through structured
analysis and practical application.

I would like to acknowledge the guidance of Adv. Suresh Bahadur


Khadka, Computer Science Instructor, whose instructional clarity
and subject expertise greatly facilitated the completion of this
work. His emphasis on logical thinking and structured problem-
solving was instrumental in deepening my understanding of the
topics covered.

I also recognize the academic environment and resources provided


by the institution, which enabled systematic learning and project
execution within the prescribed timeframe.

This document reflects the integration of theoretical knowledge


and practical skills acquired during the course, aligned with the
learning outcomes of the curriculum.

………………………………..
Sujan Pandey
2082-08-21
Endorsement

I endorse the project report titled “Algorithm, Flowchart, HTML


Programming, and Python Programming”, submitted by Sujan
Pandey of Grade 9 'A' at Fluorescent Secondary School,
Baniyatar, Kathmandu.

This project has been prepared and submitted as part of the


internal practical examination for Computer Science. It reflects a
commendable effort to explore and articulate foundational
programming concepts with clarity, structure, and technical
depth. The integration of algorithmic logic, visual representation
through flowcharts, and hands-on implementation using HTML
and Python demonstrates a well-rounded understanding of
computational thinking and software development.

The student has shown diligence, creativity, and academic


integrity throughout the preparation of this report. I believe this
work contributes meaningfully to the student’s learning journey
and aligns with the objectives of the curriculum.

…………………. …….……………
Head of Department Principal
(Roshan Maharjan) (Kamal Neupane)
Supervisor’s Recommendation

It is with great academic pride that I recommend the project titled


“Algorithm, Flowchart, HTML Programming, and Python
Programming”, submitted by Sujan Pandey, a student of Grade 9
'A' at Fluorescent Secondary School, Baniyatar, Kathmandu.

This project has been diligently prepared under my supervision,


adhering to the prescribed guidelines and format set forth by the
Computer Department. The work reflects a sincere commitment
to learning and showcases a thoughtful exploration of core
programming concepts. From the logical precision of algorithms
to the clarity of flowcharts, and from the structural design of
HTML to the expressive power of Python, the student has
demonstrated both technical competence and academic maturity.

The depth of effort, clarity of presentation, and alignment with


curricular objectives make this project worthy of formal
evaluation. I wholeheartedly recommend it as a valuable
contribution to the Internal Practical Examination in Computer
Science for the Third Term of 2082.

………………………
Adv. Suresh Bahadur Khadka
2082-08-21
Declaration

I hereby declare that the project entitled “Algorithm, Flowchart,


HTML Programming, and Python Programming”, submitted to
the Computer Department of Fluorescent Secondary School, is an
original work completed under the supervision of Adv. Suresh
Bahadur Khadka, Computer Science Instructor.

This project has been prepared in accordance with the prescribed


academic guidelines and is submitted in partial fulfillment of the
requirements for the Internal Practical Examination in Computer
Science for Grade 9, Third Term of 2082.

I affirm that all content presented in this report is the result of my


own effort and study, and any external sources have been duly
acknowledged.

……………………….
Sujan Pandey
2082-08-21
Algorithm and Flowchart

Questions:
1. Write an algorithm to print first 10 natural number with
sum.

Algorithm:

Step 1: Start

Step 2: Let n = 1

Step 3: Let sum = 0

Step 4: Print n

Step 5: sum = sum + n

Step 6: n = n + 1

Step 7: Is n < = 10?

{If yes, go to step 4}

{If no, print sum}

Step 8: END

Flowchart:
START

Let n = 1

A
A

Let sum = 0

Print n

sum = sum + n

n=n+1

Yes
Is n <= 10?

No
END
Algorithm and Flowchart

Questions:
2. Write an algorithm and draw flowchart to find the sum of
2 numbers.

Algorithm:

Step 1: Start

Step 2: Read 2 numbers as A and B

Step 3: Add the numbers A and B and store in D

Step 4: Display D

Step 5: End

Flowchart:
START

Read 2 numbers as A and B

Add the numbers A and B and store in D

Display D

END
Algorithm and Flowchart

Questions:
3. Write an algorithm and draw flowchart to find the greatest
number among 3 numbers.

Algorithm:

Step 1: Start

Step 2: Enter three numbers (a), (b) and (c)

Step 3: Is (a > b and a > c)?

{If yes, print a is greatest}

{If no, go to step 4}

Step 4: Is (b > c)?

{If yes, print b is greatest}

{If no, print c is greatest}

Step 5: END

Flowchart:
START

Enter three numbers (a), (b) and (c)

B
B

YES Is (a > b and NO


a > c)?

YES Is (b > c)?


Print a is greatest

Print b is greatest
NO

Print c is greatest

END
Algorithm and Flowchart

Questions:
4. Write an algorithm and draw flowchart to find if a number
is even or odd.

Algorithm:

Step 1: Start

Step 2: Input a number (n)

Step 3: Is (n MOD 2 = 0)?

{If yes, display n is even}

{If no, display n is odd}

Step 4: END
Flowchart:

START

Input a number (n)

YES Is (n MOD 2 = 0)? NO

Display n is even Display n is odd

END
Algorithm and Flowchart

Questions:
5. Write an algorithm and draw flowchart to find if a person
is eligible for driving or not based on their age.

Algorithm:

Step 1: Start

Step 2: Enter the age of person (a)

Step 3: Is (a >= 18)?

{If yes, print you are eligible}

{If no, display you are not eligible}

Step 4: END
Flowchart:

START

Enter the age of person (a)

YES Is (a >= 18)? NO

Print you are eligible Print you are not eligible

END
HTML

Questions:
1. Create a html page to create icon grid layout.
Code:
HTML

Questions:
2. Create a pie chart in html.
Code:
HTML
Questions:
3. Create a html page with bouncing ball.
Code:
HTML
Questions:
4. Create a html page to create stripped background card.
Code:
HTML
Questions:
5. Create a html page to create gradient text banner.
Code:
PYTHON
Questions:
1. WAP to display 10,9,8,7,6,5,4,3,2,1 with their sum.
Code:
n = 10
for i in range (0,10):
print (n)
n -= 10
Output:
PYTHON
Questions:
2. WAP to display 1, 8, 27, 64, …… up to 10th term with
their sum.
Code:
i=1
sum = 0
while i <= 10:
n = i ** 3
print (n)
sum += n
i += 1
print( f ‘sum is: {sum}’)
Output:
PYTHON
Questions:
3. WAP to display 3,5,8,12,17 ….. up to 10th terms with
their sum.
Code:
n=3
g=2
i=1
sum = 0
while i <= 10:
print (n)
sum += n
n += g
g += 1
i += 1
print (f 'sum is:{sum}')
Output:
PYTHON
Questions:
4. WAP to display 2,2,4,6,10….. up to 10th terms with their
sum.
Code:
a=2
b=2
i=1
sum = 0
while i <= 10:
print (a)
sum += a
c=a+b
a=b
b=c
i += 1
print (f'sum is:{sum}')
Output:
PYTHON
Questions:
5. Write a for loop that prints all the even numbers up to
20.
Code:
a=5
n=1
while n <= 10:
print (a)
a += 5
n += 1
Output:

You might also like