You are on page 1of 14

ED-MARK ACADEMY

KALANKI-14, Kathmandu

Project report
Subject: Computer Science
Name: Roshan Karki
Grade- XI, 2080
Acknowledgement

First of all, I would like to thank my subject teacher Mr


Prajwal Pradhan sir for his proper guidance and
moderation during my classes. Plus, I owe a thank to my
dear friends for their continuous support and help on the
completion of my project work.

I also thanks my colleagues, family and the college


department who have helped in successful completion of
the project.

Thank you!
Objectives

1.To get more knowledge about Programming, office

packages and web development.

2.To learn about the proper report format.

3.To enhance the critical thinking.

4.To apply critical thinking and analysis in the research

and development of the project.

5.To meet project guidelines and requirements as

specified by the teacher.


1 Structured Query Language is an international
standard database query language for accessing and
managing data in the database.
Basic Structure of SQL

⮚ CREATE TABLE statement


Syntax:
CREATE table table_name(field1 data_type,……);
For example:

⮚ INSERT into Statement


Syntax:
INSERT into table name Values(value);
For example:

⮚ ALTER table Statement


Syntax:
ALTER Table table_name ADD column_name datatype;
For example:
⮚ DELETE Statement
Syntax:
DELETE from table_name WHERE condition;

For Example:

2. Programming in C
2.1 Introduction
The C language is one of the most powerful
languages. It is highly efficient programming language
and easy to understand. C was developed in the early
1970s by Ken Thompson and Dennis Ritchie at Bell labs.
C is a kind of general purposed, structured
programming language that has large numbers of
vocabularies and simple syntax to write a program.
2.2 Some example
1. C program to print Hello World.

Output:

2. C program to subtract two integers number.

Output:
3. C program to print number up to 50.

Output:

4. C program to find out whether the number is even or


odd.

Output:
5. C program to find out sum and subtract using switch
case.

Output:

6. Write a program to find the sum of first n natural


numbers using loop.

#include<stdio.h>
#include<conio.h>
int main() {
int i, sum=0, n;
printf("Enter the nth term to which you want to find the natural
numbers: ");
scanf("%d",&n);
for(i=1; i<=n; i++) {
sum=sum+i;
}
printf("\nThe sum to %dth term of natural number is:%d",n,sum);
getch();
return(0);
}

3. Web technology
3.1 Introduction to Java Script
JavaScript (JS) is one of the most popular scripting

programming language which is light weight and mostly

used to develop dynamic websites. It is a case sensitive

interpreted programming language with object-oriented

capabilities. It was developed by Netscape and originally

called LiveScript in 1995.


Advantage of Java Script
● Speed

● Simplicity

● Popularity

● Interoperability
Disadvantage of Java Script
● Client-Side Security

● Browser Support

3.2 Example of Java Script

1. Write a JavaScript program to display the


output on web browser.
Output:

2. Show the example of arithmetic operators in


Java Script.
Conclusion

I really enjoyed doing this project. I started the work the first

day I got my copy of assignment and completed 90% excluding

printing and binding jobs within a week and spent some days on

its moderation.

Now, I am satisfied with my project and the report. I have tried

my best to include all the topic which I have read and know very

well. Hope you would like it.

As this is my first try to make report, I would try my best to

make report more beautifully including each and every thing in

next project.
Bibliography
1. Computer Science class 11 book by Kapil
Dhungel .
2. www.w3schools.com
3.https://en.wikipedia.org/wiki/
C_(programming_langua ge

You might also like