SS Teach us - Study24x7
Social learning Network

Welcome Back

Get a free Account today !

or
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

3685 followers

General Science and ..

3034 followers

Just Asking - Lets c..

2269 followers

Daily Current Affair..

2050 followers

Learn N Share - Get ..

1916 followers

English with Astute ..

1840 followers

General Knowledge An..

1840 followers

GOVERNMENT JOB NOTIF..

1687 followers

RAU IAS COACHING

1591 followers

SSC 2021 Preparation..

1520 followers

Uphaar Classes - By ..

1496 followers

UPSC Civil Services ..

1461 followers

Ashok Meena

1366 followers

Psychology decoded

1353 followers

TARGET SUCCESS

1296 followers

Study24x7

1095 followers

UPSC & State PSC..

994 followers

Abhiyan Civil Servic..

1007 followers

Maths

854 followers

Results Alert

742 followers

V PLUS U

703 followers

Tech Geeks

605 followers