Search Header Logo

CBSE Class 12 Computer Science MCQ

Authored by SKR Official

Computers

12th Grade

Used 18+ times

CBSE Class 12 Computer Science MCQ
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct extension for a Python file?

.pyt

.py

.python

.pt

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an immutable data type in Python?

List

Dictionary

Tuple

Set

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following expression? print(type(5/2))

int

float

double

complex

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid identifier in Python?

123variable

_varName

break

var-name

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The id() function in Python is used to:

Identify the data type of a variable

Get the memory address of a variable

Convert one data type to another

Print the value of a variable

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a valid Python operator?

**

//

%%

and

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code? print(2 ** 3 ** 2)

64

512

9

81

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?