QMB 3302 Complete Answers
when faced with an error in a program you are writing, and you aren't sure what it is, what should you
do first? ️️immediately google that error. just copy paste the whole thing in google. this is literally
what EVERY programmer in the world does.
in the list b...
when faced with an error in a program you are writing, and you aren't sure what it is, what should you
do first? ✔️✔️immediately google that error. just copy paste the whole thing in google. this is literally
what EVERY programmer in the world does.
in the list below, what position is the first number (the number 8) in? my_list[8, 6, 3, 5, 6]
✔️✔️none/error
in the list below, what position is the number 2 in?
my_list = [9, 2, 1, 3, 4] ✔️✔️1
how do you insert comments into a python code cell? ✔️✔️#comment
Which of these variable names will not work in Python?
x
x-2
x2
x_var
_x ✔️✔️x-2
what type of data structure is the below num_set = (1, 2, 3, 4, 5) ✔️✔️tuple
what type of data structure is the below: stock_tickers = {'GE': 'General Electric','AAL': 'American
Airlines','AAPL': 'Apple','DIS': 'Disney','DAL' : 'Delta','MSFT' : 'Microsoft','TSLA' : 'Tesla','CCL' : 'Carnival'}
✔️✔️dictionary
1. Imagine we have a dataframe we have named 'df'.
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller CertifiedGrades. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for £8.13. You're not tied to anything after your purchase.