Symbol No.: ………………………………. Date: 2080/10/23 PS3031”C” 2.
ननम्नका लागि उपयक्ु त प्राववगिक शब्ि लेख्नह
ु ोस ् .
PABSON Write appropriate technical term for the following: [2×1=2]
SEE PRE- QUALIFING EXAMINATION- 2080 a. षिमभन्न सञ्चार प्रोटोकलहरूसँग दईु नेटिकुहरू जडान गनु प्रयोग गररने
उपकरण।
Subject- Opt. II (Computer Science) Full Marks: 50 The device that is used to connect two networks with different
Time: 2:00 hrs communication protocols.
F.M.-100
Candidates are required to give their answer according to the given b. कम्प्यट
ु रको सरु क्षा िोड्ने र यसमा रहे को कम्प्यट
ु र र फाइल प्रयोग गने
instructions. व्यक्ति।
Attempt all questions. A person who breaks computer security and uses a computer and file
;a} k|Zgx¿ clgjfo{ 5g\ . present in it.
;d"x s Group 'A' 3. ननम्नको पर्ू ण रूप लेख्नह
ु ोस ् .
1. तलका प्रश्नहरूको उत्तर एउटै वाक्यमा दिनुहोस ् . Write the full form of the following: [2×1=2]
Answer the following questions in one sentence: [6×1=6] a. VOIP
a. Primary key भनेको के हो? b. WLAN
What do you mean by primary key? ;d"x v Group 'B'
b. डाटाबेस eg]sf] के हो < यसको उदाहरण ददनह ु ोस ्। 4. तलका प्रश्नहरूको उत्तर दिनुहोस:
What is a database? Give example.
Answer the following questions: [9×2=18]
c. साइबर नैतिकिा पररभाषिि गनह
ु ोस ्। a. कम्प्युटर नेटिकु आर्कुटे तचर के हो < यसको प्रकारहरू उल्लेख गनहु ोस ्।
Define cyber ethics.
What is computer network architecture? Mention its types.
d. C-programming language df k|of]u x'g] s'g} b'O{ keywords sf] gfd b. डडक्जटल हस्िाक्षर भन्नाले के बुझ्नुहुन्छ < यो र्कन महत्त्िपूणु छ?
n]Vg'xf];\ ।
What do you mean by digital signature? Why it is important?
c. फायरिाल के हो < फायरिालका प्रकारहरू ;'rLa4 गनह
ु ोस ्।
Write any two keywords used in C-programming language.
e. ई-कमसुको B2C मोडेलको अर्ु के हो < What is a firewall? Enlist the types of firewall.
d. Computerized / non-computerized डाटाबेस बीचको मभन्निा
What do you mean by B2C model of e-commerce?
5'6\ofpg'
f. Qbasic प्रोग्राममङमा INT( ) को कायु के हो <
होस ्।
What is the function of INT( ) in Qbasic programming?
Differentiate between computerized and non-computerized databases.
e. AI भनेका] के हो ? AI को दईु प्रयोगहरू ;'rLa4 गनहु ोस ्।
What is AI? Enlist two application areas of AI. 6. तल दिइएको प्रोग्रामलाई सच्याएर पन
ु : लेख्नह
ु ोस:
f. हाडुिेयर सुरक्षा के हो < यसको कुनै दईु उपायहरू ;'rLa4 गनह
ु ोस ्। Rewrite the given program after correcting bugs: [2]
What is hardware security? Enlist any two measures to protect it.
g. MS-Access df Field property eg]sf] के हो < िी मध्ये कुनै चारलाई REM To add a few records in the existing data file.
;'rLa4 गनह
ु ोस ्। CLS
OPEN "emp.dat" FOR OUTPUT AS #2
What is field property in Ms-Access? Enlist any four of them. DO
h. Indexing eg]sf] के हो ? MS-Access df lsg Form / Report प्रयोग INPUT “Enter Employee Name, Post, Salary”;EN$,POST$,SALARY
x'G5 ? PRINT #2, EN$, POST$, SALARY
INPUT”ADD MORE RECORDS (Y/N)? ”;C
What is Indexing? Why form and report are used in MS-Access ? LOOP WHILE UCASE$(C$)=”Y”
i. Query eg]sf] s] xf] < Action Query sf k|sf/x¿ n]Vg'xf];\ . CLOSE #1
What is Query ? Write the types of Action Query. END
5. दिइएको program को आउटपट
ु लेख्नह
ु ोस ्। (Dry-Run टे बलमा िे खाउनह
ु ोस ् .
Write the output of the given program. (workout with a dry-run table) 7. ननम्न प्रोग्रामलाइ अध्ययन िनह
ुण ोस ् र दिइएको प्रश्नहरूको उत्तर दिनुहोस ्:
[2] Study the following program and answer the given questions: [2]
DECLARE SUB Show ( )
CLS DECLARE FUNCTION SUM(N)
CALL Show CLS
END INPUT”Enter a number”;N
X= SUM(N)
SUB Show PRINT “The sum of individual digits is”; X
C=3 END
B=2 FUNCTION SUM(N)
FOR I=2 TO 8 STEP 2 WHILE N < > 0
PRINT C; R = N MOD 10
SWAP B, C S=S+R
B=C+1 N = INT(N/10)
NEXT I WEND
END SUB SUM = S
END FUNCTION
1
A sequential data file “record.dat” contains the name, address, salary of
a. dflysf] k|f]u|fddf user defined function sf] gfd lbg'xf];\ . employees, and displays the record of those whose salary is more than
Name the user defined function in the above program. 37000 and whose name ends with “DHA”. [4]
b. यदद N को मान १२३४ हो भने WHILE----WEND लुप कति पटक
दोहोररन्छ? 10.
How many times the WHILE----WEND loop repeats, if the value of -s_ क्यारे क्टर इनपुट िनण 'C' प्रोग्राम लेख्नह
ु ोस ् र यो स्वर हो वा व्यञ्जन हो कक
N is 1234?
भनेर जााँच िनह
ुण ोस ्।
;d"x v Group 'B' Write a ‘C’ program to input a character and check whether it is
8. ननिे शन अनस
ु ार िर्ना वा रूपान्तरर् िनह
ुण ोस ्।
vowel or consonant. [4]
OR
Calculate or convert as per the instructions. [4x1=4]
a. (CA)16 = (?)10 a. नम्बर इनपुट िनण 'C language' मा प्रोग्राम लेख्नह
ु ोस र यो palindrome हो
b. (652)10 = (?)8 वा होइन भनेर जााँच िनह
ुण ोस ्।
c. (10101)2 x (11)2 - (1110)2 Write a program in ‘C language' to input a number and check whether
d. (111011)2 ÷ (100)2 it is a palindrome or not. [4]
9. *************
-s_ QBASIC मा एउटा प्रोग्राम लेख्नहु ोस, जसमा सकणलको radius इनपुट
िनह
ुण ोस ्, Hemisphere को cfotg lgsfNgsf] लागि FUNCTION र
sphere sf] कुल सतह क्षेत्रको लागि SUB को प्रयोि िनह ुण ोस।
Write a program in QBASIC to input a radius, create a user defined
function to calculate the volume of hemisphere and total surface area
(TSA) of the sphere using sub procedure.
[ volume= 2/3πR3 and TSA= 4πR2] [4]
-v_ एक क्रममक डाटा फाइल "record.dat" मा कमणचारीहरूको नाम, ठे िाना,
तलब समावेश छ, र जसको तलब 37000 भन्िा बढी छ र जसको नाम "DHA"
बाट समाप्त हुन्छ उनीहरूको रे कडण प्रिशणन ug{'xf];\ ।