Answers On/OffJS required
Group A
- Q.Answer these questions:(a) Why computer is called an Information Processing Machine?(b) Which was the first electromechanical computer? Write its features.(c) Define primary and secondary memory with examples.(d) What is printer? Write any two differences between impact and non-impact printer.(e) What is E-Government? Write any two advantages of E-Government.A.A computer is called an Information Processing Machine because it takes raw data (input), processes it, and produces meaningful information (output).The first electromechanical computer was Harvard Mark I.Features:
- Used electromagnetic switches for calculations.
- Could perform addition in 0.3 seconds and multiplication in 6 seconds.
- Large in size and slow in operation compared to modern computers.
Primary memory: Temporary memory used by the CPU to store currently running programs (e.g., RAM, Cache).Secondary memory: Permanent storage used for long-term data storage (e.g., Hard disk, SSD, CD).Printer: A device that prints digital data onto paper.- E-Government: The use of digital technologies by the government to provide services to citizens online.
- Advantages:
- Faster and more efficient public services.
- Increased transparency and reduced corruption.
- Q.Write the full forms:EDVACPOSTMICRECGA.Electronic Discrete Variable Automatic ComputerPower-On Self TestMagnetic Ink Character RecognitionElectrocardiogram
- Q.Match the following.A.CRAY-I Super computerPDP-11 Mini computerIBM S/3900 Mainframe computerIBM PC Micro computer
- Q.Write the technical term of the following:(a) The computer terminology in which output will be desirable (accurate) if the input is correct.(b) The program stored in ROM chip.(c) A language translator that converts high level language program into machine level line by line.(d) The free software that provides user to source code.A.GIGO (Garbage In, Garbage Out)FirmwareInterpreterOpen-source software
- Q.Perform the following binary operations.(a) Binary calculations.(i) 1111101-110.(ii) 11101 + 10(b) Convert as indicated:(i) (FAC) hexa into (?) octal(ii) (939) decimal into (?) binaryA.Convert 110 to 6 (decimal), 1111101 to 125 (decimal).125 - 6 = 119 (decimal).Convert 119 to binary → 1110111.11101 (29 decimal) + 10 (2 decimal) = 31 (decimal).Convert 31 to binary → 11111.
- Convert F A C to binary: 1111 1010 1100.
- Group in 3s from right: 111 110 101 100.
- Convert to octal: 7654.
- Answer: (7654) in octal
- Divide by 2 and note remainders:
- 939 ÷ 2 → 469 R1
- 469 ÷ 2 → 234 R1
- 234 ÷ 2 → 117 R0
- 117 ÷ 2 → 58 R1
- 58 ÷ 2 → 29 R0
- 29 ÷ 2 → 14 R1
- 14 ÷ 2 → 7 R0
- 7 ÷ 2 → 3 R1
- 3 ÷ 2 → 1 R1
- 1 ÷ 2 → 0 R1
- Write in reverse → 1110101011.
- Q.Select the best answer:(a) The IT policy of Nepal was adapted in,(i) 2057 (ii) 2067 (iii) 2007 (iv) 2051(b) The program obtained after translation is(i) Source (ii) object (iii) system (iv) All(c) Which is the fastest memory of the computer?(i) RAM (ii) ROM (iii) Cache (iv) All(d) Which of the following is the component of computer system?(i) Hardware (ii) Software (iii) User (iv) AllA.(i) 2057 B.S.(ii) Object program(iii) Cache(iv) All
Group B
- Q.Answer these questions.(a) Write any two differences between GUI and CUI operating system.(b) What is booting?(c) What is wildcard character? Write some examples.A.GUI (Graphical User Interface): Uses images, icons, and a mouse (e.g., Windows).
CUI (Command User Interface): Uses text commands (e.g., MS-DOS).Booting: The process of starting a computer and loading the operating system.Wildcard characters: Symbols used to represent multiple characters in file searches.
Examples: * (matches any number of characters), ? (matches a single character). - Q.Write down the function DOS command "C:/>DEL C????.TXTA.C:\>DEL C????.TXT → Deletes all .TXT files starting with "C" and followed by four characters.
- Q.Write the necessary DOS command "to copies all files having .BAS extension of PROGRMS directory of C:drive to D: drive".A.C:\>COPY C:\PROGRAMS\*.BAS D:\
Practice Without Boundaries.
Premium gives you full access, zero ads, and unlimited custom paper generation. Study your way, every day.
Group C
- Q.Answer these questions.(a) What do you mean by HTML tags? Name them.(b) Define web browser with examples.(c) Which attribute is used to set the background image in the webpage with <body> tag?A.HTML tags: Predefined codes enclosed in angle brackets < > used to format a webpage.Types:
- Paired tags: , ,
- Unpaired tags: ,
Web Browser: Software used to access the internet (e.g., Chrome, Firefox).Attribute to set background image: background="image.jpg" in the <body> tag. - Q.Write the functions of the following HTML tags.(a) <A>(b) Font size="10" face "Arial" color="red">A.Used to create hyperlinks to navigate between web pages.Used to change text appearance (size, font, and color).
Group D
- Q.Answer these questions.(a) Define algorithm and flowchart.(b) Why QBASIC is called a high level programming Language?(c) What is a loop? Name the different types of loop.A.Algorithm: A step-by-step procedure to solve a problem.Flowchart: A diagrammatic representation of an algorithm using symbols.QBASIC is a high-level language because it is human-readable and easier to understand.Loop: A programming structure that repeats a set of instructions.Types:
- FOR loop
- WHILE loop
- DO WHILE loop
- Q.Write the output of the following QBASIC Program.CLSAS$="PABSON"J=6FOR I=1 TO LEN (AS$)BS(AS$, I, J)PRINT BS$J=J-1NEXT IENDA.PABSONABSONBSONSONONN
- Q.Debug the following program.CLSINPUT "Enter a number"; NSN=XWHILE N-0R-N/10N-INT(N/10)REV-REV 10+RWENDIF REV-X THENPRINT "Palin"ELSEPRINT "Palin"ENDIFA.CLSINPUT "Enter a number"; XN=XREV = 0WHILE N<>0R = N MOD 10N = INT(N/10)REV = REV * 10 + RWENDIF REV = X THENPRINT "Palindrome"ELSEPRINT "Not Palindrome"END IFEND
- Q.Study the following program carefully answers the following.CLSINPUT "ENTER ANY STRING"; WS$C=1FOR I=1 TO LEN (WS$) STEP 1AS(WS$, I, 1)IF AS$ = " " THEN C=C+1NEXT IPRINT "TOTAL WORDS="; CENDQuestions:(a) Name the in-built functions used in the above mentioned program.(b) What will happen if the value of a numeric variable C-1 is not initialize in the above Program?A.LEN(WS(WS$, I, 1): Extracts one character at position I.The program will give incorrect word count because C starts from 1.
If C is not initialized, it may contain a garbage value. - Q.Write a program to input a number and determine whether it is an Armstrong or not.A.CLSINPUT "Enter a number"; NX = NSUM = 0WHILE N<>0R = N MOD 10SUM = SUM + R^3N = INT(N/10)WENDIF SUM = X THENPRINT "Armstrong Number"ELSEPRINT "Not an Armstrong Number"END IFEND
- Q.Write a program to generate series 7, 22, 11, 34. up to 10th term.A.CLSA = 7B = 22FOR I = 1 TO 5PRINT A, B;A = A + 4B = B + 12NEXT IEND
- Q.Write a program to display whether a number is prime or composite.A.CLSINPUT "Enter a number"; NC = 0FOR I = 1 TO NIF N MOD I = 0 THENC = C + 1END IFNEXT IIF C = 2 THENPRINT "Prime Number"ELSEPRINT "Composite Number"END IFEND