0% found this document useful (0 votes)
42 views5 pages

PLUS ONE COMPUTER APPLICATION XMAS EXAM 24 ANSWER KEY - Hssreporter - Com

The document is an answer key for the First Year Higher Secondary Second Terminal Examination in Computer Applications, detailing answers to various questions across multiple categories including 1-mark, 2-mark, 3-mark, and 5-mark questions. Topics covered include hexadecimal and binary number systems, programming concepts in C++, data processing stages, and flowchart advantages. The document is prepared by Menoup T from Tharakan HSS Angadipuram, Malappuram.

Uploaded by

rsajeev604
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views5 pages

PLUS ONE COMPUTER APPLICATION XMAS EXAM 24 ANSWER KEY - Hssreporter - Com

The document is an answer key for the First Year Higher Secondary Second Terminal Examination in Computer Applications, detailing answers to various questions across multiple categories including 1-mark, 2-mark, 3-mark, and 5-mark questions. Topics covered include hexadecimal and binary number systems, programming concepts in C++, data processing stages, and flowchart advantages. The document is prepared by Menoup T from Tharakan HSS Angadipuram, Malappuram.

Uploaded by

rsajeev604
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

FIRST YEAR HIGHER SECONDARY SECOND TERMINAL EXAMINATION DECEMBER 2024

ANSWER KEY
SUBJECT: COMPUTER APPLICATION

1-Mark Questions (Answer any 5)

1. The base of hexadecimal number system is:


Answer: 16
2. Which is the fastest memory in a computer (RAM, Cache, Register, Hard disk)?
Answer: Register
3. The tokens that convey a specific meaning to the language compiler are called:
Answer: Keywords
4. The memory size of float data type in C++ is:
Answer: 4 bytes
5. C++ program execution starts and ends within:
Answer: main() function
6. Write an example for an entry-controlled loop:
Answer: for loop or while loop

2-Mark Questions (Answer any 9)

7. (a) Convert (10110)₂ to decimal:


Answer: 22
(b) Find the missing terms in the hexadecimal series 18, 1A, 1C, ____, ______
Answer: 1E,20
8. Binary equivalent of 56 is (111000)2.
Find the sign and magnitude form and 1's complement form of -56 (Use 8-bit representation):
Answer:
Sign and Magnitude Form:
Represent +56 in binary: 00111000
Add a sign bit (1 for negative): 10111000
1's Complement Form:
Invert all the bits of +56: 11000111
9. Compare RAM and ROM:
Answer:
o RAM: Volatile memory used for temporary data storage during program execution.
o ROM: Non-volatile memory used to store permanent instructions like the BIOS.
10. Arrange the following memory or storage devices in ascending order of speed:
Hard disk, Cache, RAM, Register
Answer: Hard disk < RAM < Cache < Register
11. Draw any two flowchart symbols and write their purpose:
Answer:
o Ellipse (Terminator): Used to represent Start or End.
o

Rectangle (Process): Used to represent a process or instruction.

PREPARED BY MENOUP T, THARAKAN HSS ANGADIPURAM, MALAPPURAM

Downloaded from hssreporter.com


12. List and explain any two types of errors in programming:
Answer:
o Syntax Error: Errors which occur when the rules or syntax of the programming language are not
followed.
o Logical Error: Logical error is due to improper planning of the program s logic. Produces incorrect
results despite successful execution.
13. What are the rules to name an identifier?
Answer:
o Must begin with a letter or underscore.
o Identifier is a sequence of letters digits and underscore , .
o Cannot use keywords or spaces or symbols.
14. What is the difference between x = 5 and x == 5 in C++?
Answer:
o x = 5: Assignment operator; assigns 5 to x.
o x == 5: Equality operator; checks if x equals 5.
15. List the type modifiers in C++:
Answer: signed, unsigned, short, long.
16. Write any four C++ statements to increment the value of a variable a by 1:
Answer:
o a=a+1;
o a+=1;
o a++;
o ++a;
17. List the four main components of a loop:
Answer:
o Initialisation
o Test expression(condition)
o Update statement
o Body of the loop
18. Rewrite the statement using conditional operator:
if(M >= 18)
cout<<"Passed";
else
cout<<"Failed";
Answer:
cout<<(M>=18?"Passed”:"Failed");
3-Mark Questions (Answer any 9)

19. List the stages of data processing:


Answer:
1. Capturing data
2. Input of data
3. Storage of data
4. Processing data
5. Output of information
6. Distribution of information

20. If (1111)2 = X8 = Y10 = Z16, find X, Y, and Z:


Answer:
X=178, (binary to octal) Y=1510 (binary to decimal) Z= F16 (binary to hexadecimal)

PREPARED BY MENOUP T, THARAKAN HSS ANGADIPURAM, MALAPPURAM

Downloaded from hssreporter.com


21. (a) What is an operating system?
Answer: It is a set of programs that acts as an interface between the user and computer hardware.
(b) Major functions:
o Memory management.
o Process management
22. (a) What is the use of a language processor in a computer?
Answer: Converts high-level language or assembly language into machine language.
(b) Explain any two types:
o Assembler: Converts assembly language to machine language
o Compiler: Translates the entire high-level language program into machine language.
o Interpreter: Converts a high-level language program into machine language line by line.
23. List the phases in programming:
Answer:
• Problem identification
• Preparing Algorithms and Flowcharts
• Coding the program
• Translation
• Debugging
• Execution and testing
• Documentation
24. Write an algorithm to accept two numbers and display their sum:
Answer:
1. Start
2. Input A,B.
3. Sum=A+B.
4. print Sum.
5. Stop
25. (a) Define token in C++:
Answer: Tokens are the fundamental building blocks of the program..
(b) Name tokens with examples:
o Keywords: int, return
o Identifiers: sum, value
o Literals: 5, "Hello"
o Operators: +, =
o punctuators: ;(semi colon),#
26. What are the Logical operators in C++?
Answer:
 AND (&&): Returns true if both operands are true.
 OR (||): Returns true if at least one operand is true.
 NOT (!): Reverses the truth value of an operand.
27. If m = 5 and n = 2, write the output of the following expressions:
Answer:
a) m/n → 2
With m = 5 and n = 2, the division 5 / 2 results in 2 in integer division.
b) m==n → 0
This expression checks if m is equal to n. Since 5 is not equal to 2, the result is 0 (false).

c) (m>10)&&(n<5) → 0
This expression uses the logical AND operator (&&). Both conditions must be true for the overall
expression to be true. m > 10 is false because 5 is not greater than 10.n < 5 is true because 2 is less
than 5.Since one condition is false, the entire expression is false, resulting in 0.

PREPARED BY MENOUP T, THARAKAN HSS ANGADIPURAM, MALAPPURAM

Downloaded from hssreporter.com


28. Write the output of the given C++ statements:
Answer:
a) cout<<7/2; → 3 (integer division)
b) cout<<7/2.0; → 3.5 (floating type division, implicit type conversion)
c) cout<<7/(int)2.0; → 3 (explicit type conversion)
29. Rewrite the given code using switch-case statement:
Question:
if (n = = 1)
cout << "One";
else if (n = = 2)
cout << "Two";
else
cout << "Invalid";

Answer:
switch (n)
{
case 1: cout << "One"; break;
case 2: cout << "Two"; break;
default: cout << "Invalid";
}

5-Mark Questions (Answer any 2)

30. (a) Define E-Waste:


Answer: E-waste refers to discarded electronic devices such as computers and mobile phones.
(b) Explain E-Waste disposal methods:
a. Reuse: It refers to second-hand use or usage.
b. Incineration: e-waste is burned in specially designed incinerators at a high temperature.
c. Recycling of e-Waste: manufacturing new products from unused products.
d. Land filling: e-waste is buried in trenches which are covered by a thick layer of soil.
31. (a) What are the advantages of flowcharts?
Answer:
1. Better communication
2. Effective analysis
3. Effective synthesis
4. Efficient coding
(b) Draw a flowchart to find the sum and average of three numbers:
Flowchart:

PREPARED BY MENOUP T, THARAKAN HSS ANGADIPURAM, MALAPPURAM

Downloaded from hssreporter.com


32. Consider the following code:
n = 1;
while (n <= 100)
{
Sum += n;
n++;
}
(a) Write the loop control variable:

Answer: n

(b) Write the components of the above loop:

Answer:
o Initialisation: n = 1.
o Test expression/Condition: n <= 100.
o Update statement: n++.
o Body of the loop: Sum += n.

(c) Rewrite the above code using for loop:

Answer:
for (n = 1; n <= 100; n++)
{
Sum += n;
}

PREPARED BY MENOUP T, THARAKAN HSS ANGADIPURAM, MALAPPURAM

Downloaded from hssreporter.com

You might also like