PYTHON

PYTHON

Professional Development

10 Qs

quiz-placeholder

Similar activities

BrightChamps Technical Round - C language

BrightChamps Technical Round - C language

Professional Development

15 Qs

День программиста

День программиста

Professional Development

13 Qs

Senz AIoT Savants  - ML & C++

Senz AIoT Savants - ML & C++

Professional Development

10 Qs

Batch 1

Batch 1

Professional Development

10 Qs

Python Quiz

Python Quiz

Professional Development

6 Qs

C String Array MCQs

C String Array MCQs

Professional Development

10 Qs

Exploring Python Lists and Tuples

Exploring Python Lists and Tuples

Professional Development

10 Qs

NgRx

NgRx

Professional Development

12 Qs

PYTHON

PYTHON

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Ninu Sahil

Used 4+ 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?