Question No. |
Part-A |
Marks
allocated |
Section-I Select the most
appropriate option out of the options given for each question. Attempt any 15
questions from question no 1 to 21. |
||
1. |
Find the valid identifier from the following a) My-Name b) True c) 2ndName d) S_name |
1 |
2. |
Given the lists L=[1,3,6,82,5,7,11,92] , What will
be the output of print(L[2:5]) |
1 |
3. |
How would you write XY in Python as an
expression. |
1 |
4. |
Identify the valid logical operator in Python from the following. a) ? b) < c)
** d) and |
1 |
5. |
Suppose a tuple Tup is declared as Tup = (12, 15, 63, 80), which
of the following is incorrect? a) print(Tup[1]) b) Tup[2] = 90 c) print(min(Tup)) d) print(len(Tup)) |
1 |
6. |
Write a statement in Python to declare a dictionary
whose keys are 1,2,3 and values are Mango and Banana respectively. |
A1pple, |
7. |
A tuple is declared as T = (2,5,6,9,8) What will be the value of
sum(T)? |
1 |
|
|
|
8. |
Name the
built-in mathematical function / method that is used to return square root of
a number. |
1 |
9. |
Protocol is
used to send email |
1 |
10. |
Your friend Seema complaints that somebody has created a fake
profile on Twitter and defaming her character with abusive comments and
pictures. Identify the type of cybercrime for these situations. |
1 |
11. |
In SQL, name the command/clause that is used to
display the rows in descending order of a column. |
1 |
12. |
In SQL, what is the error in
following query: SELECT NAME, SAL, DESIGNATION
WHERE DISCOUNT=NULL; |
1 |
13. |
Write any two aggregate
functions used in SQL. |
1 |
14 |
Which of the following is a
DML command? a) SELECT b) Update c) INSERT d) All |
1 |
15 |
Name the transmission media
best suitable for connecting to desert areas. |
1 |
16 |
Identify the valid declaration
of P: P= [‘Jan’, 31, ‘Feb’, 28] a. dictionary b. string c.tuple d. list |
1 |
17 |
If the
following code is executed, what will be the output of the following code?
str="Encyclopedia" print(str[3 : 9]) |
1 |
18 |
In SQL, write the query to display the list of
databases. |
1 |
19 |
Write the expanded form of
VPN. |
1 |
20 |
Which of the following will
suppress the entry of duplicate value in a column? a) Unique b) Distinct c)
Primary Key d) NOT NULL |
1 |
21 |
Rearrange
the following terms in increasing order of speedy medium of data transfer.
Telephone line, Fiber Optics, Coaxial Cable, Twisted Paired Cable |
1 |
0 comments:
Post a Comment
Thanks for leaving a comment. As soon as it's approved, it will appear.