Basanta Gautam 10

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 16

AMAR ADARSHA SECONDARY

BOARDING SCHOOL

COMPUTER SCIENCE PROJECT WORK


GRADE : XII
SYMBOL NO :
PROJECT REPORT OF C- PROGRAMMING

PREPARED BY : MOHIT KHATRI


PROJECT SUBMITTED TO : NATIONAL
EXAMINATION BOARD (NEB)

INTERNAL EXAMINER EXTERNAL EXAMINER

NAME: Kedar Poudel NAME:


SIGNATURE : SIGNATURE:
DATE : DATE :
TABLE OF CONTEXT
1. INTRODUCTION………………………03
2.ACKNOWLEDGMENT……….………..05
3.CERTIFICATE…………………………..06
4.AIMS AND OBJECTIVES……………....07
5.C- PROGRAMMING…………………….08
6. IMPORTANCE OF C- PROGRAMMING…...09
7.ADVANTAGE & DISADVANTAGE…....10
8.EXAMPLE OF C- PROGRAMMING…….11
9.CREATING C- PROGRAMMING IN
PYTHON…………………………………13
10. CONCLUSION ………………………..15
INTRODUCTION
Technology is rapidly increasing in today’s world. Internet is
one of the rapidly increasing technologies. The use and user
are increasing day by day. Nowadays, people are using internet
for communication, collaboration, and many others things that
done online. With the development of internet, computer
programming is also developed rapidly in the modern era.

Computer Programming is the fundamental skills for so many


different applications, not just software development or
cutting-edge research into artificial intelligence. Through the
help of computer programming we can do research and
development, government operations, web development and
designs, marketing and business operations, data science and
artificial intelligence, cyber security etc.
Objectives :
The primary objectives of the [c programming] project are as
follows:
1. To develop a [ software/application/system].

2. To implement various features and functionalities using


C programming language.

3. To ensure the software meets the specified requirements


and performs reliably under different scenarios.
Importance :
The importance of c programming project holds
significance in several aspects:
1. Educational Value: It provides an opportunity for
hands-on learning and practical application of C
programming concepts learned throughout the course.
2. Problem-Solving: By tackling real-world problems, the
project hones our problem-solving skills and encourages
creative thinking.
3. Skill Development: It fosters the development of
programming skills, software engineering practices, and
collaboration abilities essential in the professional world.
Acknowledgement
I would like to express a deep sense of thanks to my
project guide Mr. Kedar Poudel sir for guiding me
immensely through the course of the project. He
always evinced keen interest in my work. His
constructive advice & constant motivation have been
responsible for the successful completion of this
project.

I also thanks to my parents for their motivation &


support. I must thanks to my classmates for their
timely help & support for compilation of this
project.

Last but not the least, I would like to thank all those
who had helped directly or indirectly towards the
completion of this project.
Certificate

This is to certify that this project work has been


made by MOHIT KHATRI of XII .

Complete the cource of project work under the


guidance of our Computer teacher Kedar Poudel
and have completed it successfully……..

Signature of External Examiner ………………..


AIMS AND OBJECTIVES
The aims and objectives of a C programming project
work can vary depending on the specific project, but here
are some common ones
1. :Understanding of C Programming Concepts: To gain
a deeper understanding of fundamental programming
concepts such as variables, data types, control
structures, functions, and arrays within the context of
C programming.
2. Problem Solving Skills: To develop problem-solving
skills by implementing algorithms and data structures
using C programming language.
3. Software Development Skills: To enhance software
development skills by working on a project from
conception to completion, including requirements
gathering, design, implementation, testing, and
documentation.
4. Application Development: To create practical
applications such as games, utilities, system tools, or
simulations using C programming language.
5. Learning Programming : To explore different
programming
such as object- oriented programming or functional
programming within the C programming language.
c- PROGRAMMINGra
INTRODUCTION
C programming is a versatile and widely-used computer
programming language created by Dennis Ritchie in the
early 1970s at Bell Labs. It is a high-level, general-
purpose programming language known for its efficiency,
flexibility, and close-to-the-machine capabilities. C is
often referred to as a procedural language, meaning it
follows a structured approach to writing programs, using
functions and code blocks to organize logic.
It provides low-level access to memory through
pointers, making it suitable for system programming and
tasks requiring direct hardware manipulation. C's
simplicity and power have led to its widespread adoption
in various domains, including operating systems,
embedded systems, game development, and application
software. Despite its age, C remains relevant today,
serving as the foundation for many modern programming
languages and frameworks.
IMPORTANCE OF C-PROGRAMMING
1. Foundation for System Programming: C is commonly used
for system programming and developing operating systems
due to its low-level capabilities and direct access to
memory.

2. Efficiency: C programs typically run faster and use fewer


system resources compared to programs written in higher-
level languages like Python or Java, making it suitable for
performance-critical applications.

3. Portability: C programs can be compiled to run on


different platforms with minimal changes, making it a
portable language that can be used across various operating
system and hardware architectures

4. Embedded Systems: Many embedded systems, such as


microcontrollers and IOT devices, are programmed using C
because of its efficiency and ability to interact closely with
hardware.
Overall, C programming remains relevant and important in
various domains, making it a valuable skill for software
developers and engineers
ADVANTAGE AND DISADVANTAGE
OF C- PROGRAMMING
Advantages of c programming :
1. Efficiency: C is a high-performance language and allows
low-level manipulation of memory, making it efficient for
system programming and embedded systems.
2. Portability: C programs can run on various platforms with
minimal or no modifications, making it a portable
language.
3. Scalability: C allows modular and structured
programming, making it suitable for small to large-scale
projects
Disadvantages of c programming :
1. Manual Memory Management: C requires manual memory
management, which can lead to memory leaks, buffer
overflows, and other memory-related errors if not handled
properly.
2. Lack of Built-in Safety Features: Unlike modern languages,
C does not have built-in features like automatic bounds
checking or type safety, increasing the risk of runtime
errors and vulnerabilities.
3. Complex Syntax: C syntax can be complex and difficult to
grasp for beginners, especially compared to more modern
and high-level languages.
 Write a program to input name, roll no, & address of
different students and display the record of those
students whose first name begins from the letters.
''S ''*/
# Include <studio.h>
#Include <conico.h>
Main ( )
{
// Code to design structure students
{
Character name [50];
Int roll no;
Character address [100];
}
// Code to input
Structure students [n ];
For (i=0; i<n; i++)
}
Print f ("/n enter name );
scan f ("% C"&name[50] );
print f ("/n enter roll no );
Scan f ("% D & roll no " );
Print f ("/n enter address );
Scan f ("% C'& address [100] );
{
// Code to display
Print f ("/n /n name/+ roll no /+ address");
For (i=0; i<N; i++);
}
Print f ("/n /n %C /+ %D / + % C , name[50], roll no,
address[100] );
{
// Code to count
C=0;
for (i=0; i<n; i++);
}
If (S [ I ] name [0]= ="S" // S [ I ] name[0 ] = =" S" );
{
C ++;
{
Print f ('' /N first name begins from the letter' S ' );
}
Getch ( );
}
CREATING A C PROGRAMMING IN PYTHONE
Sure, I'll explain the program step by step:
1. Define a function to filter students: The filter_students
function takes two parameters: students (a list of
dictionaries representing student records) and letter (the
letter to filter students by). It iterates through each student
record in the list and checks if the first letter of the
student's name matches the specified letter. If it does, the
student record is added to a new list called
filtered_students, which is returned at the end.
2. Input the number of students: The program prompts the
user to enter the number of students they want to input.
3. Initialize an empty list to store student records: An empty
list called students is initialized to store the student
records.
4. Input student details: Using a loop, the program asks the
user to input the name, roll number, and address of each
student one by one. The details are then stored as a
dictionary in the students list.
5. Input the letter to filter students: The program prompts
the user to enter the letter they want to filter the student
records by.
6. Filter and display student records: The program calls the
filter_students function with the list of student records
(students) and the letter entered by the user (filter_letter).
If there are any students whose names start with the
specified letter, their details are printed one by one. If no
students are found, a message indicating that no students
were found is displayed.
This program uses a structure students to store the information
for each students. It then takes input for the specified number of
students and displays the records of those whose first names
begin with ' s '.
CONCLUSION
By doing the project of C programming, we are able to
make a simple structure of students. In this project we
able to provide the information related on how we can
handle various file handling, structure in c program.
CONCLUSION
In conclusion, the basic quiz game project in C provides
a simple yet functional platform for users to test their
knowledge. With a minimalistic design, the
straightforward interface, smooth navigation, and
immediate feedback on user responses. Despite its
simplicity, the project demonstrates key programming
principles and serves as an accessible introduction to C
programming for structure of students development.

You might also like