Python MCQ for II Sem

Python MCQ for II Sem

University

30 Qs

quiz-placeholder

Similar activities

BSCE_MIDTERM_EXAM

BSCE_MIDTERM_EXAM

University

25 Qs

Reckon your Techie Quiz - Day 2 - Python (23.08.22)

Reckon your Techie Quiz - Day 2 - Python (23.08.22)

University

25 Qs

python39-02

python39-02

University

30 Qs

Iedc Coders Club Programming Quiz

Iedc Coders Club Programming Quiz

University

25 Qs

Mastering Python Basics

Mastering Python Basics

University

30 Qs

Python Programming Quiz

Python Programming Quiz

University

25 Qs

python

python

KG - Professional Development

30 Qs

Python

Python

KG - Professional Development

35 Qs

Python MCQ for II Sem

Python MCQ for II Sem

Assessment

Quiz

Computers

University

Medium

Created by

VedaSri Tutorials

Used 2+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which keyword is used to define a function in Python?

print

del

init

def

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What symbol is used to indicate a comment in Python?

//

#

/*

--

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is a mutable data type in Python?

tuple

list

string

frozenset

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What function is used to read input from the user in Python?

get()

scan()

read()

input()

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of the expression 3 * 'Hello' in Python?

HelloHelloHello

None

3Hello

Error

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which built-in function can be used to get the length of a list in Python?

length()

size()

count()

len()

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is a 'flowchart'?

A type of algorithm

A graphical representation of a process

A programming language

A database management system

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?