Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 5 pages
Exam (elaborations)

BADM 211- EXAM 1 CODING PRACTICE EXAM QUESTIONS WITH 100% CORRECT ANSWERS LATEST VERSION 2025/2026.

Document preview thumbnail
Preview 2 out of 5 pages

BADM 211- EXAM 1 CODING PRACTICE EXAM QUESTIONS WITH 100% CORRECT ANSWERS LATEST VERSION 2025/2026.

Content preview

BADM 211- EXAM 1 CODING PRACTICE
EXAM QUESTIONS WITH 100%
CORRECT ANSWERS LATEST VERSION
2025/2026.




Business Analytics - ANS The science of transforming data into insights and models that lead
to better decisions and add value to individuals, companies and societies.



print(my_name.upper()) - ANS Converts string into upper case & converts it to new string



Import required packages:

pandas, numpy, matplotlib.pylab with aliases pd, np, plt, respectively - ANS import pandas as
pd

import numpy as mp

import matplotlib.pylab as plt



Create a list with 5 prime numbers - ANS prime_numbers[2, 3, 5, 7, 11]



The code to print the third prime number in a list



prime_numbers=[2, 3, 5, 7, 11] - ANS prime_numbers[2]

1 @COPYRIGHT 2025/2026 ALLRIGHTS RESERVED.

, output: 5



Write the code to print the sum of the 2nd and 4th prime number in a list



prime_numbers=[2, 3, 5, 7, 11] - ANS prime_numbers[1] + prime_numbers[3]



output: 10



Write the code that outputs the sum of the first 5 prime numbers



prime_numbers=[2, 3, 5, 7, 11] - ANS sum(prime_numbers[0:5])



output: 18



Write a code to print the value responding to key, name - ANS my_profile["name"]

output: Breena



Define a dictionary with keys: name, password, birth_month, email, major. Name it my_profile.
- ANS my_profile={"name":"Breena ", "password":"jimmyjohns", "birth_month":"march",
"email":"", "major":"information systems"}



modify the value corresponding to key, password



my_profile={"name":"Breena ", "password":"jimmyjohns", "birth_month":"march",
"email":"", "major":"information systems"} -
ANS my_profile["password"]=13567

2 @COPYRIGHT 2025/2026 ALLRIGHTS RESERVED.

Document information

Uploaded on
November 25, 2025
Number of pages
5
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
CA$18.82

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.
Brightstars
3.3
(41)
Sold
269
Followers
7
Items
14982
Last sold
3 days 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