Black Friday Sale Special - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sntaclus

Which command produced the following output?

A.

>>> dir("help")

B.

>>> help(0.1)

C.

>>> dir(1)

D.

>>>dir([1,2])

With a requests session object named "browser", how can the expiration attribute of a cookie named "MUID" from "gpyc.com/" be accessed?

A.

browser.cookies._cooktes['.gpyc.com/MUID'] .expires

B.

browser.cookies._cookies['.gpyc.com'] ['/'] ['MUID'].expires

C.

browser.cookies._cookies.gpyc.com.MUID.expires

D.

browser.cookies.gpyc.com['MUID']. expires

E.

browser.cookies.gpyc.com.MUID.expires

Review the following code.

What is the output?

A.

(1,0)

B.

(1,)

C.

(256,)

D.

(\x01#\x00)

During a password guessing attack, which HTTP request method would a Python program most commonly call to submit a usemame and password to a target website?

A.

OPTIONS

B.

POST

C.

CONNECT

What does the "enumerate" function return when applied to a list?

A.

An object of tuples, with each assigned to an iterative integer

B.

The memory location of the list

C.

The total number of items in the list

D.

A list containing a single tuple, with the tuple containing all items in the original list

What is the output when the following commands are typed in Python interactive mode?

A.

15

B.

NameError: name 'c' is not defined

C.

ac

D.

TypeError: cannot concatenate 'str' and 'int' objects

What is the output of the following line of code typed into a Python interactive session?

A.

0b10101

B.

18

C.

0b10010

D.

0b101101

What would be the string resulting from the following command, considering the string variable "gpyc"?

A.

nohtyP

B.

powerful

C.

egaugnal lufrewop

D.

lufrewop

E.

powerful python

Which of the following would produce this list?

[65, 66, 67, 68]

A.

range(l,4) + 64

B.

for x(4)+64

C.

map(ord, "ABCD")

D.

range(4)+ 65

What does the LIMIT function restrict in an SQL SELECT statement?

A.

The number of queries that can be run against the table per second

B.

The number of records a table is permitted to hold

C.

The number of records that will be returned by a request

D.

The number of subsequent SELECT statements that can be run against the table