PYTHON

PYTHON

Professional Development

10 Qs

quiz-placeholder

Similar activities

Sets and dictionaries

Sets and dictionaries

Professional Development

12 Qs

Week 1

Week 1

Professional Development

12 Qs

Python List and Tuples

Python List and Tuples

Professional Development

15 Qs

Python Training Day-2  Quiz-2

Python Training Day-2 Quiz-2

Professional Development

10 Qs

Batch 1

Batch 1

Professional Development

10 Qs

Python Basics

Python Basics

Professional Development

10 Qs

Pyflask2020

Pyflask2020

KG - Professional Development

10 Qs

Python Quiz

Python Quiz

Professional Development

6 Qs

PYTHON

PYTHON

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Ninu Sahil

Used 3+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

.python

.py

.p

.nb

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which character is used in Python to make a single line comment?

/

//

#

!

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

>>>str1 = "javat"  

>>> str1[-1:]  


What will be the output of this statement?

t

j

java

point

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following data types is shown below?

  1. L = [2, 54, 'javatpoint', 5]  

  2. What will be the output of this statement?

Dictionary

tuple

list

stack

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. print('It\'s ok, don\'t worry')  

  2. What will be the output of this program?

  1. It's ok don't worry

  1. It\'s ok, don\'t worry

  1. SyntaxError: EOL while scanning string literal

  1. SyntaxError: invalid syntax

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following keywords is used for function declaration in Python language?

  1. def

  1. function_name

  1. define

none of these

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement is correct?

List is immutable && Tuple is mutable

List is mutable && Tuple is immutable

Both are Mutable.

Both are Immutable

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?