Python Development  Quiz-1

Python Development Quiz-1

University

10 Qs

quiz-placeholder

Similar activities

POST TEST MODULE 4

POST TEST MODULE 4

University

10 Qs

python set 1

python set 1

University

10 Qs

Intro to Python Programming Quiz 9D

Intro to Python Programming Quiz 9D

1st Grade - University

14 Qs

have fun

have fun

KG - Professional Development

13 Qs

Python Unit 1 Introduction

Python Unit 1 Introduction

University

12 Qs

Software Programming

Software Programming

University

15 Qs

Multimedia Authoring

Multimedia Authoring

University

15 Qs

GFG Quiz

GFG Quiz

11th Grade - Professional Development

10 Qs

Python Development  Quiz-1

Python Development Quiz-1

Assessment

Quiz

Other

University

Medium

Created by

Gnaneshwar Reddy

Used 5+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct extension of the Python file?

.python

.pl

.py

.p

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of Programming does Python support?

object-oriented programming

structured programming

functional programming

all of the mentioned

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

All keywords in Python are in _________

Capitalized

lower case

UPPER CASE

None of the mentioned

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the value of the following Python expression?

4 + 3 % 5

7

2

4

1

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following character is used to give single-line comments in Python?

//

#

!

/*

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the order of precedence in python?

Exponential, Parentheses, Multiplication, Division, Addition, Subtraction

Exponential, Parentheses, Division, Multiplication, Addition, Subtraction

Parentheses, Exponential, Multiplication, Division, Subtraction, Addition

Parentheses, Exponential, Multiplication, Division, Addition, Subtraction

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python code snippet if x=1?

x<<2

4

2

1

8

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?