Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Dashboard / My courses / (22/03) MScFE 630 Computational Finance (C21-S3) / Module 1: Introduction to Programming in Python

/ Practice Quiz M1 (Ungraded)

Started on Thursday, 12 May 2022, 7:18 PM


State Finished
Completed on Thursday, 12 May 2022, 7:20 PM
Time taken 2 mins 3 secs

Question 1
What is the result when the
following program is executed?

Complete

Not graded

Select one:
0
-1
The program will print out the value of i infinitely
The program will run infinitely without any output
1

Your answer is correct.

Question 2
A Series, S, contains a particular item labelled ‘A’. What is the notation for accessing this item?

Complete

Not graded Select one:


a) S[A]
b) S[“A”]
c) S(A)
d) get “A” from S
e) B and D

Your answer is correct.


Question 3
Which two data structures are introduced by the Pandas module?

Complete

Not graded Select one:


Frames and Dataseries
Tables and Columns
DataFrames and Series
Arrays and Dataframes
None of the above

Your answer is incorrect.

Question 4
What is the result of the following expression? 

Complete

Not graded True and False

Select one:
None
False
Undefined
The program will encounter an error
True

Your answer is correct.

Question 5
What symbol do we use to denote the start of a comment?

Complete

Not graded Select one:


\\

Your answer is correct.

◀︎NOTES 4 M1 Jump to... LIVE SESSION M1 ▶︎

You might also like