BBA
Archive

Programming for business Analytics – Spring 2026 – Midterm

Course:0613-114 - Programming for business Analytics
Semester:Spring 2026
Batch:BBA-70
Uploaded:February 27, 2026
Uploaded By:Laiba Jahan Laboni

Citing in ChatGPT or a paper? Get citation formats →

Comprehensive AI Study Guide

Read our deeply researched study guide, topics breakdown, and FAQs for this exam paper.

Read Full Guide →

Answer Scripts

Browse student-contributed solutions or upload your own to help the community.

No answer scripts have been uploaded for this question yet.

Be the first to upload
Upload Answer Script

Exam Paper Text Transcript (AI-OCR)

Search-optimized crawlable question text.

1. You are developing a Python program for a school system where students can input their name, age, and GPA. The program should store this data and display it back to the user. Additionally, you need to follow the rules for variable declaration and input handling in Python. a) Show the rules for declaring variables in Python. What are the restrictions on variable names in Python? List at least three important rules for naming variables. 10 CLO1 b) Define a Python program by writing that: 1. Takes the student's name as input (string). 2. Takes the student's age as input (integer). 3. Takes the student's GPA as input (float). 4. Prints the student's information in a readable format. 2. You are building a Python program for a ticket booking system for a theme park. The system needs to determine the ticket price based on the user's age and whether they are a member of the park's loyalty program. The rules are as follows: 1. If the user is under 18 years old, the ticket price is $10, regardless of membership status. 2. If the user is 18 years or older but under 60 years: If they are a member of the loyalty program, the ticket price is $30. If they are not a member, the ticket price is $50. 3. If the user is 60 years or older: If they are a member of the loyalty program, the ticket price is $15. If they are not a member, the ticket price is $25. Contrast a Python program that: 1. Asks for the user's age and Asks whether the user is a member of the loyalty program (Yes or No). 2. Determines and displays the ticket price based on the above rules. 10 CLO2 3. You are developing a Python program that needs to print out the first n numbers in the Fibonacci sequence. The Fibonacci sequence starts with 0 and 1, and each subsequent number is the sum of the two preceding ones. For example: 0, 1, 1, 2, 3, 5, 8, 13, 21... To achieve this, you have two options: using a for loop or a while loop. Each of these loops has its own characteristics and use cases. Identify the purpose of loops in Python? Explain the differences between a for loop and a while loop. 5 CLC

How to Use This Paper

Programming for business Analytics – Spring 2026 – Midterm is archived for Programming for business Analytics (0613-114) so DIU BBA students can review the actual exam format. Use it to identify marks distribution, repeated chapter areas, and question patterns for Spring 2026 for Batch BBA-70.

A good way to practice is to solve the paper once without notes, mark the questions you could not finish, then compare your answers with class materials or any answer scripts available below.

Frequently Asked Questions

What is the course code for Programming for business Analytics ?

The course code for Programming for business Analytics at DIU BBA is 0613-114.

Where can I download Programming for business Analytics – Spring 2026 – Midterm?

You can download Programming for business Analytics – Spring 2026 – Midterm for Programming for business Analytics (0613-114) from the DIU BBA Archive.