PreTest - Python

PreTest - Python

University

65 Qs

quiz-placeholder

Similar activities

Network Models

Network Models

University

60 Qs

HTML

HTML

4th Grade - University

63 Qs

Java

Java

University

65 Qs

Artificial Intelligence_B.Tech

Artificial Intelligence_B.Tech

University

60 Qs

Network Media

Network Media

University

62 Qs

DISPLAY & CONNECTORS

DISPLAY & CONNECTORS

University - Professional Development

70 Qs

Visual Basic

Visual Basic

9th Grade - University

69 Qs

TIN6_ÔN TẬP HKI_2425

TIN6_ÔN TẬP HKI_2425

6th Grade - University

60 Qs

PreTest - Python

PreTest - Python

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Prof. Thakur

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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?