You are on page 1of 10

A

Seminar Report
on
Crash Course on Python
Submitted in partial fulfillment for the award of degree of
BACHELOR OF TECHNOLOGY
In
Computer Science & Engineering

Coordinator: Submitted By:


Loveleen Kumar RAM GOPAL SIDDH
RTU Roll No. 19EGJCS188

Submitted to:
Dr. S. S. Shekhawat
Head of Dept.

Department of Computer Science & Engineering


GLOBAL INSTITUTE OF TECHNOLOGY
JAIPUR (RAJASTHAN)-302022
SESSION: 2021-22

I
Certificate

II
Acknowledgement

I take this opportunity to express my deep sense of gratitude to my coordinator Mr. Loveleen
Kumar, Assistant Professor Department of Computer Science and Engineering, Global Institute
of Technology, Jaipur, for his valuable guidance and cooperation throughout the Practical
Training work. He provided constant encouragement and unceasing enthusiasm at every stage of
the Practical Training work.
We are grateful to our respected Dr. I. C. Sharma, Principal GIT for guiding us during
Practical Training period
We express our indebtedness to Dr. S. S. Shekhawat, Head of Department of Computer Science
and Engineering, Global Institute of Technology, Jaipur for providing me ample support during
my Practical Training period.
Without their support and timely guidance, the completion of our Practical Training would have
seemed a farfetched dream. In this respect we find ourselves lucky to have mentors of such a
great potential.

Place: GIT, Jaipur

RAM GOPAL SIDDH


19EGJCS188
B.Tech. V Semester, 3rd Year, CS

III
Abstract

This course is designed to teach you the foundations in order to write simple programs in Python
using the most common structures. No previous exposure to programming is needed. By the end
of this course, you'll understand the benefits of programming in IT roles; be able to write simple
programs using Python; figure out how the building blocks of programming fit together; and
combine all of this knowledge to solve a complex programming problem.

We'll start off by diving into the basics of writing a computer program. Along the way, you’ll
get hands-on experience with programming concepts through interactive exercises and real-
world examples. You’ll quickly start to see how computers can perform a multitude of tasks —
you just have to write code that tells them what to do.

IV
Table of Contents

Certificate........................................................................................................................................ii

Acknowledgement..........................................................................................................................iii

Abstract...........................................................................................................................................iv

Table of Content..............................................................................................................................v

Learning Objectives ……………………………………………………………………...vi

Week 1.......................................................................................................................................1
1.1INTRODUCTIOANDOBJECTIVE………………………………………………………………………
…….1
1.2 Introduction to Programming ……………………………………………..2
1.3 introduction of python…………………………………………………………….2
1.4helloworld……………………………………………………………………………2
Week 2………………………………………………………………………………….
2.1ExpressionsandVariables………………………………………………………………
…….2
2.2Function………………………………………………………………………………
…………3
2.3
conditionals………………………………………………………………………………………
……………3
Week3……………………………………………………………………………………………
………………………….3

3.1 While Loops………………………………………………………………………..3


3.2 For loops…………………………………………………………………………..3

Week4……………………………………………………………………………………………….4

V
4.1 Strings………………………………………………………………………………….4
4.2 Lists……………………………………………………………………………………4
4.3 Dictionaries………………………………………………………………………….4

Week5………………………………………………………………………………………..4
5.1 Object-oriented Programming………………………………………………………4
5.2 Classes and Methods………………………………………………………………5

5.3 Code Reuse…………………………………………………………………………5

1.1 INTRODUCTION AND OBJECTIVE

computer programming skills open up an incredible amount of opportunity. Being able to


write scripts and programs that tell your computer to perform a task equips you with an invaluable
tool. Not only does it make your work easier and more efficient, it can help you grow faster and
advance further in your IT career. But how do you even start to learn a programming language like
Python? How do you recognize when to tell a computer to perform a task? And how do you then
write a program to actually get your computer complete the task you want it to do? The thought of
learning to write a program in Python can make you feel a whole bunch of emotions excitement,
anticipation that feeling of wanting to dive right in and get going and also fear. You might ask
yourself, can I really learn how to code or do I have it in me? I'm here to tell you, yes, you can
absolutely do this. Learning how to program can be scary and intimidating, but at the same time it's

VI
really fun and really exciting. I coding as in life, if we're going to get philosophical, the most
rewarding work is usually a bit challenging, but ultimately well worth the effort.

If you've ever learned a new skill, like playing a musical instrument, speaking a foreign
language, knitting, or skateboarding. You know that getting good at something new requires a lot
of practice. For me, I love to learn new languages and I'm proud to say I speak Spanish, Arabic,
French, and I even know ten words in Russian. Our world is shaped by the words and the
languages we speak and while some words may be unique to one language you can always find
similarities that help you learn and understand. Being able to connect the dots between cultures
allows me to see things others might not, kind of sounds like this applies to IT
programming,huh? My point is, whether you're learning French or Python, it 's never easy. You
have to start small, learn the basics and practice those until you master them.

Only then can you move on to more complex and impressive stuff and I'm here to help
you along that path along with my colleagues who you'll meet in later courses. We'll start slow,
master the foundation's together and you'll soon be ready for more challenging stuff. So are you
wondering why we filmed this course in a cabin on a lake in Canada. The truth is were actually
in a game room at one of the Google offices in Sunnyvale, California. We chose a different
themed office space for each course of the program just to mix things up and I think I scored
with this one. I should warn my manager that I'll be hanging out in this one well after the course
ends because it's super comfy. By the end of this course, you'll understand the benefits of
programming in IT roles. You'll be able to write simple programs using Python, figure out how
the building blocks of programming fit together, and combine all this knowledge to solve a
complex programming proble

1.2Introduction to Programming

a.The Beginning of Your Programing

b. What is programming?

c. What is automation?

VII
d Getting Computers to Work for You

1.3 introduction of python


a. What is Python?
B .Why is Python relevant to IT?
c. Other Languages
1.4 hello world
A .Hello, World!
b. Getting Information from the User
c. Python Can Be Your Calculator

week 2
Basic Python Syntax
2.1 Expressions and Variables
a.Basic Python Syntax introduction
b.Data Types
c.Variables
d. Expressions, Numbers, and Type Conversions
2.2 Function
a. Defining Functions
b. Returning Values
c. The Principles of Code Reuse
d. Code Style
2.3 conditionals
a. Comparing Things
b. Branching with if Statements
c. else Statements
d. elif Statements

week 3
Loops
3.1 While Loops
a. Introduction to Loops
b. What is a while loop?
c. More while Loop Examples
d. Why Initializing Variables Matters
e. Infinite Loops and How to Break Them
3.2 For loops
a. What is a for loop?
b. More for Loop Examples
c. Nested for Loops
d. Common Errors in for Loops

VIII
week 4
Strings, Lists and Dictionaries
4.1 Strings
a. Basic Structures Introduction
b. What is a string?
c. The Parts of a String
d. Creating New Strings
e. More String Methods
f. Formatting Strings

4.2 Lists
a. What is a list?
b. Modifying the Contents of a List
c. Lists and Tuples

d. Iterating over Lists and Tuples

e. List Comprehensions

4.3 Dictionaries
a. What is a dictionary?
b. Iterating over the Contents of a Dictionary
c.

week 5
Object Oriented Programming
5.1 Object-oriented Programming
a.OOP Introduction
b.What is Object-oriented programming?
c.Classes and Objects in Python
d.Defining New Classes

5.2 Classes and Methods


a. Instance Methods
b.Constructors and Other Special Methods
c.Documenting Functions, Classes, and Methods
d.About Jupyter Notebooks

5.3 Code Reuse


IX
a.About Jupyter Notebooks
b.Composition
c.Python Modules

You might also like