Answers On/OffJS required
Group A
- Q.Answer the following questions:(a) Write any two limitations of Assembly Level Language.(b) What are the areas in which computer are used?(c) Write the negative impacts of computer in our society.(d) List the objectives of IT Policy of Nepal 2057 BS.(e) Write the characteristics of first generation of computer.A.Difficult to learn and understand compared to high-level languages.Machine-dependent and not portable across different hardware platforms.Education
Healthcare
Business
Science and Research
EntertainmentCybercrime and hackingJob displacement due to automationPrivacy concerns and data breachesHealth issues like eye strain and poor postureDevelop IT industries and generate employment.Increase accessibility to information and communication technology.Improve e-governance for better public service.Encourage private sector participation in IT development.Used vacuum tubesLarge in size and consumed high powerSlow processing speedLimited programming capabilitiesExpensive and required a controlled environment - Q.Solve:(a) Perform the following conversions:-(i) (87) decimal to (?) binary(ii) (CIA) hexa to (?) binary(b) Perform the following Binary conversions:-(i) (101101)+(10)(ii) (10010)-(101)₂A.
- 87 ÷ 2 = 43 remainder 1
- 43 ÷ 2 = 21 remainder 1
- 21 ÷ 2 = 10 remainder 1
- 10 ÷ 2 = 5 remainder 0
- 5 ÷ 2 = 2 remainder 1
- 2 ÷ 2 = 1 remainder 0
- 1 ÷ 2 = 0 remainder 1
Now, read the remainders from bottom to top: 1010111C = 1100, 1 = 0001, A = 1010(C1A) in hexa =(110000011010) in binary101101+10=1011112 in binary10010−101=01101 in binary - Q.Match the following:A.(a) Analog computer (iv) Physical Quantities(b) Laptop computer (i) Portable Computers(c) Computer (ii) Accuracy(d) PS/2 computer (iii)IBM manufactured
- Q.Fill in the blanks with appropriate word:-(a) Tally is an example of...... package.(b) CPU is the brain of the ........(c) Laptop and palmtop are the examples of…………… computers.(d) 1GB is equal to ...... MBA.accountingComputerportable1024
- Q.Write the technical terms of:(a) A device helps to run the internal clock of computer.(b) The main circuit board of a computer.(c) Those computers that will have artificial intelligence.(d) The basic component of second generation of computer.A.CMOS BatteryMotherboardFifth-generation computersTransistor
- Q.Give full form for the following:(a) HLCIT(b) COBOL(c) XT(d) MLLA.High-Level Commission for Information TechnologyCommon Business Oriented LanguageExtended TechnologyMachine Level Language
Group B
- Q.Answer the following questions:(a) What is hyperlink? Give two examples of web browsers.(b) Write 2 differences between pair and empty tag(c) Write the function of <hr> and <br> tag.A.A hyperlink is a reference in a webpage that allows users to navigate to another webpage or section.Examples of web browsers: Google Chrome, Mozilla Firefox<hr>: Creates a horizontal line.
<br>: Inserts a line break. - Q.Write the technical terms of:(a) They allow users to jump from one web page to another web page.(b) The tags that allows us to create an eye catching and attractive movement of text or image in the browser screen.(c) The combination of row and column.(d) The software that is used to run internet.A.HyperlinkMarquee Tag <marquee>CellWeb Browser
- Q.Match the following:A.(a) Marquee (ii) Movement of text(b)<b> (iv) Makes the text bold(c) <ul> (iii) Unordered list(d) Chrome (v) Browser
Practice Without Boundaries.
Premium gives you full access, zero ads, and unlimited custom paper generation. Study your way, every day.
Group C
- Q.Answer the following questions:(a) What is single dimensional array?(b) What is user defined functions?(c) Write down the function of LEFTS(), SGN().A.A single-dimensional array is a list of elements stored in a single row or column, where each element is accessed using a unique index.
- User-defined functions are functions created by the programmer to perform specific tasks. These functions help in modular programming by allowing code reusability.
LEFTS(): Extracts a specified number of characters from the left side of a string.
SGN(): Returns the sign of a number (1 for positive, 0 for zero, -1 for negative). - Q.Find the output of the given program:CLSDIM ARR(5)FOR I = 1 TO 5 STEP 1READ ARR(I)NEXT IDATA 3, 4, 5, 2, 10S = 0FOR I = 1 TO 5 STEP 2S = S + ARR(I)^2NEXT IPRINT "SUM="; SENDA.Execution Process:
- ARR(1) = 3, ARR(2) = 4, ARR(3) = 5, ARR(4) = 2, ARR(5) = 10
- Iterating with STEP 2:
- S = 3^2 + 5^2 + 10^2
- S = 9 + 25 + 100 = 134
Output:
SUM=134 - Q.Debug the given program:REM program to check whether the given number is positive or negative.CLSIMPUT AIF A < 0 THENPRINT A; "IS POSITIVE"OTHERWISEPRINT A; "IS NEGATIVE"END IFEND PROGRAMA.CLSINPUT AIF A < 0 THENPRINT A; " IS NEGATIVE"ELSEPRINT A; " IS POSITIVE"END IFEND
- Q.Study the given below and answer the questionCLSMS = "COMPUTER"C = LEN(MS)B = 1WHILE B < CPRINT MID$(MS, B, 1)B = B + 2WENDEND(a) List all the variables used in the program.(b) What will happen, if the statement B-B+2 is Removed?A.MS, C, BThe loop will enter an infinite loop because B will always be 1, causing WHILE B < C to never terminate.
- Q.Answer the following:(a) Write a program to input ten different numbers using array. Arrange them in descending order and print.(b) Write a program to print 1, 4, 9, 16, 25,...upto 10 term by using while...wend.(c) Write a program to calculate curved surface area of a cylinder.(Hint:-CSA R^2 H]A.DIM ARR(10)FOR I = 1 TO 10INPUT ARR(I)NEXT IFOR I = 1 TO 9FOR J = I + 1 TO 10IF ARR(I) < ARR(J) THENSWAP ARR(I), ARR(J)END IFNEXT JNEXT IPRINT "Descending Order:"FOR I = 1 TO 10PRINT ARR(I);NEXT IENDCLSN = 1WHILE N <= 10PRINT N * NN = N + 1WENDENDCLSINPUT "Enter radius: ", RINPUT "Enter height: ", HCSA = 2 * 3.1416 * R * HPRINT "Curved Surface Area: "; CSAEND