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 cache memory?(d) Differentiate between interpreter and compiler.(e) What is device driver?A.High Speed – Can process millions of instructions per second.Automation – Performs tasks without manual intervention.Accuracy – Produces precise results with minimal errors.Multitasking – Can execute multiple tasks simultaneously.Charles Babbage designed the Analytical Engine, which had basic features of modern computers like input, processing, storage, and output. His work laid the foundation for today's computers.Cache memory is a high-speed memory located between the CPU and RAM that stores frequently accessed data for faster processing.A device driver is a software program that allows an operating system to communicate with hardware devices like printers, keyboards, and mice.
- Q.Solve:. a) Convert as indicated.(i) (32) in hexadecimal to BinaryFirst, convert the hexadecimal number 32 to its binary equivalent.(ii) (2A) in hexadecimal to Decimal(iii) (66) in octal to Binary(iv) (10111) in binary to Hexa(b) Perform binary calculation.(i) 10110+1011The result is 100001 in binary, which equals 33 in decimal.(ii) 1111/11(iii) 10110-1101(iv) 1010 × 11A.3 in hexadecimal is 0011 in binary.
2 in hexadecimal is 0010 in binary.
So, 32 in hexadecimal is 0011 0010 in binary.The hexadecimal number 2A consists of:- 2 in hexadecimal, which is equal to 2 × 16 = 32 in decimal.
- A in hexadecimal, which is equal to 10 in decimal.
Therefore, 2A in hexadecimal is equal to 32 + 10 = 42 in decimal.The octal number 66 consists of:- 6 in octal, which is 110 in binary.
- 6 in octal again, which is 110 in binary.
Therefore, 66 in octal is equal to 110 110 in binary.The binary number 10111 is grouped into 4-bit sections: 0001 0111.0001 in binary is 1 in hexadecimal.0111 in binary is 7 in hexadecimal.Therefore, 10111 in binary is 17 in hexadecimal.Divide the binary number 1111 (which is 15 in decimal) by 11 (which is 3 in decimal).- The quotient is 5, which is 101 in binary.
The result is 01001 in binary, which equals 9 in decimal.Multiply 1010 (which is 10 in decimal) by 11 (which is 3 in decimal).- The product is 30, which is 11110 in binary.
- Q.Match the following pairs.Actual brain KeyboardSoftware MouseRaw data CUIntegrated part Windows 10
Windows 5A.Actual Brain CUSoftware 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
- Q.Give the full form:HTML,UPS,RAM,ICA.HyperText Markup LanguageUninterruptible Power SupplyRandom Access MemoryIntegrated Circuit
Group B
- Q.Answer the following questions.(a) What is meant by empty tag?(b) Which tag is used to insert an image in a web document?A.An empty tag is an HTML tag that does not need a closing tag. Example: <br>, <img>.The <img> tag is used to insert an image in a web document.
- Q.Write the HTML codes to generate given list in html document.A. Basic information(i) IntroductionB. Curriculum informationC.About AdvantagesA.<html><head><title>List Example</title></head><body><ul><li>Information Technology<ul><li>Basic Information<ul><li>Introduction</li></ul></li><li>Curriculum Information</li><li>About Advantages</li></ul></li></ul></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 questions.(a) What is concatenation?(b) What is looping?A.Concatenation is joining two or more strings together in programming.Looping is repeating a block of code multiple times
- Q.Write the output of the following.CLSX$ = "COMPUTER"FOR I = 1 TO LEN(X$)MS = MID, I, 1)R = I MOD 2IF R = 0 THENPRINT MS;END IFNEXT IENDA.The program prints every character at an even position in "COMPUTER".
Characters at even positions: O, P, T, R - Q.Debug the following program:REM This program prints the reverse of supplied numberCLSINPUT "ENTER THE A NUMBER"; NSX = NSFOR I = 1 TO FIVEPRINT X ^ 2X = X - 1NEXT IENDA.REM This program prints the reverse squares of numbersCLSINPUT "ENTER A NUMBER"; NSX = NSFOR I = 1 TO 5PRINT X ^ 2X = X - 1NEXT IEND
- Q.Read the given program and answer the following questions.CLSCS$ = "ABC"FOR I = 1 TO LEN(CS$)AS = MID, I, 1)X = 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.Let's analyze the loop execution:
- "A" → ASCII = 65
- "B" → ASCII = 66
- "C" → ASCII = 67
- Sum = 65 + 66 + 67 = 198
So, the output will be 198.The library functions used are:- LEN(): Returns the length of a string.
- MID$(): Extracts a substring from a string.
ASC(): Returns the ASCII value of a character. - Q.Write a program to find area of four walls. (A = 2H(L+ B))A.CLSINPUT "Enter Height: "; HINPUT "Enter Length: "; LINPUT "Enter Breadth: "; BA = 2 * H * (L + B)PRINT "The area of four walls is: "; AEND
- Q.Write a program to ask a string and check it is palindrome or not.A.CLSINPUT "Enter a string: "; S$REV$ = ""FOR I = LEN(S$) TO 1 STEP -1REV$ = REV$ + MID, I, 1)NEXT IIF UCASE) = UCASE) THENPRINT "The string is a palindrome."ELSEPRINT "The string is not a palindrome."END IFEND
- Q.Write a program to ask ten different numbers and print them in ascending order.A.CLSDIM NUM(10)FOR I = 1 TO 10INPUT "Enter a number: "; NUM(I)NEXT IFOR I = 1 TO 9FOR J = I + 1 TO 10IF NUM(I) > NUM(J) THENTEMP = NUM(I)NUM(I) = NUM(J)NUM(J) = TEMPEND IFNEXT JNEXT IPRINT "Numbers in ascending order:"FOR I = 1 TO 10PRINT NUM(I)NEXT IEND