" /> -->

#### Model 5 Mark Creative Questions (New Syllabus 2020)

12th Standard EM

Reg.No. :
•
•
•
•
•
•

Computer Science

Time : 01:00:00 Hrs
Total Marks : 70
14 x 5 = 70
1. Explain the representation of Abstract datatype using rational numbers.

2. Explain the concept accesscontrol.

3. Write a note on Efficiency of an algorithm

4. Write a program in python to display he following output.
1
2 2
3 3 3
4 4 4 4
5 5 5 5 5

5. Write a python program to find Fibonacci series of n terms using recursion.

6. Write a python program to print the following pattern
*
**
***
****
*****

7. How will you access elements of a list using for loop? Explain with an example

8. Write a program to create a list of numbers in the range 1 to 10. Then delete all the even numbers from the list and print the final list.

9. Write a program to check and print if the given number is negative or positive using class.

10. Explain ALTER command in detail.

11. Write a program to read a specific column in a CSV file.

12. Write a program to read CSV file with user Defined Delimiter into a Dictionary.

13. Write a python program to execute the following C++ program.
Transpose of a matrix(2 D array) C++ program:
#include < iostream >
using namespace std;
int main ( )
{
int a[3][3], i, j;
for(i=0; i< 3; i++)
{
for(j=0; j<3; j++)
{cout<< "enter the value for
array["<< i+ 1<< "]"<< " ["<< j+ 1<< "] :";
cin >>a[i][j];
}
}
system ("cIs");
cout<< "\n\nOriginal Array\n";
for(i=0; i<3; i++) {
for(j=0; j<3; j++ )
cout<< a[i][j]«' ';
cout<< endl; }
cout<< "\n\n The Transpose of Matrix\n";
for (int i = 0; i < 3; i++)

for (int j = 0; j < 3; j++)
cout<< a[j][i]<< ' ';
cout<< endl;

return 0;
}
// Save this file as trans_cpp.cpp

14. Write a python code to display the following, plot.