0% found this document useful (0 votes)
102 views19 pages

BSC Compsci Practical 2023-24

Uploaded by

amandange26
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)
102 views19 pages

BSC Compsci Practical 2023-24

Uploaded by

amandange26
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/ 19

1

1. Create MS word Document by using simple text and paragraph


properties.
1) Load Microsoft Word.
2) Type the following text:

The fairy tales we deserve the disney stories that enchant us today are drawn from ancient,
worldwide folk tradition. some folklorists believe that "cinderella" in its most basic form--
neglected youngest child is tested, found worthy, rewarded with mate--dates back to the old
stone age. cinderella folk versions of "cinderella" were related in hundreds of societies. in
these stories, the "test" for the unfortunate child is different. our familiar cinderella is
beautiful and has tiny feet. by contrast, the japanese cinderella gets her prince by writing a
prize-winning poem. other fairytales include:

 little red riding hood


 three little pigs
 beauty and gorgeous

In these stories, the "test" for the unfortunate child is different. our familiar cinderella is
beautiful and has tiny feet. By contrast, the japanese cinderella gets her prince by writing a prize-
winning poem.

3) Save your work as “username” on user desktop.

4) Bold and underline “the fairy tales we deserve”

5) Change the line spacing of the paragraphs to 1.5.

6) Replace the word “beautiful” with magnificent.

7) Apply a 6pt width page border to the document.

8) Add a header to the document and write your name and surname.

9) Change the bullets points to a numbered list.


2

2. Create MS Excel Document to study the Table properties, alignment and


sorting Summary of players in the year 2013-14.

December 2013-14
Surname Name Test Old RunRate Run’s

Ganguly Saurabh 106 200 7.67 12789

Tendulkar Sachin 125 305 9.87 30235

Dhawan Shikhar 6 67 7.65 6700

Kohli Virat 67 106 6.65 8900

Jadeja Ravindra 12 98 6.89 5600


3

3. Create MS word Document to study the Resume.

RESUME
M.Kashif Nihal

Gadge Nagar Amravati

Dist.Amravati Pin:-444607

E-mail:[email protected]

Cell No. 9022031346

PERSONAL DETAILS:-

 Name:-Mohammad Kahsif Nihal

 Father Name:-Mohammad Nazim

 Date of Birth:-5/9/1999

 Contact No:-9022031346

 Nationality:-Indian

 Cast:-Open-

 Language;-Marathi,Hindi,Urdu,English

 Marriage Status:-Single

 Educational Profile:-12th

Class Year Institute Board/University Percentage


S.S.C March-2014 Nootan kanya Amravati 81%
school
H.S.C Feb-2016 MVDM. Amravati 60%
MS-CIT April-2016 Nascom Amravati 80%
Computer
Amravati

I hereby declare that the above information is true as per my knowledge.

Place :- Amravati Yours


FaithfullyDate:-_/_/_
M.Kashif Nihal
4
5

4. Create the MS word document to create models using Charts, Diagrams


and Smart art.

Grandparents

Child 1 Child 2

Sub Child 1 Sub Child 2

6
5
4
Transport
3
Transport
2
Taxes
1
0
2012-13 2013-14 2014-15 2015-16

preliminary
investigation

System
System Analysis
Implementation

System System
Development Design
6

5. Creating a Diwali greeting card using MS word documents.


7

6. Create MS excel document to calculate the total and average area and
population of district.

district area per sq metre population

1 chennai 174 4216268

2 kanchipuram 124 2869345

3 bellore 4434 2736789

4 selam 6077 2567345

5 nilgiri 1234 345667

6 dhramapuri 234 34678

7 koimbatur 123 234578

8 peramber 12345 243568

9 karur 345 23789

10 thinajavar 789 2345678

11 yellore 567 123678

12 kodaikanal 123 245689

Total 27184 15987072

2265.333 1332256
Average
8

7. Create MS excel document to prepare salary sleep of Employee.

G.S. Pandit Company Pvt Ltd


Payment slip

Employee Name:
Designation
Month/ Year

Earning Deduction

Basic DA 45180 Provident Fund(2%) 902.2


HRA 3000 ESI(1%) 30
Conveyance 7000 loan 3000
Professional Tax 150

Total Addition 55180 Total Deduction 4282.2

Net Salary 50827.8

In Words---------------------------------------------------- Name Of Bank

Signature of Candidate

Date: / /
9

8. Create ms excel document to prepare mark sheet of student.

Sant Gadge Baba Amravati


University Statement of
Marks

BSc. Computer science second semester

Roll Name of Candidate Enr .no. Centre Category College


M. Kashif Nihal 180167123 No 2 Code
No 10234
180 240

Subject Subject Maximum Marks Minimum Marks


Code
ext int ext int

1102 data structure 80 20 55 19

1103 numerical and statistical 80 20 55 19

1104 analog and digital ciruit 80 20 56 18

1105 assembly language 80 20 64 17


programming
1106 computer laboratory 80 20 56 19

1107 social science and economics 80 20 71 19

480 120 477 111

marks out of
obtained 600
percentage
588
98
10

9. WAP in C to swap two numbers.


#include<stdio.h>
#include<conio.h>
void main()
{
int x, y, temp;
clrscr();
printf("enter the value of x and y\n");
scanf("%d%d", &x, &y);
printf("before swapping\nx = %d\ny = %d\n",x,y);
temp = x;
x = y;
y = temp;
printf("after swapping\nx = %d\ny = %d\n",x,y);
getch();
}

OUTPUT:-

enter the value of x and y


10
20

before swapping
x=10
y=20

after swapping
x=20
y=10
11

10. WAP in C to calculate area and circumference of circle.

#include<stdio.h>
#include<conio.h>
void main()
{
int r;
float pi=3.14,area,ci;
clrscr();
printf(“enter radius of circle:”);
scanf("%d", &r);
area=pi*r*r;
printf(“area of circle=%f”,area);
ci=2*pi*r;
printf(“circumference of circle=%f”,ci);
getch();
}

OUTPUT:-

Enter radius of circle3


area of circle=28.260000
circumference of circle=18.840000
12

11. WAP in C to check the number is Even or Odd


#include<stdio.h>
#include<conio.h>
void main()
{
int n;
clrscr();
printf("enter the value of n\n");
scanf("%d",&n);
if(n%2==0)
{
printf("the given no. even=%d",n);
}
else
{
printf("the given no. odd=%d",n);
}
getch();
}

OUTPUT:-

enter the value of n 8


the given no. even=8

......................................................................................................................................................
enter the value of n9
the given no. odd=9
13

12. WAP in C to Calculate Simple Interest and Compound Interest.


#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{
int p,n; float
r,si,ci;
clrscr();
printf("enter the value of principle amount (p)\n");
scanf("%d",&p);
printf("enter the value of rate (r)\n");
scanf("%f",&r);
printf("enter the value of period (n)\n");
scanf("%d",&n);
si=p*n*r/100;
printf("simple interest=%f\n",si);
ci=p*pow(1+r/100,n);
printf("compound interest=%f\n",ci);
getch();
}

OUTPUT:-
Enter the value of principle amount (p)
3000
Enter the value of rate (r) 5
Enter the value of period (n) 3
Simple interest=450.000000
Compound interest=472.875000
14

13. WAP in C to calculate factorial of a number using While Statement.

#include<stdio.h>
#include<conio.h>
void main()
{
int n,i=1,fact=1;
clrscr();
printf("enter any no.=>\n");
scanf("%d",&n); while(i<=n)
{
fact=fact*i;
i++;
}
printf("\nfactorial of a no.=%d",fact);
getch();
}

OUTPUT:-

enter any no.= 5

factorial of a no.=120
15

14. WAP in C to test Character Type.

#include<stdio.h>
#include<conio.h>
void main()
{
char ch;
clrscr();
printf("press any key=>");
ch=getchar();
if(isalpha(ch)>0)
printf("a character is alphabet");
elseif(isdigit(ch)>0)
printf("a character is digit");
else
printf("a character is any other special character");
getch();
}

OUTPUT:-

press any key= s

a character is alphabet
16

15. WAP in C to implement arithmetic operators using Switch Statement.


#include<stdio.h>
#include<conio.h>
void main()
{
float a,b,c;
int n;
clrscr();
printf("enter two number :\n");
scanf("%f%f",&a,&b); printf("\
naddition :1");
printf("\nsubtraction :2");
printf("\nmultiplication:3");
printf("\ndivision :4"); printf("\
nenter your choice :");
scanf("%d",&n);
switch(n)
{
case 1: c=a+b; printf("\
naddition=% 2f",c); break;
case 2: c=a-b; printf("\
nsubtraction=% 2f",c); break;
case 3: c=a*b; printf("\
nmultiplication=% 2f",c); break;
case 4: c=a/b; printf("\
ndivision=% 2f",c); break;
default:
printf("\ninvalid operation");
break;
}
getch();
}

OUTPUT:-
enter two number : 4
8
enter your choice : 1
addition=32
17

16. WAP in C to print natural numbers using Recursion.


#include<stdio.h>
void display (int);
int main()
{
int limit;
printf(“enter the number of terms to be printed \n”);
scanf(“%d”,&limit);
printf(“\nNatural numbers from 1 to %d are:”, limit);
display(limit);
return 0;
}
void display(int num)
{
if(num)
display(num-1);
else
return; printf(“\n%d\n”,
num);
}

OUTPUT:

Enter the numbers of terms to be printed: 14


Natural numbers from 1 to 14 are:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
18

17. WAP in C to printing Multiplication of table by using do-while statement.


#include<stdio.h>
Void main()
{
Int row,column,y;
Row=1;
Do
{
Y=row*column;
Printf(“%d”,y);
Column++;
}
while(column<=10);
Printf(“\n”);
Row++;
}
while(row<=10);
}

OUTPUT:

1 2 3 4 5 6 7 8 9 10

10 20 30 40 50 60 70 80 90 100
19

18. WAP in C to find the largest element in one dimensional array and also
print its position.
#include<stdio.h>
#include<conio.h>
void main()
{
int a[10],i,max,pos,n;
clrscr();
printf(“how many numbers you want to input:)”;
scanf(“%d”,&n);
printf(“enter %d numbers\n”,n);
for(i=0;i<n;i++)
scanf(“%d”,&a[i]);
max=a[0];
for(i=0;i<n;i++)
{
if(max<a[i])
{
max=a[i];
pos=i;
}
}
printf(“\nbiggest no in array id %d”,max); printf(“\
nposition of biggest in array is %d”,pos+1); getch();
}

OUTPUT:
How many numbers you want to input: 5
Enter 5 Numbers
12
45
23
43
34

Biggest no in array is 45 Position


of biggest in array is 2

You might also like