SOLVED TRITON SEE MODEL QUESTIONS | OPT.II Computer Science - Set 1
Computer Science - SEE Model Question (Set-I)
Time: 2 Hours F.M.:
50
Group A (10 Marks)
1. Answer
the following questions in One sentence 6
× 1 =6
a. What is
web server?
Ans:
Web server is a computer
on the Internet delivers web pages.
b. List
out any two applications of internet.
Ans:
Any two applications of internet are email and chat.
c. What is
the extension of MS- Access 2007?
Ans:
The extension of MS- Access 2007 is .accdb.
d. What is
report in MS- Access?
Ans:
Report is one of the MS-Access database objects used to present information in
an effective and organized format that is ready for printing.
e. What is
Modular programming?
Ans:
Modular programming is a technique
which divides program into many small logical, manageable and functional
modules or blocks.
f. Write
down any two data type used in C-programming?
Ans:
char and int are any two data type used in C-programming.
2. Write
appropriate technical term for the following 2
× 1=2
a. Private
networks that allow organizations to share information and resources among the
internal users.
–
Intranet
b. The
process of arranging the fragmented file in computer.
-
Defragmentation
3. Write
the full form of the following
2 × 1=2
a. FTP – File
Transfer Protocol
b. IoT – Internet
of Things
Group B (24 Marks)
4. Answer
the following questions: 9 × 2=18
a. What is
network topology? Write down the advantages of BUS topology.
Ans:
Network topology is the inter-connected pattern of network components.
The
advantages of BUS topology are:
· It is
cost effective and cable required is least compared to other network topology.
· It is
used in small networks and easy to expand network.
b. What is
cyber-crime? Explain with example.
Ans:
Cyber-crime refers to illegal activities committed through the use of computers
and Internet.
Example
of cyber-crime is cyber bullying. Cyberbullying is bullying that takes place
over digital devices like cell phones, computers, and tablets.
Cyber
bullying includes sending rude emails, texts or instant messages online or on
the phone, posting hurtful things about someone on social media etc.
c. How
password policy protects computer software and data? Explain.
Ans:
A password policy keeps computer software and data safe by ensuring users to create
strong and unique passwords. It helps stop unauthorized access, reduces
security risks, and keeps the system working properly.
d. Write
down the advantages and disadvantages of e-commerce.
Ans:
The advantages of e-commerce are:
· Faster
buying/selling procedure, as well as easy to find products.
· Buying/selling
anytime and anywhere.
The
disadvantages of e-commerce are:
· Lack of
personal touch. We cannot touch the goods physically.
· We
cannot do any transaction without internet access device.
e. Define
e-governance. List out the advantages of e-governance.
Ans:
E-governance is a set of services provided by the government to public via
electronic media especially using Internet.
The
advantages of e-governance are:
·
Citizens
can access government services and information conveniently from anywhere.
·
Corruption will be reduced as there will
be direct interaction with the system and public without any intermediaries.
f. What is
DBMS? Give Example.
Ans:
Database management system (DBMS) is a computerized system that stores data,
processes them and provides information in an organized form. Example of DBMS
are: MS-Access, Oracle, MySQL, Fox Pro.
g. What is
data sorting? List any two advantages of using it.
Ans:
The process of arranging all the records in a table either ascending or
descending order based on field or fields is known as sorting.
Any
two advantages of using it are:
· Sorting
helps to organize data and make it easier to find and retrieve specific information.
· Sorting
can save time and improve efficiency by allowing users to quickly access the
data they need.
h. What is
form? Explain.
Form
is one of the MS-Access database objects that is primarily used to create an
interface for entering data in a table or multiple linked tables.
Forms
are basically GUI (Graphical Users Interface) using which users interact with
MS-Access database. Form also displays complete record one at a time, so we can
view and modify records using the form.
i. List
out the data type used for the following data in MS-Access
Student’
Name, Students’ Roll Number, Address, Fee paid
Ans:
The data type used for the following data in MS-Access are:
Student’
Name – Text , Students’ Roll Number-
Number ,
Address- Memo , Fee paid -
Currency
5. Write
down the output of the following along with dry run table. 2
DECLARE SUB SENDUP(S$)
E$=” NPABSON”
CALL SENDUP(E$)
END
SUB SENDUP(S$)
FOR i=1 to LEN(S$) STEP 1
IF i MOD 2<> 0 THEN
EE$=EE$+LCASE$(MID$(S$,i,1))
ELSE
EE$=EE$+UCASE$(MID$(S$,i,1))
END IF
PRINT EE$
END SUB
E$ |
S$ |
i=1 to LEN(S$) |
i MOD 2 <>0 |
Yes EE$=EE$+ LCASE$(MIDS(S$,I,1)) |
No EE$=EE$+ UCASE$(MIDS(S$,I,1)) |
NPABSON |
NPABSON |
1 to 7 yes |
1 MOD 2 <>0 1<>0 Yes |
n |
n+P=nP |
|
|
2 to 7 yes |
2 MOD 2 <>0 0<>0 No |
|
|
|
|
3 to 7 yes |
3 MOD 2 <>0 1<>0 Yes |
nP+a nPa |
|
|
|
4 to 7 yes |
4 MOD 2 <>0 0<>0 No |
|
nPa+B nPaB |
|
|
5 to 7 yes |
5 MOD 2 <>0 1<>0 Yes |
nPaB+s nPaBs |
|
|
|
6 to 7 yes |
6 MOD 2 <>0 0<>0 No |
|
nPaBs+O nPaBsO |
|
|
7 to 7 yes |
7 MOD 2 <>0 1<>0 Yes |
nPaBsO+n nPaBsOn |
|
|
|
8 to 7 loop exits |
|
|
|
The output of the program is :
nPaBsOn
6. Re-Write
the given program after correcting the bug: 2
REM display records of students from Data
file
OPEN “Stdinfo.dat” FOR OUTPUT AS #1
PRINT “ROLL”, “NAME”, “ADDRESS”, “CLASS”,
“SECTION”
DO WHILE NOT EOF
INPUT
#1, RN, N$, AD$, CL, S$
PRINT
RN, N$, AD$, CL, S$
NEXT
STOP #1
END
Debugged Program
REM display records of
students from Data file
OPEN
"Stdinfo.dat" FOR INPUT AS #1
PRINT
"ROLL", NAME", "ADDRESS", "CLASS" ,
"SECTION"
DO WHILE NOT EOF (1)
INPUT #1, RN. N$, AD$,
CL, S$
PRINT RN, NS, ADS, CL,
S$
WEND
CLOSE #1
END
7. Study the
following program and answer the given questions: 2
DECLARE SUB TEST (B$)
CLS
INPUT W$
CALL TEST(W$)
END
SUB TEST (B$)
FOR
I=1 To LEN (B$)
PRINT
RIGHT$(B$, i)
NEXT
i
END
SUB
a. Write the
names of two built in functions used in the above program.
Ans:
LEN( ) and RIGHT$( ) are the two built in functions used in the above program.
b. List the
real parameters of the above program.
W$
is the real parameters of the above program.
GROUP C
(16 Marks)
8. Convert/Calculate
as per the instruction: 4 × 1 =4
i) (315)10
® (?)2
Divide by the base 2 to get
the digits from the remainders:
Division |
Quotient |
Remainder (Digit) |
(315)/2 |
157 |
1 |
(157)/2 |
78 |
1 |
(78)/2 |
39 |
0 |
(39)/2 |
19 |
1 |
(19)/2 |
9 |
1 |
(9)/2 |
4 |
1 |
(4)/2 |
2 |
0 |
(2)/2 |
1 |
0 |
(1)/2 |
0 |
1 |
= (100111011)2
(315)10 =
(100111011)2
ii) (A4B)16 ®
(?)8
Convert each hex digit to 4 binary digits
A = 1010
4 = 0100
B = 1011
Now,
convert
each 3 binary digits to octal digits
A4B
101 = 5
001= 1
001 = 1
011 = 3
= 5113
(A4B)16 = (5113)8
iii)
(1011)2 × (101)2 +
(1001)2
|
|
1 |
0 |
1 |
1 |
|
|
× |
1 |
0 |
1 |
|
|
1 |
0 |
1 |
1 |
|
0 |
0 |
0 |
0 |
× |
+1 |
0 |
1 |
1 |
× |
× |
1 |
1 |
0 |
1 |
1 |
1 |
|
+ |
1 |
0 |
0 |
1 |
10 |
0 |
0 |
0 |
0 |
0 |
(1011)2 × (101)2 + (1001)2 = (1000000)2
iv)
(10111)2 ¸ (101)2
101) |
1 |
0 |
1 |
1 |
1 |
(100 |
|
-1 |
0 |
1 |
|
|
|
|
0 |
0 |
0 |
|
|
|
|
|
|
|
1 |
1 |
|
|
|
|
|
- |
0 |
|
|
|
|
|
1 |
1 |
|
|
|
|
|
|
|
|
Q
= 100
R
= 11
9. Answer
the following 4 × 2 =8
a.
WAP to calculate area of rectangle using
SUB…END SUB and area of circle using FUNCTION …END Function.
DECLARE SUB AREA (L, B)
DECLARE FUNCTION ARE (R)
CLS
INPUT “ENTER LENGTH”; L
INPUT “ENTER BREADTH”; B
INPUT “ENTER RADIUS”; R
CALL AREA (L, B)
PRINT “AREA OF CIRCLE ”; ARE(R)
END
SUB AREA (L, B)
A = L * B
PRINT “AREA OF RECTANGLE=”; A
END SUB
FUNCTION ARE (L, B)
ARE = 3.14 * R ^ 2
END FUNCTION
b.
Write a program to create a file
“info.dat” and Store the name, address and mobile number of 5 peoples.
OPEN "info.dat"
FOR OUTPUT AS #1
FOR I = 1 TO 5
INPUT "Enter Name"; N$
INPUT "Enter Address"; A$
INPUT "Enter Mobile
Number"; M#
WRITE #1, N$, A$, M#
NEXT I
CLOSE #1
END
10. Write a
program in C language to input a number and test whether it is odd or even. 4
#include<stdio.h>
#include<conio.h>
int main()
{
int n;
printf("Enter any number: ");
scanf("%d", &n);
if(n % 2= =0)
printf("%d is even number", n);
else
printf("%d is odd number", n);
return 0;
}
OR,
Write a program in "C" language to display
the series with their sum. 1,2,3,4….., up to 10th terms.
#include <stdio.h>
int main( )
{
int i, sum=0;
for(i = 1; i <= 10; i++)
{
printf("%d ", i);
sum += i;
}
printf("\nSum: %d",
sum);
return 0;
}
¯¯¯¯¯
No comments:
Post a Comment