SEE 2078(2022)
Group A
1.
Answer the following questions in one sentences: (6x1=6)
a)
Write the name of any two search engine.
The
two search engine are: Google and Bing
b)
What is social media?
Social
media are the web based application that allows user to connect, interact and
share files between several user.
c)
Which data type is suitable to store photographs of students in MS-Access?
OLE
is used to store photographs of students in MS-Access.
d)
Which view is used to modify a table structure in MS-Access?
Design
view is used to modify a table structure in MS-Access.
e)
Which statement is used to call sub-procedure?
CALL
is used to call sub procedure.
f)
Write any two data types used in C language.
float
and int are interger data type and char is string data types used in C
language.
2.
Write appropriate technical term for the following. (2x1=2)
a)
A system of copying data and information residing in computer into another
location.
uploading
b)
A company which provides services of Internet.
ISP(Internet Service Provider)
3.
Write the full form of the following. (2x1=2)
a)
FTP: File Transfer Protocol
b)
MAN: Metropolitan Area Network
Group B
4. Answer to the following question. (9x2=18)
a.
What is computer network? Write any two advantages of it.
The
group of computer interconnected with each other through transmission media for
the purpose of sharing hardware, software and other resources is called
computer network.The two advantages of it are:
·
It
helps to share expensive hardware.
·
It
helps to share database.
b.
Define software security? Write any two protection measure for it.
The
measure adopted to protect our computer software from intentional of accidental
loss or damage is called software security. The two protection measure of it
are:
·
Regular
Backup
·
Password
c.
What is a search engine? Write any two popular search engine.
The
web based application designed to search content based on keyword supplied by
the user is called search engine. The two popular search engine are: google.com
and bing.com
d.
Define e-commerce. Write any two benefits of it.
The
process of buying and selling goods and services through internet is called
e-commerce. The two benefits of it are:
·
Always
available.
·
Physical
store not required.
e.
Write any two advantage and disadvantages of social media.
The
two advantages of social media are:
·
Connect
with friends and families.
·
Information
sharing
The
two disadvantages of social media are:
·
Identity
theft
·
Hacking
f.
What is DBMS? Write any two advantages of it.
DBMS
stands for Database Management System which is a software that help to store,
analyze and manipulate data according to the need of the user. The two
advantages of DBMS are:
·
It
helps to reduce duplication of data.
·
It
helps in faster access of data.
g.
What is primary key? Write any two feature of it.
The
primary key is the field that helps to uniquely identify the records from the
database. The two feature of it:
·
Primary
key does not accept null value.
·
Primary
key does not accept duplicate value.
h.
Define field and record.
The
column of a database table is called field.
The
row of a database table is called record.
i.
Define form. Write any two uses of it.
The
object of a MS-Access that allows user to enter and modify data in database
table. The two uses are:
·
It
allows user to enter data in database table.
·
It
allows user to modify data of database table.
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
ABC(A)
FOR
J=1 TO 5
PRINT
A;
A=A+3
NEXT
J
END
SUB
Dry
Run
A |
J<=5 |
Output |
2 |
1<=5
(True) |
2
5 8 11 14 |
2+3
= 5 |
2<=5
(True) |
|
5+3
= 8 |
3<=5
(True) |
|
8+3
= 11 |
4<=5
(True) |
|
11+3
=14 |
5<=5
(True) |
|
14+3
= 17 |
6<=5
(False) |
|
Output:
2
5 8 11 14
6.
Re-write the given program after correcting the bugs. (2)
DECLARE
SUB series( )
CLS
EXECUTE
series
END
SUB
series
REM
program to generate 1 1 2 3 5 ….. unto the 20th terms
A=1
B=1
FOR
ctr = 10 to 1
DISPLAY
A; B;
A=A+B
B=A+B
NEXT
ctr
END
series ()
Solution:
DECLARE
SUB series( )
CLS
CALL series
END
SUB
series
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)
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
TEST
= S
END
FUNCTION
a)
How many parameters are used in the above program?
One
parameter (X) is used in the above program.
b)
How many times does the statement s=s+1 execute in the above program?
The
statement s=s+1 executes 100 times in the above program.
Group C
7.
Convert / Calculate as per the instruction. [4x1=4]
Please
refer to these video for the complete concept and solution of Number System.
i.
(11111101) Binary into Hexadecimal
ii.
(245) Decimal into Binary
iii.
(1010)x(101) = ?
iv.
(101110)/(110)
8.
Answer the following questions. (2x4=8)
a)
Write a program in QBASIC that asks length, breadth of a room and calculate its
area and perimeter. Create a user-defined function to calculate area and sub
program to calculate perimeter. [Hint: (Area = LxB , Perimeter=2x(L+B) ]
DECLARE
FUNCTION area (l, b)
DECLARE
SUB peri (l, b)
CLS
INPUT
“Enter length and breadth”; l, b
PRINT
“Area is”; area (l, b)
CALL
peri (l, b)
END
FUNCTION
area(l ,b)
area
= l*b
END
FUNCTION
SUB
peri(l, b)
p
= 2*(l+b)
PRINT
“Area is”; p
END
SUB
b)
Write a program to create a sequential data file “salary.dat” to store
programmer’s name, salary and post according to the need of the user.
OPEN
“salary.dat” FOR OUTPUT AS #1
CLS
DO
INPUT
“Enter name salary and post”; n$, s, p$
WRITE
#1, n$, s, P$
INPUT “DO YOU WANT TO CONTINUE”; X$
LOOP WHILE UCASE$(X$) = “Y”
CLOSE
#1
END
9.
Write a program that asks a number and check whether it is negative, positive
or zero. [4]
#include
<stdio.h>
int
main ( )
{
int
n;
printf(“Enter
any number”);
scanf(“%d”,
&n);
if
(n>0)
{
printf(“%d
is positive”, n);
}
else
if (n<0)
{
printf(“%d
is negative”, n);
}
else
{
printf(“%d
is zero”, n);
}
return
0;
}
OR,
Write
a program in C language to display first 10 odd numbers.
#include
<stdio.h>
int
main ( )
{
int
i;
for(i
= 1; i<=20; i=i+2)
{
printf(“%d
\t”, i);
}
return
0;
}