Answers On/OffJS required
Group A
- Q.Answer the following questions.(a) Enlist four advantages of a computer.(b) Why Charles Babbage is called father of modern computer science?(c) What do you mean by system software?(d) Differentiate between interpreter and compiler.(e) What is device driver?A.High speed of processing.Large storage capacity.Automation of repetitive tasks.Accuracy and reliability.Charles Babbage designed the Analytical Engine in the 1830s, which had features similar to modern computers like input, processing, storage, and output. His design became the foundation of today's computers.System software refers to the programs that manage and control computer hardware, providing a platform for running application software. Examples include Operating Systems, Utility Software, and Device Drivers.
Feature Interpreter Compiler Execution Translates and runs code line-by-line. Translates entire code first, then runs it. Speed Slower, as it translates code during execution. Faster, since it translates code before execution. Error Handling Stops execution at the first error. Displays all errors after compilation. Example Python Interpreter C Compiler A device driver is a specialized system software that allows the operating system to communicate with hardware devices like printers, graphics cards, and USB drives. - Q.Solve:(a) Convert as indicated.(i) (20) decimal to Binary(ii)(23A) hexa to Decimal(iii)(65) octal to Binary(iv) (1010101) binary to Hexadecimal(b) Perform binary calculation.(i) 10111+1011(ii) 11011/11(iii) 10110-1101(iv) 1011*11A.20 in decimal is written as 10100 (one zero one zero zero) in binary.Multiply 2 by 256, 3 by 16, and A (which is 10) by 1.
22×256+3×16+10×1=570
570 (five hundred seventy) in decimal.Convert 6 to binary: 110 (one one zero).Convert 5 to binary: 101 (one zero one).The final binary number is 110101 (one one zero one zero one).Group the binary digits into four-bit groups from right to left: 0101 0101.Convert each group to hexadecimal: 5 (five) and 5 (five).The final hexadecimal number is 55 (fifty-five).10111+ 01011--------100010 (Binary) → 34 (Decimal)Convert to decimal: 11011 (27) ÷ 11 (3) = 9Convert 9 to binary: 1001Answer: 1001 (Binary)10110- 01101--------01001 (Binary) → 9 (Decimal)1011× 11--------1011+10110--------11101 (Binary) → 29 (Decimal) - Q.Match the following pairs.A.Actual brain CPUSoftware Windows 10Raw data KeyboardIntegrated part Mouse
- Q.Give the technical term of the following.(a) Translated form of source program.(b) Memory that stores executed program.(c) The fastest memory lies between memory and microprocessor.(d) The most important device to access internet.A.Object CodeRAM (Random Access Memory)Cache MemoryModem/Router
- Q.Give the full form.HTMLFTPCDROMULSICA.HyperText Markup LanguageFile Transfer ProtocolCompact Disc Read-Only MemoryUltra Large Scale Integrated Circuit
Group B
- Q.Answer the following questions.(a) What is meant by paired tag?(b) Which tag is used to insert an image in a web document?A.A paired tag in HTML consists of an opening tag and a closing tag. The closing tag has a forward slash ("/") in it.Example: <b> Bold Text </b><img> tag is used to insert an image in HTML.
- Q.Write the HTML codes to generate given list in html document.Information TechnologyA. Basic informationI.IntroductionII. About advantagesB. Curriculum informationA.<!DOCTYPE html><html><head><title>Information Technology</title></head><body><h1>Information Technology</h1><ol><li>A. Basic information<ol type="I"><li>Introduction</li><li>About advantages</li></ol></li><li>B. Curriculum information</li></ol></body></html>
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 question.(a) What is concatenation?(b) What is looping?A.Concatenation is the process of joining two or more strings together.Looping refers to executing a set of instructions repeatedly until a certain condition is met.
- Q.Write the output of the following.CLSX$ = "COMPUTER"FOR I = 1 TO LEN(X$)M$ = MID, I, 1)R = I MOD 2IF R = 0 THENPRINT M$;END IFNEXT IENDA.The program prints every second character from the string "COMPUTER".Output:O U E
- Q.Debug the following program.REM This program prints the reverse of supplied numberCLSINPUT "ENTER THE A NUMBER"; N$X = NWHILE X <> 0R = X MODE 10PRINT R;X = INT (X/10)LOOPEND IFA.REM This program prints the reverse of a supplied numberCLSINPUT "ENTER A NUMBER"; XWHILE X <> 0R = X MOD 10PRINT R;X = INT(X / 10)WENDEND
- Q.Read the given program and answer the following questions.CLSA$ = "ABC"FOR I = 1 TO 3AS$ = MID, I, 1)S$ = ASC(AS$)S = S + XNEXT IPRINT SEND(a) What will be the output of above program in second loop?(b) What are the library functions used in above Program?A.Second loop (I = 2):
- AS$ = MID$(A$, 2, 1) → Extracts "B"
- S$ = ASC("B") → ASCII value of "B" is 66
- So, the second loop processes "B" with ASCII 66
- MID$() → Extracts a substring from a string.
ASC() → Converts a character into its ASCII value. - Q.Write a program to find area of circle. Hint: (A-22+7 r^2)A.CLSINPUT "Enter radius: "; RA = (22 / 7) * R ^ 2PRINT "Area of the circle: "; AEND
- Q.Write a program to ask a string and check it is palindrome or not.A.CLSINPUT "Enter a word: "; W$L = LEN(W$)PAL = 1FOR I = 1 TO L / 2IF MID, I, 1) <> MID, L - I + 1, 1) THENPAL = 0EXIT FOREND IFNEXT IIF PAL = 1 THENPRINT "It is a palindrome."ELSEPRINT "It is not a palindrome."END IFEND
- Q.Write a program to ask ten different numbers and print them in ascending order.A.DIM A(10)CLSFOR I = 1 TO 10INPUT "Enter number: "; A(I)NEXT I' Sorting the array using Bubble SortFOR I = 1 TO 9FOR J = I + 1 TO 10IF A(I) > A(J) THENTEMP = A(I)A(I) = A(J)A(J) = TEMPEND IFNEXT JNEXT IPRINT "Numbers in ascending order:"FOR I = 1 TO 10PRINT A(I);NEXT IEND