Tamilnadu Board Computer Science State Board (Tamilnadu) for 12th Standard (English Medium) Question paper & Study Materials

12th Standard English Medium Computer Science Subject Function Creative 1 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    What must the used when a bulk of statements to be repeated for many number of times?

  • 2)

    Which of the following is an example of impure function?

  • 3)

    In which type of function the return type does not solely depends on its argument passed?

  • 4)

    In object oriented programs__________ are the interface

  • 5)

    Strlen is an example________function.

12th Standard English Medium Computer Science Subject Function Creative 1 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    In which type of function the return type is solely depends on its argument passed?

  • 2)

    Subroutines are called as________

  • 3)

    A_________ combines the external interface with an implementation of the interface

  • 4)

    In object oriented programs, how the object is processed and executed is__________

  • 5)

    Evaluation of__________ functions does not cause any side effects to its output?

12th Standard English Medium Computer Science Subject Function Creative 2 Mark Questions with Solution updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Give an example of function definition parameter without type.

  • 2)

    Give an example of function definition parameter with type.

  • 3)

    What is recursive function?

  • 4)

    Give an example of impure function.

  • 5)

    Construct on algorithm that arranges meetings between these two types so that they change their color to the third type. In the end, all should display the same color.

12th Standard English Medium Computer Science Subject Data Abstraction Creative 1 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Which of the following provides modularity?

  • 2)

    How many ways to implement an ADT?

  • 3)

    Which of the following replicate how we think about the world?

  • 4)

    Which of the following extract the information of the object?

  • 5)

    List can also be called as

12th Standard English Medium Computer Science Subject Data Abstraction Creative 1 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Which of the following is a powerful concept that allows programmers to treat codes as objects?

  • 2)

    ADT expansion is

  • 3)

    To facilitate data abstraction, How many types of functions are created?

  • 4)

    Which of the following are functions that build the abstract datatypet?

  • 5)

    How many ways are there to represent pair datatypet?

12th Standard English Medium Computer Science Subject Data Abstraction Creative 2 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Give an example of implementing an ADT

  • 2)

    Identify which is the constructor and selector from the following statement.
    (i) The Functions that retrieve information from the datatype.
    (ii)The function which creates an object.

  • 3)

    How the concrete level of data abstraction implemented?

  • 4)

    Write a pseudocode to depressant rational numbers using list.

  • 5)

    From the statement P1 : = Preson(), What does P1 and person referred.

12th Standard English Medium Computer Science Subject Data Abstraction Creative 2 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Write the pseudo code for the representation of the rational number using constructor & selector.

  • 2)

    Write a note on pair datatype

  • 3)

    Write a pseudocode to depressant rational numbers using list.

  • 4)

    How a class defines a data abstraction?

  • 5)

    How the elements of a list can be accessed?

12th Standard English Medium Computer Science Subject Scoping Creative 1 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Which of the following refers to the addresses to an object in memory?

  • 2)

    Write the below interns of hierarchy (highest to lowest)?
    (1) Reversed names in built in functions
    (2) Defined inside function
    (3) Defined inside enclosing function
    (4) Defined at the uppermost level

  • 3)

    Which of the following is not a variable scope?

  • 4)

    What is the output of the statement in the following program?
    X:=10
    Disp ( ):
    a:=7
    print a
    Disp ( ) :
    Print a

  • 5)

    Which of the following keywords are not used to control the access to class members?

12th Standard English Medium Computer Science Subject Scoping Creative 1 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    How many variables can be mapped to the same instance?

  • 2)

    Choose the type of scope for a variable '9! defined in the following program.
    Disp ( ):
    a:=7
    Print a
    Disp ( )

  • 3)

    The example of modules are

  • 4)

    The arrangement of private instance variables and public methods ensure the principle of

  • 5)

    The inner function can access the variable of the outer function. This is called________scope.

12th Standard English Medium Computer Science Subject Scoping Creative 2 Mark Questions with Solution updated Creative Questions - by Question Bank Software View & Read

  • 1)

    What is the use of LEGB rule?

  • 2)

    Write the output of the following program
    Entire Program
     Disp():
     a:=7
     print a
    Disp ()

  • 3)

    Write the output of the following program
     Disp()
      a:=10
     Disp 1():
             print a
     Disp 1():
     print a
    Disp()
     

  • 4)

    What is modular programming?

  • 5)

    What is meant by module?

12th Standard English Medium Computer Science Subject Scoping Creative 3 Mark Questions with Solution updated Creative Questions - by Question Bank Software View & Read

  • 1)

    How the changes inside the function can't affect the variable on the outside of the function in unexpected ways?

  • 2)

    Write a note on built-in scope.

  • 3)

    Write a note on module.

  • 4)

    Write a note on access modifiers of a class.

  • 5)

    Write a short note on types of variable scope.

12th Standard English Medium Computer Science Subject Algorithmic Strategies Creative 1 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Which of the following are the characteristics of an algorithm?
    (i) Definiteness
    (ii) Correctness
    (iii) Effectiveness

  • 2)

    The way of defining an algorithm is called

  • 3)

    The number of steps taken by the algorithm to complete the process is known as

  • 4)

    Which of the following is not a factor use a to measure the time efficiency of an algorithm?

  • 5)

    Which of the following algorithm finds the position of a search element within a sorted array?

12th Standard English Medium Computer Science Subject Algorithmic Strategies Creative 1 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Which of the following are the characteristics of an algorithm?
    (i) Definiteness
    (ii) Correctness
    (iii) Effectiveness

  • 2)

    Which characteristics of an algorithm should be generic, independent of any programming language?

  • 3)

    The number of steps taken by the algorithm to complete the process is known as

  • 4)

    The amount of memory required to run an algorithm completion is known by

  • 5)

    Which of the following is not a factor use a to measure the time efficiency of an algorithm?

12th Standard English Medium Computer Science Subject Algorithmic Strategies Creative 2 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    What is algorithmic solution?

  • 2)

    What does analysis of an algorithm deals with?

  • 3)

    How the analysis of algorithms and performance evaluation can be divided?Explain.

  • 4)

    What is best algorithm?

  • 5)

    What are the three asymptotic notations used to represent time complexity of algorithms?

12th Standard English Medium Computer Science Subject Algorithmic Strategies Creative 2 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    What in algorithmic strategy? Give an example.

  • 2)

    How the efficiency of an algorithm is defined?

  • 3)

    What is algorithm analysis?

  • 4)

    Name the two factors, which decide the efficiency of an algorithm.

  • 5)

    Define algorithmetic strategy?

12th Standard English Medium Computer Science Subject Algorithmic Strategies Creative 3 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Design an algorithm to find square of the given number and display the result.

  • 2)

    Write a note on two factors in which space required by an algorithm is decided.

  • 3)

    Write a pseudo code for linear search

  • 4)

    Write a pseudo code for bubble sort algorithm

  • 5)

    Write a pseudo code for Insertion sort.

12th Standard English Medium Computer Science Subject Algorithmic Strategies Creative 3 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Write a note on time/space trade off

  • 2)

    Write the different factors in which the time efficiency of an algorithm its measured

  • 3)

    Write a pseudo code for Binary search

  • 4)

    Write a pseudo code for selection sort Algorithm.

  • 5)

    What is dynamic programming? What are the steps involved in dynamic programming?

12th Standard English Medium Computer Science Subject Algorithmic Strategies Creative 5 Mark Questions with Solution updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Explain complexity of an algorithm.

  • 2)

    Define efficiency of an algorithm? How the efficiency of an algorithm was determined?

  • 3)

    Differentiate Algorithm and program

  • 4)

    Explain the selection sort Algorithm with an example.

  • 5)

    Explain the sorting algorithm that uses n-1 number passes to get the final sorted list.

12th Standard Computer Science English Medium Function Important Questions updated Sample Question Papers - by Question Bank Software View & Read

  • 1)

    The small sections of code that are used to perform a particular task is called

  • 2)

    Which of the following is a unit of code that is often defined within a greater code structure?

  • 3)

    Which of the following is a distinct syntactic block?

  • 4)

    The variables in a function definition are called as

  • 5)

    The values which are passed to a function definition are called

12th Standard English Medium Computer Science Subject Python - Variables and Operators Creative 1 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    IDLE expansion is

  • 2)

    Which of the following used to develop and run Python code?

  • 3)

    Which of the following indicates in Python that interpreter is ready to accept instructions?

  • 4)

    Multiline comments in Python enclosed with

  • 5)

    In Python the delimiters are not used in

12th Standard English Medium Computer Science Subject Python - Variables and Operators Creative 1 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Which of the following mode allows to write codes in Python command prompt?

  • 2)

    Which mode displays the python code result immediately?

  • 3)

    Which of the following function in Python is used to convert strings data as integer data explicitly?

  • 4)

    Which of the following operator checks the relationship between two operands?

  • 5)

    The multipleline string literal given in

12th Standard English Medium Computer Science Subject Python - Variables and Operators Creative 2 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    How many ways the Python shell can be used?

  • 2)

    How will you invoke python IDLE?

  • 3)

    What is the purpose of using Input-output functions?

  • 4)

    Write the Syntax of using print () in python.

  • 5)

    Assume the value of a = 100 and b = 75. Evaluate the following expression.
    (i) a==b
    (ii) a!=b
    (iii) a//b
    (iv) a>=b

12th Standard English Medium Computer Science Subject Python - Variables and Operators Creative 2 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    How the interactive mode of Python shell can be used as simple calculator?

  • 2)

    How will you know the python IDLE working in interactive mode?

  • 3)

    Why the following statement is incorrect? Give reason.

  • 4)

    What are the uses of logical operator? Name the operators.

  • 5)

    What are keywords?

12th Standard English Medium Computer Science Subject Python - Variables and Operators Creative 3 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Differentiate two ways in which Python programs can be written.

  • 2)

    Write a Python program to get the following output.
    Output:
    Enter Number 1: 50
    Enter Number 2: 50
    The sum of 50 and 50 is 100

  • 3)

    Write a note on statement which are ignored by the Python interpreter.

  • 4)

    What are the rules followed while defining python identifier?

  • 5)

    How will you represent Octal, hexadecimal and long integer data?

12th Standard English Medium Computer Science Subject Python - Variables and Operators Creative 3 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Write the function of the following
    (i) Ctrl + N
    (ii) Ctrl + S
    (iii) F5

  • 2)

    Write a Python programme to get the following output.
    Output:
    Enter Number 1: 50
    Enter Number 2: 50
    X = 50 Y = 50

  • 3)

    Write a short note on comment statement.

  • 4)

    How will you define program blocks in python?

  • 5)

    Identify the type of literals.
    (i) OX13B
    (ii) i+34j
    (iii) 12e05
    (iv) 0346

12th Standard English Medium Computer Science Subject Control Structures Creative 1 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Find the odd man out.

  • 2)

    Checking whether the given number is even or odd can be done using

  • 3)

    range (20), the range count from

  • 4)

    Write the output for the following program for I in range (1, 10, 2):
    Print (I, end =' ')

  • 5)

    How many keywords are there to achieve jump statements in python?

12th Standard English Medium Computer Science Subject Function Book Back 1 Mark Questions with Solution Part - I updated Book back Questions - by Question Bank Software View & Read

  • 1)

    The small sections of code that are used to perform a particular task is called

  • 2)

    Which of the following is a unit of code that is often defined within a greater code structure?

  • 3)

    Which of the following is a distinct syntactic block?

  • 4)

    The variables in a function definition are called as

  • 5)

    The values which are passed to a function definition are called

12th Standard English Medium Computer Science Subject Control Structures Creative 1 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Find the odd man out

  • 2)

    How many types of alternative or branching statements does python provides?

  • 3)

    Which of the following statement is correct when the range will start the values from 1 and end at 29?

  • 4)

    Which of the following is not a jump statement in python?

  • 5)

    Python provides ______ types of looping constructs.

12th Standard English Medium Computer Science Subject Function Book Back 1 Mark Questions with Solution Part - II updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Which of the following are mandatory to write the type annotations in the function definition?

  • 2)

    Which of the following defines what an object can do?

  • 3)

    Which of the following carries out the instructions defined in the interface?

  • 4)

    The functions which will give exact result when same arguments are passed are called

  • 5)

    The functions which cause side effects to the arguments passed are called

12th Standard English Medium Computer Science Subject Control Structures Creative 2 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Draw a flow chart that defines the execution of if-else statement.

  • 2)

    What is the expression. or statement at? 1? and ?2? in the following program to get the output 2 4 6 8.
    for ?!? in range (2, ?2?, 2):
    print (i, end =")

  • 3)

    Write a python program to find the sum of odd numbers between. 10 and 20.

  • 4)

    What is meant by Nested loop structure?

  • 5)

    Write a note an pass statement.

12th Standard English Medium Computer Science Subject Function Book Back 2 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    What is a subroutine?

  • 2)

    Define Function with respect to Programming language.

  • 3)

    Write the inference you get from X : = (78).

  • 4)

    Differentiate interface and implementation.

  • 5)

    Which of the following is a normal function definition and which is recursive function definition
    i) let rec sum x y:
            return x + y
    ii) let disp:
           print ‘welcome’
    iii) let rec sum num:
             if (num!=0) then return num + sum (num-1)
             else
                     return num

12th Standard English Medium Computer Science Subject Control Structures Creative 2 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Write a program in python to check if the accepted number even or odd.
    a = int(input("Enter any number:"))
    if a%2==0:
    print (a, "is an even number")
    else:
    print (a, "is an odd number")

  • 2)

    What are the values taken by range ()?

  • 3)

    What is the use of Jump statements in python?

  • 4)

    What is the use of continue statement in python?

  • 5)

    What will the output the following
    for w in "school"?
    If w = = '0':
                  continue
    print (w)

12th Standard English Medium Computer Science Subject Function Book Back 3 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Mention the characteristics of Interface.

  • 2)

    Why strlen is called pure function?

  • 3)

     What is the side effect of impure function. Give example.

  • 4)

    Differentiate pure and impure function.

  • 5)

    Wha happens if you modify a variable outside the function? Give an example.

12th Standard English Medium Computer Science Subject Control Structures Creative 3 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    List the types of alternative or branching statement in python.

  • 2)

    Write a python program to print all numbers from 10 to 15 using while loop.

  • 3)

    What is the output of the following Python program?

  • 4)

    Draw a flowchart that illustrate how looping construct gets executed.

  • 5)

    Why we need to construct the pass statement?

12th Standard English Medium Computer Science Subject Data Abstraction Book Back 1 Mark Questions with Solution Part - I updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Which of the following functions that build the abstract data type?

  • 2)

    Which of the following functions that retrieve information from the data type?

  • 3)

    The data structure which is a mutable ordered sequence of elements is called

  • 4)

    A sequence of immutable objects is called

  • 5)

    The data type whose representation is known are called

12th Standard English Medium Computer Science Subject Control Structures Creative 3 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Write a note on simple if statement with an example.

  • 2)

    Draw a flowchart that illustrates the working of while loop.

  • 3)

    Write a program in python that illustrate the use of 'in' and 'not in' if statement.

  • 4)

    Write the syntax of working of continue statement in for and while loop.

  • 5)

    What will be the range of values displayed by the following?

12th Standard English Medium Computer Science Subject Data Abstraction Book Back 1 Mark Questions with Solution Part - II updated Book back Questions - by Question Bank Software View & Read

  • 1)

    The data type whose representation is unknown are called

  • 2)

    Which of the following is a compound structure?

  • 3)

    Bundling two values together into one can be considered as

  • 4)

    Which of the following allow to name the various parts of a multi-item object?

  • 5)

    Which of the following is constructed by placing expressions within square brackets?

12th Standard English Medium Computer Science Subject Python Functions Creative 1 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Which of the following avoids repetition and makes high degree of code reusing?

  • 2)

    Which of the following are the values pass to the function parameters?

  • 3)

    Which of the following is not a type of arguments used to call a function?

  • 4)

    Which of the following functions is an example that supports variable-length arguments?

  • 5)

    Which function can take any number of arguments and must return one value in the form of an expression?

12th Standard English Medium Computer Science Subject Data Abstraction Book Back 2 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    What is abstract data type?

  • 2)

    Differentiate constructors and selectors.

  • 3)

    What is a Pair? Give an example.

  • 4)

    What is a List? Give an example.

  • 5)

    What is a Tuple? Give an example.

12th Standard English Medium Computer Science Subject Python Functions Creative 1 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Which of the following provides better modularity for your python application

  • 2)

    What will be the output if the return has no argument?

  • 3)

    How many types of arguments are used to call a function?

  • 4)

    Which of the following keyword is used to define anonymous function?

  • 5)

    How many number of return statement allowed in a function definition?

12th Standard English Medium Computer Science Subject Data Abstraction Book Back 3 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Differentiate Concrete data type and abstract datatype.

  • 2)

    Which strategy is used for program designing? Define that Strategy.

  • 3)

    Identify Which of the following are constructors and selectors?
    (a) N1=number()
    (b) accetnum (n1)
    (c) display num (n1)
    (d) eval (a/b)
    (e) x,y= make slope (m), make slope (n)
    (f) display()

  • 4)

    What are the different ways to access the elements of a list. Give example.

  • 5)

    Identify Which of the following are List, Tuple and class ?
    (a) arr [1, 2, 34]
    (b) arr (1, 2, 34)
    (c) student [rno, name, mark]
    (d) day= (‘sun’, ‘mon’, ‘tue’, ‘wed’)
    (e) x= [2, 5, 6.5, [5, 6], 8.2]
    (f) employee [eno, ename, esal, eaddress]

12th Standard English Medium Computer Science Subject Python Functions Creative 2 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    What is meant by block in python?

  • 2)

    Write the output of the following program.

  • 3)

    Write the syntax for passing arguments to functions.

  • 4)

    What are arguments? What are the types?

  • 5)

    Write the output for the following program.

12th Standard English Medium Computer Science Subject Scoping Book Back 1 Mark Questions with Solution Part - I updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Which of the following refers to the visibility of variablesin one part of a program to another part of the same program.

  • 2)

    The process of binding a variable name with an object is called

  • 3)

    Which of the following is used in programming languages to map the variable and object?

  • 4)

    Which scope refers to variables defined in current function?

  • 5)

    The process of subdividing a computer program into separate sub-programs is called

12th Standard English Medium Computer Science Subject Python Functions Creative 2 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    How the nested block are indented?

  • 2)

    Write the output for the following program.

  • 3)

    What are called tuples?

  • 4)

    Write a note on return statement syntax.

  • 5)

    Write the output for the following.
    (i) Print (ord ('a')
    (ii) Print (chr (65))
    (iii) Print (bin (15))
    (iv) Print (format (15,'b'))

12th Standard English Medium Computer Science Subject Scoping Book Back 1 Mark Questions with Solution Part - II updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Which scope refers to variables defined in current function?

  • 2)

    Which of the following security technique that regulates who canuse resources in a computing environment?

  • 3)

    Which of the following members of a class can be handled only from within the class?

  • 4)

    Which members are accessible from outside the class?

  • 5)

    The members that are accessible from within the class and are also available to its sub classes is called

12th Standard English Medium Computer Science Subject Python Functions Creative 3 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Write the advantages of user-defined functions.

  • 2)

    How will you invoke the function after, the parameters are recognized by their parameter names? Explain with an example.

  • 3)

    When the variable - length arguments are used? Explain with an example.

  • 4)

    Explain how will you use global and local variable with same name.

  • 5)

    Write a note on (i) min (), (ii) max (), (iii) sum ().

12th Standard English Medium Computer Science Subject Scoping Book Back 2 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    What is a scope?

  • 2)

    Why scope should be used for variable. State the reason.

  • 3)

    What is Mapping?

  • 4)

    What do you mean by Namespaces?

  • 5)

    How Python represents the private and protected Access specifiers?

12th Standard English Medium Computer Science Subject Python Functions Creative 3 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Write a note on "Required arguments".

  • 2)

    How python takes a default value in the function call? Explain with an example.

  • 3)

    Write a note of return statement.

  • 4)

    Explain with an example how will you use global and local variables in the same code.

  • 5)

    Write a note on format () with an example.

12th Standard English Medium Computer Science Subject Scoping Book Back 3 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Define Local scope with an example.

  • 2)

    Define Global scope with an example.

  • 3)

    Define Enclosed scope with an example.

  • 4)

    Why access control is required?

  • 5)

    Identify the scope of the variables in the following pseudo code and write its output
    color:= Red
    mycolor( ):
    b:=Blue
    myfavcolor( ):
    g:=Green
    printcolor, b, g
    myfavcolor( )
    printcolor, b
    mycolor( )
    print color

12th Standard English Medium Computer Science Subject Strings and String Manipulations Creative 1 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    String are enclosed with

  • 2)

    Which of the following operators are useful to do string manipulation?

  • 3)

    In python _____ are immutable.

  • 4)

    The _____ operator is used to display a string in multiple number of time.

  • 5)

    What is the output from the following statement?
    str1 = "welcome"
    print (str1[:: 3]

12th Standard English Medium Computer Science Subject Algorithmic Strategies Book Back 1 Mark Questions with Solution Part - I updated Book back Questions - by Question Bank Software View & Read

  • 1)

    The word comes from the name of a Persian mathematician Abu Ja’far Mohammed ibn-i Musa al Khowarizmi is called?

  • 2)

    From the following sorting algorithms which algorithm needs the minimum number of swaps?

  • 3)

    Two main measures for the efficiency of an algorithm are

  • 4)

    The complexity of linear search algorithm is

  • 5)

    From the following sorting algorithms which has the lowest worst case complexity?

12th Standard English Medium Computer Science Subject Strings and String Manipulations Creative 1 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Which of the following allows creation of multiline strings

  • 2)

    When a string is define(d) Python allocate an ______ for its each character.

  • 3)

    _____ is a substring of a mainstring.

  • 4)

    The formatting operator ____ is used to replacing parts of strings with the data stored in variables.

  • 5)

    What is the output from the following statement?
    str1= "python"
    print (str1[: : - 2])

12th Standard English Medium Computer Science Subject Algorithmic Strategies Book Back 1 Mark Questions with Solution Part - II updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Which of the following is not a stable sorting algorithm?

  • 2)

    Time complexity of bubble sort in best case is

  • 3)

    The Θ notation in asymptotic evaluation represents

  • 4)

    If a problem can be broken into subproblems which are reused several times, the problem possesses which property?

  • 5)

    In dynamic programming, the technique of storing the previously calculated values is called ?

12th Standard English Medium Computer Science Subject Strings and String Manipulations Creative 2 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    What it means "String in phython are immutable"?

  • 2)

    Write the output for the following if strl = "THIRIKKURAL"
    (i) print (strl [0])
    (ii) print (strl [0:5])
    (ill) print (strl [:5])
    (iv) Print (strl [6:])

  • 3)

    What has to be filled in the blank to get the following output
    (i) Welcome python
    (ii) Welcome to learn python From
    (a) print ("Welcome" ____ "Python") strl = "Welcome"
    (b) print (Strl ____ "to learn python")

  • 4)

    What is meant by stride?

  • 5)

    Write the output for the following statement
    strl = "Welcome to learn python"
    print (strl [: : - 2])

12th Standard English Medium Computer Science Subject Strings and String Manipulations Creative 2 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Write a python a program to print your name 10 times.

  • 2)

    if strl = "Welcome to learn python", then write the output for the following.
    (i) print (strl [10 : 16])
    (ii) print (strl [10 : 16: 4])
    (iii) print (strl [10: 16: 2])
    (iv) print (strl [: : 3])

  • 3)

    What is the use of formatting operator?

  • 4)

    Write the output for the following statement.
    (i) print ("save earth".title ())
    (ii) print ("Save Earth".swapcase ())

  • 5)

    Differentiate upper () and is upper ().

12th Standard English Medium Computer Science Subject Algorithmic Strategies Book Back 2 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    What is an Algorithm?

  • 2)

    Define Pseudo code.

  • 3)

    Who is an Algorist?

  • 4)

    What is Sorting?

  • 5)

    What is searching? Write its types.

12th Standard English Medium Computer Science Subject Strings and String Manipulations Creative 3 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Write a program to accept a string and print it in reverse order.

  • 2)

    Write the usage of the following format string characters.
    (i) % c
    (ii) % d (or) % i
    (iii) % s

  • 3)

    Write the output of the following statements.
    (i) print (len ("Corporation"))
    (ii) print ("school", Capitalize ())
    (iii) print ("Welcome" center (15, '*'))

  • 4)

    Write a note on
    (i) isalnum ()
    (ii) isalpha ()
    (iii) isdigit ()

  • 5)

    With an example program explain about membership operators?

12th Standard English Medium Computer Science Subject Algorithmic Strategies Book Back 3 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    List the characteristics of an algorithm.

  • 2)

    Discuss about Algorithmic complexity and its types.

  • 3)

    What are the factors that influence time and space complexity.

  • 4)

    Write a note on Asymptotic notation.

  • 5)

    What do you understand by Dynamic programming?

12th Standard English Medium Computer Science Subject Strings and String Manipulations Creative 3 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Write the syntax and example of using string characters.

  • 2)

    Write the description for the following escape sequence.
    (i) \r
    (ii) \000
    (iii) \v

  • 3)

    Write the output of the following statements.
    strl = 'mammals'
    (i) std. find ('ma')
    (ii) std. find ('ma', 2)
    (iii) std. find ('ma', 2, 4)
    (iv) std. find ('ma', 2, 5)

  • 4)

    Write the output for the following statement.
    (i) print ("PYTHON" . lower ())
    (ii) print ("PYTHON" . islower ())
    (iii) print ("PYTHON" . isupper ())
    (iv) print ("PYTHON" . upper ())

  • 5)

    Write the out put for the following statement.
    strl = "Raja Raja Chozhan"
    (i) print (strl. count ('Raja'))
    (ii) print (strl. count ('R'))
    (iii) print (strl. count ('A'))
    (iv) print (strl. count ('a'))
    (v) print (strl. count ('a', 0, 5))
    (vi) print (strl. count ('a', 11))

12th Standard English Medium Computer Science Subject Algorithmic Strategies Book Back 5 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Explain the characteristics of an algorithm.

  • 2)

    Discuss about Linear search algorithm.

  • 3)

    What is Binary search? Discuss with example

  • 4)

    Explain the Bubble sort algorithm with example.

  • 5)

    Explain the concept of Dynamic programming with suitable example.

12th Standard English Medium Computer Science Subject Lists, Tuples, Sets and Dictionary Creative 1 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Which of the following is not datatype in Python?

  • 2)

    How many times the following loop executes?
    li = [10,23,41,75]
    i=0
    while i > = -4;
    print (li [i])
    i+ = 1

  • 3)

    What is the output of the snippet?
    >>>Mylist = [34,45,48]
    >>>Mylist.append (90)
    >>>print(Mylist)

  • 4)

    Which of the following function used to delete one or more elements in the list where the index value is not known

  • 5)

    While creating a tuple from a list, the element should be enclosed with in

12th Standard English Medium Computer Science Subject Lists, Tuples, Sets and Dictionary Creative 1 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Which of the following is an ordered collection of values?

  • 2)

    Which function is used to set the upper limit in a loop to read all elements of a list?

  • 3)

    Which of the following function used to include multiple element in the list?

  • 4)

    How many argument used in the range function?

  • 5)

    Which of the following argument is optional U- in sort ()?

12th Standard English Medium Computer Science Subject Lists, Tuples, Sets and Dictionary Creative 2 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Write a program to display element in a list ("Physics' ,"Chemistry", "Biology") using loop to get the output
    Physics
    Chemistry
    Biology

  • 2)

    Write a syntax that shows the lists are mutable.

  • 3)

    Differentiate append () and extend () function.

  • 4)

    Write the syntax of append () and extend () function.

  • 5)

    Write the syntax of defining tuple.

12th Standard English Medium Computer Science Subject Lists, Tuples, Sets and Dictionary Creative 2 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    What is nested list? Give example.

  • 2)

    State the working of pop () and clear () function.

  • 3)

    What is output for the following code?
    list = ['T', 'L', 'A', 'S', 'L']
    list.sort (reverse = false)
    print (list)

  • 4)

    How will you create a set using list or tuple? Give an example.

  • 5)

    Write a short note on dictionary.

12th Standard English Medium Computer Science Subject Lists, Tuples, Sets and Dictionary Creative 3 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Read the following program and write the output according to the print statement mentioned
    list = ['T', 'H', 'N', 'M']
    del list [1]
    (i) print (list)
    del list [1:3]
    (ii) print (list)
    del list
    (iii) print (list)

  • 2)

    Read the following and write the output given by the print function mentione(d)
    list = [12, 89, 34, 79, 80]
    (I) print (list. remove (34))
    (Ii) print (list. pop (1))
    (iii) print (list. clear ())

  • 3)

    Write the output for the following.
    list = [36, 12, 12]
    (I) print (list. count (12))
    (ii) print (list. index (12))
    (iii) print (list. reverse ())

  • 4)

    Differentiate list and tuple.

  • 5)

    How will create a set in python? Give an example.

12th Standard English Medium Computer Science Subject Lists, Tuples, Sets and Dictionary Creative 3 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    How will you change the list elements in Python? Give an example.

  • 2)

    Explain the concept of list comprehension with an example programs.

  • 3)

    Explain with an example how will you create a tuple with a single element.

  • 4)

    How will delete an entire tuple? Give an example.

  • 5)

    Write a note on the following function used in list.

12th Standard English Medium Computer Science Subject Lists, Tuples, Sets and Dictionary Creative 5 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

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

  • 2)

    Explain remove (), pop () and clear () used in list with an example.

  • 3)

    Write a python program to read marks of six subjects and to print the marks scored in each subject and show the total marks.

  • 4)

    Write a program using a function that returns the area and circumference of a circle whose radius is passed as an argument. Two values using tuple assignment.

  • 5)

    Write a program that has a list of positive and negative numbers. Create a new tuple that has only negative numbers from the list.

12th Standard English Medium Computer Science Subject Lists, Tuples, Sets and Dictionary Creative 5 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    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.

  • 2)

    Explain the detail about some important list function with an example.
    (i) copy ()
    (ii) count ()
    (iii) index ()
    (iv) reverse ()

  • 3)

    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.

  • 4)

    Write a program that has a list of positive and negative numbers. Create a new tuple that has only positive numbers from the list.

  • 5)

    Write a program that generate a set of prime numbers and another set of even numbers. Demonstrate the result of union. intersection. difference and symmetric difference operations.

12th Standard English Medium Computer Science Subject Python Classes and Objects Creative 1 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Which of the following called as instances of a class or class variable?

  • 2)

    Write the output for the following
    class test
    x, y = 10,5
    s=test ()
    print (s. x + s. y)

  • 3)

    Which of the following is sed to initialize the class variables?

  • 4)

    Class variable and methods are together known as _______ of the class

  • 5)

    In Python, ____________ method is used as destructor.

12th Standard English Medium Computer Science Subject Python Classes and Objects Creative 1 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Functions of the class are called as

  • 2)

    Which position of the argument named self in python class method?

  • 3)

    Which of the following gets executed automatically when an object exit from the scope?

  • 4)

    In Python, a class is defined by using the _______ class.

  • 5)

    Constructor must begin and with double _________

12th Standard English Medium Computer Science Subject Python Classes and Objects Creative 2 Mark Questions with Solution updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Write the general form of declaring class in Python.

  • 2)

    Write the syntax for the following
    (i) Creating objects
    (ii) Accessing class members

  • 3)

    Name the function which acts as a constructor and destructor.

  • 4)

    Write a program in python that illustrate the use of constructor.

  • 5)

    Explain the working of the following program
    class Sample:
    num=0
    def _init_(self) var):
    Sample.num+= 1
    self.var=var
    print("The object value is = ", var)
    print("The count of object created Sample.num) =",
    S1=Sample(15)
    S2=Sample(35)
    S3=Sample(45)

12th Standard English Medium Computer Science Subject Python Classes and Objects Creative 3 Mark Questions with Solution updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Write a note on self argument used in python class function.

  • 2)

    Explain the working of the following program. class Sample:
    def _init_(self, num):
    print("Constructor of class Sample ...")
    self.num=num
    print("The value is :", num)
    S=Sample(10)

  • 3)

    Why the following program give an error while displaying the value of n2. Give Reason.

  • 4)

    Fill up the blanks in the following program to get the output:
    Value of x = 10
    Value of y = 20
    Sum of x and y= 30
    Class sample:
    x, __ = 10, 20 -------------------1
    s = -------------------------2
    print ("value of x =", __ ) ------------3
    print ("value of y =", __ ) -------------4
    print ("sum of x and y =", __ ) --------5

  • 5)

    Read the following program. Answer the following question. Class sample:
    x, y= 10, 20
    s= sample ()
    print (s. x + s. y)
    1. What does sample denotes?
    2. What does x, y denotes?
    3. What does s denotes?

Stateboard 12th Standard Computer Science Subject English Medium Public Answer Key - March 2022 updated Previous Year Question Papers - by QB Admin View & Read

12th Standard English Medium Computer Science Subject Python Classes and Objects Creative 5 Mark Questions with Solution updated Creative Questions - by Question Bank Software View & Read

  • 1)

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

  • 2)

    Write a program to calculate area and circumference of a circle.

  • 3)

    Write a menu driven program that keeps record of books available in you school library.

  • 4)

    Write a program to accept a string and print the number of uppercase, lowercase, vowels, consonants and spaces in the given string.

  • 5)

    Write a program to store product and its cost price. Display all the available products and prompt to enter quantity of all the products. Finally generate a bill which displays the total amount to be paid.

Stateboard 12th Standard Computer Science Subject Public Question paper- March 2022 updated Previous Year Question Papers - by QB Admin View & Read

12th Standard English Medium Computer Science Subject Python - Variables and Operators Book Back 1 Mark Questions with Solution Part - I updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Who developed Python?

  • 2)

    The Python prompt indicates that Interpreter is ready to accept instruction.

  • 3)

    Which of the following shortcut is used to create new Python Program?

  • 4)

    Which of the following character is used to give comments in Python Program?

  • 5)

    This symbol is used to print more than one item on a single line.

12th Standard English Medium Computer Science Subject Database Concepts Creative 1 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Which of the following is an organized collection of data, which can be stared and a cersed through computer system

  • 2)

    Which of the following is not an example of DBMS?

  • 3)

    Which of the following divides the data in such a way that repetition of data is minimum in the database?

  • 4)

    How many major components are there in DBMS?

  • 5)

    Which of the following model was developed Network database model represents the data by IBM?

Stateboard 12th Standard Computer Science Subject Public Question paper- March 2022 updated Previous Year Question Papers - by QB Admin View & Read

12th Standard English Medium Computer Science Subject Python - Variables and Operators Book Back 1 Mark Questions with Solution Part - II updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Which of the following is not a token?

  • 2)

    Which of the following is not a Keyword in Python?

  • 3)

    Which operator is also called as Comparative operator?

  • 4)

    Which of the following is not Logical operator?

  • 5)

    Which operator is also called as Conditional operator?

12th Standard English Medium Computer Science Subject Database Concepts Creative 1 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Which of the following a data contain?

  • 2)

    Which of the following provides protection and security to the databases?

  • 3)

    Which of the following makes the data more meaningful and connected in the database?

  • 4)

    Which of fhe following is not a type of data model?

  • 5)

    Object model stores the data in the form of

12th Standard English Medium Computer Science Subject Database Concepts Creative 3 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Write the advantages of DBMS.

  • 2)

    List the types of data model.

  • 3)

    Explain the data model that represent parent child relationship.

  • 4)

    List the types of DBMS users.

  • 5)

    Write the symbol used for the following.
    (i) SELECT
    (ii) PROJECT
    (iii) Union
    (iv) Intersection
    (v) Difference
    (vi) PRODUCT

Stateboard 12th Standard Computer Science Subject English Medium Public Answer Key- March 2022 updated Previous Year Question Papers - by QB Admin View & Read

12th Standard English Medium Computer Science Subject Python - Variables and Operators Book Back 2 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    What are the different modes that can be used to test Python Program?

  • 2)

    Write short notes on Tokens.

  • 3)

    What are the different operators that can be used in Python?

  • 4)

    What is a literal? Explain the types of literals?

  • 5)

    Write short notes on Exponent data?

12th Standard English Medium Computer Science Subject Database Concepts Creative 3 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Write a note on DBMS or write a note on a software that allows us to create, define and manipulate database.

  • 2)

    List the components of DBMS

  • 3)

    Write the importance of using data model.

  • 4)

    Write a short note on Relational data model.

  • 5)

    Write a short note on the database model, in which relationship are created by dividing the object into entity.

12th Standard English Medium Computer Science Subject Python - Variables and Operators Book Back 3 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Write short notes on Arithmetic operator with examples.

  • 2)

    What are the assignment operators that can be used in Python?

  • 3)

    Explain Ternary operator with examples.

  • 4)

    Write short notes on Escape sequences with examples.

  • 5)

    What are string literals? Explain.

12th Standard English Medium Computer Science Subject Structured Query Language (SQL) Creative 1 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Which of the following language was designed for managing and accessing data in RDBMS?

  • 2)

    The specific related information about every record in the table is maintained by

  • 3)

    DML stand for

  • 4)

    Which component of SQL includes commands to insert, delete and modify tables in database?

  • 5)

    Into how many categories the SQL commands are divided?

12th Standard English Medium Computer Science Subject Structured Query Language (SQL) Creative 1 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    SQL stands for

  • 2)

    TCL stands for

  • 3)

    The SQL DDL command removes all records from a table and also release the space occupied by these records is

  • 4)

    Which of the following commands are used to manage the changes made to the data in table by DML statements?

  • 5)

    Double data type precision may exceed

12th Standard English Medium Computer Science Subject Structured Query Language (SQL) Creative 2 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    What is SQL?

  • 2)

    Write a note on data query language.

  • 3)

    Write the syntax of SELECT command for getting the desired result from the table.

  • 4)

    How will search NULL values in a field? Give example.

  • 5)

    How will you filter the records in a table? Give an example.

12th Standard English Medium Computer Science Subject Structured Query Language (SQL) Creative 2 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    List few RDBMS packages.

  • 2)

    Write the syntax of creating table in database.

  • 3)

    How will you retain duplicate rows while displaying the table?

  • 4)

    Write the syntax of ORDER by clause used in SELECT command.

  • 5)

    Write the syntax of GROUP BY and HAVING clause.

12th Standard English Medium Computer Science Subject Structured Query Language (SQL) Creative 3 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    List the types of constraints.

  • 2)

    Define Data Control Language and also list the command under this.

  • 3)

    List the data types used in SQL.

  • 4)

    How will set a primary key for more than one field? Explain with example.

  • 5)

    Which constraint helps to set a limit value placed for a field?

12th Standard English Medium Computer Science Subject Structured Query Language (SQL) Creative 3 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Write the function performed by DDL.

  • 2)

    Write the syntax for the following commands.
    (i) INSERT
    (ii) DELETE
    (iii) UPDATE

  • 3)

    How will you frame the commands to work on database?

  • 4)

    How will you generate queries and retrieve data from the table? Explain?

  • 5)

    Write the different categories of SQL commands.

12th Standard English Medium Computer Science Subject Python and CSV Files Creative 1 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Which of the following is a human readable text file where each line has fields?

  • 2)

    In Excel, the default CSV files should open automatically by

  • 3)

    Which of the following is way to read a CSV file?

  • 4)

    Which of the following built-in function Python has to open a file?

  • 5)

    CSV file can be opened in

12th Standard English Medium Computer Science Subject Python and CSV Files Creative 2 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    What is the use of CSV file?

  • 2)

    Expand
    (i) CSV 
    (ii) CRLF

  • 3)

    How the CSV filename represented in open command?

  • 4)

    What is the use of dict( )?

  • 5)

    Write a program to add new rows in the existing CSV file?

12th Standard English Medium Computer Science Subject Python and CSV Files Creative 2 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    How will prefect the CSV File data contains common by itself?

  • 2)

    How the CSV file operation takes place in python?

  • 3)

    What is an Ordered Dict?

  • 4)

    What is called modification?

  • 5)

    Write is purpose of using skipinitialspace parameter.

12th Standard English Medium Computer Science Subject Python and CSV Files Creative 3 Mark Questions with Solution updated Creative Questions - by Question Bank Software View & Read

  • 1)

    How will you save the CSV file in MS-Excel?

  • 2)

    Write a program to read a file with default delimiter comma.

  • 3)

    What are the different ways of reading a CSV file using reader ( ) method?

  • 4)

    What are the ways to write a new or edit are existing CSV file in python?

  • 5)

    Write a program to create a new normal CSV file to store data.

12th Standard English Medium Computer Science Subject Python and CSV Files Creative 5 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Write a program to read the CSV file which contains spaces after the delimiter.

  • 2)

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

  • 3)

    Write a program to read the CSV file and store A column value in A list for sorting.

  • 4)

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

  • 5)

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

12th Standard English Medium Computer Science Subject Python and CSV Files Creative 5 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Write a program to read the CSV file with user defined delimiter.

  • 2)

    Write a program to read the CSV file and store it in a list.

  • 3)

    How will you sort more than one column in a CSV file? Explain with an example.

  • 4)

    Write a program to read CSV file with a line Terminator.

  • 5)

    How will you write Dictionary into CSV file with custom dialects?

12th Standard English Medium Computer Science Subject Control Structures Book Back 1 Mark Questions with Solution Part - I updated Book back Questions - by Question Bank Software View & Read

  • 1)

    How many important control structures are there in Python?

  • 2)

    elif can be considered to be abbreviation of

  • 3)

    What plays a vital role in Python programming?

  • 4)

    Which statement is generally used as a placeholder?

  • 5)

    The condition in the if statement should be in the form of

12th Standard English Medium Computer Science Subject Control Structures Book Back 1 Mark Questions with Solution Part - II updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Which is the most comfortable loop?

  • 2)

    What is the output of the following snippet?
    i=1
    while True:
    if i%3 ==0:
    break
    print(i,end='')
    i +=1

  • 3)

    What is the output of the following snippet?
    T=1
    while T:
    print(True)
    break

  • 4)

    Which amongst this is not a jump statement?

  • 5)

    Which punctuation should be used in the blank?
    if < condition > ____
           statements-block 1
    else:
            statements-block 2

12th Standard English Medium Computer Science Subject Control Structures Book Back 2 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    List the control structures in Python.

  • 2)

    Write note on break statement.

  • 3)

    Write is the syntax of if..else statement.

  • 4)

    Define control structure.

  • 5)

    Write note on range () in loop.

12th Standard English Medium Computer Science Subject Control Structures Book Back 3 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Write a program to display
    A
    A B
    A B C
    A B C D
    A B C D E

  • 2)

    Write note on if..else structure.

  • 3)

    Using if..else..elif statement write a suitable programs to display largest of 3 numbers.

  • 4)

    Write the syntax of while loop.

  • 5)

    List the differences between break and continue statements.

12th Standard English Medium Computer Science Subject Importing C++ Programs in Python Creative 1 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Which of the following is not general purpose language?

  • 2)

    In which language datatype or not required while declare variable?

  • 3)

    C++ code is 5 to 10 times more than

  • 4)

    Which of the following interface used for interfacing with C programs?

  • 5)

    The operator used to access the python functions using modules is

12th Standard English Medium Computer Science Subject Importing C++ Programs in Python Creative 1 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Which of the following is not a compiled statically typed language?

  • 2)

    Which of the following language used automatic garbage collection?

  • 3)

    A programming language requires

  • 4)

    How many ways are there to create python interface?

  • 5)

    The command to change to the folder where Python is located is

12th Standard English Medium Computer Science Subject Importing C++ Programs in Python Creative 2 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    List some scripting language

  • 2)

    What is the use of GNU C complier?

  • 3)

    What does cd command refers?

  • 4)

    What is meant by module?

  • 5)

    Write the syntax and example of
    (i) os.system ( ) 
    (ii) getopt ( )

12th Standard English Medium Computer Science Subject Importing C++ Programs in Python Creative 2 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    What is garbage collection in python?

  • 2)

    How will you execute C++ program through python using MinGW interface? Give example

  • 3)

    Write a note on
    (i) CD command
    (ii) CIs command

  • 4)

    Write a note on main (sys.argv [1]).

  • 5)

    Write a command for wrapping C++ code.

12th Standard English Medium Computer Science Subject Importing C++ Programs in Python Creative 5 Mark Questions with Solution updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Explain the commands for wrapping C++ code.

  • 2)

    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

  • 3)

    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

  • 4)

    Write a python program to execute the following C++ program.
    C++ program:
    /*Write a C++ program using a user defined
    function to function cube of a number. */
    // Now select File⇾New in Notepad and type the C++ program
    #include
    using namespace std;
    // Function declaration
    int cube(int num),
    int main( )
    {
    int num;
    int c;
    cout<< "Enter any number: "<<endl;
    cin >>num;
    c = cube(num);
    cout<< "Cube of" << num<<  " is "<< c;
    return 0;
    }
    //Function to find cube of any number
    int cube(int num)
    {
    return (num * num * num);
    }
    // Save this file as cube_file.cpp

  • 5)

    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

12th Standard English Medium Computer Science Subject Data Manipulation Through SQL Creative 1 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Which method is SQlite is used create a connection with a database file created?

  • 2)

    Which method has a major role in working with python?

  • 3)

    Which SQlite keyword is used to extract only those records that fulfill a specified condition?

  • 4)

    Which of the following is not an aggregate functions?

  • 5)

    Which of the following operator cannot be used to filter records based on more than one condition?

12th Standard English Medium Computer Science Subject Data Manipulation Through SQL Creative 1 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Which method has a major role in working with python?

  • 2)

    Which SQlite method is used to fetch the required number of rows in the database table?

  • 3)

    Which of the following clause is often used with aggregate functions to group the result?

  • 4)

    The command to modify the values in the existing table

  • 5)

    ______ function returns the number of rows in a table satisfying the criteria specified in the where class?

12th Standard English Medium Computer Science Subject Data Manipulation Through SQL Creative 2 Mark Questions with Solution updated Creative Questions - by Question Bank Software View & Read

  • 1)

    What is the reason behind defining a SQL command with triple quotes?

  • 2)

    How will you sort the data in a table in an ordered way?

  • 3)

    Write a note or cursor. description.

  • 4)

    Write the placeholders which supported by SQlite3 module Execute.

  • 5)

    How the cursor object is created?

12th Standard English Medium Computer Science Subject Data Manipulation Through SQL Creative 3 Mark Questions with Solution updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Explain how the SELECT statement can be used along with GROUP BY class.

  • 2)

    Write the sqlite steps to connect the database.

  • 3)

    Explain how a connect to be made to a database (Academy through python SQlite3.

  • 4)

    What is the purpose of using
    (i) COUNT ( )
    (ii) AVG ( )
    (iii) SUM ( )
    (iv) MAX ( )
    (v) MIN ( )

  • 5)

    Write a note on SELECT statement in SQL.

12th Standard English Medium Computer Science Subject Python Functions Book Back 1 Mark Questions with Solution Part - I updated Book back Questions - by Question Bank Software View & Read

  • 1)

    A named blocks of code that are designed to do one specific job is called as

  • 2)

    A Function which calls itself is called as

  • 3)

    Which of the following keyword is used to begin the function block?

  • 4)

    Which function is called anonymous un-named function

  • 5)

    Which of the following keyword is used to exit a function block?

12th Standard English Medium Computer Science Subject Python Functions Book Back 1 Mark Questions with Solution Part - II updated Book back Questions - by Question Bank Software View & Read

  • 1)

    While defining a function which of the following symbol is used.

  • 2)

    In which arguments the correct positional order is passed to a function?

  • 3)

    Read the following statement and choose the correct statement(s).
    (I) In Python, you don’t have to mention the specific data types while defining function.
    (II) Python keywords can be used as function name.

  • 4)

    Pick the correct one to execute the given statement successfully.
    if ____ : print(x, " is a leap year")

  • 5)

    Which of the following keyword is used to define the function testpython(): ?

12th Standard English Medium Computer Science Subject DataVisualization :Line,Pie and Bar Chart Creative 1 Mark Questions with Solution part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    The numerical data is encoded using

  • 2)

    Which of the following is the representation of information in a graphic format?

  • 3)

    How many types of visualizations are there under matplotlib?

  • 4)

    Which of the following is a type of plot that shows the data as a collection of points?

  • 5)

    Which button will help to navigate the chart?

12th Standard English Medium Computer Science Subject Python Functions Book Back 2 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    What is function?

  • 2)

    Write the different types of function.

  • 3)

    What are the main advantages of function?

  • 4)

    What is meant by scope of variable? Mention its types.

  • 5)

    Define global scope.

12th Standard English Medium Computer Science Subject DataVisualization :Line,Pie and Bar Chart Creative 1 Mark Questions with Solution part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Which of the following is not a type of Data Visualization?

  • 2)

    Which plot displays the distribution of data based on the five number summary?

  • 3)

    The different kinds of plot created using

  • 4)

    In which plot the width of the bars mayor may not be same?

  • 5)

    ________ and ______  are the two ways to display data in the form of diagram.

12th Standard English Medium Computer Science Subject Python Functions Book Back 3 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Write the basic rules for global keyword in python.

  • 2)

    What happens when we modify global variable inside the function?

  • 3)

    Differentiate ceil() and floor() function?

  • 4)

    Write a Python code to check whether a given year is leap year or not.

  • 5)

    What is composition in functions?

12th Standard English Medium Computer Science Subject Python Functions Book Back 5 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Explain the different types of function with an example.

  • 2)

    Explain the scope of variables with an example.

  • 3)

    Explain the following built-in functions.
    (a) id ()
    (b) chr ()
    (c) round ()
    (d) type ()
    (e) pow ()

  • 4)

    Write a Python code to find the L.C.M. of two numbers.

  • 5)

    Explain recursive function with an example.

12th Standard English Medium Computer Science Subject Strings and String Manipulations Book Back 1 Mark Questions with Solution Part - I updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Which of the following is the output of the following python code?
    str1="TamilNadu"
    print(str1[::-1])

  • 2)

    What will be the output of the following code?
    str1 = "Chennai Schools"
    str1[7] = "-"

  • 3)

    Which of the following operator is used for concatenation?

  • 4)

    Defining strings within triple quotes allows creating:

  • 5)

    Strings in python:

12th Standard English Medium Computer Science Subject Strings and String Manipulations Book Back 1 Mark Questions with Solution Part - II updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Which of the following is the slicing operator?

  • 2)

    What is stride?

  • 3)

    Which of the following formatting character is used to print exponential notation in upper case?

  • 4)

    Which of the following is used as placeholders or replacement fields which get replaced along with format( ) function?

  • 5)

    The subscript of a string may be:

12th Standard English Medium Computer Science Subject Strings and String Manipulations Book Back 2 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    What is String?

  • 2)

    Do you modify a string in Python?

  • 3)

    How will you delete a string in Python?

  • 4)

    What will be the output of the following python code?
    str1 = “School”
    print(str1*3)

  • 5)

    What is slicing?

12th Standard English Medium Computer Science Subject Strings and String Manipulations Book Back 3 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Write a Python program to display the given pattern
    C O M P U T E R
    C O M P U T E
    C O M P U T
    C O M P U
    C O M P
    C O M
    C O
    C

  • 2)

    Write a short about the followings with suitable example:
    (a) capitalize( )
    (b) swapcase( )

  • 3)

    What will be the output of the given python program?
    str1 = "welcome"
    str2 = "to school"
    str3 = str1[:2] + str2[len(str2)-2:]
    print (str3)

  • 4)

    What is the use of format( )? Give an example.

  • 5)

    Write a note about count( ) function in python.

12th Standard English Medium Computer Science Subject DataVisualization :Line,Pie and Bar Chart Creative 2 Mark Questions with Solution updated Creative Questions - by Question Bank Software View & Read

  • 1)

    What is Dashboard?

  • 2)

    What is matplotlib?

  • 3)

    Define scatter plot.

  • 4)

    Write note or Box plot.

  • 5)

    What are the two ways to display data in the form of diagram?

12th Standard English Medium Computer Science Subject Lists, Tuples, Sets and Dictionary Book Back 1 Mark Questions with Solution Part - I updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Pick odd one in connection with collection data type

  • 2)

    Let list1=[2,4,6,8,10], then print(List1[-2]) will result in

  • 3)

    If List=[10,20,30,40,50] then List[2]=35 will result

  • 4)

    If List=[17,23,41,10] then List.append(32) will result

  • 5)

    Which of the following Python function can be used to add more than one element within an existing list?

12th Standard English Medium Computer Science Subject Lists, Tuples, Sets and Dictionary Book Back 1 Mark Questions with Solution Part - II updated Book back Questions - by Question Bank Software View & Read

  • 1)

    What is the use of type() function in python?

  • 2)

    Which of the following statement is not correct?

  • 3)

    Let setA={3,6,9}, setB={1,3,9}. What will be the result of the following snippet?
    print(setA|setB)

  • 4)

    Which of the following set operation includes all the elements that are in two sets but not the one that are common to two sets?

  • 5)

    The keys in Python, dictionary is specified by

12th Standard English Medium Computer Science Subject Lists, Tuples, Sets and Dictionary Book Back 2 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    What is List in Python?

  • 2)

    How will you access the list elements in reverse order?

  • 3)

    What will be the value of x in following python code?
    List 1 = [2, 4, 6[1, 3, 5]]
    x = len (List 1)

  • 4)

    Differentiate del with remove( ) function of List.

  • 5)

    Write the syntax of creating a Tuple with n number of elements.

12th Standard English Medium Computer Science Subject Lists, Tuples, Sets and Dictionary Book Back 3 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    What are the advantages of Tuples over a list?

  • 2)

    Write a shot note about sort( ).

  • 3)

    Explain the difference between del and clear( ) in dictionary with an example.

  • 4)

    List out the set operations supported by python.

  • 5)

    What are the difference between List and Dictionary?

12th Standard English Medium Computer Science Subject Python Classes and Objects Book Back 1 Mark Questions with Solution Part - I updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Which of the following are the key features of an Object Oriented Programming language?

  • 2)

    Functions defined inside a class:

  • 3)

    Class members are accessed through which operator?

  • 4)

    Which of the following method is automatically executed when an object is created?

  • 5)

    A private class variable is prefixed with

12th Standard English Medium Computer Science Subject Python Classes and Objects Book Back 1 Mark Questions with Solution Part - II updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Which of the following method is used as destructor?

  • 2)

    Which of the following class declaration is correct?

  • 3)

    Which of the following is the output of the following program?
    class Student:
    def __init__(self, name):
    self.name=name
    print (self.name)
    S=Student(“Tamil”)

  • 4)

    Which of the following is the private class variable?

  • 5)

    The process of creating an object is called as:

12th Standard English Medium Computer Science Subject Python Classes and Objects Book Back 2 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    What is class?

  • 2)

    What is instantiation?

  • 3)

    What is the output of the following program?
    Class Sample:
    __num=10
    def disp(self):
    print(self.__num)
    S=Sample()
    S.disp()
    print(S.__num)

  • 4)

    How will you create constructor in Python?

  • 5)

    What is the purpose of Destructor?

12th Standard English Medium Computer Science Subject Python Classes and Objects Book Back 3 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    What are class members? How do you define it?

  • 2)

    Write a class with two private class variables and print the sum using a method.

  • 3)

    Find the error in the following program to get the given output?
    class Fruits:
    def __init__(self, f1, f2):
    self.f1 = f1
    self.f2 = f2
    def display(self):
    print("Fruit 1 = %s, Fruit 2 = %s" %(self.f1, self.f2))
    F = Fruits ('Apple', 'Mango')
    del F.display
    F.display()

  • 4)

    What is the output of the following program?
    class Greeting:
    def __init__(self, name):
    self.__name = name
    def display(self):
    print("Good Morning ", self.__name)
    obj=Greeting ('Bindu Madhavan')
    obj.display()

  • 5)

    How to define constructor and destructor in Python?

12th Standard English Medium Computer Science Subject Database Concepts Book Back 1 Mark Questions with Solution Part - I updated Book back Questions - by Question Bank Software View & Read

  • 1)

    What is the acronym of DBMS?

  • 2)

    A table is known as

  • 3)

    Which database model represents parent-child relationship?

  • 4)

    Relational database model was first proposed by

  • 5)

    What type of relationship does hierarchical model represents?

12th Standard English Medium Computer Science Subject Database Concepts Book Back 1 Mark Questions with Solution Part - II updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Who is called Father of Relational Database from the following?

  • 2)

    Which of the following is an RDBMS?

  • 3)

    What symbol is used for SELECT statement?

  • 4)

    A tuple is also known as

  • 5)

    Who developed ER model?

12th Standard English Medium Computer Science Subject Database Concepts Book Back 2 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Mention few examples of a database.

  • 2)

    List some examples of RDBMS.

  • 3)

    What is data consistency?

  • 4)

    What is the difference between Hierarchical and Network data model?

  • 5)

    What is normalization?

12th Standard English Medium Computer Science Subject Database Concepts Book Back 3 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    What is the difference between Select and Project command?

  • 2)

    What is the role of DBA?

  • 3)

    Explain Cartesian Product with a suitable example.

  • 4)

    Explain Object Model with example.

  • 5)

    Write a note on different types of DBMS users.

12th Standard English Medium Computer Science Subject Database Concepts Book Back 5 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Explain the different types of data model.

  • 2)

    Explain the different types of relationship mapping.

  • 3)

    Differentiate DBMS and RDBMS.

  • 4)

    Explain the different operators in Relational algebra with suitable examples.

  • 5)

    Explain the characteristics of DBMS.

12th Standard English Medium Computer Science Subject Structured Query Language (SQL) Book Back 1 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Which commands provide definitions for creating table structure, deleting relations, and modifying relation schemas.

  • 2)

    Which command lets to change the structure of the table?

  • 3)

    The command to delete a table is

  • 4)

    Queries can be generated using

  • 5)

    The clause used to sort data in a database

12th Standard English Medium Computer Science Subject Structured Query Language (SQL) Book Back 2 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Write a query that selects all students whose age is less than 18 in order wise.

  • 2)

    Differentiate Unique and Primary Key constraint

  • 3)

    Write the difference between table constraint and column constraint?

  • 4)

    Which component of SQL lets insert values in tables and which lets to create a table?

  • 5)

    What is the difference between SQL and MYSQL?

12th Standard English Medium Computer Science Subject Structured Query Language (SQL) Book Back 3 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    What is a constraint? Write short note on Primary key constraint.

  • 2)

    Write a SQL statement to modify the student table structure by adding a new field.

  • 3)

    Write any three DDL commands.

  • 4)

    Write the use of Savepoint command with an example.

  • 5)

    Write a SQL statement using DISTINCT keyword.

12th Standard English Medium Computer Science Subject Structured Query Language (SQL) Book Back 5 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Write the different types of constraints and their functions.

  • 2)

    Consider the following employee table. Write SQL commands for the qtns.(i) to (v).

    EMP CODE NAME DESIG PAY ALLOWANCE
    S1001 Hariharan Supervisor 29000 12000
    P1002 Shaji Operator 10000 5500
    P1003 Prasad Operator 12000 6500
    C1004 Manjima Clerk 8000 4500
    M1005 Ratheesh Mechanic 20000 7000

    (i) To display the details of all employees in descending order of pay.
    (ii) To display all employees whose allowance is between 5000 and 7000.
    (iii) To remove the employees who are mechanic.
    (iv) To add a new row.
    (v) To display the details of all employees who are operators.

  • 3)

    What are the components of SQL? Write the commands in each.

  • 4)

    Construct the following SQL statements in the student table-
    (i) SELECT statement using GROUP BY clause.
    (ii) SELECT statement using ORDER BY clause.

  • 5)

    Write a SQL statement to create a table for employee having any five fields and create a table constraint for the employee table.

12th Standard English Medium Computer Science Subject Python and CSV Files Book Back 1 Mark Questions with Solution Part - I updated Book back Questions - by Question Bank Software View & Read

  • 1)

    A CSV file is also known as a ….

  • 2)

    The expansion of CRLF is

  • 3)

    Which of the following module is provided by Python to do several operations on the CSV files?

  • 4)

    Which of the following mode is used when dealing with non-text files like image or exe files?

  • 5)

    The command used to skip a row in a CSV file is

12th Standard English Medium Computer Science Subject Python and CSV Files Book Back 1 Mark Questions with Solution Part - II updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Which of the following is a string used to terminate lines produced by writer()method of csv module?

  • 2)

    What is the output of the following program? import csv
    d=csv.reader(open('c:\PYPRG\ch13\city.csv'))
    next(d)
    for row in d:
    print(row)
    if the file called “city.csv” contain the following details
    chennai,mylapore
    mumbai,andheri

  • 3)

    Which of the following creates an object which maps data to a dictionary?

  • 4)

    Making some changes in the data of the existing file or adding more data is called

  • 5)

    What will be written inside the file test.csv using the following program
    import csv
    D = [['Exam'],['Quarterly'],['Halfyearly']]
    csv.register_dialect('M',lineterminator = '\n')
    with open('c:\pyprg\ch13\line2.csv', 'w') as f:
    wr = csv.writer(f,dialect='M')
    wr.writerows(D)
    f.close()

12th Standard English Medium Computer Science Subject Python and CSV Files Book Back 2 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    What is CSV File?

  • 2)

    Mention the two ways to read a CSV file using Python.

  • 3)

    Mention the default modes of the File.

  • 4)

    What is use of next() function?

  • 5)

    How will you sort more than one column from a csv file?Give an example statement.

12th Standard English Medium Computer Science Subject Python and CSV Files Book Back 3 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Write a note on open() function of python. What is the difference between the two methods?

  • 2)

    Write a Python program to modify an existing file.

  • 3)

    Write a Python program to read a CSV file with default delimiter comma (,).

  • 4)

    What is the difference between the write mode and append mode.

  • 5)

    What is the difference between reader() and DictReader() function?

12th Standard English Medium Computer Science Subject Python and CSV Files Book Back 5 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Differentiate Excel file and CSV file.

  • 2)

    Tabulate the different mode with its meaning.

  • 3)

    Write the different methods to read a File in Python.

  • 4)

    Write a Python program to write a CSV File with custom quotes.

  • 5)

    Write the rules to be followed to format the data in a CSV file.

12th Standard English Medium Computer Science Subject Importing C++ Programs in Python Book Back 1 Mark Questions with Solution Part - I updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Which of the following is not a scripting language?

  • 2)

    Importing C++ program in a Python program is called

  • 3)

    The expansion of API is

  • 4)

    A framework for interfacing Python and C++ is

  • 5)

    Which of the following is a software design technique to split your code into separate parts?

12th Standard English Medium Computer Science Subject Creative 1 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    The function definition is introduced by the keyword

  • 2)

    A function definition which call itself is called

  • 3)

    Explicitly_________the types can help with debugging.

  • 4)

    Evaluation of__________ functions does not cause any side effects to its output?

  • 5)

    Which of the following provides modularity?

12th Standard English Medium Computer Science Subject Importing C++ Programs in Python Book Back 1 Mark Questions with Solution Part - II updated Book back Questions - by Question Bank Software View & Read

  • 1)

    The module which allows you to interface with the Windows operating system is

  • 2)

    getopt() will return an empty array if there is no error in splitting strings to

  • 3)

    Identify the function call statement in the following snippet.
    if __name__ =='__main__':
    main(sys.argv[1:])

  • 4)

    Which of the following can be used for processing text, numbers, images, and scientific data?

  • 5)

    What does __name__ contains?

12th Standard English Medium Computer Science Subject Importing C++ Programs in Python Book Back 2 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    What is the theoretical difference between Scripting language and other programming language?

  • 2)

    Differentiate compiler and interpreter.

  • 3)

    Write the expansion of (i) SWIG (ii) MinGW

  • 4)

    What is the use of modules?

  • 5)

    What is the use of cd command. Give an example.

12th Standard English Medium Computer Science Subject Creative 1 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Which of the following contains a set a code that works an many kinds of input and produces a concrete output?

  • 2)

    Which of the following is an instance created from the class?

  • 3)

    Explicitly_________the types can help with debugging.

  • 4)

    Strlen is an example________function.

  • 5)

    ADT expansion is

12th Standard English Medium Computer Science Subject Importing C++ Programs in Python Book Back 3 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Differentiate PYTHON and C++.

  • 2)

    What are the applications of scripting language?

  • 3)

    What is MinGW? What is its use?

  • 4)

    Identify the module, operator, definition name for the following
    welcome.display().

  • 5)

    What is sys.argv? What does it contain?

12th Standard English Medium Computer Science Subject Creative 2 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Write the pseudo code for the representation of the rational number using constructor & selector.

  • 2)

    Write a note on pair datatype

  • 3)

    How a class defines a data abstraction?

  • 4)

    What is the use of LEGB rule?

  • 5)

    Write the output of the following program
     Disp()
      a:=10
     Disp 1():
             print a
     Disp 1():
     print a
    Disp()
     

12th Standard English Medium Computer Science Subject Creative 3 Mark Questions with Solution part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Give an example of an ADT for rational numbers.

  • 2)

    Write a note on built-in scope.

  • 3)

    How will you ensure the principle of data encapsulation in object - oriented programming?

  • 4)

    Design an algorithm to find square of the given number and display the result.

  • 5)

    Write a note on two factors in which space required by an algorithm is decided.

12th Standard English Medium Computer Science Subject Creative 2 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Identify which is the constructor and selector from the following statement.
    (i) The Functions that retrieve information from the datatype.
    (ii)The function which creates an object.

  • 2)

    How the concrete level of data abstraction implemented?

  • 3)

    Write a pseudocode to depressant rational numbers using list.

  • 4)

    From the statement P1 : = Preson(), What does P1 and person referred.

  • 5)

    Define variable.

12th Standard English Medium Computer Science Subject Importing C++ Programs in Python Book Back 5 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Write any 5 features of Python.

  • 2)

    Explain each word of the following command.
    Python  < filename.py > - < i > <C++ filename without cpp extension>

  • 3)

    What is the purpose of sys, os, getopt module in Python.Explain.

  • 4)

    Write the syntax for getopt( ) and explain its arguments and return values.

  • 5)

    Write a Python program to execute the following c++ coding.
    #include <iostream>
    using namespace std;
    int main()
    { cout<<“WELCOME”;
    return(0);
    }
    The above C++ program is saved in a file welcome.cpp

12th Standard English Medium Computer Science Subject Data Manipulation Through SQL Book Back 1 Mark Questions with Solution Part - I updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Which of the following is an organized collection of data?

  • 2)

    SQLite falls under which database system?

  • 3)

    Which of the following is a control structure used to traverse and fetch the records of the database?

  • 4)

    Any changes made in the values of the record should be saved by the command

  • 5)

    Which of the following executes the SQL command to perform some action?

12th Standard English Medium Computer Science Subject Data Manipulation Through SQL Book Back 1 Mark Questions with Solution Part - II updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Which of the following function retrieves the average of a selected column of rows in a table?

  • 2)

    The function that returns the largest value of the selected column is

  • 3)

    Which of the following is called the master table?

  • 4)

    The most commonly used statement in SQL is

  • 5)

    Which of the following clause avoide the duplicate?

12th Standard English Medium Computer Science Subject Data Manipulation Through SQL Book Back 2 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    What is SQLite?What is it advantage?

  • 2)

    Mention the difference between fetchone() and fetchmany()

  • 3)

    What is the use of Where Clause.Give a python statement Using the where clause.

  • 4)

    Read the following details. Based on that write a python script to display department wise records
    database name:- organization.db
    Table name:- Employee
    Columns in the table:- Eno, EmpName, Esal, Dept

  • 5)

    Read the following details.Based on that write a python script to display records in desending order of
    Eno
    database name :- organization.db
    Table name :- Employee
    Columns in the table :- Eno, EmpName, Esal, Dept

12th Standard English Medium Computer Science Subject Data Manipulation Through SQL Book Back 3 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Mention the users who uses the Database.

  • 2)

    Which method is used to connect a database? Give an example.

  • 3)

    What is the advantage of declaring a column as “INTEGER PRIMARY KEY”

  • 4)

    Write the command to populate record in a table. Give an example.

  • 5)

    Which method is used to fetch all rows from the database table?

12th Standard English Medium Computer Science Subject Data Manipulation Through SQL Book Back 5 Mark Questions with Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Write in brief about SQLite and the steps used to use it.

  • 2)

    Write the Python script to display all the records of the following table using fetchmany()

    Icode ItemName Rate
    1003 Scanner 10500
    1004 Speaker 3000
    1005 Printer 8000
    1008 Monitor 15000
    1010 Mouse 700
  • 3)

    hat is the use of HAVING clause. Give an example python script

  • 4)

    Write a Python script to create a table called ITEM with following specification.
    Add one record to the table.
    Name of the database :- ABC
    Name of the table :- Item
    Column name and specification :-

    I code :- Integer and act as primary key
    Item Name :- Character with length 25
    Rate :- Integer
    Record to be added :- 1008, Monitor, 15000
  • 5)

    Consider the following table Supplier and item .Write a python script for (i) to (ii)

    SUPPLIER
    Suppno Name City Icode SuppQty
    S001 Prasad Delhi 1008 100
    S002 Anu Bangalore 1010 200
    S003 Shahid Bangalore 1008 175
    S004 Akila Hydrabad 1005 195
    S005 Girish Hydrabad 1003 25
    S006 Shylaja Chennai 1008 180
    S007 Lavanya Mumbai 1005 325

    i) Display Name, City and Itemname of suppliers who do not reside in Delhi.
    ii) Increment the SuppQty of Akila by 40

12th Standard English Medium Computer Science Subject Data Visualization -Line, Pie and Bar Chart ThroughSQL BookBack 1 Marks With Solution Part - I updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Which is a python package used for 2D graphics?

  • 2)

    Identify the package manager for Python packages, or modules.

  • 3)

    Read the following code: Identify the purpose of this code and choose the right option from the following.
    C:\Users\YourName\AppData\Local\Programs\Python\Python36-32\Scripts>pip –version

  • 4)

    Read the following code: Identify the purpose of this code and choose the right option from the following.
    C:\Users\Your Name\AppData\Local\Programs\Python\Python36-32\Scripts>pip list

  • 5)

    To install matplotlib, the following function will be typed in your command prompt. What does “-U”represents?
    Python –m pip install –U pip

12th Standard English Medium Computer Science Subject Data Visualization -Line, Pie and Bar Chart ThroughSQL BookBack 1 Marks With Solution Part - II updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Observe the output figure. Identify the coding for obtaining this output.

  • 2)

    Read the code:
    a. import matplotlib.pyplot as plt
    b. plt.plot(3,2)
    c. plt.show()
    Identify the output for the above coding

  • 3)

    Which key is used to run the module?

  • 4)

    Identify the right type of chart using the following hints.
    Hint 1: This chart is often used to visualize a trend in data over intervals of time.
    Hint 2: The line in this type of chart is often drawn chronologically.

  • 5)

    Read the statements given below. Identify the right option from the following for pie chart.
    Statement A: To make a pie chart with Matplotlib, we can use the plt.pie() function.
    Statement B: The autopct parameter allows us to display the percentage value using the Python string formatting.

12th Standard English Medium Computer Science Subject Data Visualization -Line, Pie and Bar Chart ThroughSQL BookBack 2 Marks With Solution updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Define: Data Visualization.

  • 2)

    List the general types of data visualization.

  • 3)

    List the types of Visualizations in Matplotlib.

  • 4)

    How will you install Matplotlib?

  • 5)

    Write the difference between the following functions: plt.plot([1,2,3,4]), plt.plot([1,2,3,4], [1,4,9,16]).

12th Standard English Medium Computer Science Subject Book Back 1 Mark Questions with Solution Part - I updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Which of the following is a unit of code that is often defined within a greater code structure?

  • 2)

    Which of the following is a distinct syntactic block?

  • 3)

    Which of the following defines what an object can do?

  • 4)

    Which of the following carries out the instructions defined in the interface?

  • 5)

    Which of the following functions that retrieve information from the data type?

12th Standard English Medium Computer Science Subject Book Back 1 Mark Questions with Solution Part - II updated Book back Questions - by Question Bank Software View & Read

  • 1)

    The functions which will give exact result when same arguments are passed are called

  • 2)

    The functions which cause side effects to the arguments passed are called

  • 3)

    A sequence of immutable objects is called

  • 4)

    Which of the following allow to name the various parts of a multi-item object?

  • 5)

    Which of the following refers to the visibility of variablesin one part of a program to another part of the same program.

12th Standard English Medium Computer Science Subject Book Back 2 Mark Questions with Solution Part - I updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Write the inference you get from X : = (78).

  • 2)

    Differentiate interface and implementation.

  • 3)

    What is Mapping?

  • 4)

    What do you mean by Namespaces?

  • 5)

    What is Sorting?

12th Standard English Medium Computer Science Subject Book Back 2 Mark Questions with Solution Part - II updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Define Function with respect to Programming language.

  • 2)

    Write the inference you get from X : = (78).

  • 3)

    Why scope should be used for variable. State the reason.

  • 4)

    What is Mapping?

  • 5)

    What do you mean by Namespaces?

12th Standard English Medium Computer Science Subject Book Back 3 Mark Questions with Solution Part - I updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Why strlen is called pure function?

  • 2)

     What is the side effect of impure function. Give example.

  • 3)

    Define Global scope with an example.

  • 4)

    Define Enclosed scope with an example.

  • 5)

    What are the factors that influence time and space complexity.

12th Standard English Medium Computer Science Subject Book Back 3 Mark Questions with Solution Part - II updated Book back Questions - by Question Bank Software View & Read

  • 1)

    What are the factors that influence time and space complexity.

  • 2)

    Write a note on Asymptotic notation.

  • 3)

    Write a program to display
    A
    A B
    A B C
    A B C D
    A B C D E

  • 4)

    Write the basic rules for global keyword in python.

  • 5)

    Write a Python code to check whether a given year is leap year or not.

12th Standard English Medium Computer Science Subject Book Back 5 Mark Questions with Solution Part - I updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Identify in the following program
    let rec gcd a b:=
               if b <> 0 then gcd b (a mod b)
               else return a:
    i) Name of the function
    ii) Identify the statement which tells it is a recursive function
    iii) Name of the argument variable
    iv) Statement which invoke the function recursively
    v) Statement which terminates the recursion

  • 2)

    What is Binary search? Discuss with example

  • 3)

    Explain the Bubble sort algorithm with example.

  • 4)

    Explain input() and print() functions with examples.

  • 5)

    Write a detail note on if..else..elif statement with suitable example.

12th Standard English Medium Computer Science Subject Book Back 5 Mark Questions with Solution Part - II updated Book back Questions - by Question Bank Software View & Read

  • 1)

    Identify in the following program
    let rec gcd a b:=
               if b <> 0 then gcd b (a mod b)
               else return a:
    i) Name of the function
    ii) Identify the statement which tells it is a recursive function
    iii) Name of the argument variable
    iv) Statement which invoke the function recursively
    v) Statement which terminates the recursion

  • 2)

    Explain the representation of Abstract datatype using rational numbers.

  • 3)

    Write any five benefits in using modular programming.

  • 4)

    What is Binary search? Discuss with example

  • 5)

    Explain the concept of Dynamic programming with suitable example.

12th Standard English Medium Computer Science Subject Creative 3 Mark Questions with Solution Part - II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Write a note on module.

  • 2)

    Write a note on access modifiers of a class.

  • 3)

    Write a note on time/space trade off

  • 4)

    Write the different factors in which the time efficiency of an algorithm its measured

  • 5)

    What is dynamic programming? What are the steps involved in dynamic programming?

12th Standard English Medium Computer Science Subject Creative 5 Mark Questions with Solution Part - I updated Creative Questions - by Question Bank Software View & Read

  • 1)

    Explain the concept access control.

  • 2)

    Explain complexity of an algorithm.

  • 3)

    Differentiate Algorithm and program

  • 4)

    Explain the sorting algorithm that uses n-1 number passes to get the final sorted list.

  • 5)

    Explain Jump statement in python.

12th Standard English Medium Computer Science Subject Creative 5 Mark Questions with Solution Part -II updated Creative Questions - by Question Bank Software View & Read

  • 1)

    The small sections of code that are used to perform a particular task is called

  • 2)

    Which of the following is a unit of code that is often defined within a greater code structure?

  • 3)

    Which of the following is a distinct syntactic block?

  • 4)

    The variables in a function definition are called as

  • 5)

    The values which are passed to a function definition are called

12th Standard English Medium Computer Science Subject Creative 5 Mark Questions with Solution Part -II - by Question Bank Software View & Read

  • 1)

    The small sections of code that are used to perform a particular task is called

  • 2)

    Which of the following is a unit of code that is often defined within a greater code structure?

  • 3)

    Which of the following is a distinct syntactic block?

  • 4)

    The variables in a function definition are called as

  • 5)

    The values which are passed to a function definition are called

12th Standard English Medium Computer Science Subject Creative 5 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Explain the concept access control.

  • 2)

    Explain complexity of an algorithm.

  • 3)

    Differentiate Algorithm and program

  • 4)

    Explain the sorting algorithm that uses n-1 number passes to get the final sorted list.

  • 5)

    Explain Jump statement in python.

12th Standard English Medium Computer Science Subject Creative 3 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Write a note on module.

  • 2)

    Write a note on access modifiers of a class.

  • 3)

    Write a note on time/space trade off

  • 4)

    Write the different factors in which the time efficiency of an algorithm its measured

  • 5)

    What is dynamic programming? What are the steps involved in dynamic programming?

12th Standard English Medium Computer Science Subject Creative 2 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Identify which is the constructor and selector from the following statement.
    (i) The Functions that retrieve information from the datatype.
    (ii)The function which creates an object.

  • 2)

    How the concrete level of data abstraction implemented?

  • 3)

    Write a pseudocode to depressant rational numbers using list.

  • 4)

    From the statement P1 : = Preson(), What does P1 and person referred.

  • 5)

    Define variable.

12th Standard English Medium Computer Science Subject Creative 3 Mark Questions with Solution part - I - by Question Bank Software View & Read

  • 1)

    Give an example of an ADT for rational numbers.

  • 2)

    Write a note on built-in scope.

  • 3)

    How will you ensure the principle of data encapsulation in object - oriented programming?

  • 4)

    Design an algorithm to find square of the given number and display the result.

  • 5)

    Write a note on two factors in which space required by an algorithm is decided.

12th Standard English Medium Computer Science Subject Creative 2 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Write the pseudo code for the representation of the rational number using constructor & selector.

  • 2)

    Write a note on pair datatype

  • 3)

    How a class defines a data abstraction?

  • 4)

    What is the use of LEGB rule?

  • 5)

    Write the output of the following program
     Disp()
      a:=10
     Disp 1():
             print a
     Disp 1():
     print a
    Disp()
     

12th Standard English Medium Computer Science Subject Creative 1 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Which of the following contains a set a code that works an many kinds of input and produces a concrete output?

  • 2)

    Which of the following is an instance created from the class?

  • 3)

    Explicitly_________the types can help with debugging.

  • 4)

    Strlen is an example________function.

  • 5)

    ADT expansion is

12th Standard English Medium Computer Science Subject Creative 1 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    The function definition is introduced by the keyword

  • 2)

    A function definition which call itself is called

  • 3)

    Explicitly_________the types can help with debugging.

  • 4)

    Evaluation of__________ functions does not cause any side effects to its output?

  • 5)

    Which of the following provides modularity?

12th Standard English Medium Computer Science Subject DataVisualization :Line,Pie and Bar Chart Creative 2 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    What is Dashboard?

  • 2)

    What is matplotlib?

  • 3)

    Define scatter plot.

  • 4)

    Write note or Box plot.

  • 5)

    What are the two ways to display data in the form of diagram?

12th Standard English Medium Computer Science Subject DataVisualization :Line,Pie and Bar Chart Creative 1 Mark Questions with Solution part - II - by Question Bank Software View & Read

  • 1)

    Which of the following is not a type of Data Visualization?

  • 2)

    Which plot displays the distribution of data based on the five number summary?

  • 3)

    The different kinds of plot created using

  • 4)

    In which plot the width of the bars mayor may not be same?

  • 5)

    ________ and ______  are the two ways to display data in the form of diagram.

12th Standard English Medium Computer Science Subject DataVisualization :Line,Pie and Bar Chart Creative 1 Mark Questions with Solution part - I - by Question Bank Software View & Read

  • 1)

    The numerical data is encoded using

  • 2)

    Which of the following is the representation of information in a graphic format?

  • 3)

    How many types of visualizations are there under matplotlib?

  • 4)

    Which of the following is a type of plot that shows the data as a collection of points?

  • 5)

    Which button will help to navigate the chart?

12th Standard English Medium Computer Science Subject Data Manipulation Through SQL Creative 3 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    Explain how the SELECT statement can be used along with GROUP BY class.

  • 2)

    Write the sqlite steps to connect the database.

  • 3)

    Explain how a connect to be made to a database (Academy through python SQlite3.

  • 4)

    What is the purpose of using
    (i) COUNT ( )
    (ii) AVG ( )
    (iii) SUM ( )
    (iv) MAX ( )
    (v) MIN ( )

  • 5)

    Write a note on SELECT statement in SQL.

12th Standard English Medium Computer Science Subject Data Manipulation Through SQL Creative 2 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    What is the reason behind defining a SQL command with triple quotes?

  • 2)

    How will you sort the data in a table in an ordered way?

  • 3)

    Write a note or cursor. description.

  • 4)

    Write the placeholders which supported by SQlite3 module Execute.

  • 5)

    How the cursor object is created?

12th Standard English Medium Computer Science Subject Data Manipulation Through SQL Creative 1 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Which method has a major role in working with python?

  • 2)

    Which SQlite method is used to fetch the required number of rows in the database table?

  • 3)

    Which of the following clause is often used with aggregate functions to group the result?

  • 4)

    The command to modify the values in the existing table

  • 5)

    ______ function returns the number of rows in a table satisfying the criteria specified in the where class?

12th Standard English Medium Computer Science Subject Data Manipulation Through SQL Creative 1 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Which method is SQlite is used create a connection with a database file created?

  • 2)

    Which method has a major role in working with python?

  • 3)

    Which SQlite keyword is used to extract only those records that fulfill a specified condition?

  • 4)

    Which of the following is not an aggregate functions?

  • 5)

    Which of the following operator cannot be used to filter records based on more than one condition?

12th Standard English Medium Computer Science Subject Importing C++ Programs in Python Creative 5 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    Explain the commands for wrapping C++ code.

  • 2)

    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

  • 3)

    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

  • 4)

    Write a python program to execute the following C++ program.
    C++ program:
    /*Write a C++ program using a user defined
    function to function cube of a number. */
    // Now select File⇾New in Notepad and type the C++ program
    #include
    using namespace std;
    // Function declaration
    int cube(int num),
    int main( )
    {
    int num;
    int c;
    cout<< "Enter any number: "<<endl;
    cin >>num;
    c = cube(num);
    cout<< "Cube of" << num<<  " is "<< c;
    return 0;
    }
    //Function to find cube of any number
    int cube(int num)
    {
    return (num * num * num);
    }
    // Save this file as cube_file.cpp

  • 5)

    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

12th Standard English Medium Computer Science Subject Importing C++ Programs in Python Creative 2 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    What is garbage collection in python?

  • 2)

    How will you execute C++ program through python using MinGW interface? Give example

  • 3)

    Write a note on
    (i) CD command
    (ii) CIs command

  • 4)

    Write a note on main (sys.argv [1]).

  • 5)

    Write a command for wrapping C++ code.

12th Standard English Medium Computer Science Subject Importing C++ Programs in Python Creative 2 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    List some scripting language

  • 2)

    What is the use of GNU C complier?

  • 3)

    What does cd command refers?

  • 4)

    What is meant by module?

  • 5)

    Write the syntax and example of
    (i) os.system ( ) 
    (ii) getopt ( )

12th Standard English Medium Computer Science Subject Importing C++ Programs in Python Creative 1 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Which of the following is not a compiled statically typed language?

  • 2)

    Which of the following language used automatic garbage collection?

  • 3)

    A programming language requires

  • 4)

    How many ways are there to create python interface?

  • 5)

    The command to change to the folder where Python is located is

12th Standard English Medium Computer Science Subject Importing C++ Programs in Python Creative 1 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Which of the following is not general purpose language?

  • 2)

    In which language datatype or not required while declare variable?

  • 3)

    C++ code is 5 to 10 times more than

  • 4)

    Which of the following interface used for interfacing with C programs?

  • 5)

    The operator used to access the python functions using modules is

12th Standard English Medium Computer Science Subject Python and CSV Files Creative 5 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Write a program to read the CSV file with user defined delimiter.

  • 2)

    Write a program to read the CSV file and store it in a list.

  • 3)

    How will you sort more than one column in a CSV file? Explain with an example.

  • 4)

    Write a program to read CSV file with a line Terminator.

  • 5)

    How will you write Dictionary into CSV file with custom dialects?

12th Standard English Medium Computer Science Subject Python and CSV Files Creative 5 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Write a program to read the CSV file which contains spaces after the delimiter.

  • 2)

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

  • 3)

    Write a program to read the CSV file and store A column value in A list for sorting.

  • 4)

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

  • 5)

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

12th Standard English Medium Computer Science Subject Python and CSV Files Creative 3 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    How will you save the CSV file in MS-Excel?

  • 2)

    Write a program to read a file with default delimiter comma.

  • 3)

    What are the different ways of reading a CSV file using reader ( ) method?

  • 4)

    What are the ways to write a new or edit are existing CSV file in python?

  • 5)

    Write a program to create a new normal CSV file to store data.

12th Standard English Medium Computer Science Subject Python and CSV Files Creative 2 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    How will prefect the CSV File data contains common by itself?

  • 2)

    How the CSV file operation takes place in python?

  • 3)

    What is an Ordered Dict?

  • 4)

    What is called modification?

  • 5)

    Write is purpose of using skipinitialspace parameter.

12th Standard English Medium Computer Science Subject Python and CSV Files Creative 2 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    What is the use of CSV file?

  • 2)

    Expand
    (i) CSV 
    (ii) CRLF

  • 3)

    How the CSV filename represented in open command?

  • 4)

    What is the use of dict( )?

  • 5)

    Write a program to add new rows in the existing CSV file?

12th Standard English Medium Computer Science Subject Python and CSV Files Creative 1 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Which of the following is a human readable text file where each line has fields?

  • 2)

    In Excel, the default CSV files should open automatically by

  • 3)

    Which of the following is way to read a CSV file?

  • 4)

    Which of the following built-in function Python has to open a file?

  • 5)

    CSV file can be opened in

12th Standard English Medium Computer Science Subject Python and CSV Files Creative 1 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    CSV means

  • 2)

    Which of the following can protect if the data itself contains commas in CSV file?

  • 3)

    Python function open () returns a file object called

  • 4)

    Which of the following is not a mode used while opening a file?

  • 5)

    Which python file modes are used to creating new file?

12th Standard English Medium Computer Science Subject Structured Query Language (SQL) Creative 3 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Write the function performed by DDL.

  • 2)

    Write the syntax for the following commands.
    (i) INSERT
    (ii) DELETE
    (iii) UPDATE

  • 3)

    How will you frame the commands to work on database?

  • 4)

    How will you generate queries and retrieve data from the table? Explain?

  • 5)

    Write the different categories of SQL commands.

12th Standard English Medium Computer Science Subject Structured Query Language (SQL) Creative 3 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    List the types of constraints.

  • 2)

    Define Data Control Language and also list the command under this.

  • 3)

    List the data types used in SQL.

  • 4)

    How will set a primary key for more than one field? Explain with example.

  • 5)

    Which constraint helps to set a limit value placed for a field?

12th Standard English Medium Computer Science Subject Structured Query Language (SQL) Creative 2 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    List few RDBMS packages.

  • 2)

    Write the syntax of creating table in database.

  • 3)

    How will you retain duplicate rows while displaying the table?

  • 4)

    Write the syntax of ORDER by clause used in SELECT command.

  • 5)

    Write the syntax of GROUP BY and HAVING clause.

12th Standard English Medium Computer Science Subject Structured Query Language (SQL) Creative 2 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    What is SQL?

  • 2)

    Write a note on data query language.

  • 3)

    Write the syntax of SELECT command for getting the desired result from the table.

  • 4)

    How will search NULL values in a field? Give example.

  • 5)

    How will you filter the records in a table? Give an example.

12th Standard English Medium Computer Science Subject Structured Query Language (SQL) Creative 1 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    SQL stands for

  • 2)

    TCL stands for

  • 3)

    The SQL DDL command removes all records from a table and also release the space occupied by these records is

  • 4)

    Which of the following commands are used to manage the changes made to the data in table by DML statements?

  • 5)

    Double data type precision may exceed

12th Standard English Medium Computer Science Subject Structured Query Language (SQL) Creative 1 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Which of the following language was designed for managing and accessing data in RDBMS?

  • 2)

    The specific related information about every record in the table is maintained by

  • 3)

    DML stand for

  • 4)

    Which component of SQL includes commands to insert, delete and modify tables in database?

  • 5)

    Into how many categories the SQL commands are divided?

12th Standard English Medium Computer Science Subject Database Concepts Creative 3 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Write a note on DBMS or write a note on a software that allows us to create, define and manipulate database.

  • 2)

    List the components of DBMS

  • 3)

    Write the importance of using data model.

  • 4)

    Write a short note on Relational data model.

  • 5)

    Write a short note on the database model, in which relationship are created by dividing the object into entity.

12th Standard English Medium Computer Science Subject Database Concepts Creative 3 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Write the advantages of DBMS.

  • 2)

    List the types of data model.

  • 3)

    Explain the data model that represent parent child relationship.

  • 4)

    List the types of DBMS users.

  • 5)

    Write the symbol used for the following.
    (i) SELECT
    (ii) PROJECT
    (iii) Union
    (iv) Intersection
    (v) Difference
    (vi) PRODUCT

12th Standard English Medium Computer Science Subject Database Concepts Creative 1 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Which of the following a data contain?

  • 2)

    Which of the following provides protection and security to the databases?

  • 3)

    Which of the following makes the data more meaningful and connected in the database?

  • 4)

    Which of fhe following is not a type of data model?

  • 5)

    Object model stores the data in the form of

12th Standard English Medium Computer Science Subject Database Concepts Creative 1 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Which of the following is an organized collection of data, which can be stared and a cersed through computer system

  • 2)

    Which of the following is not an example of DBMS?

  • 3)

    Which of the following divides the data in such a way that repetition of data is minimum in the database?

  • 4)

    How many major components are there in DBMS?

  • 5)

    Which of the following model was developed Network database model represents the data by IBM?

12th Standard English Medium Computer Science Subject Python Classes and Objects Creative 5 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

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

  • 2)

    Write a program to calculate area and circumference of a circle.

  • 3)

    Write a menu driven program that keeps record of books available in you school library.

  • 4)

    Write a program to accept a string and print the number of uppercase, lowercase, vowels, consonants and spaces in the given string.

  • 5)

    Write a program to store product and its cost price. Display all the available products and prompt to enter quantity of all the products. Finally generate a bill which displays the total amount to be paid.

12th Standard English Medium Computer Science Subject Python Classes and Objects Creative 3 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    Write a note on self argument used in python class function.

  • 2)

    Explain the working of the following program. class Sample:
    def _init_(self, num):
    print("Constructor of class Sample ...")
    self.num=num
    print("The value is :", num)
    S=Sample(10)

  • 3)

    Why the following program give an error while displaying the value of n2. Give Reason.

  • 4)

    Fill up the blanks in the following program to get the output:
    Value of x = 10
    Value of y = 20
    Sum of x and y= 30
    Class sample:
    x, __ = 10, 20 -------------------1
    s = -------------------------2
    print ("value of x =", __ ) ------------3
    print ("value of y =", __ ) -------------4
    print ("sum of x and y =", __ ) --------5

  • 5)

    Read the following program. Answer the following question. Class sample:
    x, y= 10, 20
    s= sample ()
    print (s. x + s. y)
    1. What does sample denotes?
    2. What does x, y denotes?
    3. What does s denotes?

12th Standard English Medium Computer Science Subject Python Classes and Objects Creative 2 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    Write the general form of declaring class in Python.

  • 2)

    Write the syntax for the following
    (i) Creating objects
    (ii) Accessing class members

  • 3)

    Name the function which acts as a constructor and destructor.

  • 4)

    Write a program in python that illustrate the use of constructor.

  • 5)

    Explain the working of the following program
    class Sample:
    num=0
    def _init_(self) var):
    Sample.num+= 1
    self.var=var
    print("The object value is = ", var)
    print("The count of object created Sample.num) =",
    S1=Sample(15)
    S2=Sample(35)
    S3=Sample(45)

12th Standard English Medium Computer Science Subject Python Classes and Objects Creative 1 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Functions of the class are called as

  • 2)

    Which position of the argument named self in python class method?

  • 3)

    Which of the following gets executed automatically when an object exit from the scope?

  • 4)

    In Python, a class is defined by using the _______ class.

  • 5)

    Constructor must begin and with double _________

12th Standard English Medium Computer Science Subject Python Classes and Objects Creative 1 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Which of the following called as instances of a class or class variable?

  • 2)

    Write the output for the following
    class test
    x, y = 10,5
    s=test ()
    print (s. x + s. y)

  • 3)

    Which of the following is sed to initialize the class variables?

  • 4)

    Class variable and methods are together known as _______ of the class

  • 5)

    In Python, ____________ method is used as destructor.

12th Standard English Medium Computer Science Subject Lists, Tuples, Sets and Dictionary Creative 5 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    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.

  • 2)

    Explain the detail about some important list function with an example.
    (i) copy ()
    (ii) count ()
    (iii) index ()
    (iv) reverse ()

  • 3)

    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.

  • 4)

    Write a program that has a list of positive and negative numbers. Create a new tuple that has only positive numbers from the list.

  • 5)

    Write a program that generate a set of prime numbers and another set of even numbers. Demonstrate the result of union. intersection. difference and symmetric difference operations.

12th Standard English Medium Computer Science Subject Lists, Tuples, Sets and Dictionary Creative 5 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

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

  • 2)

    Explain remove (), pop () and clear () used in list with an example.

  • 3)

    Write a python program to read marks of six subjects and to print the marks scored in each subject and show the total marks.

  • 4)

    Write a program using a function that returns the area and circumference of a circle whose radius is passed as an argument. Two values using tuple assignment.

  • 5)

    Write a program that has a list of positive and negative numbers. Create a new tuple that has only negative numbers from the list.

12th Standard English Medium Computer Science Subject Lists, Tuples, Sets and Dictionary Creative 3 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    How will you change the list elements in Python? Give an example.

  • 2)

    Explain the concept of list comprehension with an example programs.

  • 3)

    Explain with an example how will you create a tuple with a single element.

  • 4)

    How will delete an entire tuple? Give an example.

  • 5)

    Write a note on the following function used in list.

12th Standard English Medium Computer Science Subject Lists, Tuples, Sets and Dictionary Creative 3 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Read the following program and write the output according to the print statement mentioned
    list = ['T', 'H', 'N', 'M']
    del list [1]
    (i) print (list)
    del list [1:3]
    (ii) print (list)
    del list
    (iii) print (list)

  • 2)

    Read the following and write the output given by the print function mentione(d)
    list = [12, 89, 34, 79, 80]
    (I) print (list. remove (34))
    (Ii) print (list. pop (1))
    (iii) print (list. clear ())

  • 3)

    Write the output for the following.
    list = [36, 12, 12]
    (I) print (list. count (12))
    (ii) print (list. index (12))
    (iii) print (list. reverse ())

  • 4)

    Differentiate list and tuple.

  • 5)

    How will create a set in python? Give an example.

12th Standard English Medium Computer Science Subject Lists, Tuples, Sets and Dictionary Creative 2 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    What is nested list? Give example.

  • 2)

    State the working of pop () and clear () function.

  • 3)

    What is output for the following code?
    list = ['T', 'L', 'A', 'S', 'L']
    list.sort (reverse = false)
    print (list)

  • 4)

    How will you create a set using list or tuple? Give an example.

  • 5)

    Write a short note on dictionary.

12th Standard English Medium Computer Science Subject Lists, Tuples, Sets and Dictionary Creative 2 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Write a program to display element in a list ("Physics' ,"Chemistry", "Biology") using loop to get the output
    Physics
    Chemistry
    Biology

  • 2)

    Write a syntax that shows the lists are mutable.

  • 3)

    Differentiate append () and extend () function.

  • 4)

    Write the syntax of append () and extend () function.

  • 5)

    Write the syntax of defining tuple.

12th Standard English Medium Computer Science Subject Lists, Tuples, Sets and Dictionary Creative 1 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Which of the following is an ordered collection of values?

  • 2)

    Which function is used to set the upper limit in a loop to read all elements of a list?

  • 3)

    Which of the following function used to include multiple element in the list?

  • 4)

    How many argument used in the range function?

  • 5)

    Which of the following argument is optional U- in sort ()?

12th Standard English Medium Computer Science Subject Lists, Tuples, Sets and Dictionary Creative 1 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Which of the following is not datatype in Python?

  • 2)

    How many times the following loop executes?
    li = [10,23,41,75]
    i=0
    while i > = -4;
    print (li [i])
    i+ = 1

  • 3)

    What is the output of the snippet?
    >>>Mylist = [34,45,48]
    >>>Mylist.append (90)
    >>>print(Mylist)

  • 4)

    Which of the following function used to delete one or more elements in the list where the index value is not known

  • 5)

    While creating a tuple from a list, the element should be enclosed with in

12th Standard English Medium Computer Science Subject Strings and String Manipulations Creative 3 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Write the syntax and example of using string characters.

  • 2)

    Write the description for the following escape sequence.
    (i) \r
    (ii) \000
    (iii) \v

  • 3)

    Write the output of the following statements.
    strl = 'mammals'
    (i) std. find ('ma')
    (ii) std. find ('ma', 2)
    (iii) std. find ('ma', 2, 4)
    (iv) std. find ('ma', 2, 5)

  • 4)

    Write the output for the following statement.
    (i) print ("PYTHON" . lower ())
    (ii) print ("PYTHON" . islower ())
    (iii) print ("PYTHON" . isupper ())
    (iv) print ("PYTHON" . upper ())

  • 5)

    Write the out put for the following statement.
    strl = "Raja Raja Chozhan"
    (i) print (strl. count ('Raja'))
    (ii) print (strl. count ('R'))
    (iii) print (strl. count ('A'))
    (iv) print (strl. count ('a'))
    (v) print (strl. count ('a', 0, 5))
    (vi) print (strl. count ('a', 11))

12th Standard English Medium Computer Science Subject Strings and String Manipulations Creative 3 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Write a program to accept a string and print it in reverse order.

  • 2)

    Write the usage of the following format string characters.
    (i) % c
    (ii) % d (or) % i
    (iii) % s

  • 3)

    Write the output of the following statements.
    (i) print (len ("Corporation"))
    (ii) print ("school", Capitalize ())
    (iii) print ("Welcome" center (15, '*'))

  • 4)

    Write a note on
    (i) isalnum ()
    (ii) isalpha ()
    (iii) isdigit ()

  • 5)

    With an example program explain about membership operators?

12th Standard English Medium Computer Science Subject Strings and String Manipulations Creative 2 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Write a python a program to print your name 10 times.

  • 2)

    if strl = "Welcome to learn python", then write the output for the following.
    (i) print (strl [10 : 16])
    (ii) print (strl [10 : 16: 4])
    (iii) print (strl [10: 16: 2])
    (iv) print (strl [: : 3])

  • 3)

    What is the use of formatting operator?

  • 4)

    Write the output for the following statement.
    (i) print ("save earth".title ())
    (ii) print ("Save Earth".swapcase ())

  • 5)

    Differentiate upper () and is upper ().

12th Standard English Medium Computer Science Subject Strings and String Manipulations Creative 2 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    What it means "String in phython are immutable"?

  • 2)

    Write the output for the following if strl = "THIRIKKURAL"
    (i) print (strl [0])
    (ii) print (strl [0:5])
    (ill) print (strl [:5])
    (iv) Print (strl [6:])

  • 3)

    What has to be filled in the blank to get the following output
    (i) Welcome python
    (ii) Welcome to learn python From
    (a) print ("Welcome" ____ "Python") strl = "Welcome"
    (b) print (Strl ____ "to learn python")

  • 4)

    What is meant by stride?

  • 5)

    Write the output for the following statement
    strl = "Welcome to learn python"
    print (strl [: : - 2])

12th Standard English Medium Computer Science Subject Strings and String Manipulations Creative 1 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Which of the following allows creation of multiline strings

  • 2)

    When a string is define(d) Python allocate an ______ for its each character.

  • 3)

    _____ is a substring of a mainstring.

  • 4)

    The formatting operator ____ is used to replacing parts of strings with the data stored in variables.

  • 5)

    What is the output from the following statement?
    str1= "python"
    print (str1[: : - 2])

12th Standard English Medium Computer Science Subject Strings and String Manipulations Creative 1 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    String are enclosed with

  • 2)

    Which of the following operators are useful to do string manipulation?

  • 3)

    In python _____ are immutable.

  • 4)

    The _____ operator is used to display a string in multiple number of time.

  • 5)

    What is the output from the following statement?
    str1 = "welcome"
    print (str1[:: 3]

12th Standard English Medium Computer Science Subject Python Functions Creative 3 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Write a note on "Required arguments".

  • 2)

    How python takes a default value in the function call? Explain with an example.

  • 3)

    Write a note of return statement.

  • 4)

    Explain with an example how will you use global and local variables in the same code.

  • 5)

    Write a note on format () with an example.

12th Standard English Medium Computer Science Subject Python Functions Creative 3 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Write the advantages of user-defined functions.

  • 2)

    How will you invoke the function after, the parameters are recognized by their parameter names? Explain with an example.

  • 3)

    When the variable - length arguments are used? Explain with an example.

  • 4)

    Explain how will you use global and local variable with same name.

  • 5)

    Write a note on (i) min (), (ii) max (), (iii) sum ().

12th Standard English Medium Computer Science Subject Python Functions Creative 2 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    How the nested block are indented?

  • 2)

    Write the output for the following program.

  • 3)

    What are called tuples?

  • 4)

    Write a note on return statement syntax.

  • 5)

    Write the output for the following.
    (i) Print (ord ('a')
    (ii) Print (chr (65))
    (iii) Print (bin (15))
    (iv) Print (format (15,'b'))

12th Standard English Medium Computer Science Subject Python Functions Creative 2 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    What is meant by block in python?

  • 2)

    Write the output of the following program.

  • 3)

    Write the syntax for passing arguments to functions.

  • 4)

    What are arguments? What are the types?

  • 5)

    Write the output for the following program.

12th Standard English Medium Computer Science Subject Python Functions Creative 1 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Which of the following provides better modularity for your python application

  • 2)

    What will be the output if the return has no argument?

  • 3)

    How many types of arguments are used to call a function?

  • 4)

    Which of the following keyword is used to define anonymous function?

  • 5)

    How many number of return statement allowed in a function definition?

12th Standard English Medium Computer Science Subject Python Functions Creative 1 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Which of the following avoids repetition and makes high degree of code reusing?

  • 2)

    Which of the following are the values pass to the function parameters?

  • 3)

    Which of the following is not a type of arguments used to call a function?

  • 4)

    Which of the following functions is an example that supports variable-length arguments?

  • 5)

    Which function can take any number of arguments and must return one value in the form of an expression?

12th Standard English Medium Computer Science Subject Control Structures Creative 3 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Write a note on simple if statement with an example.

  • 2)

    Draw a flowchart that illustrates the working of while loop.

  • 3)

    Write a program in python that illustrate the use of 'in' and 'not in' if statement.

  • 4)

    Write the syntax of working of continue statement in for and while loop.

  • 5)

    What will be the range of values displayed by the following?

12th Standard English Medium Computer Science Subject Control Structures Creative 3 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    List the types of alternative or branching statement in python.

  • 2)

    Write a python program to print all numbers from 10 to 15 using while loop.

  • 3)

    What is the output of the following Python program?

  • 4)

    Draw a flowchart that illustrate how looping construct gets executed.

  • 5)

    Why we need to construct the pass statement?

12th Standard English Medium Computer Science Subject Control Structures Creative 2 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Write a program in python to check if the accepted number even or odd.
    a = int(input("Enter any number:"))
    if a%2==0:
    print (a, "is an even number")
    else:
    print (a, "is an odd number")

  • 2)

    What are the values taken by range ()?

  • 3)

    What is the use of Jump statements in python?

  • 4)

    What is the use of continue statement in python?

  • 5)

    What will the output the following
    for w in "school"?
    If w = = '0':
                  continue
    print (w)

12th Standard English Medium Computer Science Subject Control Structures Creative 2 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Draw a flow chart that defines the execution of if-else statement.

  • 2)

    What is the expression. or statement at? 1? and ?2? in the following program to get the output 2 4 6 8.
    for ?!? in range (2, ?2?, 2):
    print (i, end =")

  • 3)

    Write a python program to find the sum of odd numbers between. 10 and 20.

  • 4)

    What is meant by Nested loop structure?

  • 5)

    Write a note an pass statement.

12th Standard English Medium Computer Science Subject Control Structures Creative 1 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Find the odd man out

  • 2)

    How many types of alternative or branching statements does python provides?

  • 3)

    Which of the following statement is correct when the range will start the values from 1 and end at 29?

  • 4)

    Which of the following is not a jump statement in python?

  • 5)

    Python provides ______ types of looping constructs.

12th Standard English Medium Computer Science Subject Control Structures Creative 1 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Find the odd man out.

  • 2)

    Checking whether the given number is even or odd can be done using

  • 3)

    range (20), the range count from

  • 4)

    Write the output for the following program for I in range (1, 10, 2):
    Print (I, end =' ')

  • 5)

    How many keywords are there to achieve jump statements in python?

12th Standard English Medium Computer Science Subject Python - Variables and Operators Creative 3 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Write the function of the following
    (i) Ctrl + N
    (ii) Ctrl + S
    (iii) F5

  • 2)

    Write a Python programme to get the following output.
    Output:
    Enter Number 1: 50
    Enter Number 2: 50
    X = 50 Y = 50

  • 3)

    Write a short note on comment statement.

  • 4)

    How will you define program blocks in python?

  • 5)

    Identify the type of literals.
    (i) OX13B
    (ii) i+34j
    (iii) 12e05
    (iv) 0346

12th Standard English Medium Computer Science Subject Python - Variables and Operators Creative 3 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Differentiate two ways in which Python programs can be written.

  • 2)

    Write a Python program to get the following output.
    Output:
    Enter Number 1: 50
    Enter Number 2: 50
    The sum of 50 and 50 is 100

  • 3)

    Write a note on statement which are ignored by the Python interpreter.

  • 4)

    What are the rules followed while defining python identifier?

  • 5)

    How will you represent Octal, hexadecimal and long integer data?

12th Standard English Medium Computer Science Subject Python - Variables and Operators Creative 2 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    How the interactive mode of Python shell can be used as simple calculator?

  • 2)

    How will you know the python IDLE working in interactive mode?

  • 3)

    Why the following statement is incorrect? Give reason.

  • 4)

    What are the uses of logical operator? Name the operators.

  • 5)

    What are keywords?

12th Standard English Medium Computer Science Subject Python - Variables and Operators Creative 2 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    How many ways the Python shell can be used?

  • 2)

    How will you invoke python IDLE?

  • 3)

    What is the purpose of using Input-output functions?

  • 4)

    Write the Syntax of using print () in python.

  • 5)

    Assume the value of a = 100 and b = 75. Evaluate the following expression.
    (i) a==b
    (ii) a!=b
    (iii) a//b
    (iv) a>=b

12th Standard English Medium Computer Science Subject Python - Variables and Operators Creative 1 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Which of the following mode allows to write codes in Python command prompt?

  • 2)

    Which mode displays the python code result immediately?

  • 3)

    Which of the following function in Python is used to convert strings data as integer data explicitly?

  • 4)

    Which of the following operator checks the relationship between two operands?

  • 5)

    The multipleline string literal given in

12th Standard English Medium Computer Science Subject Python - Variables and Operators Creative 1 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    IDLE expansion is

  • 2)

    Which of the following used to develop and run Python code?

  • 3)

    Which of the following indicates in Python that interpreter is ready to accept instructions?

  • 4)

    Multiline comments in Python enclosed with

  • 5)

    In Python the delimiters are not used in

12th Standard English Medium Computer Science Subject Algorithmic Strategies Creative 5 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    Explain complexity of an algorithm.

  • 2)

    Define efficiency of an algorithm? How the efficiency of an algorithm was determined?

  • 3)

    Differentiate Algorithm and program

  • 4)

    Explain the selection sort Algorithm with an example.

  • 5)

    Explain the sorting algorithm that uses n-1 number passes to get the final sorted list.

12th Standard English Medium Computer Science Subject Algorithmic Strategies Creative 3 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Write a note on time/space trade off

  • 2)

    Write the different factors in which the time efficiency of an algorithm its measured

  • 3)

    Write a pseudo code for Binary search

  • 4)

    Write a pseudo code for selection sort Algorithm.

  • 5)

    What is dynamic programming? What are the steps involved in dynamic programming?

12th Standard English Medium Computer Science Subject Algorithmic Strategies Creative 3 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Design an algorithm to find square of the given number and display the result.

  • 2)

    Write a note on two factors in which space required by an algorithm is decided.

  • 3)

    Write a pseudo code for linear search

  • 4)

    Write a pseudo code for bubble sort algorithm

  • 5)

    Write a pseudo code for Insertion sort.

12th Standard English Medium Computer Science Subject Algorithmic Strategies Creative 2 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    What in algorithmic strategy? Give an example.

  • 2)

    How the efficiency of an algorithm is defined?

  • 3)

    What is algorithm analysis?

  • 4)

    Name the two factors, which decide the efficiency of an algorithm.

  • 5)

    Define algorithmetic strategy?

12th Standard English Medium Computer Science Subject Algorithmic Strategies Creative 2 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    What is algorithmic solution?

  • 2)

    What does analysis of an algorithm deals with?

  • 3)

    How the analysis of algorithms and performance evaluation can be divided?Explain.

  • 4)

    What is best algorithm?

  • 5)

    What are the three asymptotic notations used to represent time complexity of algorithms?

12th Standard English Medium Computer Science Subject Algorithmic Strategies Creative 1 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Which of the following are the characteristics of an algorithm?
    (i) Definiteness
    (ii) Correctness
    (iii) Effectiveness

  • 2)

    Which characteristics of an algorithm should be generic, independent of any programming language?

  • 3)

    The number of steps taken by the algorithm to complete the process is known as

  • 4)

    The amount of memory required to run an algorithm completion is known by

  • 5)

    Which of the following is not a factor use a to measure the time efficiency of an algorithm?

12th Standard English Medium Computer Science Subject Algorithmic Strategies Creative 1 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Which of the following are the characteristics of an algorithm?
    (i) Definiteness
    (ii) Correctness
    (iii) Effectiveness

  • 2)

    The way of defining an algorithm is called

  • 3)

    The number of steps taken by the algorithm to complete the process is known as

  • 4)

    Which of the following is not a factor use a to measure the time efficiency of an algorithm?

  • 5)

    Which of the following algorithm finds the position of a search element within a sorted array?

12th Standard English Medium Computer Science Subject Scoping Creative 3 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    How the changes inside the function can't affect the variable on the outside of the function in unexpected ways?

  • 2)

    Write a note on built-in scope.

  • 3)

    Write a note on module.

  • 4)

    Write a note on access modifiers of a class.

  • 5)

    Write a short note on types of variable scope.

12th Standard English Medium Computer Science Subject Scoping Creative 2 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    What is the use of LEGB rule?

  • 2)

    Write the output of the following program
    Entire Program
     Disp():
     a:=7
     print a
    Disp ()

  • 3)

    Write the output of the following program
     Disp()
      a:=10
     Disp 1():
             print a
     Disp 1():
     print a
    Disp()
     

  • 4)

    What is modular programming?

  • 5)

    What is meant by module?

12th Standard English Medium Computer Science Subject Scoping Creative 1 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    How many variables can be mapped to the same instance?

  • 2)

    Choose the type of scope for a variable '9! defined in the following program.
    Disp ( ):
    a:=7
    Print a
    Disp ( )

  • 3)

    The example of modules are

  • 4)

    The arrangement of private instance variables and public methods ensure the principle of

  • 5)

    The inner function can access the variable of the outer function. This is called________scope.

12th Standard English Medium Computer Science Subject Scoping Creative 1 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Which of the following refers to the addresses to an object in memory?

  • 2)

    Write the below interns of hierarchy (highest to lowest)?
    (1) Reversed names in built in functions
    (2) Defined inside function
    (3) Defined inside enclosing function
    (4) Defined at the uppermost level

  • 3)

    Which of the following is not a variable scope?

  • 4)

    What is the output of the statement in the following program?
    X:=10
    Disp ( ):
    a:=7
    print a
    Disp ( ) :
    Print a

  • 5)

    Which of the following keywords are not used to control the access to class members?

12th Standard English Medium Computer Science Subject Data Abstraction Creative 2 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Write the pseudo code for the representation of the rational number using constructor & selector.

  • 2)

    Write a note on pair datatype

  • 3)

    Write a pseudocode to depressant rational numbers using list.

  • 4)

    How a class defines a data abstraction?

  • 5)

    How the elements of a list can be accessed?

12th Standard English Medium Computer Science Subject Data Abstraction Creative 2 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Give an example of implementing an ADT

  • 2)

    Identify which is the constructor and selector from the following statement.
    (i) The Functions that retrieve information from the datatype.
    (ii)The function which creates an object.

  • 3)

    How the concrete level of data abstraction implemented?

  • 4)

    Write a pseudocode to depressant rational numbers using list.

  • 5)

    From the statement P1 : = Preson(), What does P1 and person referred.

12th Standard English Medium Computer Science Subject Data Abstraction Creative 1 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Which of the following is a powerful concept that allows programmers to treat codes as objects?

  • 2)

    ADT expansion is

  • 3)

    To facilitate data abstraction, How many types of functions are created?

  • 4)

    Which of the following are functions that build the abstract datatypet?

  • 5)

    How many ways are there to represent pair datatypet?

12th Standard English Medium Computer Science Subject Data Abstraction Creative 1 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Which of the following provides modularity?

  • 2)

    How many ways to implement an ADT?

  • 3)

    Which of the following replicate how we think about the world?

  • 4)

    Which of the following extract the information of the object?

  • 5)

    List can also be called as

12th Standard English Medium Computer Science Subject Function Creative 2 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    Give an example of function definition parameter without type.

  • 2)

    Give an example of function definition parameter with type.

  • 3)

    What is recursive function?

  • 4)

    Give an example of impure function.

  • 5)

    Construct on algorithm that arranges meetings between these two types so that they change their color to the third type. In the end, all should display the same color.

12th Standard English Medium Computer Science Subject Function Creative 1 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    In which type of function the return type is solely depends on its argument passed?

  • 2)

    Subroutines are called as________

  • 3)

    A_________ combines the external interface with an implementation of the interface

  • 4)

    In object oriented programs, how the object is processed and executed is__________

  • 5)

    Evaluation of__________ functions does not cause any side effects to its output?

12th Standard English Medium Computer Science Subject Function Creative 1 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    What must the used when a bulk of statements to be repeated for many number of times?

  • 2)

    Which of the following is an example of impure function?

  • 3)

    In which type of function the return type does not solely depends on its argument passed?

  • 4)

    In object oriented programs__________ are the interface

  • 5)

    Strlen is an example________function.

12th Standard English Medium Computer Science Subject Book Back 5 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Identify in the following program
    let rec gcd a b:=
               if b <> 0 then gcd b (a mod b)
               else return a:
    i) Name of the function
    ii) Identify the statement which tells it is a recursive function
    iii) Name of the argument variable
    iv) Statement which invoke the function recursively
    v) Statement which terminates the recursion

  • 2)

    Explain the representation of Abstract datatype using rational numbers.

  • 3)

    Write any five benefits in using modular programming.

  • 4)

    What is Binary search? Discuss with example

  • 5)

    Explain the concept of Dynamic programming with suitable example.

12th Standard English Medium Computer Science Subject Book Back 5 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Identify in the following program
    let rec gcd a b:=
               if b <> 0 then gcd b (a mod b)
               else return a:
    i) Name of the function
    ii) Identify the statement which tells it is a recursive function
    iii) Name of the argument variable
    iv) Statement which invoke the function recursively
    v) Statement which terminates the recursion

  • 2)

    What is Binary search? Discuss with example

  • 3)

    Explain the Bubble sort algorithm with example.

  • 4)

    Explain input() and print() functions with examples.

  • 5)

    Write a detail note on if..else..elif statement with suitable example.

12th Standard English Medium Computer Science Subject Book Back 3 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    What are the factors that influence time and space complexity.

  • 2)

    Write a note on Asymptotic notation.

  • 3)

    Write a program to display
    A
    A B
    A B C
    A B C D
    A B C D E

  • 4)

    Write the basic rules for global keyword in python.

  • 5)

    Write a Python code to check whether a given year is leap year or not.

12th Standard English Medium Computer Science Subject Book Back 3 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Why strlen is called pure function?

  • 2)

     What is the side effect of impure function. Give example.

  • 3)

    Define Global scope with an example.

  • 4)

    Define Enclosed scope with an example.

  • 5)

    What are the factors that influence time and space complexity.

12th Standard English Medium Computer Science Subject Book Back 2 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Define Function with respect to Programming language.

  • 2)

    Write the inference you get from X : = (78).

  • 3)

    Why scope should be used for variable. State the reason.

  • 4)

    What is Mapping?

  • 5)

    What do you mean by Namespaces?

12th Standard English Medium Computer Science Subject Book Back 2 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Write the inference you get from X : = (78).

  • 2)

    Differentiate interface and implementation.

  • 3)

    What is Mapping?

  • 4)

    What do you mean by Namespaces?

  • 5)

    What is Sorting?

12th Standard English Medium Computer Science Subject Book Back 1 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    The functions which will give exact result when same arguments are passed are called

  • 2)

    The functions which cause side effects to the arguments passed are called

  • 3)

    A sequence of immutable objects is called

  • 4)

    Which of the following allow to name the various parts of a multi-item object?

  • 5)

    Which of the following refers to the visibility of variablesin one part of a program to another part of the same program.

12th Standard English Medium Computer Science Subject Book Back 1 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Which of the following is a unit of code that is often defined within a greater code structure?

  • 2)

    Which of the following is a distinct syntactic block?

  • 3)

    Which of the following defines what an object can do?

  • 4)

    Which of the following carries out the instructions defined in the interface?

  • 5)

    Which of the following functions that retrieve information from the data type?

12th Standard English Medium Computer Science Subject Data Visualization -Line, Pie and Bar Chart ThroughSQL BookBack 2 Marks With Solution - by Question Bank Software View & Read

  • 1)

    Define: Data Visualization.

  • 2)

    List the general types of data visualization.

  • 3)

    List the types of Visualizations in Matplotlib.

  • 4)

    How will you install Matplotlib?

  • 5)

    Write the difference between the following functions: plt.plot([1,2,3,4]), plt.plot([1,2,3,4], [1,4,9,16]).

12th Standard English Medium Computer Science Subject Data Visualization -Line, Pie and Bar Chart ThroughSQL BookBack 1 Marks With Solution Part - II - by Question Bank Software View & Read

  • 1)

    Observe the output figure. Identify the coding for obtaining this output.

  • 2)

    Read the code:
    a. import matplotlib.pyplot as plt
    b. plt.plot(3,2)
    c. plt.show()
    Identify the output for the above coding

  • 3)

    Which key is used to run the module?

  • 4)

    Identify the right type of chart using the following hints.
    Hint 1: This chart is often used to visualize a trend in data over intervals of time.
    Hint 2: The line in this type of chart is often drawn chronologically.

  • 5)

    Read the statements given below. Identify the right option from the following for pie chart.
    Statement A: To make a pie chart with Matplotlib, we can use the plt.pie() function.
    Statement B: The autopct parameter allows us to display the percentage value using the Python string formatting.

12th Standard English Medium Computer Science Subject Data Visualization -Line, Pie and Bar Chart ThroughSQL BookBack 1 Marks With Solution Part - I - by Question Bank Software View & Read

  • 1)

    Which is a python package used for 2D graphics?

  • 2)

    Identify the package manager for Python packages, or modules.

  • 3)

    Read the following code: Identify the purpose of this code and choose the right option from the following.
    C:\Users\YourName\AppData\Local\Programs\Python\Python36-32\Scripts>pip –version

  • 4)

    Read the following code: Identify the purpose of this code and choose the right option from the following.
    C:\Users\Your Name\AppData\Local\Programs\Python\Python36-32\Scripts>pip list

  • 5)

    To install matplotlib, the following function will be typed in your command prompt. What does “-U”represents?
    Python –m pip install –U pip

12th Standard English Medium Computer Science Subject Data Manipulation Through SQL Book Back 5 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    Write in brief about SQLite and the steps used to use it.

  • 2)

    Write the Python script to display all the records of the following table using fetchmany()

    Icode ItemName Rate
    1003 Scanner 10500
    1004 Speaker 3000
    1005 Printer 8000
    1008 Monitor 15000
    1010 Mouse 700
  • 3)

    hat is the use of HAVING clause. Give an example python script

  • 4)

    Write a Python script to create a table called ITEM with following specification.
    Add one record to the table.
    Name of the database :- ABC
    Name of the table :- Item
    Column name and specification :-

    I code :- Integer and act as primary key
    Item Name :- Character with length 25
    Rate :- Integer
    Record to be added :- 1008, Monitor, 15000
  • 5)

    Consider the following table Supplier and item .Write a python script for (i) to (ii)

    SUPPLIER
    Suppno Name City Icode SuppQty
    S001 Prasad Delhi 1008 100
    S002 Anu Bangalore 1010 200
    S003 Shahid Bangalore 1008 175
    S004 Akila Hydrabad 1005 195
    S005 Girish Hydrabad 1003 25
    S006 Shylaja Chennai 1008 180
    S007 Lavanya Mumbai 1005 325

    i) Display Name, City and Itemname of suppliers who do not reside in Delhi.
    ii) Increment the SuppQty of Akila by 40

12th Standard English Medium Computer Science Subject Data Manipulation Through SQL Book Back 3 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    Mention the users who uses the Database.

  • 2)

    Which method is used to connect a database? Give an example.

  • 3)

    What is the advantage of declaring a column as “INTEGER PRIMARY KEY”

  • 4)

    Write the command to populate record in a table. Give an example.

  • 5)

    Which method is used to fetch all rows from the database table?

12th Standard English Medium Computer Science Subject Data Manipulation Through SQL Book Back 2 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    What is SQLite?What is it advantage?

  • 2)

    Mention the difference between fetchone() and fetchmany()

  • 3)

    What is the use of Where Clause.Give a python statement Using the where clause.

  • 4)

    Read the following details. Based on that write a python script to display department wise records
    database name:- organization.db
    Table name:- Employee
    Columns in the table:- Eno, EmpName, Esal, Dept

  • 5)

    Read the following details.Based on that write a python script to display records in desending order of
    Eno
    database name :- organization.db
    Table name :- Employee
    Columns in the table :- Eno, EmpName, Esal, Dept

12th Standard English Medium Computer Science Subject Data Manipulation Through SQL Book Back 1 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Which of the following function retrieves the average of a selected column of rows in a table?

  • 2)

    The function that returns the largest value of the selected column is

  • 3)

    Which of the following is called the master table?

  • 4)

    The most commonly used statement in SQL is

  • 5)

    Which of the following clause avoide the duplicate?

12th Standard English Medium Computer Science Subject Data Manipulation Through SQL Book Back 1 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Which of the following is an organized collection of data?

  • 2)

    SQLite falls under which database system?

  • 3)

    Which of the following is a control structure used to traverse and fetch the records of the database?

  • 4)

    Any changes made in the values of the record should be saved by the command

  • 5)

    Which of the following executes the SQL command to perform some action?

12th Standard English Medium Computer Science Subject Importing C++ Programs in Python Book Back 5 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    Write any 5 features of Python.

  • 2)

    Explain each word of the following command.
    Python  < filename.py > - < i > <C++ filename without cpp extension>

  • 3)

    What is the purpose of sys, os, getopt module in Python.Explain.

  • 4)

    Write the syntax for getopt( ) and explain its arguments and return values.

  • 5)

    Write a Python program to execute the following c++ coding.
    #include <iostream>
    using namespace std;
    int main()
    { cout<<“WELCOME”;
    return(0);
    }
    The above C++ program is saved in a file welcome.cpp

12th Standard English Medium Computer Science Subject Importing C++ Programs in Python Book Back 3 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    Differentiate PYTHON and C++.

  • 2)

    What are the applications of scripting language?

  • 3)

    What is MinGW? What is its use?

  • 4)

    Identify the module, operator, definition name for the following
    welcome.display().

  • 5)

    What is sys.argv? What does it contain?

12th Standard English Medium Computer Science Subject Importing C++ Programs in Python Book Back 2 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    What is the theoretical difference between Scripting language and other programming language?

  • 2)

    Differentiate compiler and interpreter.

  • 3)

    Write the expansion of (i) SWIG (ii) MinGW

  • 4)

    What is the use of modules?

  • 5)

    What is the use of cd command. Give an example.

12th Standard English Medium Computer Science Subject Importing C++ Programs in Python Book Back 1 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    The module which allows you to interface with the Windows operating system is

  • 2)

    getopt() will return an empty array if there is no error in splitting strings to

  • 3)

    Identify the function call statement in the following snippet.
    if __name__ =='__main__':
    main(sys.argv[1:])

  • 4)

    Which of the following can be used for processing text, numbers, images, and scientific data?

  • 5)

    What does __name__ contains?

12th Standard English Medium Computer Science Subject Importing C++ Programs in Python Book Back 1 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Which of the following is not a scripting language?

  • 2)

    Importing C++ program in a Python program is called

  • 3)

    The expansion of API is

  • 4)

    A framework for interfacing Python and C++ is

  • 5)

    Which of the following is a software design technique to split your code into separate parts?

12th Standard English Medium Computer Science Subject Python and CSV Files Book Back 5 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    Differentiate Excel file and CSV file.

  • 2)

    Tabulate the different mode with its meaning.

  • 3)

    Write the different methods to read a File in Python.

  • 4)

    Write a Python program to write a CSV File with custom quotes.

  • 5)

    Write the rules to be followed to format the data in a CSV file.

12th Standard English Medium Computer Science Subject Python and CSV Files Book Back 3 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    Write a note on open() function of python. What is the difference between the two methods?

  • 2)

    Write a Python program to modify an existing file.

  • 3)

    Write a Python program to read a CSV file with default delimiter comma (,).

  • 4)

    What is the difference between the write mode and append mode.

  • 5)

    What is the difference between reader() and DictReader() function?

12th Standard English Medium Computer Science Subject Python and CSV Files Book Back 2 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    What is CSV File?

  • 2)

    Mention the two ways to read a CSV file using Python.

  • 3)

    Mention the default modes of the File.

  • 4)

    What is use of next() function?

  • 5)

    How will you sort more than one column from a csv file?Give an example statement.

12th Standard English Medium Computer Science Subject Python and CSV Files Book Back 1 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Which of the following is a string used to terminate lines produced by writer()method of csv module?

  • 2)

    What is the output of the following program? import csv
    d=csv.reader(open('c:\PYPRG\ch13\city.csv'))
    next(d)
    for row in d:
    print(row)
    if the file called “city.csv” contain the following details
    chennai,mylapore
    mumbai,andheri

  • 3)

    Which of the following creates an object which maps data to a dictionary?

  • 4)

    Making some changes in the data of the existing file or adding more data is called

  • 5)

    What will be written inside the file test.csv using the following program
    import csv
    D = [['Exam'],['Quarterly'],['Halfyearly']]
    csv.register_dialect('M',lineterminator = '\n')
    with open('c:\pyprg\ch13\line2.csv', 'w') as f:
    wr = csv.writer(f,dialect='M')
    wr.writerows(D)
    f.close()

12th Standard English Medium Computer Science Subject Python and CSV Files Book Back 1 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    A CSV file is also known as a ….

  • 2)

    The expansion of CRLF is

  • 3)

    Which of the following module is provided by Python to do several operations on the CSV files?

  • 4)

    Which of the following mode is used when dealing with non-text files like image or exe files?

  • 5)

    The command used to skip a row in a CSV file is

12th Standard English Medium Computer Science Subject Structured Query Language (SQL) Book Back 5 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    Write the different types of constraints and their functions.

  • 2)

    Consider the following employee table. Write SQL commands for the qtns.(i) to (v).

    EMP CODE NAME DESIG PAY ALLOWANCE
    S1001 Hariharan Supervisor 29000 12000
    P1002 Shaji Operator 10000 5500
    P1003 Prasad Operator 12000 6500
    C1004 Manjima Clerk 8000 4500
    M1005 Ratheesh Mechanic 20000 7000

    (i) To display the details of all employees in descending order of pay.
    (ii) To display all employees whose allowance is between 5000 and 7000.
    (iii) To remove the employees who are mechanic.
    (iv) To add a new row.
    (v) To display the details of all employees who are operators.

  • 3)

    What are the components of SQL? Write the commands in each.

  • 4)

    Construct the following SQL statements in the student table-
    (i) SELECT statement using GROUP BY clause.
    (ii) SELECT statement using ORDER BY clause.

  • 5)

    Write a SQL statement to create a table for employee having any five fields and create a table constraint for the employee table.

12th Standard English Medium Computer Science Subject Structured Query Language (SQL) Book Back 3 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    What is a constraint? Write short note on Primary key constraint.

  • 2)

    Write a SQL statement to modify the student table structure by adding a new field.

  • 3)

    Write any three DDL commands.

  • 4)

    Write the use of Savepoint command with an example.

  • 5)

    Write a SQL statement using DISTINCT keyword.

12th Standard English Medium Computer Science Subject Structured Query Language (SQL) Book Back 2 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    Write a query that selects all students whose age is less than 18 in order wise.

  • 2)

    Differentiate Unique and Primary Key constraint

  • 3)

    Write the difference between table constraint and column constraint?

  • 4)

    Which component of SQL lets insert values in tables and which lets to create a table?

  • 5)

    What is the difference between SQL and MYSQL?

12th Standard English Medium Computer Science Subject Structured Query Language (SQL) Book Back 1 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    Which commands provide definitions for creating table structure, deleting relations, and modifying relation schemas.

  • 2)

    Which command lets to change the structure of the table?

  • 3)

    The command to delete a table is

  • 4)

    Queries can be generated using

  • 5)

    The clause used to sort data in a database

12th Standard English Medium Computer Science Subject Database Concepts Book Back 5 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    Explain the different types of data model.

  • 2)

    Explain the different types of relationship mapping.

  • 3)

    Differentiate DBMS and RDBMS.

  • 4)

    Explain the different operators in Relational algebra with suitable examples.

  • 5)

    Explain the characteristics of DBMS.

12th Standard English Medium Computer Science Subject Database Concepts Book Back 3 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    What is the difference between Select and Project command?

  • 2)

    What is the role of DBA?

  • 3)

    Explain Cartesian Product with a suitable example.

  • 4)

    Explain Object Model with example.

  • 5)

    Write a note on different types of DBMS users.

12th Standard English Medium Computer Science Subject Database Concepts Book Back 2 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    Mention few examples of a database.

  • 2)

    List some examples of RDBMS.

  • 3)

    What is data consistency?

  • 4)

    What is the difference between Hierarchical and Network data model?

  • 5)

    What is normalization?

12th Standard English Medium Computer Science Subject Database Concepts Book Back 1 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Who is called Father of Relational Database from the following?

  • 2)

    Which of the following is an RDBMS?

  • 3)

    What symbol is used for SELECT statement?

  • 4)

    A tuple is also known as

  • 5)

    Who developed ER model?

12th Standard English Medium Computer Science Subject Database Concepts Book Back 1 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    What is the acronym of DBMS?

  • 2)

    A table is known as

  • 3)

    Which database model represents parent-child relationship?

  • 4)

    Relational database model was first proposed by

  • 5)

    What type of relationship does hierarchical model represents?

12th Standard English Medium Computer Science Subject Python Classes and Objects Book Back 3 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    What are class members? How do you define it?

  • 2)

    Write a class with two private class variables and print the sum using a method.

  • 3)

    Find the error in the following program to get the given output?
    class Fruits:
    def __init__(self, f1, f2):
    self.f1 = f1
    self.f2 = f2
    def display(self):
    print("Fruit 1 = %s, Fruit 2 = %s" %(self.f1, self.f2))
    F = Fruits ('Apple', 'Mango')
    del F.display
    F.display()

  • 4)

    What is the output of the following program?
    class Greeting:
    def __init__(self, name):
    self.__name = name
    def display(self):
    print("Good Morning ", self.__name)
    obj=Greeting ('Bindu Madhavan')
    obj.display()

  • 5)

    How to define constructor and destructor in Python?

12th Standard English Medium Computer Science Subject Python Classes and Objects Book Back 2 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    What is class?

  • 2)

    What is instantiation?

  • 3)

    What is the output of the following program?
    Class Sample:
    __num=10
    def disp(self):
    print(self.__num)
    S=Sample()
    S.disp()
    print(S.__num)

  • 4)

    How will you create constructor in Python?

  • 5)

    What is the purpose of Destructor?

12th Standard English Medium Computer Science Subject Python Classes and Objects Book Back 1 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Which of the following method is used as destructor?

  • 2)

    Which of the following class declaration is correct?

  • 3)

    Which of the following is the output of the following program?
    class Student:
    def __init__(self, name):
    self.name=name
    print (self.name)
    S=Student(“Tamil”)

  • 4)

    Which of the following is the private class variable?

  • 5)

    The process of creating an object is called as:

12th Standard English Medium Computer Science Subject Python Classes and Objects Book Back 1 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Which of the following are the key features of an Object Oriented Programming language?

  • 2)

    Functions defined inside a class:

  • 3)

    Class members are accessed through which operator?

  • 4)

    Which of the following method is automatically executed when an object is created?

  • 5)

    A private class variable is prefixed with

12th Standard English Medium Computer Science Subject Lists, Tuples, Sets and Dictionary Book Back 3 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    What are the advantages of Tuples over a list?

  • 2)

    Write a shot note about sort( ).

  • 3)

    Explain the difference between del and clear( ) in dictionary with an example.

  • 4)

    List out the set operations supported by python.

  • 5)

    What are the difference between List and Dictionary?

12th Standard English Medium Computer Science Subject Lists, Tuples, Sets and Dictionary Book Back 2 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    What is List in Python?

  • 2)

    How will you access the list elements in reverse order?

  • 3)

    What will be the value of x in following python code?
    List 1 = [2, 4, 6[1, 3, 5]]
    x = len (List 1)

  • 4)

    Differentiate del with remove( ) function of List.

  • 5)

    Write the syntax of creating a Tuple with n number of elements.

12th Standard English Medium Computer Science Subject Lists, Tuples, Sets and Dictionary Book Back 1 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    What is the use of type() function in python?

  • 2)

    Which of the following statement is not correct?

  • 3)

    Let setA={3,6,9}, setB={1,3,9}. What will be the result of the following snippet?
    print(setA|setB)

  • 4)

    Which of the following set operation includes all the elements that are in two sets but not the one that are common to two sets?

  • 5)

    The keys in Python, dictionary is specified by

12th Standard English Medium Computer Science Subject Lists, Tuples, Sets and Dictionary Book Back 1 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Pick odd one in connection with collection data type

  • 2)

    Let list1=[2,4,6,8,10], then print(List1[-2]) will result in

  • 3)

    If List=[10,20,30,40,50] then List[2]=35 will result

  • 4)

    If List=[17,23,41,10] then List.append(32) will result

  • 5)

    Which of the following Python function can be used to add more than one element within an existing list?

12th Standard English Medium Computer Science Subject Strings and String Manipulations Book Back 3 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    Write a Python program to display the given pattern
    C O M P U T E R
    C O M P U T E
    C O M P U T
    C O M P U
    C O M P
    C O M
    C O
    C

  • 2)

    Write a short about the followings with suitable example:
    (a) capitalize( )
    (b) swapcase( )

  • 3)

    What will be the output of the given python program?
    str1 = "welcome"
    str2 = "to school"
    str3 = str1[:2] + str2[len(str2)-2:]
    print (str3)

  • 4)

    What is the use of format( )? Give an example.

  • 5)

    Write a note about count( ) function in python.

12th Standard English Medium Computer Science Subject Strings and String Manipulations Book Back 2 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    What is String?

  • 2)

    Do you modify a string in Python?

  • 3)

    How will you delete a string in Python?

  • 4)

    What will be the output of the following python code?
    str1 = “School”
    print(str1*3)

  • 5)

    What is slicing?

12th Standard English Medium Computer Science Subject Strings and String Manipulations Book Back 1 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Which of the following is the slicing operator?

  • 2)

    What is stride?

  • 3)

    Which of the following formatting character is used to print exponential notation in upper case?

  • 4)

    Which of the following is used as placeholders or replacement fields which get replaced along with format( ) function?

  • 5)

    The subscript of a string may be:

12th Standard English Medium Computer Science Subject Strings and String Manipulations Book Back 1 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Which of the following is the output of the following python code?
    str1="TamilNadu"
    print(str1[::-1])

  • 2)

    What will be the output of the following code?
    str1 = "Chennai Schools"
    str1[7] = "-"

  • 3)

    Which of the following operator is used for concatenation?

  • 4)

    Defining strings within triple quotes allows creating:

  • 5)

    Strings in python:

12th Standard English Medium Computer Science Subject Python Functions Book Back 5 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    Explain the different types of function with an example.

  • 2)

    Explain the scope of variables with an example.

  • 3)

    Explain the following built-in functions.
    (a) id ()
    (b) chr ()
    (c) round ()
    (d) type ()
    (e) pow ()

  • 4)

    Write a Python code to find the L.C.M. of two numbers.

  • 5)

    Explain recursive function with an example.

12th Standard English Medium Computer Science Subject Python Functions Book Back 3 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    Write the basic rules for global keyword in python.

  • 2)

    What happens when we modify global variable inside the function?

  • 3)

    Differentiate ceil() and floor() function?

  • 4)

    Write a Python code to check whether a given year is leap year or not.

  • 5)

    What is composition in functions?

12th Standard English Medium Computer Science Subject Python Functions Book Back 2 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    What is function?

  • 2)

    Write the different types of function.

  • 3)

    What are the main advantages of function?

  • 4)

    What is meant by scope of variable? Mention its types.

  • 5)

    Define global scope.

12th Standard English Medium Computer Science Subject Python Functions Book Back 1 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    While defining a function which of the following symbol is used.

  • 2)

    In which arguments the correct positional order is passed to a function?

  • 3)

    Read the following statement and choose the correct statement(s).
    (I) In Python, you don’t have to mention the specific data types while defining function.
    (II) Python keywords can be used as function name.

  • 4)

    Pick the correct one to execute the given statement successfully.
    if ____ : print(x, " is a leap year")

  • 5)

    Which of the following keyword is used to define the function testpython(): ?

12th Standard English Medium Computer Science Subject Python Functions Book Back 1 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    A named blocks of code that are designed to do one specific job is called as

  • 2)

    A Function which calls itself is called as

  • 3)

    Which of the following keyword is used to begin the function block?

  • 4)

    Which function is called anonymous un-named function

  • 5)

    Which of the following keyword is used to exit a function block?

12th Standard English Medium Computer Science Subject Control Structures Book Back 3 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    Write a program to display
    A
    A B
    A B C
    A B C D
    A B C D E

  • 2)

    Write note on if..else structure.

  • 3)

    Using if..else..elif statement write a suitable programs to display largest of 3 numbers.

  • 4)

    Write the syntax of while loop.

  • 5)

    List the differences between break and continue statements.

12th Standard English Medium Computer Science Subject Control Structures Book Back 2 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    List the control structures in Python.

  • 2)

    Write note on break statement.

  • 3)

    Write is the syntax of if..else statement.

  • 4)

    Define control structure.

  • 5)

    Write note on range () in loop.

12th Standard English Medium Computer Science Subject Control Structures Book Back 1 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Which is the most comfortable loop?

  • 2)

    What is the output of the following snippet?
    i=1
    while True:
    if i%3 ==0:
    break
    print(i,end='')
    i +=1

  • 3)

    What is the output of the following snippet?
    T=1
    while T:
    print(True)
    break

  • 4)

    Which amongst this is not a jump statement?

  • 5)

    Which punctuation should be used in the blank?
    if < condition > ____
           statements-block 1
    else:
            statements-block 2

12th Standard English Medium Computer Science Subject Control Structures Book Back 1 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    How many important control structures are there in Python?

  • 2)

    elif can be considered to be abbreviation of

  • 3)

    What plays a vital role in Python programming?

  • 4)

    Which statement is generally used as a placeholder?

  • 5)

    The condition in the if statement should be in the form of

12th Standard English Medium Computer Science Subject Python - Variables and Operators Book Back 3 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    Write short notes on Arithmetic operator with examples.

  • 2)

    What are the assignment operators that can be used in Python?

  • 3)

    Explain Ternary operator with examples.

  • 4)

    Write short notes on Escape sequences with examples.

  • 5)

    What are string literals? Explain.

12th Standard English Medium Computer Science Subject Python - Variables and Operators Book Back 2 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    What are the different modes that can be used to test Python Program?

  • 2)

    Write short notes on Tokens.

  • 3)

    What are the different operators that can be used in Python?

  • 4)

    What is a literal? Explain the types of literals?

  • 5)

    Write short notes on Exponent data?

12th Standard English Medium Computer Science Subject Python - Variables and Operators Book Back 1 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Which of the following is not a token?

  • 2)

    Which of the following is not a Keyword in Python?

  • 3)

    Which operator is also called as Comparative operator?

  • 4)

    Which of the following is not Logical operator?

  • 5)

    Which operator is also called as Conditional operator?

12th Standard English Medium Computer Science Subject Python - Variables and Operators Book Back 1 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Who developed Python?

  • 2)

    The Python prompt indicates that Interpreter is ready to accept instruction.

  • 3)

    Which of the following shortcut is used to create new Python Program?

  • 4)

    Which of the following character is used to give comments in Python Program?

  • 5)

    This symbol is used to print more than one item on a single line.

12th Standard English Medium Computer Science Subject Algorithmic Strategies Book Back 5 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    Explain the characteristics of an algorithm.

  • 2)

    Discuss about Linear search algorithm.

  • 3)

    What is Binary search? Discuss with example

  • 4)

    Explain the Bubble sort algorithm with example.

  • 5)

    Explain the concept of Dynamic programming with suitable example.

12th Standard English Medium Computer Science Subject Algorithmic Strategies Book Back 3 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    List the characteristics of an algorithm.

  • 2)

    Discuss about Algorithmic complexity and its types.

  • 3)

    What are the factors that influence time and space complexity.

  • 4)

    Write a note on Asymptotic notation.

  • 5)

    What do you understand by Dynamic programming?

12th Standard English Medium Computer Science Subject Algorithmic Strategies Book Back 2 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    What is an Algorithm?

  • 2)

    Define Pseudo code.

  • 3)

    Who is an Algorist?

  • 4)

    What is Sorting?

  • 5)

    What is searching? Write its types.

12th Standard English Medium Computer Science Subject Algorithmic Strategies Book Back 1 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Which of the following is not a stable sorting algorithm?

  • 2)

    Time complexity of bubble sort in best case is

  • 3)

    The Θ notation in asymptotic evaluation represents

  • 4)

    If a problem can be broken into subproblems which are reused several times, the problem possesses which property?

  • 5)

    In dynamic programming, the technique of storing the previously calculated values is called ?

12th Standard English Medium Computer Science Subject Algorithmic Strategies Book Back 1 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    The word comes from the name of a Persian mathematician Abu Ja’far Mohammed ibn-i Musa al Khowarizmi is called?

  • 2)

    From the following sorting algorithms which algorithm needs the minimum number of swaps?

  • 3)

    Two main measures for the efficiency of an algorithm are

  • 4)

    The complexity of linear search algorithm is

  • 5)

    From the following sorting algorithms which has the lowest worst case complexity?

12th Standard English Medium Computer Science Subject Scoping Book Back 3 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    Define Local scope with an example.

  • 2)

    Define Global scope with an example.

  • 3)

    Define Enclosed scope with an example.

  • 4)

    Why access control is required?

  • 5)

    Identify the scope of the variables in the following pseudo code and write its output
    color:= Red
    mycolor( ):
    b:=Blue
    myfavcolor( ):
    g:=Green
    printcolor, b, g
    myfavcolor( )
    printcolor, b
    mycolor( )
    print color

12th Standard English Medium Computer Science Subject Scoping Book Back 2 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    What is a scope?

  • 2)

    Why scope should be used for variable. State the reason.

  • 3)

    What is Mapping?

  • 4)

    What do you mean by Namespaces?

  • 5)

    How Python represents the private and protected Access specifiers?

12th Standard English Medium Computer Science Subject Scoping Book Back 1 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Which scope refers to variables defined in current function?

  • 2)

    Which of the following security technique that regulates who canuse resources in a computing environment?

  • 3)

    Which of the following members of a class can be handled only from within the class?

  • 4)

    Which members are accessible from outside the class?

  • 5)

    The members that are accessible from within the class and are also available to its sub classes is called

12th Standard English Medium Computer Science Subject Scoping Book Back 1 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Which of the following refers to the visibility of variablesin one part of a program to another part of the same program.

  • 2)

    The process of binding a variable name with an object is called

  • 3)

    Which of the following is used in programming languages to map the variable and object?

  • 4)

    Which scope refers to variables defined in current function?

  • 5)

    The process of subdividing a computer program into separate sub-programs is called

12th Standard English Medium Computer Science Subject Data Abstraction Book Back 3 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    Differentiate Concrete data type and abstract datatype.

  • 2)

    Which strategy is used for program designing? Define that Strategy.

  • 3)

    Identify Which of the following are constructors and selectors?
    (a) N1=number()
    (b) accetnum (n1)
    (c) display num (n1)
    (d) eval (a/b)
    (e) x,y= make slope (m), make slope (n)
    (f) display()

  • 4)

    What are the different ways to access the elements of a list. Give example.

  • 5)

    Identify Which of the following are List, Tuple and class ?
    (a) arr [1, 2, 34]
    (b) arr (1, 2, 34)
    (c) student [rno, name, mark]
    (d) day= (‘sun’, ‘mon’, ‘tue’, ‘wed’)
    (e) x= [2, 5, 6.5, [5, 6], 8.2]
    (f) employee [eno, ename, esal, eaddress]

12th Standard English Medium Computer Science Subject Data Abstraction Book Back 2 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    What is abstract data type?

  • 2)

    Differentiate constructors and selectors.

  • 3)

    What is a Pair? Give an example.

  • 4)

    What is a List? Give an example.

  • 5)

    What is a Tuple? Give an example.

12th Standard English Medium Computer Science Subject Data Abstraction Book Back 1 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    The data type whose representation is unknown are called

  • 2)

    Which of the following is a compound structure?

  • 3)

    Bundling two values together into one can be considered as

  • 4)

    Which of the following allow to name the various parts of a multi-item object?

  • 5)

    Which of the following is constructed by placing expressions within square brackets?

12th Standard English Medium Computer Science Subject Data Abstraction Book Back 1 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    Which of the following functions that build the abstract data type?

  • 2)

    Which of the following functions that retrieve information from the data type?

  • 3)

    The data structure which is a mutable ordered sequence of elements is called

  • 4)

    A sequence of immutable objects is called

  • 5)

    The data type whose representation is known are called

12th Standard English Medium Computer Science Subject Function Book Back 3 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    Mention the characteristics of Interface.

  • 2)

    Why strlen is called pure function?

  • 3)

     What is the side effect of impure function. Give example.

  • 4)

    Differentiate pure and impure function.

  • 5)

    Wha happens if you modify a variable outside the function? Give an example.

12th Standard English Medium Computer Science Subject Function Book Back 2 Mark Questions with Solution - by Question Bank Software View & Read

  • 1)

    What is a subroutine?

  • 2)

    Define Function with respect to Programming language.

  • 3)

    Write the inference you get from X : = (78).

  • 4)

    Differentiate interface and implementation.

  • 5)

    Which of the following is a normal function definition and which is recursive function definition
    i) let rec sum x y:
            return x + y
    ii) let disp:
           print ‘welcome’
    iii) let rec sum num:
             if (num!=0) then return num + sum (num-1)
             else
                     return num

12th Standard English Medium Computer Science Subject Function Book Back 1 Mark Questions with Solution Part - II - by Question Bank Software View & Read

  • 1)

    Which of the following are mandatory to write the type annotations in the function definition?

  • 2)

    Which of the following defines what an object can do?

  • 3)

    Which of the following carries out the instructions defined in the interface?

  • 4)

    The functions which will give exact result when same arguments are passed are called

  • 5)

    The functions which cause side effects to the arguments passed are called

12th Standard English Medium Computer Science Subject Function Book Back 1 Mark Questions with Solution Part - I - by Question Bank Software View & Read

  • 1)

    The small sections of code that are used to perform a particular task is called

  • 2)

    Which of the following is a unit of code that is often defined within a greater code structure?

  • 3)

    Which of the following is a distinct syntactic block?

  • 4)

    The variables in a function definition are called as

  • 5)

    The values which are passed to a function definition are called

Stateboard 12th Standard Computer Science Subject English Medium Public Answer Key- March 2020 - by QB Admin View & Read

Stateboard 12th Standard Computer Science Subject Public Question paper- March 2020 - by QB Admin View & Read

Stateboard 12th Standard Computer Science Subject Public Question paper- March 2019 - by QB Admin View & Read

Stateboard 12th Standard Computer Science Subject English Medium Public Answer Key - March 2019 - by QB Admin View & Read

12th Standard Computer Science Reduced Syllabus 2020-21 - by QB Admin View & Read

12th Standard Computer Science English Medium Function Important Questions - by Question Bank Software View & Read

  • 1)

    The small sections of code that are used to perform a particular task is called

  • 2)

    Which of the following is a unit of code that is often defined within a greater code structure?

  • 3)

    Which of the following is a distinct syntactic block?

  • 4)

    The variables in a function definition are called as

  • 5)

    The values which are passed to a function definition are called

12th Standard English Medium Computer Science Text Book - 2021 - by QB Admin View & Read