Manipur Class 10 Sample Paper Computer Science – Text
Read the full text of this sample paper below — useful to quickly search, copy and reference the content online without downloading the PDF.
📄 View text version (4 pages)
Page 1
Manipur
SAMPLE PAPER
Class 10
Page 2
Sample Question Paper
Class – X
Subject: Computer Science
Full Mark: 80 Time : 3 hours
Answer all the questions
1. Define a variable. 1
2. Name the header file for pow( ). 1
3. Write the statement to print the biggest of two numbers by using ternary operator. 1
4. Give one point of difference between while and do-while statement. 1
5. What is the smallest element in an array a of size 100? 1
6. How a union is different from a structure? 1
7. Write the use of the following string functions: 2
a) strcpy ( )
b) strcat ( )
8. How you declare and initialize a pointer giving with example? 2
9. Consider a structure 2
struct student
{
int roll;
char name[20];
char school[20];
float fees;
}x;
What will be the size of x?
10. Find the output of the following program segment: 2
int a, b, *P, *q;
a=30;
b=10;
p=&a;
q=&b;
*p=(*p-*q)*5;
*q= *p*3;
printf(“%d%3d”, a,b);
11. What are container and empty elements? Give one example each. 2
12. Differentiate between: 2
a. <FONT> and <BASEFONT> tags
b. <BR> and <P> tags
13. What is a hyperlink? Name the tag used to define a hyperlink. 2
14. Write an algorithm to sum the first N natural numbers. 3
15. Draw the flowchart to find the GCD of two integers. 3
16. Write the form of a function. What are the actual and formal parameters? 3
17. a) How many levels in heading tag? 1
b) Name the attributes of <HR> tag. 2
18. Write the HTML code to design a form using radio button in the following format. 3
o MALE
o FEMALE
o TRANSGENDER
19. a) Rewrite the following statements by using switch statement: 2
if (color==1)
printf(“RED”);
else if ((color-==2)
printf(“GREEN”);
else if (color==3)
printf(“BLUE”);
else
printf(“WRONG CHOICE”);
b) Write the for statement to print the following: 2
1 4 9 16 25 36
20. a) How searching is done in binary search method? 2
Page 3
b) What do you mean by the transposition of a matrix. Give an example. 2
21. a) Define a recursive function. 1
b) Write a recursive function to find the factorial of a number. 3
22. a) Write the HTML code of the following: 2
i) (A+B)2 = A2 +B2+ 2AB
ii) H2SO4
b) Write the HTML code to insert an image SUN.JPG in drive D in a web page. 2
23. Write the HTML code to create a table in the format and style shown below: 4
STUDENT LIST
NAME CLASS SCHOOL
ROHIT X ABC
MINA XI MNP
KIRAN XII XYZ
ALL ARE TOPPERS
24. Write a C Program to reverse and sum the digits of a number which contain more than one digit.
5
25. Write a C Program to sort an array of numbers in ascending order. 5
26. Write a C Program to count the number of vowels and consonants in a string. 5
27. Write the HTML code to generate in the format and style shown below: 5
!!COMPUTER SYSTEM!!
1. HARDWARE
• KEYBOARD
• MONITOR
• CPU
• PRINTER
2. SOFTWARE
iii. SYSTEM SOFTWARE
d. WINDOWS
e. UNIX
f. LINUX
iv. APPLICATION SOFTWARE
▪ MS- WORD
▪ MS-EXCEL
▪ MS- POWERPOINT
ANTIVIRUS FOR PROTECTION
28. Write the HTML code to generate a web page in the format and style shown below: 5
* FESTIVAL OF MANIPUR *
o YAOSHANG
o CHEIRAOBA
o DURGA PUJA
o NINGOL CHAKOUBA
FOR MORE FESTIVAL CLICK HERE
Special Notes:
a) Title of the page should be “FESTIVAL”
b) Background colour should be “YELLOW”
c) The colour of the main heading should be “GREEN”
d) The unvisited and visited link colour should be “VIOLET” and “RED”
e) The face and size of the bottom message should be “ARIAL’ and “4”.
f) Pages linked with
YAOSHANG as YAO.HTML
Page 4
CHEIRAOBA as CHEI.HTML
DURGA PUJA as DURGA.HTML
NINGOL CHAKOUBA as NINGOL.HTML
CLICK HERE as FESTIVAL.HTML