SEE – Class 10 – Computer Science Model Questions with Solution (SET 3)
Class 10 (SEE) Computer Science Model Question (with Solution) is prepared by the Curriculum Development Center (CDC) and Iswori Education teachers; CDC Prepared Question and Answer are prepared by us.
Subject: Opt. II (Computer Science) SET 2
Full Marks: 50 Time: 2:00 hrs
Candidates are required to give their answers according to the instructions.
Attempt all the questions.
Group “A”
1. Answer the following questions in one sentence. 6×1=6
a) Write the name of any two search engines.
Ans: Google and Bing are the two search engines.
b) What is social media?
Ans: The term social media refers to computer technology that facilitates the sharing of thoughts, ideas, and information through virtual networks and communities.
c) Which data type is suitable to store photographs of students in MS- Access?
Ans: OLE data type is suitable for storing photographs of students in MS Access.
d) Which view is used to modify table structure in MS Access?
Ans: In MS Access, the Design view is used to modify the table structure.
e) Which statement is used to call sub-procedure?
Ans: To call the sub procedure CALL statement is used.
f) Write any two data types used in the C language.
Ans: int and float is two data types used in C language.
2. Write the appropriate technical term for the following: 2×1=2
a) A system of copying data and information residing in the computer into another location.
Ans: Backup.
b) A company which provides services of the Internet.
Ans: ISP
3. Write the full form of the following: 2×1=2
a) FTP: File Transfer Protocol
b) MAN: Metropolitan Area Network
Group “B”
4. Answer the following questions. 9×2=18
a) What is a computer network? Write any two advantages of it.
Ans: The interconnection of two or more two computers with the help of wire or wireless is known as a computer network.
Advantages of a computer network:
- i) Easy to share hardware and software.
- ii) Data backup and security are possible.
b) Define software security. Write any two protection measures for it.
Ans: The process of protecting computer programs and data is known as software security.
Following are the two protection measures for it.
- i) Install antivirus and regularly update it.
- ii) Back up your data regularly.
c) What is a search engine? Write any two popular search engines.
Ans: A search engine is software or a program that allows Internet users to search for information or content through the World Wide Web (WWW).
Two popular search engines are:
- i) Google
- ii) Bing
d) Define e-commerce. Write any two benefits of it.
Ans: Selling and buying goods through the internet is known as e-commerce.
The following are the benefits of e-commerce.
- i) Product and price can be compared with other products.
- ii) It reduces infrastructure costs.
e) Write any two advantages and disadvantages of social media.
Ans: The following are the advantages and disadvantages of social media.
Advantages:
- i) We can connect with others and share information through social media.
- ii) You can build a relationship with your customers that makes them more likely to use your services.
Disadvantages:
- i) Social media can spread false or unreliable information quickly.
- ii) Chance of cyberbullying.
f) What is DBMS? Write any two advantages of it.
Ans: A Database Management System (DBMS) is a computer program or software that is used to keep your record systematically.
The advantages of DBMS are as here under:
- i) It reduces data redundancy.
- ii) Data security and backup are possible.
g) What is the primary key? Write any two features of it.
Ans: A primary key is a unique key in the database table that identifies each record in a database table.
The following are the two features of the primary key:
- i) Duplicate data are not allowed in the primary key field.
- ii) It does not accept a null value.
h) Define field and record.
Ans: Field: The term field can be defined as the column of the table of a database that stores a particular category of data.
Record: The term record can be defined as the row of a table of a database that consists of the related data of a person or thing.
i) Define form. Write any two uses of it.
Ans: A form is the object of MS Access, which creates a user interface for a database application.
Following are the uses of it.
- i) It is used to control access to the data.
- ii) It is used to display and edit the data.
5. Write the output of the given program. (workout with a dry run) 2
DECLARE SUB ABC(a)
CLS
a=2
CALL abc(a)
END
SUB abdc(a)
FOR j= 1 TO 5
PRINT a;
a=a+3
NEXT j
END SUB
Ans:
6. Re-write the given program after correcting bugs: 2
DECLARE SUB series()
CLS
EXECUTE series
END
SUB series
REM program to generate 1 1 2 3 5 ….up to the 20th term.
A=1
B=1
FOR ctr 10 TO 1
DISPLAY A: B:
A=A+B
B=A+B
NEXT ctr
END series()
Debugged program:
DECLARE SUB series()
CLS
CALL series
END
SUB series
REM program to generate 1 1 2 3 5 ….up to the 20th term.
A=1
B=1
FOR ctr 10 TO 1 STEP -1
PRINT A;B;
A=A+B
B=A+B
NEXT ctr
END SUB
7. Study the following program and answer the given questions. 2×1=2
DECLARE FUNCTION TEST(X)
X=100
Z=TEST(X)
PRINT Z
END
FUNCTION TEST (X)
FOR R=1 TO X
S=S+1
NEXT R
TEXT =S
END FUNCTION
a) How many parameters are used in the above program?
Ans: one
b) How many times does the statement S=S+1execute in the above program?
Ans: 100 times
Group “C”
8. Convert/Calculate as per the instructions. 4×1=4
i) (11111101)2=(?)16
Convert every 4 binary digits (from bit0) to hex digit (see conversion table below):
1111/1101
= 1111 1101
= F D
= FD
ii) (245)10 = (?)2
Division by 2 | Quotient | Remainder(Digit) | Bit # |
---|---|---|---|
(245)/2 | 122 | 1 | 0 |
(122)/2 | 61 | 0 | 1 |
(61)/2 | 30 | 1 | 2 |
(30)/2 | 15 | 0 | 3 |
(15)/2 | 7 | 1 | 4 |
(7)/2 | 3 | 1 | 5 |
(3)/2 | 1 | 1 | 6 |
(1)/2 | 0 | 1 | 7 |
= (11110101)2
iii) (1010)2 ×(101)2
1010
× 101
---------
1010 (1010 × 1)
+ 0000 (1010 × 0 shifted left)
+ 10100 (1010 × 1 shifted left twice)
---------
110110
Final Answer:
1010×101=1101102
iv) (101110)2 ÷(110)2

9. a) Write a program in QBASIC that asks the length and breadth of a room and calculates its area and perimeter. Create a user-defined function to calculate area and a subprogram to calculate perimeter. [Hint: [Area=L×B], P=2(L+B)]] 4
Ans:
DECLARE FUNCTION area(l,b)
DECLARE SUB perimeter(l,b)
CLS
INPUT “Enter length and breadth”;l,b
PRINT area(l,b)
CALL perimeter(l,b)
END
FUNCTION area(l,b)
Area=l*b
END FUNCTION
SUB perimeter(l,b)
P=2*(l+b)
PRINT p
END SUB
b) Write a program to create a sequential data file, “salary.dat,” to store the programmer’s name, salary, and post according to the needs of the user. 4
Ans:
OPEN “salary.dat” FOR OUTPUT AS #1
top:
INPUT “Enter programmer name”;n$
INPUT “Enter salary”;s
INPUT “Enter post”;p$
INPUT “Do you need more records”;ch$
IF UCASE$(ch$)=”Y” then GOTO top
CLOSE #1
END
10. Write a ‘C’ program that asks a number and check whether it is negative, positive or zero. 4
#include<stdio.h>
#include<conio.h>
main()
{
clrscr();
int n;
printf(“enter any number”);
scanf(“%d”,&n);
if(n>0)
printf(“positive”);
if(n<0)
printf(“negative”);
if(n==0)
printf(“Zero”);
getch();
}
OR
Write a C language to display first 10 odd numbers. 4
#include<stdio.h>
#include<conio.h>
main()
{
clrscr();
int x,a=1;
for(x=1; x<=10; x++)
{
printf(“%d\t”,a);
a=a+2;
}
getch();
}