SS Teach us - Study24x7
Social learning Network

Welcome Back

Get a free Account today !

or

Forgot password?

By Registering, you agree to our Privacy Policy and Terms of use.

sangeetha Cover image
sangeetha
SS Teach us
  • Followers
  • Latest Feeds
  • Articles
  • Question
  • Course
  • About
  • Review
Interests
K-12-Non-Medical Java Technologies Databases Python Technologies ...
6 followers study24x7 08 Jul 2020 07:32 AM study24x7 study24x7

What will be the output of the following Python statement?>>>print('new' 'line')

A

Error

B

Output equivalent to print ‘new\nline’

C

newline

D

 new line

study24x7
Write a comment
6 followers study24x7 08 Jul 2020 07:30 AM study24x7 study24x7

What arithmetic operators cannot be used with strings?

A

_

B

+

C

*

D

all of these

study24x7
Write a comment
6 followers study24x7 08 Jul 2020 07:29 AM study24x7 study24x7

The output of executing string.ascii_letters can also be achieved by:

A

string.letters

B

 string.ascii_lowercase_string.digits

C

string.lowercase_string.uppercase

D

string.ascii_lowercase_string.digits

study24x7
Write a comment
6 followers study24x7 08 Jul 2020 07:27 AM study24x7 study24x7

What will be the output >>>"abcd"[2:]

A

a

B

ab

C

cd

D

dc

study24x7
Write a comment
6 followers study24x7 08 Jul 2020 07:25 AM study24x7 study24x7

What is the output >>>"a"+"bc"

A

a

B

bc

C

bca

D

abc

study24x7
Write a comment
6 followers study24x7 02 Jul 2020 08:25 PM study24x7 study24x7

Which options are correct to create an empty set in Python?

A

()

B

empty set

C

set()

D

{}

study24x7
Write a comment
6 followers study24x7 02 Jul 2020 08:14 PM study24x7 study24x7

To start Python from the command prompt, use the command ______

A

execute python

B

run python

C

python

D

exe python

study24x7
Write a comment
6 followers study24x7 02 Jul 2020 08:13 PM study24x7 study24x7

________ is a simple but incomplete version of a function.

A

Stub

B

Function

C

Function Header

D

Recursive function

study24x7
Write a comment
6 followers study24x7 02 Jul 2020 08:11 PM study24x7 study24x7

Which module in Python supports regular expressions?

A

re

B

regex

C

reg

D

none of these

study24x7
Write a comment
6 followers study24x7 02 Jul 2020 08:09 PM study24x7 study24x7

Given a function that does not return any value, what value is shown when executed at the shell?

A

int

B

bool

C

void

D

none

study24x7
Write a comment
Ratings
0.0
out of 5
0 Ratings
5 study24x7
 
0.0
4 study24x7
 
0.0
3 study24x7
 
0.0
2 study24x7
 
0.0
1 study24x7
 
0.0
Related Pages

Topline Coaching

2420 followers

General Science and ..

1623 followers

Daily Current Affair..

1365 followers

Just Asking - Lets c..

1206 followers

Learn N Share - Get ..

1072 followers

General Knowledge An..

1017 followers

SSC 2021 Preparation..

962 followers

RAU IAS COACHING

841 followers

English with Astute ..

823 followers

GOVERNMENT JOB NOTIF..

814 followers

Psychology decoded

740 followers

TARGET SUCCESS

731 followers

Uphaar Classes - By ..

694 followers

Ashok Meena

690 followers

UPSC & State PSC..

687 followers

UPSC Civil Services ..

644 followers

Abhiyan Civil Servic..

620 followers

Reasoning with Rizwa..

611 followers

Maths By Uttam Sir

560 followers

Maths

495 followers

Results Alert

489 followers

Study24x7

458 followers