CA

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

PTM GOVERNMENT HIGHER SECONDARY SCHOOL VELLOOR

XII COMMERCE
UNIT TEST

Time : 1 Hour Max : 20 Marks


Computer Application

1.What will be the output of the following C++ code. [2]


(a) strlen(“Application”) (b) pow(5,3)
2.List down any two mathematical functions used in C++. [2]
3. Identify the built in functions for the following.
a) compare „ACCOUNTS‟ and „accounts‟ ignoring cases.
b)To check given character is digit or not.
c) To convert upper case to lower case letter. [4]
d) To copy a string from one string to another.
4.Define the term array.Write how to declare an integer array to store the marks obtained
for the subject computer application for 30 students in a class. [2]

PTM GOVERNMENT HIGHER SECONDARY SCHOOL VELLOOR


XII COMMERCE
UNIT TEST

Time : 1 Hour Max : 20 Marks


Computer Application

1.What will be the output of the following C++ code. [2]


(a) strlen(“Application” ) (b) pow(5,3)
2.List down any two mathematical functions used in C++. [2]
3. Identify the built in functions for the following.
a) compare „ACCOUNTS‟ and „accounts‟ ignoring cases.
b)To check given character is digit or not.
c) To convert upper case to lower case letter. [4]
d) To copy a string from one string to another.
4.Define the term array. Write how to declare an integer array to store the marks obtained
for the subject computer application for 30 students in a class. [2]
5.Differentiate entry control and exit control loops with example. [2]
6.Write a C++ program using array to input the marks obtained by 10 students for a
subject. Display the sum and the average mark. [3]
7.Define the term modularisation. Explain any two advantages of [3]
modularisation.
8.Differentiate actual arguments and formal arguments. [2]

5.Differentiate entry control and exit control loops with example. [2]
6.Write a C++ program using array to input the marks obtained by 10 students for a
subject. Display the sum and the average mark. [3]
7.Define the term modularisation. Explain any two advantages of [3]
modularisation.
8. Differentiate actual arguments and formal arguments. [2]

You might also like