Q1
mcq
1 mark
__________ members are accessible from outside the class.
- A. Secured members
- B. Public members
- C. Private members
- D. Protected members
Solution hidden
Log in to view solution →
Q2
mcq
1 mark
Which of the following is not a keyword in Python ?
- A. continue
- B. break
- C. operator
- D. while
Solution hidden
Log in to view solution →
Q3
mcq
1 mark
The small sections of code that are used to perform a particular task is called :
- A. Pseudo code
- B. Subroutines
- C. Modules
- D. Files
Solution hidden
Log in to view solution →
Q4
mcq
1 mark
The number of important control structures in Python :
- A. 5
- B. 3
- C. 6
- D. 4
Solution hidden
Log in to view solution →
Q5
mcq
1 mark
Class members are accessed through ________ operator.
- A. #
- B. &
- C. %
- D. .
Solution hidden
Log in to view solution →
Q6
mcq
1 mark
The database Model which represents the Parent-Chil d relationship :
- A. Hierarchical
- B. Relational
- C. Object
- D. Network
Solution hidden
Log in to view solution →
Q7
mcq
1 mark
The operator which is used for concatenation ?
- A. *
- B. 1
- C. =
- D. &
Solution hidden
Log in to view solution →
Q8
mcq
1 mark
Importing C++ program in a Python program is called __________.
- A. Interconnecting
- B. Wrapping
- C. Parsing
- D. Downloading
Solution hidden
Log in to view solution →
Q9
mcq
1 mark
__________ command is used to remove a table from the d atabase.
- A. DELETE ALL
- B. DROP TABLE
- C. ALTER TABLE
- D. DELETE
Solution hidden
Log in to view solution →
Q10
mcq
1 mark
The function that returns the largest value of the selected column is :
- A. HIGH ( )
- B. MAX ( )
- C. MAXIMUM ( )
- D. LARGE ( )
Solution hidden
Log in to view solution →
Q11
mcq
1 mark
The datatype whose representation is known are called :
- A. Concrete datatype
- B. Built-in datatype
- C. Abstract datatype
- D. Derived datatype
Solution hidden
Log in to view solution →
Q12
mcq
1 mark
A Function which calls itself, is called as :
- A. Lambda
- B. Built-in
- C. Return statement
- D. Recursion
Solution hidden
Log in to view solution →
Q13
mcq
1 mark
The mode which is used when dealing with non-text files like image or exe files :
- A. xls mode
- B. Text mode
- C. csv mode
- D. Binary mode
Solution hidden
Log in to view solution →
Q14
mcq
1 mark
In dynamic programming, the technique of storing the previously calculated values is called :
- A. Memoization
- B. Saving value property
- C. Mapping
- D. Storing value property
Solution hidden
Log in to view solution →
Q15
mcq
1 mark
Let set A={3, 6, 9}, set B={1, 3, 9}. The result of the following snippet Print (set A ? set B)
- A. {1}
- B. {3, 6, 9, 1, 3, 9}
- C. {1, 3, 6, 9}
- D. {3, 9}
Solution hidden
Log in to view solution →
Q16
short answer
2 marks
What is a Tuple ? Give an example.
Solution hidden
Log in to view solution →
Q18
short answer
2 marks
How will you delete a string in Python ?
Solution hidden
Log in to view solution →
Q21
short answer
2 marks
What is Data Manipulation Language ?
Solution hidden
Log in to view solution →
Q22
short answer
2 marks
Mention the default modes of the File.
Solution hidden
Log in to view solution →
Q23
short answer
23. List the general types of data visualization.
Solution hidden
Log in to view solution →
Q24
short answer
24. What will be output of the following Python code ?
Squares=[x **2 for x in range(1,11)]
print (squares)
Solution hidden
Log in to view solution →
Q25
short answer
25. Mention the characteristics of Interface.
Solution hidden
Log in to view solution →
Q26
short answer
26. What do you understand by Dynamic Programming ?
Solution hidden
Log in to view solution →
Q27
short answer
27. Explain Ternary operator with an example.
Solution hidden
Log in to view solution →
Q29
short answer
29. Differentiate - ceil ( ) and floor ( ) function.
Solution hidden
Log in to view solution →
Q30
short answer
30. What is the difference between csv reader ( ) method and DictReader ( ) class ?
Solution hidden
Log in to view solution →
Q31
short answer
31. Differentiate fetchone ( ) and fetchmany ( ).
Solution hidden
Log in to view solution →
Q32
short answer
32. 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
Solution hidden
Log in to view solution →
Q33
long answer
33. Write about the steps of Python program executing C ++ program using control statement.
Solution hidden
Log in to view solution →
Q34
long answer
34.(a)What is a List ? Why List, can be called as pairs ? Explain with suitable example.
OR
(b)Discuss about linear search algorithm.
Solution hidden
Log in to view solution →
Q35
long answer
35.(a)Discuss in details about Token in Python.
OR
(b)Explain the following built-in function.
(i)id( ) (ii)chr( ) (iii)round( ) (iv)type( ) (v)pow( )
Solution hidden
Log in to view solution →
Q36
long answer
36.(a)What is Nested Tuple ? Explain with an example.
OR
(b)Explain the different types of relationship mapping.
Solution hidden
Log in to view solution →
Q37
long answer
37.(a)Write the syntax for getopt( ) and explain its arguments and return values.
OR
(b)Differentiate DBMS and RDBMS.
Solution hidden
Log in to view solution →
Q38
long answer
38.(a)Explain about differences between Histogram and Bar Graph.
OR
(b)Explain ‘continue’ statement with an example.
Solution hidden
Log in to view solution →