PYTHON

PYTHON

Professional Development

10 Qs

quiz-placeholder

Similar activities

Python set1

Python set1

Professional Development

10 Qs

FinTech 21-1 Advanced Solidity

FinTech 21-1 Advanced Solidity

Professional Development

8 Qs

Quiz Day 3 Big Data Using Python

Quiz Day 3 Big Data Using Python

Professional Development

10 Qs

Data Types Python MMKS

Data Types Python MMKS

Professional Development

8 Qs

NECTS- Code Debugging Elimination Round

NECTS- Code Debugging Elimination Round

Professional Development

5 Qs

computer science

computer science

11th Grade - Professional Development

6 Qs

Python Brain Teaser

Python Brain Teaser

4th Grade - Professional Development

6 Qs

Python Fundamental 1

Python Fundamental 1

Professional Development

10 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?