Q1
mcq
1 mark
Which of the following is used to describe the worst case of an algorithm ?
- A. Big W
- B. Big A
- C. Big O
- D. Big S
Solution hidden
Log in to view solution →
Q2
mcq
1 mark
The datatype whose representation is unknown are called as :
- A. Concrete datatype
- B. Built-in datatype
- C. Abstract datatype
- D. Derived datatype
Solution hidden
Log in to view solution →
Q3
mcq
1 mark
Which key is pressed to execute Python Script ?
- A. F1
- B. F5
- C. F3
- D. F2
Solution hidden
Log in to view solution →
Q4
mcq
1 mark
Which of the following defines what an object can do ?
- A. Interface
- B. Operating System
- C. Interpreter
- D. Compiler
Solution hidden
Log in to view solution →
Q5
mcq
1 mark
Which of the following security technique that regulates who can view or use resources in a computing environment ?
- A. Access control
- B. Password
- C. Certification
- D. Authentication
Solution hidden
Log in to view solution →
Q6
mcq
1 mark
Which of the following is the Slicing Operator ?
- A. < >
- B. { }
- C. ( )
- D. [ ]
Solution hidden
Log in to view solution →
Q7
mcq
1 mark
In Python the process of creating an object is called as __________.
- A. Initialize
- B. Constructor
- C. Instantiation
- D. Destructor
Solution hidden
Log in to view solution →
Q8
mcq
1 mark
Pick the correct one to execute the given statement successfully. if __________ : print(x, ''is a leap year'')
- A. x/4=0
- B. x%2=0
- C. x%4=0
- D. x%4==0
Solution hidden
Log in to view solution →
Q9
mcq
1 mark
What symbol is used for SELECT statement ?
- A. X
- B. σ
- C. Ω
- D. Π
Solution hidden
Log in to view solution →
Q10
mcq
1 mark
If List = [10, 20, 30, 40, 50] then List [2] = 35 will result :
- A. [10, 20, 35, 40, 50]
- B. [35, 10, 20, 30, 40, 50]
- C. [10, 35, 30, 40, 50]
- D. [10, 20, 30, 40, 50, 35]
Solution hidden
Log in to view solution →
Q11
mcq
1 mark
A CSV file is also known as a __________.
- A. String File
- B. Flat File
- C. Random File
- D. 3D File
Solution hidden
Log in to view solution →
Q12
mcq
1 mark
The most commonly used statement in SQL is :
- A. execute
- B. cursor
- C. commit
- D. select
Solution hidden
Log in to view solution →
Q13
mcq
1 mark
What is the output of the following snippet in Python ? for x in range (5): if x==2: continue print(x, end= ' ')
- A. 0 1 3 4
- B. 0 1 2
- C. 0 1 2 3 4
- D. 0 1 2 3
Solution hidden
Log in to view solution →
Q14
mcq
1 mark
__________ is a collection of resources assembled to create a single unified visual display.
- A. Objects
- B. Interface
- C. Graphics
- D. Dashboard
Solution hidden
Log in to view solution →
Q15
mcq
1 mark
The clause used to sort data in a database :
- A. GROUP BY
- B. SORT BY
- C. SELECT
- D. ORDER BY
Solution hidden
Log in to view solution →
Q17
short answer
2 marks
What are the different operators that can
Solution hidden
Log in to view solution →
Q17
short answer
What are the different operators that can be used in Python ?
Solution hidden
Log in to view solution →
Q18
mcq
used statement in SQL is :
- A. execute
- B. cursor
- C. commit
- D. select
Solution hidden
Log in to view solution →
Q20
short answer
List the types of visualizations in Matplotlib.
Solution hidden
Log in to view solution →
Q21
short answer
What is the difference between Hierarchical and Network data model ?
Solution hidden
Log in to view solution →
Q23
short answer
Which method is used to fetch all rows from the database table ?
Solution hidden
Log in to view solution →
Q24
short answer
Write the use of pop( ) function in Python.
Solution hidden
Log in to view solution →
Q26
short answer
What are the different ways to access the elements of a list ? Give example.
Solution hidden
Log in to view solution →
Q28
short answer
Using if..else..elif statement write a suitable program to display largest of 3 numbers.
Solution hidden
Log in to view solution →
Q29
short answer
Write a short note for the followings with suitable example. (a)capitalize( ) (b)swapcase( )
Solution hidden
Log in to view solution →
Q30
short answer
How will you define Constructor and Destructor in Python ?
Solution hidden
Log in to view solution →
Q31
short answer
What are the applications of scripting language ?
Solution hidden
Log in to view solution →
Q32
short answer
What is the use of Where clause ? Give a Python statement by using Where clause.
Solution hidden
Log in to view solution →
Q33
short answer
Write short notes on TCL Commands in SQL.
Solution hidden
Log in to view solution →
Q34
long answer
5 marks
(a)How will you facilitate data abstraction ? Explain it with suitable example. OR (b)What is Binary Search ? Explain it with example.
Solution hidden
Log in to view solution →
Q35
long answer
5 marks
(a)Explain input( ) and print( ) functions with examples. OR (b)Explain the scope of variables with an example.
Solution hidden
Log in to view solution →
Q36
long answer
5 marks
(a)What is the purpose of range( ) function ? Explain with an example. OR (b)Explain the following operators in Relational algebra with suitable examples. (i)UNION (ii)INTERSECTION (iii)DIFFERENCE (iv)CARTESIAN PRODUCT
Solution hidden
Log in to view solution →
Q37
long answer
5 marks
(a)What are the components of SQL ? Write the commands for each. OR (b)Discuss the features of Python over C++.
Solution hidden
Log in to view solution →
Q38
long answer
5 marks
(a)Write the different methods to read a file in Python. OR (b)Explain the various buttons in a matplotlib window.
Solution hidden
Log in to view solution →