0% found this document useful (0 votes)
395 views4 pages

12th Computer Science Important Questions-1

The document contains a list of 39 questions related to computer science topics, including programming concepts, algorithms, database management, and Python functions. Each question requires detailed explanations or examples, covering a range of subjects from data abstraction to SQL commands. It serves as a study guide for 12th-grade computer science students at Inya Tuition Center in Cuddalore Port.

Uploaded by

Thenmozhi Honey
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
395 views4 pages

12th Computer Science Important Questions-1

The document contains a list of 39 questions related to computer science topics, including programming concepts, algorithms, database management, and Python functions. Each question requires detailed explanations or examples, covering a range of subjects from data abstraction to SQL commands. It serves as a study guide for 12th-grade computer science students at Inya Tuition Center in Cuddalore Port.

Uploaded by

Thenmozhi Honey
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

INYA TUITION CENTER

CUDDALORE PORT
12TH COMPUTER SCIENCE
LN - 1 TO LN - 16 5MARK QUESTIONS:

1. What are called Parameters and write a note on


(i) Parameter without Type (ii) Parameter with Type
2. 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
3.How will you facilitate data abstraction. Explain it with suitable
example
4. Explain the types of scopes for variable or LEGB rule with example.
5. Write any Five Characteristics of Modules.
6. Explain the characteristics of an algorithm.
7. Discuss about Linear search algorithm.
8. What is Binary search? Discuss with example.
9. Explain the Bubble sort algorithm with example.
10. Explain input() and print() functions with examples.
11. Discuss in detail about Tokens in Python
12.Write a detail note on for loop
13. Write a detail note on if..else..elif statement with suitable example.
14.xplain the different types of function with an example.
15. Explain the scope of variables with an example.
16. Explain the following built-in functions.
(a) id()
(b) chr()
(c) round()
(d) type()
(e) pow()
17.Explain recursive function with an example.
18.Explain about string operators in python with suitable example.
19.. What the different ways to insert an element in a list. Explain with
suitable example.
20. What is the purpose of range( )? Explain with an example.
21. What is nested tuple? Explain with an example.
22. Explain the different set operations supported by python with
suitable example.
23.Write a menu driven program to add or delete stationary items. You
should use dictionary
to store items and the brand.
24.Explain the different types of data model.
25.Differentiate DBMS and RDBMS.
26.Explain the characteristics of DBMS.
27. Write the different types of constraints and their functions.
28. Consider the following employee table. Write SQL commands for
the qtns.(i) to (v).
(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.
29.onstruct the following SQL statements in the student table-
(i) SELECT statement using GROUP BY clause.
(ii) SELECT statement using ORDER BY clause.
30.Differentiate Excel file and CSV file.
31.Write the different methods to read a File in Python.

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


33.Write any 5 features of Python.
34. Explain each word of the following command.
Python <filename.py> -<i> <C++ filename without cpp extension>
35.Write the syntax for getopt() and explain its arguments and return
values
36.Write in brief about SQLite and the steps used to use it.
37. Write the Python script to display all the records of the following
table using fetchmany()
38.Explain in detail the types of pyplots using Matplotlib.
39.Explain the purpose of the following functions:
a. plt.xlabel
b. plt.ylabel
c. plt.title
d. plt.legend()
e. plt.show()

You might also like