" /> -->

Sample 5 Mark Creative Questions (New Syllabus 2020)

12th Standard EM

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 01:00:00 Hrs
Total Marks : 75

    Part A

    15 x 5 = 75
  1. Explain the concept accesscontrol.

  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 he following output.
    1
    2 2
    3 3 3
    4 4 4 4
    5 5 5 5 5

  5. Explain different types arguments used in python with an example.

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

  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 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.
    /*. 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<< II The reverse of the number is: " << rev < if(n == rev)
    cout< < II The number is a palindrome";
    else
    cout << II 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
    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

  15. Write s python code to display to following plot.
    Program

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

TN 12th Standard EM Computer Science free Online practice tests

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

Write your Comment