100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

BADM 211- EXAM 1 CODING PRACTICE QUESTIONS AND ANSWERS ALREADY PASSED

Rating
-
Sold
-
Pages
4
Grade
A+
Uploaded on
19-11-2025
Written in
2025/2026

BADM 211- EXAM 1 CODING PRACTICE QUESTIONS AND ANSWERS ALREADY PASSED Business Analytics - Answers The science of transforming data into insights and models that lead to better decisions and add value to individuals, companies and societies. print(my_()) - Answers Converts string into upper case & converts it to new string Import required packages: pandas, numpy, with aliases pd, np, plt, respectively - Answers import pandas as pd import numpy as mp import as plt Create a list with 5 prime numbers - Answers 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] - Answers prime_numbers[2] 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] - Answers 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] - Answers sum(prime_numbers[0:5]) output: 18 Write a code to print the value responding to key, name - Answers my_profile["name"] output: Breena Define a dictionary with keys: name, password, birth_month, email, major. Name it my_profile. - Answers my_profile={"name":"Breena ", "password":"jimmyjohns", "birth_month":"march", "email":"", "major":"information systems"} modify the value corresponding to key, password

Show more Read less
Institution
BADM 211
Course
BADM 211








Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
BADM 211
Course
BADM 211

Document information

Uploaded on
November 19, 2025
Number of pages
4
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

BADM 211- EXAM 1 CODING PRACTICE QUESTIONS AND ANSWERS ALREADY PASSED

Business Analytics - Answers 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()) - Answers Converts string into upper case & converts it to new string

Import required packages:

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

import numpy as mp

import matplotlib.pylab as plt

Create a list with 5 prime numbers - Answers 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] - Answers prime_numbers[2]



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] - Answers 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] - Answers sum(prime_numbers[0:5])



output: 18

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

Get to know the seller

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.
TutorJosh Chamberlain College Of Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
343
Member since
1 year
Number of followers
16
Documents
28804
Last sold
3 days ago
Tutor Joshua

Here You will find all Documents and Package Deals Offered By Tutor Joshua.

3.6

53 reviews

5
18
4
14
3
12
2
0
1
9

Recently viewed by you

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

Frequently asked questions