New ! Computer Science MCQ Practise Tests



Important 5 Mark Creative Questions (New Syllabus 2020)

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 01:00:00 Hrs
Total Marks : 80

    Part A

    16 x 5 = 80
  1. Explain the concept access control.

  2. Differentiate Algorithm and program

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

  4. Write a program in python to display the following output.
    (i) 5 5 5 5 5
    4 4 4 4
    3 3 3
    2 2
    1
    (ii) 1 2 3 4 5
    1 2 3 4
    1 2 3
    1 2
    1

  5. Write a python program to find HCF of two numbers using recursion.

  6. Write a python program to display the number of vowels and consonants in the given string.

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

  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 calculate area and circumference of a circle.

  10. Explain ALTER command in detail.

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

  12. How will you write the CSV file with custom denote characters? Explain with an example.

  13. Write a python program to execute the following C++ program.
    /*. To check whether the number is palindrome or not using while Ioop.*/
    // Now select File →New in Notepad and type the C++ program
    #include < iostream >
    using namespace std;
    intmain ( )
    {
    int n, num, digit, rev = 0;
    cout<<  "Enter a positive number: ";
    cin >>num;
    n= num;
    while(num)
    {digit = num % 10;
    rev = (rev * 10) + digit;
    num = num / 10; }
    cout<< "The reverse of the number is: " << rev <<endl;
    if(n == rev)
    cout< < "The number is a palindrome";
    else
    cout << "The number is not a palindrome";
    return 0;
    }
    // Save this file as pali_cpp.cpp

  14. 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

  15. Write a python program to execute the following C++ program
    To implement Multilevel Inheritance:
    // C++ program to implement Multilevel Inheritance
    // Now select File ⟶New in Notepad and type the C++ program
    c++ Program.
    #include < iostream >
    using namespace std;
    // base class
    class Vehicle
    {
    public:
    Vehicle ( )
    {
    cout<< "This is a Vehicle" << endl;
    }
    };
    class threeWheeler: public Vehicle
    { public:
    three Wheeler ( )
    {
    cout << "Objects with 3 wheels are vehicles" << endl;
      }
    };
    // sub class derived from two base classes
    class Auto: public threeWheeler{
    public: 
    Auto ( )

    cout<< "Auto has 3 Wheels"<< endl;
    };
    // main function
    int main ( )
    {
    //creating object of sub class will invoke the constructor of base classes
    Auto obj;
    return 0;
    }
    // Save this file as inheri_cpp.cpp

  16. Write the key differences between Histogram and bar graph.

*****************************************

Reviews & Comments about 12th Standard Computer Science English Medium Important 5 Mark Creative Questions (New Syllabus 2020)

Write your Comment