(Class 10 Computer Science Model Question by CDC)
समूह क Group 'A'
१. तलका प्रश्नहरूको एक वाक्यमा उत्तर दिनुहोस् : (६*१= ६)
Answer the following questions in one sentence:
(क) सर्च इन्जिन भनेको के हो ? What is search engine?
➣Search engine is a web application which allows user to search the content from the internet based on their queries. For example Google, Bing, etc.
(ख) इन्टरनेटमार्फत गरिने व्यापारलाई के भनिन्छ ? What is the business done through the internet?
➣E-Commerce is the business done through the internet.
E-Commerce: The process of buying and selling goods and services through the internet. For example Amazon, Alibaba, daraz.
(ग) एम.एस. एक्सेसमा कुन डाटा टाइपले अल्फा न्युमेरिक क्यारेक्टर वा स्पेसल सिम्बोल्सलाई अनुमति
दिन्छ ? Which data type is used to store alpha numeric characters or special symbols in MS-Access?
➣Text data type is used to store alphanumeric characters or special symbols is MS-Access.
(घ) एम.एस. एक्सेसमा टेबलको कतचगअतगचभ लाई modify गर्न कुन चाहिँ view को प्रयोग गरिन्छ ? Which view is used to modify a table in MS-Access?
➣Design view is used to modify a table in MS-Access.
(ङ) मोड्युलर प्रोग्रामिङ भनेको के हो ? What is Modular Programming?
➣Modular programming is a technique used to divide our program into many small logical, manageable and functional modules or blocks.
(च) C language कुनै दुईओटा विशेषता लेख्नुहोस् । Write any two features of C language.
➣Any two features of C language are:
C is a structured Programming Language, which breaks down a program in several small modules and makes it easier for the programmer to manage and debug the code.
C is a case-sensitive language. It understands the capital alphabets and small alphabets ESTIA as different values.
२. उपयुक्त प्राविधिक शब्द लेख्नुहोस् : (२*१= २)
Write appropriate technical term for the following:
(क) साइबर स्पेससम्बन्धी कानुनी प्रक्रिया. Law that governs the legal issues of cyberspace.
➣Cyber Law
(ख) क्वान्टम कम्प्युटरको सूचनाको सबैभन्दा सानो एकाइको रूप. The smallest unit to represent information on quantum computers.
➣Qubit (Quantum bit)
३. पूरा रूप लेख्नुहोस् : (२*१ = २)
Write the full form of the following:
I. STP
II. WAP
➣STP: Shielded Twisted Pair
➣WAP: Wireless Application Protocol
समूह ख Group 'B'
४. तलका प्रश्नहरूको छोटो उत्तर दिनुहोस् : (९*२=१८)
Answer the following questions:
(क) कम्प्युटर नेटवर्क भनेको के हो ? यसका कुनै दुईओटा फाइदाहरू उल्लेख गर्नुहोस् ।
What is a computer network? Enlist any two advantages of it.
➣Computer network is a group of two or more computers and devices connected to each other through wired or wireless media to exchange data and information and share hardware, software and other resources.
Any two advantages of computer network are:
1. A network connected computer can share hardware devices such as scanner, printer, hard disk,etc.
2. It can communicate and share information all over the world through the Internet.
(ख) कम्प्युटर नैतिकता भनेको के हो ? यसका कुनै दुई नीतिहरू लेख्नुहोस् ।
What is computer ethics? Write any two of them.
➣Computer ethics is a set of moral principles or code of conducts that regulate the use of computers systematically without causing harm to other users.
Any two cyber ethics are:
-Do not use a computer to publish fake information.
-Do not search the file or record of other people.
(ग) सृटवेयर सुरक्षा भनेको के हो ? हार्डवेर सुरक्षाका कुनै दुई उपायहरू लेख्नुहोस् । What is software security? Write any two measures of hardware security.
➣Software security is the protection of computer systems and applications from threats, such as hacking, virus attacks, and unauthorized access, to ensure their confidentiality, integrity, and availability.
Any two measures of hardware security are:
-V Insurance
-V Power Protection Device
(घ) एम कमर्स भनेको के हो ? यसका दुई महत्त्वपूर्ण सेवाहरू लेख्नुहोस् । What is m-Commerce? Write its two important services.
➣M-Commerce refers to the process of buying and selling of goods and services through wireless handheld devices such as smartphones, tablets or personal digital assistants (PDAs).
Any two important services are:
1. It provides a very convenient and easy to use the system to conduct business transactions.
2. It helps to get a wider variety of products and services.
(ङ) इन्टरनेट अफ थिङ्स (IOT) भनेको के हो ? यसका कुनै दुई महत्त्वहरू लेख्नुहोस् ।
What is IoT? Write any two importance of it.
➣IoT is a system of interrelated computing devices to exchange information over a network without human-to-human or human to computer interaction.
Any two important of IoT are:
1. It reduces human effort, so it saves a lot of time.
2. Information is easily accessible from any place at any time on any device.
(च) डाटाबेस भनेको के हो ? कुनै दुईओटा उदाहरण दिनुहोस् । What is database? Give any two examples.
➣A collection of systematically organized interrelated data is called a database. The purpose of the database is to store, organize and retrieve data. Eg. Dictionary, Marks Ledger.
(छ) प्राइमरी की भनेको के हो ? यसका कुनै दुईओटा फाइदाहरू उल्लेख गर्नुहोस् ।
What is primary key? List any two advantages of it.
➣A primary key is a field or combination of fields in a table that uniquely identifies each record, and is used to establish relationships between tables and enforce data integrity.
Any two advantages of primary key are:
1. It sets the relationship between tables.
2. It reduces and controls duplication of records in a table.
(ज) डाटा सर्टिङ भनेको के हो ? यसको प्रयोगबाट हुने कुनै दुईओटा फाइदाहरू उल्लेख गर्नुहोस् ।
What is data sorting? List any two advantages of using it.
➣The process of arranging all the records in a table either ascending or descending order based on field or fields is known as sorting. Sorted data is easier to handle than unsorted data.
Any two advantages of sorting are:
1. Sorting helps to organize data and make it easier to find and retrieve specific information.
2. Sorting can save time and improve efficiency by allowing users to quickly access the data they need.
(झ) कस्तो कार्य गर्न एक्सेसमा क्वेरी र फर्म अब्जेक्टको प्रयोग गरिन्छ ?
What types of work is done in MS-Access using Form and query objects?
➣Form is one of the MS-Access database objects which provides a graphical interface to view, modify and add data in a table or multiple linked tables. Query is an object of the database that is used to view, retrieve, change and analyze records from a table or multiple linked tables based on specified conditions.
5. तल दिइएको प्रोग्रामको आउटपुट लेख्नुहोस् । Dry run टेबलमा देखाउनुहोस् । (२)
Write down the output of the given program. Show with dry run in table.
DECLARE SUB SHOW (A)
CLS
N = 87
CALL SHOW (N)
END
SUB SHOW (A)
DO
B= A MOD 6 +3
IF B MOD 4 = 0 THEN GOTO AA
PRINT B;
AA:
A=A-10
LOOP WHILE A >= 50
END SUB
➣Output of the given program is
66
(TURN ON DESKTOP MODE TO VIEW IMAGE)
6. तल दिइएको प्रोग्राममा रहेका गल्तीहरूलाई सच्याएर पुनः लेख्नुहोस् : (२)
Re-write the given program after correcting the bugs:
REM to add record in an existing file
CLS
OPEN "Record. Dat" FOR OUTPUT AS #1
AA:
INPUT "Enter Name, Class and Roll No. "; Nm$, Cl, Rn
INPUT #2, Nm$, Cl, Rn
INPUT "More records "; Y$
IF UCASE$(Y$) = "Y" THEN GOTO aa
CLOSE "Rrecord.dat"
END
➣Debugged program:
REM to add record in an existing file
CLS
OPEN “Record.DAT” FOR APPEND AS #1
AA:
INPUT "Enter Name, Class and Roll No. "; Nm$, Cl, Rn
INPUT #1, Nm$, Cl, Rn
INPUT "More records "; Y$
IF UCASE$(Y$) = "Y" THEN GOTO aa
CLOSE #1
END
७. तल दिइएको प्रोग्रामलाई अध्ययन गरी दिइएका प्रश्नह को उत्तर लेख्नुहोस् : (२*१= २)
Study the following program and answer the given questions:
OPEN "Detail.dat" FOR INPUT AS #1
OPEN "Temp.dat" FOR OUTPUT AS #2
INPUT "Enter name of the students "; Sn$
FOR I = 1 ΤΟ 10
INPUT #1, Nm$, Cl, A
IF Sn$ <> Nm$ THEN
WRITE #2, Nm$, Cl, A
END IF
NEXT I
CLOSE #1, #2
KILL "Detail.dat"
NAME "Temp.dat" AS "Detail.dat"
END
(क) माथि दिइएको प्रोग्रामको मुख्य उद्देश्य के हो ?
What is the main objective of the program given above?
➣The main objective of the program given above is to delete the record according to the enterned name.
(ख) यदि "KILL" statement लाई प्रोग्रामबाट हटाउने हो भने माथिको प्रोग्राममा केही समस्या आउँछ कि आउँदैन ? कारण लेख्नुहोस् ।
Do you get any problem in the above program if "Kill" statement is removed? Give reason.
➣Yes, the program will display the error message and it won’t delete the record.
समूह ग Group 'C'
८. निर्देशाअनुसार रूपान्तर र हिसाब गर्नुहोस् : (४*१= ४)
Convert/calculate as per the instruction:
i) (11001101)2 = (?) 16
(TURN ON DESKTOP MODE TO VIEW IMAGE)
ii) (524) 10 = (?) 2
(TURN ON DESKTOP MODE TO VIEW IMAGE)
iii) (1010)2 x (110)2 - (1011)2 = (?) 2
iv) (10110)2 ÷ (101)2
९. (क) कुनै एउटा कोठाको लम्बाई, चौंडाई र उचाई मागी उक्त कोठाको क्षेत्रफल र आयतन पत्ता लगाउने प्रोग्राम क्युवेसिक भाषाको प्रयोग गरी लेख्नुहोस् । क्षेत्रफल गणना गर्न युजर डिफाइन्ड फंक्सन र आयतन गणना गर्न सब प्रोग्राम बनाउनु होस् । (४)
Write a program in QBASIC that asks length, breadth and height of room and cal- culates its area and volume. Create a user-defined function to calculate area and sub-program to calculate volume.
Hint: [A = LxB], [V = LxBxH]
➣
DECLARE FUNCTION AREA(L,B)
DECLARE SUB VOL(L,B,H)
CLS
INPUT “ENTER LENGTH”;L
INPUT “ENTER BREADTH”;B
INPUT “ENTER HEIGHT”;H
PRINT “AREA OF ROOM=”;AREA(L,B)
CALL VOL(L,B,H)
END
FUNCTION AREA(L,B)
AREA=L*B
END FUNCTION
SUB VOL(L,B,H)
VOL=L*B*H
PRINT”VOLUME OF ROOM=”;V
END SUB
(ख) “Record.dat" eGg] sequential data file df Roll No., Name, Gender, English, Nepali, Maths / Computer field हरूमा data भण्डार गरेर राखिएको छ । त्यस data file बाट Gender 'F' हुने र कम्प्युटर विषयमा अङ्क ९० भन्दा माथि भएका विद्यार्थीहरूको सम्पूर्ण रेकर्ड प्रिन्ट गर्ने प्रोग्राम लेख्नुहोस् । (४)
A sequential data file called "Record.txt" has stored data under the field heading Roll No., Name, Gender, English, Nepali, Maths and Computer. Write a program to display all the information of those students whose gender is 'F' and obtained marks in computer is more than 90.
➣OPEN “Record.txt” FOR INPUT AS #1
CLS
WHILE NOT EOF(1)
INPUT #1,R,N$,G$,E,N,M,C
IF UCASE$(F$)=”F” AND C>=90 THEN
PRINT R;N$;G$;E;N;M;C
END IF
WEND
CLOSE #1
END
१०. कुनै एउटा सङ्ख्या मागी उक्त सङ्ख्या जोड वा विजोड के हो, सो पत्ता लगाउने प्रोग्राम सी ल्याङ्वेजमा लेख्नुहोस । (४)
Write a program in C language that asks a number and check whether it is odd or even.
➣#include<stdio.h>
#include<conio.h>
Int main()
{
Int n;
printf(“Enter any number;”);
if(n%2==0)
printf(“%d is even number”,n);
else
printf(“%d is odd number”,n);
Return 0;
}
अथवा
सि ल्याङ्वेज को प्रयोग गरी दिइएको अनुक्रमको योगफल सहित देखाउने प्रोग्राम लेख्नुहोस् । 1,2,3,4,....., दशौं पदसम्म ।
Write a program in 'C' language to display the series with their sum. 1,2,3,4,....., up to 10th terms.
➣
#include<stdio.h>
#include<conio.h>
Int main()
{
Int i, s=0;
i=1:
while(i<5)
{
printf(“%d\n”,i);
s=s+i;
I++;
}
print(“%d\n Sum=”,s);
Return 0;
}
Good job
ReplyDeleteIf you have any doubts, Please let me know