0% found this document useful (0 votes)
2 views2 pages

Python DSA Training PreRequisites

This document outlines a pre-requisite handout for Python and DSA training aimed at 7th semester B.E. students. It covers essential topics including basic Python syntax, input/output, conditionals, loops, functions, and lists/strings, along with suggested practice platforms and optional topics for extra preparedness. Students are advised to bring a laptop with Python installed, a LAN connector, a HackerRank account, and a notebook for practice.

Uploaded by

Dhanya Sonu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views2 pages

Python DSA Training PreRequisites

This document outlines a pre-requisite handout for Python and DSA training aimed at 7th semester B.E. students. It covers essential topics including basic Python syntax, input/output, conditionals, loops, functions, and lists/strings, along with suggested practice platforms and optional topics for extra preparedness. Students are advised to bring a laptop with Python installed, a LAN connector, a HackerRank account, and a notebook for practice.

Uploaded by

Dhanya Sonu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

PLACEMENT TRAINING- TECHNICAL

Pre-requisite Handout for Python + DSA Training


**Audience:** 7th Semester B.E. Students (CSE, ISE, ECE, etc.)

**Purpose:** To ensure students are ready to start coding from Day 1

1. Basic Python Syntax (2–3 hours)


• - What is Python? Interpreter vs Compiler
• - How to run Python code: Online (Replit), Local (VS Code or IDLE)
• - Comments (#), indentation rules
• - Try: Write a program that prints your name, age, and branch.

2. Input/Output & Variables


• - input() and print()
• - Data types: int, float, str, bool
• - Type conversion: int(), str(), float()
• - Try: Take user input for name and marks in 3 subjects. Print total and average.

3. Conditionals
• - if, elif, else statements
• - Comparison operators (==, !=, >, <, >=, <=)
• - Logical operators (and, or, not)
• - Try: Write a program to check if a number is even or odd.

4. Loops
• - for and while loops
• - range() usage
• - break and continue
• - Try: Print the first 10 multiples of 3 using both for and while loops.

5. Functions (Basic)
• - Defining and calling functions
• - Return values and parameters
• - Recursion intro (optional)
• - Try: Write a function that returns the factorial of a number.
6. Lists and Strings (Basic Ops)
• - Creating, accessing, slicing
• - append(), pop(), sort(), len()
• - String methods: .upper(), .lower(), .replace()
• - Try: Take a list of 5 numbers and find the max manually.

Optional Topics for Extra Preparedness


• - Tuples vs Lists
• - Dictionary basics (key:value)
• - Writing your first custom function with logic

Suggested Platforms for Practice


• - HackerRank - https://www.hackerrank.com/domains/python
• - W3Schools - https://www.w3schools.com/python/
• - Replit - https://replit.com/
• - Programiz - https://www.programiz.com/python-programming

What to Bring to the Training


• - Laptop with Python (3.13.5), download it from, www.python.org, installed (or use
Replit online)
• LAN Connector for your laptops is a must.
• - HackerRank account created in advance
• - Notebook for dry runs and logic sketches
• - Open mindset & readiness to solve problems!

You might also like