Smart Application Data Handler

Business Scenario

Welcome!
Imagine joining a tech company as a fresher developer. On the first day, your team assigns a simple but important taskβ€”build a small module that stores and processes user data inside an application.

Instead of complex systems, the team wants you to understand the basics first:

Mission

  • How data is stored

  • How it changes

  • How the system handles different types of data

This is exactly how real applications startβ€”small, simple, and structured

 

  • Understand variables and data types
  • Learn naming conventions

Pre-Lab Preparation

Pre-Lab Preparation

  • Perform type checking and conversion
  • Understand dynamic typing
  • Build a basic calculator module

a = 100

age = 32

height = 6.1

name = "Krish"

is_student = True

 

Create and Store Data (Variables)

πŸ‘‰ The system stores user data like age, name, and status.

 Display Stored Data

 Follow Naming Conventions

πŸ‘‰ Applications display user information on dashboards.

πŸ‘‰ Clean naming is important in real company code.

first_name = "Krish"

last_name = "Naik"

❌ Avoid:

# 2age = 30

# first-name = "Krish"

# @name = "Krish"

 

print("Age:", age)

print("Height:", height)

print("Name:", name)




first_name = "Krish"

last_name = "Naik"

❌ Avoid:

# 2age = 30

# first-name = "Krish"

# @name = "Krish"

 

Understand Case Sensitivity

πŸ‘‰ Systems treat variables differently based on case.

Understand Case Sensitivity

πŸ‘‰ Systems treat variables differently based on case.

Understand Case Sensitivity

πŸ‘‰ Helps developers debug and validate data.

name = "Krish"

Name = "Naik"

print(name == Name)   # Output: False

 

print(type(name))

print(type(age))

print(type(height))

print(type(is_student))

 

Type Conversion (Important in Industry)

age = 25

age_str = str(age)

print(age_str)

print(type(age_str))

 

       πŸ‘‰ Converting data is common in APIs and databases.

Handle Errors

name = "Krish"

# int(name)  βŒ This will cause error

 

        πŸ‘‰ Invalid data handling is critical in real systems.

Dynamic Typing

var = 10

print(var, type(var))

var = "Hello"

print(var, type(var))

var = 3.14

print(var, type(var))  

 

 

            πŸ‘‰ Python allows flexible data handling.

Simple Calculation Module

num1 = 56.0

num2 = 10.0

sum = num1 + num2

difference = num1 - num2

product = num1 * num2

quotient = num1 / num2

print("Sum:", sum)

print("Difference:", difference)

print("Product:", product)

print("Quotient:", quotient)  

 

        πŸ‘‰ This simulates backend calculations in apps.

 Double click on the download app and Accept the agreement and click next 

public class MathSample {
    public static void main(String[] args) {
        int x = 10;
        int y = 20;
        int sum = x + y;
        
        System.out.println("The sum is: " + sum);
    }
}
public class MathSample {
    public static void main(String[] args) {
        int x = 10;
        int y = 20;
        int sum = x + y;
        
        System.out.println("The sum is: " + sum);
    }
}

public class MathSample {
    public static void main(String[] args) {
        int x = 10;
        int y = 20;
        int sum = x + y;
        
        System.out.println("The sum is: " + sum);
    }
}

 

Great job!
You have successfully completed your first lab on BiteBox Project Onboarding.

In this lab, you have: Understood the BRD, Created a wireframe, Set up your development environment, Organised your project structure, Run your first program

You are now ready to move to the next stage of development

Checkpoint

Next-Lab Preparation

   Git Push

git push origin branchName

Topic : Working with a Text and Listin HTML

1) Power of HTML text tags
2) Customizing your style with CSS
3) Listing it right using HTML
4) HTML Link up , attributes of tag, block vs inline elements

Text box Width : 887
Business Scenario, Pre-lab Preparation, Next-lab Preparation, Task, Activity, Checkpoint : 90%.
Steps : 1,2,3 [Sub Steps - a,b,c]
Normal Text, Topic Name : 80%
Subtopic : 70%
Code Box font Size : 16px