Important MCQ from PYQ-01

Important MCQs from PYQs

Important MCQs from PYQs

1 / 39

Assertion–Reasoning

A: CSV is a file format for data storage like a text file.
R: Records are stored line-by-line with fields separated by commas.

2 / 39

Assertion–Reasoning

A: Positional arguments match number & order in a function call.
R: Default arguments come first and then positional arguments.

3 / 39

For Python–SQL connection, which argument is NOT necessary in connect()?

4 / 39

Which function displays the total number of records in a table?

5 / 39

Output of:

print(15.0 / 4 + (8 + 3.0))

6 / 39

______ is a communication methodology for delivering voice & multimedia over IP.

7 / 39

 SELECT with __________ clause returns records without repetition.

8 / 39

 The correct syntax of seek() is:

9 / 39

_________ is a non-key attribute derived from a primary key of another table.

10 / 39

Which statement(s) will give an error?

11 / 39

Which command deletes a table in MySQL?

12 / 39

______ command is used to remove primary key from a table in SQL.

13 / 39

Which mode generates an error if the file does not exist?

14 / 39

Output of the code:

a = "Year 2022 at All the best"
a = a.split('2')
b = a[0] + ". " + a[1] + ". " + a[3]
print(b)

15 / 39

What will be the output of:

not True and False or True

16 / 39

Which statement will merge the contents of both dictionaries?

17 / 39

Which of the following is an invalid datatype in Python?

18 / 39

State True or False

“Variable declaration is implicit in Python.”

19 / 39

The input() function always returns a value of type:

20 / 39

The fundamental building blocks of a Python program are:

21 / 39

import math
math.ceil(1.03) + math.floor(1.03)

22 / 39

Output:

7 * (8 / (5 // 2))

23 / 39

Which statement gives output True?

24 / 39

a, b = 4, 2.5
a - b // 2**2

25 / 39

a, b = 4, 2
a + b**2 * 10

26 / 39

Output of: 4 + 2**2 * 10

27 / 39

Output of: 4 // 3.0

28 / 39

Which one is an arithmetic operator?

29 / 39

Identify the membership operator:

30 / 39

Which of the following is a logical operator?

31 / 39

Which of the following is a relational operator?

32 / 39

Which of the following is a valid identifier?

33 / 39

A foreign key refers to ______.

34 / 39

A candidate key is ______.

35 / 39

A primary key must be ______.

36 / 39

Domain refers to ______.

37 / 39

The number of rows in a relation is called ______.

38 / 39

The number of columns in a relation is called ______.

39 / 39

Columns in a table are called ______.

Your score is

The average score is 0%

0%

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top