Pop Quiz 6 Flashcards

1
Q

The number of algorithms used by most analytics professionals is

A. 3
B. 4
C. 12
D. 39

A

12

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

According to the 2013 & 2015 Rexer Analytics surveys, the most widely used algorithms include:

A. Genetic algorithms and survival analysis
B. Various proprietary algorithms
C. Regression and Cluster Analysis

A

Regression and Cluster Analysis

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

In Python, which function adds a new element to a list?

A. List.add()
B. List.append()
C. List.insert()
D. List.concatenate()

A

List.append()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What python code defines a new function?

A. Def listprnt(myList): print(myList)
B. New listprnt(myList): print(myList)
C. Function listprnt(myList): print(myList)
D. Proc listprnt(myList): print(myList)

A

Def listprnt(myList): print(myList)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

One difference between Python and Java is that:

A. Java ends each line with a semicolon (;)
B. Python ends each line with a semicolon (;)
C. Python code always includes a function called “main”

A

Java ends each line with a semicolon (;)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly