Day 30 of My Data Analytics Journey !
Today marks the 30th day of my Data Analytics learning!
The following questions and tasks were given by my Training Director to strengthen my basics and improve my practical skills.
πΉ 1. How did Python get its name?
Python was created by Guido van Rossum in the late 1980s.
The name didnβt come from the snake π, but from the British comedy show Monty Pythonβs Flying Circus.
Guido wanted something short, unique, and fun for his programming language.
πΉ 2. What is a Scripting Language?
- A scripting language is used to automate tasks
- Usually interpreted, not compiled
- Examples: Python, JavaScript, Bash
π Think of it as writing small programs to quickly solve problems
πΉ 3. What is a Query Language?
- A query language is used to interact with databases
- Example: SQL (Structured Query Language)
π You use it to ask questions from your data, like:
SELECT name, age FROM students WHERE age > 20
πΉ 4. What is a Programming Language?
- A programming language is a formal language to build software
- Examples: Python, Java, C++
π You use it to design algorithms, build applications, and solve complex problems
πΉ 5. Difference Between Scripting, Query, and Programming
- Scripting Language β Used for automation (e.g., Python, JavaScript, Bash)
- Query Language β Used for extracting and manipulating data (e.g., SQL)
- Programming Language β Used for building full applications (e.g., Java, C++, Python)
πΉ 6. Task β Repeat a Sentence 2000 Times in MS Word (Macro Method 1)
Sometimes Alt+F11 may not open VBA editor. Instead, use this method:
Step 1: Enable Developer Tab
- Open MS Word
- Go to File β Options β Customize Ribbon
- On the right side, tick Developer β Click OK
π Now youβll see the Developer tab
Step 2: Open Visual Basic Editor
- Go to the Developer tab
- Click Visual Basic
Step 3: Insert a Module
- In the VBA editor, click Insert β Module
- A blank window opens
Step 4: Paste This Code
Sub RepeatSentence()
βDim i As Long
βFor i = 1 To 2000
ββSelection.TypeText “I am learning Data Analytics.” & vbCrLf
βNext i
End Sub
Step 5: Run the Macro
- Close the VBA editor
- In Word β Developer β Macros
- Select RepeatSentence β Click Run
β our sentence will be repeated 2000 times in the document automatically.
πΉ 7. Task β Send Different Emails to 100 People (Thunderbird Mail Merge)
- Create a CSV file with columns like Email, Name, and Message
-
Example:
- test1@gmail.com β Ramya β Hello Ramya, how are you?
- test2@gmail.com β Visky β Hi Visky, keep learning!
-
In Thunderbird β Install Mail Merge Add-on
-
Write an email like this:
To: {{Email}}
Subject: Personal Mail
Hi {{Name}},
{{Message}}
- Go to Tools β Mail Merge β Select CSV β Send Now β
πΉ 8. Task β VLOOKUP & HLOOKUP in Excel
VLOOKUP (Vertical Lookup):
=VLOOKUP(101, A2:C10, 2, FALSE)
π Finds the value in the 2nd column for ID 101
HLOOKUP (Horizontal Lookup):
=HLOOKUP(“Maths”, A1:F3, 2, FALSE)
π Finds the value under the βMathsβ heading .