Call
whatsapp
9447387064 | 9847003556
0471-2335855 | 8089080088 | 0471-2334855
9447387064 | 9847003556
0471-2335855 | 8089080088 | 0471-2334855
Cisco Training in Trivandrum, Trinity Technologies

No.1 Training Institute in Kerala

PYTHON QUESTIONS : PART 1

How did the Python language get its name?

from "Monty Python's Flying Circus"

from anaconda

from big python

None of the mentioned

SHOW ANSWER

What companies use Python?

Google

Facebook

IBM

All the above

SHOW ANSWER

Select the appropriate features of python?

Portable and scalable

Easy to learn and easy to maintain

Interactive and have a broad standard library

All the above

SHOW ANSWER

REPL stands for

Read Express Print Loop

Read Evaluate Perform Loop

Read Evaluate Print Loop

None of the above

SHOW ANSWER

Python is --------- scripting language

high-level

interpreted

interactive

object-oriented

SHOW ANSWER

What is the editor used for writing Python scripts in Ubuntu?

vim

nano

editor

All the above

SHOW ANSWER

In which platform the python distributions are Available?

windows

linux or ubuntu

Mac os

All the above

SHOW ANSWER

Is Python case sensitive when dealing with identifiers?

yes

no

machine dependent

none of the mentioned

SHOW ANSWER

Which of the following is an invalid variable

my_string_1

1st_string

foo

-

SHOW ANSWER

Which of the following is an invalid statement?

abc = 1,000,000

a b c 1000 2000 3000

a,b,c = 1000,2000,3000

a_b_c =1,000,000

SHOW ANSWER

Which of the following is not a keyword?

eval

assert

nonlocal

pass

SHOW ANSWER

Which of the following cannot be a variable?

__init__

in

it

on

SHOW ANSWER

What gets printed assuming the user enters 'Hello' at the prompt?

a=input("#:")

print(a)

H

Hello

Not a number

An exception thrown

SHOW ANSWER
BACK | NEXT
TRINITY SOFTWARE SOLUTIONS,IInd floor, Radheyam Towers, Gandhari Amman Kovil Road, Pulimood, Trivandrum - 1
0471-2334855 | 2335855 | 9447387064 | 9847003556 info@trinitytechnology.in