r/PythonLearning • • 2d ago

Help Request Python Resources

Had a midterm exam and I'm quite sure I bombed it. I know Python, but not enough to be prepared for the questions I was asked. What resources could teach me python like I'm preparing for an interview, if that makes sense? I feel like that is the style of questioning my professor used and I really want to be ahead of the curve next time.

2 Upvotes

7 comments sorted by

1

u/datadriven_io 2d ago

What style of python questions were asked? If you don't mind telling me. Go over the dimensional modeling interview questions on datadriven.io before scheduling anything. Thanks

1

u/ch000dy 2d ago

They were like scenario based and multiple choice. My memory is a bit spotty, but I remember one was like "an API wamts to return a single value for a students grade from a datasheet" and the options included the loc method, iloc, and at. Another asked you to create a series of three names, sort it in descending order, and return the first name in this new series.

1

u/ninhaomah 1d ago

I am confused by the first question but surely you know , in words if not in codes , about the second ?

And you are sure it says "series" ? Does it say pandas series ? Or Python series ?

1

u/riklaunim 2d ago

Job interviews won't limit themselves to Python basics or academic questions; you will have to know at least the basics of general software development and the software stack you are applying for. There are testing sites like Codility and LeetCode, often used by corporations for hiring, but smaller companies focus more on a practical approach.

1

u/Sea-Ad7805 2d ago

Don't bother with interview preparation, just get good with Python by doing MANY exercises.

1

u/notyboy01 1d ago

Your professor is probably pulling questions straight from HackerRank or LeetCode medium tiers.

1

u/WishGranted11 1d ago

Go to python official documentation, you will find so much knowledge there.
If pandas and numpy are a concern too you can find documentations online.
Don't only prepare yourself for the exam, take yourself further by expanding your knowledge to gain real experience in order be a good fit for the job market.