Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The set of modules that are included in the default installation of python are known as the: Select one: a. Standard Library b. API (Application

The set of modules that are included in the default installation of python are known as the:

Select one:

a. Standard Library

b. API (Application Programming Interface)

c. Module Library

d. Python Library

Question 2

Not yet answered

Marked out of 1.00

Flag question

Question text

Variables that are defined inside of a module are called what?

Select one:

a. Attributes

b. Local Variables

c. Methods

d. Keywords

Question 3

Not yet answered

Marked out of 1.00

Flag question

Question text

Creating a python script file with a .py extension on the filename and placing it in the appropriate directory is all that is required to create a module?

Select one:

True

False

Question 4

Not yet answered

Marked out of 1.00

Flag question

Question text

In the following Python statement, what do we call the portion of the statement before the dot ('string.')? string.capitalize('maryland')

Select one:

a. Module

b. Method

c. Function name

d. Attribute

Question 5

Not yet answered

Marked out of 1.00

Flag question

Question text

In the following segment of code what do we call the portion of the statement that follows the dot (capitalize)? string.capitalize('maryland')

Select one:

a. Module

b. Method

c. Attribute

d. Function name

Question 6

Not yet answered

Marked out of 1.00

Flag question

Question text

What will the contents of mylist be after the following code has been executed? >>> mylist = [1, 4, 2, 3] >>> mylist.append(5)

Select one:

a. [1, 4, 2, 3, 5]

b. [5, 1, 4, 2, 3]

c. [null]

d. [1, 4, 2, 3]

Question 7

Not yet answered

Marked out of 1.00

Flag question

Question text

What will the following code segment do? infile.readlines()

Select one:

a. Read all remaining lines in a file

b. Read the next consecutive line from a file

c. Print the contents of the file

d. Print the first line in the file

Question 8

Not yet answered

Marked out of 1.00

Flag question

Question text

Memory that can maintain its state without power is know as.

Select one:

a. Non volatile memory

b. Flash drives

c. Random access memory (RAM)

d. Disk drive storage

Question 9

Not yet answered

Marked out of 1.00

Flag question

Question text

Which of the following is NOT a valid mode that can be used to open a file when using the 'open' statement?

Select one:

a. r (read)

b. w (write)

c. a (append)

d. x (eXecute)

Question 10

Not yet answered

Marked out of 1.00

Flag question

Question text

The dot operator (.) permits access to attributes and functions of a module (or attributes and methods of a class or instance).

Select one:

True

False

Question 11

Not yet answered

Marked out of 1.00

Flag question

Question text

Dictionaries are mutable.

Select one:

True

False

Question 12

Not yet answered

Marked out of 1.00

Flag question

Question text

Pickling is a way to _________________

Select one:

a. write data to a file

b. preserve data structure

c. import standard functions

d. move self created functions to a library

Question 13

Not yet answered

Marked out of 1.00

Flag question

Question text

Exceptions allow the programmer to _________________

Select one:

a. override all runtime errors

b. write code to handle runtime errors

c. ignore syntax errors

d. load data from a file

Question 14

Not yet answered

Marked out of 1.00

Flag question

Question text

The Motorola Power PC 601 microprocessor contained 2.8 million transistors.

Select one:

True

False

Question 15

Not yet answered

Marked out of 1.00

Flag question

Question text

The first patent for a microprocessor is attributed to Gary Boone and MIchael Cochran of Texas Instruments.

Select one:

True

False

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Lab Manual For Database Development

Authors: Rachelle Reese

1st Custom Edition

1256741736, 978-1256741732

More Books

Students also viewed these Databases questions

Question

Discuss the key people management challenges that Dorian faced.

Answered: 1 week ago

Question

How fast should bidder managers move into the target?

Answered: 1 week ago