Font size
WorksheetsTN +2 CSC - LESSON 1 TO 10 & 12
Total questions: 25
Worksheet time: 13mins
An SQL command used to add record in a table.
Insert
Create
Update
Add
It is a DML command that is used to display record.
DISPLAY
STRUCTURE
WHERE
SELECT
This symbol is placed immediately after the SELECT command to display all the fields.
$
%
=
*
What is the meaning of DDL?
Data Definition Language
Database definition Language
Data Definition Link
Data Division Langauge
(a) SQL command to view structure of the table named ‘STUDENT ‘.
select all DML commands are:-
INSERT
UPDATE
DELETE
GRANT
Write SQL command to create the given table.
A private class variable is prefixed with
(a) __
(b) &&
(c) ##
(d) **
Which of the following class declaration is correct? (
(a) class class_name[ ]
(b) class class_name:
c) class class_name
(d) class class_name<>
setA={3,6,9}, setB={1,3,9}
What will be the result of the following snippet?
{1,3,6,9}
{1}
{3,9}
{3,6,9,1,3,9}
Let list1=[2,4,6,8,10], then print(List1[-2]) will result in
10
4
6
8
Which of the following formatting character is used to print exponential notation in upper case?
%E
%e
%g
%n
What will be the output of the following code?
(a) Chennai-Schools
(b) Chenna-School
(c) Type error
(D) Chennai
Defining strings within triple quotes allows creating:
(a) Multiline Strings
(b) Double line Strings
(c) Multiple Strings
(d) Single line Strings
Evaluate the following function and predict the output.
bin(16)
0b1100
ob10000
4
ob0.1010
Evaluate pow(2*2,2)
2
8
16
62
A named blocks of code that are designed to do one specific job is called as
Function
Loop
Block
Branching
How many important control structures are there in Python?
A) 3
B) 4
C) 5
D) 6
Who Developed Python?
(a)
If a problem can be broken into subproblems which are reused several times, the problem possesses which property?
Memoization
Optimal substructure
Overlapping subproblems
Wishful Thinking
___ is often used to describe the worst-case of an algorithm.
Big O
Big Omega
O(n)
O(n log n)
The ___ sort algorithm compares each pair of adjacent items and swaps them if they are in the unsorted order.
Quick sort
Insertion
Selection
Bubble
An estimation of the time and space complexities of an algorithm for varying input sizes is called
Algorithm analysis
Complexity
____ are containers for mapping names of variables to objects.
Variables
Namespace
Binding
Variant
The datatype whose representation is unknown are called
Derived datatype
Abstract datatype
