PreTest - Python

PreTest - Python

University

65 Qs

quiz-placeholder

Similar activities

ISPFL8 Endterm Exam

ISPFL8 Endterm Exam

University

60 Qs

System Security

System Security

University

60 Qs

POO-U5-Evaluación sobre Arreglos

POO-U5-Evaluación sobre Arreglos

University

60 Qs

PYTHON PROGRAMMING PRELIM-EXAM

PYTHON PROGRAMMING PRELIM-EXAM

University

60 Qs

Online Quiz for B.Tech AI/ML II Year III Semester

Online Quiz for B.Tech AI/ML II Year III Semester

University

60 Qs

Q-Round-1

Q-Round-1

University

60 Qs

PSPP-UNIT-3,4-QUIZ(SEC-C)

PSPP-UNIT-3,4-QUIZ(SEC-C)

University

60 Qs

PYTHON TEST 1

PYTHON TEST 1

University

60 Qs

PreTest - Python

PreTest - Python

Assessment

Quiz

Computers

University

Hard

Created by

Prof. Karale

FREE Resource

65 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of `print(type([]))`?
<class 'list'>
<type 'list'>
<list>
list

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to define a function in Python?
define
function
fun
def

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of `print(2**3)`?
6
8
9
5

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct file extension for Python files?
.pt
.py
.pyt
.pyth

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is immutable in Python?
list
set
dictionary
tuple

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of `print(10//3)`?
3.33
3
3.0
Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol is used to comment a single line in Python?
//
<!-- -->
##
#

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?