• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 3 out of 22 pages
Exam (elaborations)

(D335) ITSW 3126 (Introduction to Programming in Python) Latest FA Review Q & S 2024

Document preview thumbnail
Preview 3 out of 22 pages

(D335) ITSW 3126 (Introduction to Programming in Python) Latest FA Review Q & S 2024(D335) ITSW 3126 (Introduction to Programming in Python) Latest FA Review Q & S 2024(D335) ITSW 3126 (Introduction to Programming in Python) Latest FA Review Q & S 2024

Content preview

D335 ITSW 3126




Introduction to Programming
in Python




LATEST FA REVIEW
Q&S




©2024/2025

,1. Which Python library is primarily used for data manipulation
and analysis?
a) NumPy
b) Pandas
c) Matplotlib
d) Scikit-learn
ANS: b) Pandas


2. In Python, which method can be used to read an entire dataset
from a text file into a DataFrame?
a) read_txt
b) read_table
c) read_csv
d) read_excel
ANS: c) read_csv


3. Which data type in Python is used to handle decimal numbers
accurately in financial and monetarist computations?
a) float

©2024/2025

, b) int
c) decimal
d) double
ANS: c) decimal


4. What does the `.iloc` function allow you to do in a Pandas
DataFrame?
a) Select data by labels
b) Select data by index position
c) Insert a column based on labels
d) Locate missing values
ANS: b) Select data by index position


### Fill-in-the-Blank


5. In Python, to perform element-wise operations on entire arrays
or lists efficiently, you typically use the __________ library.
ANS: NumPy


6. When handling missing values in a DataFrame, the function
__________ can be used to replace them with a specified value.

©2024/2025

Document information

Uploaded on
November 28, 2024
Number of pages
22
Written in
2024/2025
Type
Exam (elaborations)
Contains
Unknown
$18.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
emiliophd
3.4
(21)
Sold
191
Followers
46
Items
4725
Last sold
1 month ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions