Answers On/OffJS required
Group A
- Q.Answer the following questions in one sentence.(क) दूरसञ्चार भनेको के हो ? What is telecommunication?(ख) Simplex Mode का दुईओटा उदाहरणहरु उल्लेख गर्नुहोस् ।Give any two examples of simplex mode.(ग) एम. एस. एक्सेसमा टेबल सजंनागने कुनै दुई विधिहरु उल्लेख गर्नुहोस् ।Write any two methods of creating table in MS-Access.(घ) एम. एस. एक्सेसमा तपाईं फिल्डको नाम अन्र्तगत maximum character कति सम्म प्रयोग गर्न सक्नुहुन्छ ?What is the maximum character you can use for creating a field name in MS-Access?(ङ) KILL statement को syntax लेख्नुहोस् ।Write the syntax of KILL statement(च) C-language मा प्रयोग हुने कुनै दुई ओटा keywords लेख्नुहोस् ।Write any two keywords used in C-language.A.Telecommunication is the transmission of information over long distances using electronic systems such as telephones, radios, or the internet.Two examples of simplex mode are television broadcasting and radio transmission.Two methods of creating a table in MS-Access are using the Design View and the Datasheet View.The maximum character you can use for creating a field name in MS-Access is 64 characters.The syntax of the KILL statement is KILL "filename", where "filename" is the name of the file to be deleted.Two keywords used in C-language are int and if.
- Q.२. उपयुक्त प्राविधिक शब्द लेख्नुहोस् : Write appropriate technical term for the following:(क) www मा निर्दिष्ट keywords हरुको आधारमा डकुमेण्टर खोज्ने वेबसाइटहरु ।The websites that search documents for specified keywords in www.(ख) डिजिटल संसारमा अन्तरक्रियाको छाप ।The recording of interaction with the digital world.A.The websites that search documents for specified keywords in www are called search engines.The recording of interaction with the digital world is called digital footprint.
- Q.३. पूरा रूप लेख्नुहोस् : Write the full form of the following:(क) UPS(ख) VRA.Uninterruptible Power Supply.Virtual Reality.
Group B
- Q.४. तलका प्रश्नहरुको उत्तर दिनुहोस् : Answer the following questions: (क) गाइडेड र अनगाइडेड मेडियाहरुमा कुनै दुई भिन्नताहरु छुट्याउनुहोस् । Differentiate between guided and unguided media. (Any two)A.
- Guided media, such as twisted pair cables and fiber optics, use physical paths to transmit data, while unguided media, like radio waves and microwaves, transmit data through the air without physical connections.
- Guided media offer higher security and less interference due to their structured setup, whereas unguided media are more prone to interference and have lower security due to their wireless nature.
- Q.(ख) 'साइबर कानुन'लाई परिभाषित गर्नुहोस्, साइबर नैतिकताको कुनै एक-एक ओटा गर्न हुने र नहुने कार्यहरुको सूची तयार पार्नुहोस् । Define cyber law. List any one-one do's and don'ts of cyber ethics.A.
- Cyber law is a set of legal regulations and policies governing activities on the internet and digital platforms to ensure security, privacy, and ethical use.
- Do's: Respect others' privacy by not sharing personal information without consent.
- Don'ts: Avoid spreading false information or engaging in cyberbullying.
- Q.ग) कुनै दुई उदाहरणसहित Antivirus software परिभाषित गर्नुहोस् । Define Antivirus software with two examples.A.
- Antivirus software is a program designed to detect, prevent, and remove malicious software such as viruses, worms, and trojans from computer systems.
- Examples: Norton Antivirus and McAfee Antivirus.
- Q.(घ) आजको समयमा ट्रेडिशनल कमर्सभन्दा इ-कमर्स बढी लोकप्रिय हुनुका कुनै दुई कारणहरु उल्लेख गर्नुहोस् । Why is e-commerce more popular than traditional commerce nowadays? Give any two reasons.A.
- E-commerce offers convenience with 24/7 online access and home delivery, unlike traditional commerce which relies on physical store hours.
- It provides a wider variety of products and competitive pricing through global marketplaces, which traditional stores often cannot match.
- Q.(ङ) 'ई-गभर्नेन्स' भनेको के हो ? नेपालमा अवस्थित 'ई-गभर्नेन्स' सेवाहरुको कुनै दुई उदाहरणहरु दिनुहोस् । What is e-governance? Provide any two examples of e-governance services that exist in Nepal.A.
- E-governance is the use of information and communication technology by government institutions to deliver services, enhance transparency, and engage citizens efficiently.
- Examples: The online passport application system (Nepal Police) and the e-Pay system for tax payments.
- Q.(च) 'डाटाबेस'भनेको के हो ? MS-Access माप्रयोग हुने कुनै दुईओटा data types लेख्नुहोस् । What is database? Name any two data types used in MS-Access..A.
- A database is an organized collection of data, typically stored and accessed electronically, used to manage and retrieve information efficiently.
- Two data types used in MS-Access are Text and Number.
- Q.(छ) Field रRecordबिचभिन्नता लेख्नुहोस् । (कुनै दुई मात्र) Write the difference between field and record. (Any two)A.
- A field is a single piece of data or attribute (e.g., name), whereas a record is a complete set of fields representing one entity (e.g., a person’s full details).
- Fields are the columns in a database table, while records are the rows containing all field data for a single entry.
- Q.(ज) रिपोर्टलाई परिभाषित गर्नुहोस् । DBMS मा रिपोर्ट बनाउन किन आवश्यक छ ? Define a report. Why is it necessary to create a report in DBMS?A.
- A report is a formatted output generated from a database that presents data in an organized manner, such as tables or charts, for analysis or decision-making.
- It is necessary to create a report in DBMS to summarize and present data effectively, enabling users to identify trends, make informed decisions, and share insights with stakeholders.
- Q.(झ) Query भनेको के हो ? Action query का प्रकारहरु उल्लेख गर्नुहोस् । What is query? Mention the different types of action query.A.
- A query is a request for data or an action to be performed on a database, written in a language like SQL, to retrieve, update, or manipulate information.
- Types of action query include Update Query, Append Query, Delete Query, and Make-Table Query.
- Q.५. तल दिइएको प्रोग्रामको आउटपुट लेखी Dry Run टेबलमा देखाउनुहोस् : Write down the output of the given program and show them in dry run table:DECLARE SUB Display (TS)TS="COMPUTER"CALL Display (TS)ENDSUB Display (TS)FOR C=1 TO LEN (TS) STEP 2DS=MIDS (TS,C, 1)PRINT DS;NEXT CEND SUBA.Output: C O M PDry Run Table:
- Q.६. तल दिइएको प्रोग्राममा रहेका गल्तीहरुलाई सच्याएर पुनः लेख्नुहोस् । Rewrite the given program after correcting the bugs:REM to add record in an existing fileOPEN "student.dat" FOR OUT AS #2TOP:INPUT "Enter Name, Class and Roll No."; SName$, C, RNSName$,C,RNINPUT#2, S name$ S,C,RNINPUT "More records"; YSIF UCASES(YS)="Y" THEN GOTO POPCLOSE #2STOPENDA.Corrected Program:REM to add record in an existing fileOPEN "student.dat" FOR APPEND AS #2 ' Changed FOR OUT to FOR APPEND to avoid overwritingTOP:INPUT "Enter Name, Class and Roll No."; SName$, C, RNWRITE #2, SNameINPUT "More records (Y/N)"; YSIF UCASE and GOTO label to TOPCLOSE #2END
- Q.७. तल दिइएको प्रोग्रामलाई अध्ययन गरी दिइएका प्रश्नहरुको उत्तर दिनुहोस् : Study the given program and answer the questions.DECLARE FUNCTION COUNT (A$)FUNCTION COUNT (A$)CLSINPUT "Enter any word"; WSENDFUNCTION COUNT (AS)B=LEN(A$)C=0FOR i=1 TO BES=MIDS(C$,i,1)IF ES="A" OR ES="E" OR ES="I" OR ES="O" OR ES="U" THENC=C+1END IFNEXT iCOUNT=CEND FUNCTION(क) प्रोग्राम रन गर्न main module मा छुटेको स्टेटमेन्ट लेख्नुहोस् ।Write down the missing statement in the main module to execute the program.(ख) माथिको प्रोग्राममा प्रयोग भएको कुनै दुई string function हरु लेख्नुहोस् ।List any two string functions used in the above program.A.The missing statement in the main module is PRINT COUNT("word") or CALL COUNT("word") to call the function with a string argument and display or process the result.
- LEN(A$): Used to determine the length of the string A$.
- MID$(C$,i,1): Intended to extract a single character from the string (though C$ is a typo and should be A$).
Practice Without Boundaries.
Premium gives you full access, zero ads, and unlimited custom paper generation. Study your way, every day.
Group C
- Q.८. निर्देशनअनुसार रूपान्तर र हिसाब गर्नुहोस् : Convert/Calculate as per the instruction:A.(i) (1503)8=(?)16:
- Convert octal (base 8) to decimal: 1×8^3+5×8^2+0×8^1+3×8^0=512+320+0+3=835 10
- Convert decimal to hexadecimal (base 16): 835÷16=52 remainder 3, 52÷16=3 remainder 4, 3÷16=0 remainder 3.
- Reading remainders from bottom to top: (343)16.
- Answer: (1503)8=(343)16.
(ii) (101000101)2=(?)8:- Group binary digits into sets of 3 from right to left: 101000101 .
- Convert each group to decimal: (101)2=5101_2 = 51012=5, 0002=0000_2 = 00002=0, 1012=5101_2 = 51012=5.
- Combine: (505)8.
- Answer: (101000101)2=(505)8.
(iii) (1010+1101)2−(110)2:1010 + 1101 = 10111_2(1+1=10, carry 1; 0+0+1=1; 1+1=10, carry 1; 1+1+1=11).10111−110=10001210111 - 110 = 10001_210111−110=100012 (borrow where needed: 1-0=1, 0-1=1 with borrow, 1-1=0, 1-0=1, 1-0=1).Answer: (10001)2.(iv) (100111)2÷(110)2(100111)_2 \div (110)_2(100111)2÷(110)2:- Convert to decimal for ease: 1001112=3910100111_2 = 39_{10}1001112=3910, 1102=610110_2 = 6_{10}1102=610.
- 39÷6=639 \div 6 = 639÷6=6 remainder 333 (since 6×6=366 \times 6 = 366×6=36, 39−36=339 - 36 = 339−36=3).
- Convert quotient 610=11026_{10} = 110_2610=1102 and remainder 310=1123_{10} = 11_2310=112.
- In binary division, result is quotient: (110)2(110)_2(110)2 with remainder (11)2(11)_2(11)2. Answer: Quotient = (110)2(110)_2(110)2, Remainder = (11)2(11)_2(11)2.
- Q.९. तलका प्रश्नहरुको उत्तर लेख्नुहोस् : Answer the following questions.(क) कुनै एक कोठाको लम्बाई, चौडाइ र उचाई मागी उक्त कोठाको आयतन र परिमिति पत्ता लगाउने क्यूबेसिक प्रोग्राम लेख्नुहोस् । Function procedure प्रयोग गरी परिमिति र Sub procedure प्रयोग गरी आयतन पत्ता लगाउनुहोस् ।Write a program in QBASIC that asks length, breadth and height of room and calculate its perimeter and volume. Create a Function procedure to calculate perimeter and Sub procedure to calculate the volume.[HINT: Volume =L×B×H and perimeter =2(L+B)](ख) एउटा sequential डाटा फाइल "std. dat" मा केहीविद्यार्थीहरूको नाम, रोल न. र क्रमश:अँग्रेजी, नेपाली, गणित र कम्प्यूटर विषयकाअंकहरू भण्डारण गरिएका छन् । कम्प्यूटर विषयमा ४० भन्दा बढी अङ्क प्राप्त गरेका विद्यार्थीहरूका सम्पूर्ण विवरणहरू प्रदर्शन गर्ने प्रोग्राम लेख्नुहोस् ।Write a program to read data from the sequential data file name "std.dat" which contains student's name, roll no. and marks of English, Nepali, Maths, and Computer of few students. Display the result with all the information of those students whose marks in computer is more than 40.A.DECLARE FUNCTION Perimeter (L, B)DECLARE SUB Volume (L, B, H)CLSINPUT "Enter length of room"; LINPUT "Enter breadth of room"; BINPUT "Enter height of room"; HP = Perimeter(L, B)CALL Volume(L, B, H)PRINT "Perimeter of room is"; PENDFUNCTION Perimeter (L, B)Perimeter = 2 * (L + B)END FUNCTIONSUB Volume (L, B, H)V = L * B * HPRINT "Volume of room is"; VEND SUBOPEN "std.dat" FOR INPUT AS #1CLSPRINT "Name", "Roll No.", "English", "Nepali", "Maths", "Computer"PRINT "------------------------------------------------"DO WHILE NOT EOF(1)INPUT #1, SName$, RollNo, Eng, Nep, Math, CompIF Comp > 40 THENPRINT SName$, RollNo, Eng, Nep, Math, CompEND IFLOOPCLOSE #1END
- Q.१०. सी ल्याङ्ग्वेजको प्रयोग गरी input गरिएका कुनै दुई फरक अङ्कहरू मध्ये ठूलो अङ्क पत्ता लगाउने प्रोग्राम लेख्नुहोस् । Write a program in C-language to find the greatest number among any two different input numbersA.#include <stdio.h>int main() {int num1, num2;printf("Enter first number: ");scanf("%d", &num1);printf("Enter second number: ");scanf("%d", &num2);if (num1 > num2)printf("The greatest number is %d ", num1);elseprintf("The greatest number is %d ", num2);return 0;}
- Q.अथवा (OR), सी ल्याङ्ग्वेजको प्रयोग गरी 5,10,15,20,.........१५औं पदसम्म देखाउने एउटा प्रोग्राम लेख्नुहोस् । Write a program in C - language to display the series 5,10,15,20, up to 15th terms.A.#include <stdio.h>int main() {int term = 5;for (int i = 1; i <= 15; i++) {printf("%d ", term);term += 5; // Increment by 5 for the next term}printf(" ");return 0;}