Xii CS Ii 50% CS Ot
Xii CS Ii 50% CS Ot
16. Which of the following is a string used to terminate lines produced by writer() method of csv
II 50% EXAM 2024-2025 module?
CLASS: XII [CS] ONE MARK MARKS: 60 (A) line terminator (B) enter key (C) form feed (D) data
SUBJECT:COMPUTER SCIENCE TIME:1 HRS terminator
I.CHOOSE THE CORRECT ANSWER. 60X1=60 17. What is the output of the following program? Import csv
D=csv.reader(open('c:\pyprg\ch13\city.csv'))
1. What is the acronym of dbms?
Next(D)
(A) database management symbol (B) database managing system
For row in d:
(C) database management system (D) databasic management system
Print(row)
2.A table is known as
If the file called “city.csv” contain the following details
(A) tuple (B) attribute (C) relation (D) entity
Chennai,mylapore
3. Which database model represents parent-child relationship?
Mumbai,andheri
(A) relational (B) network (C) hierarchical (D) object
(A) chennai,mylapore (B) mumbai,andheri
4. Relational database model was first proposed by
(C) chennai (D) chennai,mylapore,Mumba mumbai,andheri
(A) E F codd (B) E E codd (C)E F cadd (D) E F codder
18. Which of the following creates an object which maps data to a dictionary?
5. What type of relationship does hierarchical model represents?
(A) listreader() (B) reader() (C) tuplereader() (D) dictreader ()
(A) one-to-one (B) one-to-many (C) many-to-one (D) many-to-many
19. Making some changes in the data of the existing file or adding more data is called
6. Who is called father of relational database from the following?
(A)editing (B) appending (C)modification (D) alteration
(A) chris date (B) hugh darween (C) edgar frank codd (D) edgar frank cadd
20. Which of the following is not a scripting language?
7. Which of the following is an rdbms?
(A) javascript (B) php (C) perl (D) html
(A) dbase (B) foxpro (C) microsoft access (D) microsoft excel
21. Importing c++ program in a python program is called
8. What symbol is used for select statement?
(A) wrapping (B) downloading (C) interconnecting (D) parsing
(A) σ (B) π C) x (D) ω
22. The expansion of api is
9. A tuple is also known as
(A) application programming interpreter (B) application programming interface
(A) table (B) row (C) attribute (D) field
(C) application performing interface (D) application programming interlink
10.Who developed ER model?
23. A framework for interfacing python and c++ is
(A) chen (B) EF codd (C) chend (D) chand
(A) ctypes (B) swig (C) cython (D) boost
11. A csv file is also known as a ….
24. Which of the following is a software design technique to split your code into separate parts?
(A) flat file (B) 3d file (C) string file (D) random file
(A) object oriented programming (B) modular programming
12. The expansion of CRLF is
(C) low level programming (D) procedure oriented programming
(A) control return and line feed (B) carriage return and form feed
25. The module which allows you to interface with the windows operating system is
(C) control router and line feed (D) carriage return and line feed
(A) os module (B) sys module (C) csv module (D) getopt module
13. Which of the following module is provided by python to do several operations on the csv
26. Getopt() will return an empty array if there is no error in splitting strings to
files?
(A) argv variable (B) opt variable (C)args variable (D) ifile variable
(A) py (B) xls (C) csv (D) os
27. Identify the function call statement in the following snippet.
14. Which of the following mode is used when dealing with non-text files like image or exe files?
If __name__ =='__main__':
(A) text mode (B) binary mode (C) xls mode (D) csv mode
Main(sys.argv[1:])
15. The command used to skip a row in a csv file is
(A) main(sys.argv[1:]) (B) __name__ (C) __main__ (D) argv
(A) next() (B) skip() (C) omit() (D) bounce()
28. Which of the following can be used for processing text, numbers, images, and scientific data?
(A) html (B) c (C) c++ (D) python
29. What does __name__ contains ? 46. A column in database table is known as an :
(A) c++ filename (B) main() name (C) python filename (D) os module name (A) Attribute (B) Relation (C) Tuple (D) Data
30. Which of the following is an organized collection of data? 47.Which is the entire collection of related data in one table?
(A) database (B) dbms (C) information (D) records (A) tuple (B) attribute (C) table (D) software
31.Which of the following is a control structure used to traverse and fetch the records of the 48.The data model developed by IBM is
database? (A) Hierarchical (B) Relational (C) Network (D) ER
(A) pointer (B) key (C) cursor (D) insertion point 49.________command is used to remove a table from the database
32 Sqlite falls under which database system? (A) DELETE ALL (B) DROP TABLE (C) ALTER TABLE (D) DELETE
(A) flat file database system (B) relational database system 50.SQLite falls under which database
(C) hierarchical database system (D) object oriented database system (A)Hierarchical database system (B) Flat Database system
33. Any changes made in the values of the record should be saved by the command (C) Object oriented database system (D) Relational Database system
(A) save (B) save as (C) commit (D) oblige 51.Which is Data Control language command in SQL?
34. Which of the following executes the sql command to perform some action? (A) Alter (B) Grand (C) Truncate (D) Commit
(A) execute() (B) key() (C) cursor() (D) run() 52.What symbol is used for SELECT statement?
35. Which of the following function retrieves the average of a selected column of rows in a table? (A) σ (B) Π (C) X (D) Ω
(A) add() (B) sum() (C) avg() (D) average() 53.The module which allows interface with the windows operating system is:
36. The function that returns the largest value of the selected column is (A) csv module (B) OS module (C) getopt module (D) sys module
(A) max() (B) large() (C) high() (D) maximum() 54. The file extension of Excel.
37. Which of the following is called the master table?
(A) exl (B) xls (C) cel (D) Ecl
(A) sqlite_master (B) sql_master (C) main_master (D) master_main
38. The most commonly used statement in sql is 55.CSV is expanded as:
(A) cursor (B) select (C) execute (D) commit (A)Comma separated vales (C) Condition Separated values
39. Which of the following keyword avoid the duplicate? B)Comma Special values (D) Condition special values
(A) distinct (B) remove (C) where (D) groupby 56.The human readable text file where each line has a number of fields, separated by commas:
40. Which is a python package used for 2d charts? (A) txt files (B) py files (C) csv files (D) doc file
(A). Matplotlib.pyplot (B) Matplotlib.pip (C) Matplotlib.numpy (D) Matplotlib.plt 57.Which SQL function returns the number of rows in a table?
41. Identify the package manager for installing python packages, or modules. (A) SUM() (B) MAX() (C) CHECK() (D) COUNT
(A) Matplotlib (B) Pip (C) Plt.show() (D). Python package 58.Which method uses the SQL command to get all the data from the table?
42. Which of the following feature is used to represent data and information graphically? (A) get (B) select (C) execute (D) Query
(A) Data list (B) Data tuple 59.Which is not a SQL clause?
(C) Classes and objects (D) Data visualization (A) GROUP BY (B) ORDER BY (C) HAVING (D) CONDITION
43. .......... Is a collection of resources assembled to create a single unified visual display. 60.Which of the following clause avoid the duplicate?
(A) Interface (B) Dashboard (C) Objects (D) Graphics (A) Distinct (B) Remove (C) Where (D) Group By
44. Which of the following module should be imported to visualize data and information in
python?
(A) Csv (B) Getopt (C) Mysql (D) Matplotlib ************** ALL THE BEST***************
45. ............ Is a type of chart which displays information as a series of data points connected by
straight line segments.
(A) Csv (B) Pie chart (C) Bar chart (D) All the above