
CBSE Class 12 Computer Science MCQ

Quiz
•
Computers
•
12th Grade
•
Medium
SKR Official
Used 6+ times
FREE Resource
Student preview

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
Create a free account and access millions of resources
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade