You are on page 1of 34

INTERNSHIP REPORT

Aqmenz Automation Pvt. Ltd


(AAPL)

NAME : DINESH KUMAR REDDY G


USN : 1RI21CS037
COLLEGE NAME : RR INSTITUTION OF TECHNOLOGY
DEPARTMENT : COMPUTER SCIENCE
INFORMATION :

1. Department/Program : Indoskill training division /


Internship program

2. Name of Student : DINESH KUMAR REDDY G

3. Student USN : 1RI21CS037

4. Class: 3rd sem, ‘A’sec

5. Current Mailing Address : RRIT, CSE Department Chikkabanavara

6. Mobile & WhatsApp No. : 7981192946

7. Current Email Address : reddygdineshkumar45@gmail.com

8. Major Field of Study : Computer Science and Engineering

9. Title of Project : Rock paper scissors game using Python

10. Proposed date of start of internship : 11/10/2022

11. Probable date of completion of internship : 31/10/2022

12. Address of Company with contact no. : Amen Automation Pvt.Ltd.,Banglore-560032

(m) 9738802359

13. Nature of internship work: Programming

Learning New Technology Other Type Specify


SIGNATURES :
________________ _________________ ___________________-
Signature of Guide Signature of HOD Signature of Pricipal
[Prof. Venna M S] [Dr. Manjunath R] [Dr. Mahendra K V]
(STUDENT)
Assistant professor (SUPERVISOR)
Professor and Head (HOD)
Principal
Dept.of CSE RRIT Dept. of CSE RRIT RRIT . Bangalore.
ACKNOWLEDGEMENT

It is indeed with a great sense of pleasure and immense sense of gratitude that I acknowledge the
help of these individuals. First, I would like to thank MR. MOHAMMED AZHAR the Director of
AQMENZ AUTOMATION PVT.LTD for giving me the opportunity to do an internship within the
organization. I’m highly indebted to Managing Director MR. MOHAN V S Ms. ARSHIYA
FATHIMA, MR. VENKATESH BABU, & Mrs. AFROZ Training division for their support and
advice to complete the internship in the allocated area. I would like to thank Internship Guide
(Internal) Mrs. VEENA M.S, Assistant Professor, CSE Department, RR Institute of Technology,
Bengaluru-560090 for his support and advice to complete the internship in above-said organization.
I also would thank all the people who worked along with me from R R Institution & AQMENZ
AUTOMATION PVT.LTD with their patience and openness they created an enjoyable working
environment.

INFORMATION
<STUDENT NAME WITH SIGNATURE>
PROGRAMMES AND OPPORTUNITIES:

The Indoskill Training Division combines pioneering research with top-classs education. An innovative
curriculum for cutting edge technology course allows the interns flexibility in selecting internship
domains and projects. Students, even at the undergraduate or post graduate level, get to participate in
ongoing research and technology development - an opportunity unprecedented in India. As a result, an
vibrant upskill program co-exists with a strong career enhancement opportunity.

ORGANIZATION INFORMATION
Indoskill Training Division is an initiative by Academician and Industry experts with a vision to
provide practical oriented training internship programs along with Industry recognized certification
supported by expert guidance to crack the job interviews. We have trained more than 1000 + from various
colleges across Karnataka.

Indoskill started its training division in pursuance of our continued efforts to enhance the skills of the
students, Indoskill from time to time gets associated with leading MNC’s to explore the various industry
related opportunities for students.

With technology advancing at rapid pace, Industries are forced to adapt to the changes, which in turn
impacts the recruitment industry. To cope up with the changes, professionals need to scale up their skills
and come out of the academic mind-set to embrace the advancement of the technology, Indoskill have
structurally designed the Internship keeping in view the changes of the market and accordingly
customizing the programs to suit the ever-changing Industry requirements.

INTERNSHIP PROJECTSTEPS:
We offer [summer Internship, Winter Internship, Long Term Internship and short-term Internship]
programs for students. Where students learn the new technology and follow these steps to complete
project assignment.
LEARNING OBJECTIVES/INTERNSHIP OBJECTIVES:

 Internships are generally thought of to be reserved for college students looking to gain experience
in a particular field. However, a wide array of people can benefit from Training Internships in
order to receive real world experience and develop their skills.

 An objective for this position should emphasize the skills we already possess in the area and our
interest in learning more

 Internships projects are related to number of different career fields, including architecture,
engineering, healthcare, economics, advertising and many more.

 Some internships are used to allow individuals to perform scientific research while others are
specifically designed to allow people to gain first-hand experience working.

 Utilizing internships is a great way to build our resume and develop skills that can be emphasized
in our resume for future jobs. When we are applying for a Training Internship, make sure to
highlight any special skills or talents that can make we stand apart from the rest of the applicants
so that we have an improved chance of landing the position.
ABSTRACT :

The internship report highlights the major works carried out in terms of academic and non-academic
perspectives. The scope of this document is to identify and describe the analysis carried out, projects
completed, experience gained and focuses on the achievements as an intern.

The quest to make life easiand processing faster has led to computerization of various processes.
Computer technology has transformed so many sectors especially the Educational Sector in no small
measure.

The quest to make life easier and processing faster has led to computerization of various processes.
Computer technology has transformed so many sectors especially the Educational sector in no small
measure.

This report evaluates the potential of Text processing in Artificial Intelligence.

The report begins with the first activity which is installation of the software (Anaconda) and an
overview of Artificial Intelligence and Machine Learning and its key characteristics.

It then discusses the potential of text processing which includes:

 Regular Expressions
 Some basic Python programs
 Some definitions about jupyter notebook
 Features of Anaconda and jupyter notebook
 Different ways to read the data from different file options and double split patterns
 Speech Synthesis
 Wordcloud - generation, applications, tokenization, lemmatization/stemming,
frequencycount

This report also assesses the projects associated with the text processing. Finally, this report provides
conclusions about the executed project and recommendation for furtherresearch.
TABLE OF CONTENTS :

Sl. No. Contents

1 Introduction

2 Important parameters

3 About python

4 Simple python programs

5 Using a programming language

6 Regular Expressions

7 Functions in Python

8 Introduction to project

9 Project example programs

11 Conclusion
INTRODUCTION :

 WHAT IS PYTHON?

• Python is a general purpose programming language that is often applied in scripting roles.
• So, Python is programming language as well as scripting language.
• Python is also called as Interpreted language

It is used for -
• web development (server-side),
• software development,
• mathematics,
• system scripting.

 WHAT CAN PYTHON DO?


• Python can be used on a server to create web applications.
• Python can be used alongside software to create workflows.
• Python can connect to database systems. It can also read and modify files.
• Python can be used to handle big data and perform complex mathematics.
• Python can be used for rapid prototyping, or for production-ready software development.

 WHY PYTHON?

• Python works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc).
• Python has a simple syntax similar to the English language.
• Python has syntax that allows developers to write programs with fewer lines than some other
programming languages.
• Python runs on an interpreter system, meaning that code can be executed as soon as it is
written. This means that prototyping can be very quick.
• Python can be treated in a procedural way, an object-orientated way or a functional way.
 VERSIONS:

• The most recent major version of Python is Python 3, which we shall be using in this tutorial.
However, Python 2, although not being updated with anything other than security updates, is still
quite popular.
• In this tutorial Python will be written in a text editor. It is possible to write Python in an Integrated
Development Environment, such as Thonny, Pycharm, Netbeans or Eclipse which are particularly
useful when managing larger collections of Python files.

 PYTHON SYNTAX COMPARED TO OTHER PROGRAMMING


LANGUAGES

• Python was designed for readability, and has some similarities to the English language with
influence from mathematics.
• Python uses new lines to complete a command, as opposed to other programming languages
which often use semicolons or parentheses.
• Python relies on indentation, using whitespace, to define scope; such as the scope of loops,
functions and classes. Other programming languages often use curly-brackets for this purpose.

 PYTHON INSTALL
Follow Python installation guide.
To check if we have python installed on a Windows PC, search in the start bar for
Python orrun the following on the Command Line (cmd.exe):

C:\Users\>python –version
 PYTHON QUICKSTART

Python is an interpreted programming language, this means that as a developer we write Python (.py)
files in a text editor and then put those files into the python interpreter to be executed.

The way to run a python file is like this on the command line:

C:\Users\Your Name>helloword.py

Let's write our first Python file, called helloworld.py, which can be done in any text editor.

helloworld.py print("Hello, World!")

Simple as that. Save file. Open command line, navigate to the directory where we saved our file, and
run:

C:\USERS\YOUR NAME>PYTHON HELLOWORLD.PY

The output should read:Hello, World!

 DIFFERENCES BETWEEN PROGRAM AND SCRIPTING


LANGUAGE

Program:
• a program is executed (i.e. the source is first compiled, and the result of that compilation
is expected)
• A "program" in general, is a sequence of instructions written so that a computer can
perform certain task
Scripting :
• a script is interpreted
• A "script" is code written in a scripting language. A scripting language is nothing but atype of
programming language in which we can write code to control another softwareapplication.

 USE OF PYTHON ...?


The following primary factors cited by Python users seem to be these:

• Python is object-oriented :
Structure supports such concepts as polymorphism, operation overloading, and multiple
inheritance.

• It's free (open source) :


Downloading and installing Python is free and easy Source code is easily accessible

• It's powerful :
Dynamic typing

Built-in types and tools


Library utilities

Third party utilities (e.g. Numeric, NumPy, SciPy)

Automatic memory management

• Portable :
Dynamic typing
 PYTHON SHELL

Running python
Once inside the Python interpreter, type in commands at will.

• EXAMPLE: >>> print 'Hello world'

Hello world

A Code Sample (in IDLE)

Sample Code: file name sample.py

x = 34-23 # Acomment
y = “Hello”# Another
one.z = 3.45

if z == 3.45 or y ==
“Hello”:x = x + 1

y = y + “ World”# String
concat.

print x print y
SOME IMPORTANT PARAMETERS:
 Comments: It Start with symbol #, rest of line is ignored
Naming Rules : Names are case sensitive and cannot start with a number.They can contain letters,
numbers, and underscores.
Ex: bob Bob _bob _2_bob_ bob_2 BoB
 Assignment:Binding a variable in Python means setting a name to hold a reference to some object
Assignment creates references, not copies
 Multiple Assignments:
We can assign to multiple names at the same time. Ex:- x, y = 2, 3
Assignments can be chained. Ex:- a = b = x = 2
Easy to swap values. Ex:- x, y = y, x

Python Indentation:
Indentation refers to the spaces at the beginning of a code line.

Where in other programming languages the indentation in code is for readability only, the indentation in
Python is very important.

Python uses indentation to indicate a block of code.

EXAMPLE

if 5 > 2:
print("Five is greater than two!")

Python will give an error if we skip the indentation:

EXAMPLE

Syntax Error:

if 5 > 2:
print("Five is greater than two!")

The number of spaces is up to we as a programmer, but it has to be at least one.


PYTHON VARIABLES :

- In Python variables are created the moment we assign a value to it:

EXAMPLE

Variables in Python:

x=5
y = "Hello, World!"

Python has no command for declaring a variable.

COMMENTS :

 Comments can be used to explain Python code.


 Comments can be used to make the code more readable.
 Comments can be used to prevent execution when testing code.

 Creating A comment

- Python has commenting capability for the purpose of in-code documentation.

- Comments start with a #, and Python will render the rest of the line as a comment:

EXAMPLE

- Comments in Python:

- #This is a comment.
print("Hello, World!")
- Comments can be placed at the end of a line, and Python will ignore the rest of the line:

EXAMPLE

- print("Hello, World!") #This is a comment


 Multi Line Comments :
Python does not really have a syntax for multi-line comments.To add a multiline comment we
could insert a # for each line:

EXAMPLE :

#This is a comment
#written in
#more than just one line
print("Hello, World!")

- Or, not quite as intended, we can use a multiline string.

Since Python will ignore string literals that are not assigned to a variable, we can add a multiline string
(triple quotes) in our code, and place our comment inside it:

 Creating Variables :
Variables are containers for storing data values.Unlike other programming languages, Python
has no command for declaring a variable.

A variable is created the moment we first assign a value to it.

EXAMPLE :

x=5
y = "John"
print(x)
print(y)

Variables do not need to be declared with any particular type and can even change type after
they have been set.
 Variable Names :
A variable can have a short name (like x and y) or a more descriptive name (age, carname,
total_volume). Rules for Python variables:

 A variable name must start with a letter or the underscore character


 A variable name cannot start with a number
 A variable name can only contain alpha-numeric characters and underscores (A-z, 0-9, and _)
 Variable names are case-sensitive (age, Age and AGE are three different variables)

 Assign Value to Multiple Variables :

Python allows we to assign values to multiple variables in one line:

EXAMPLE :

x, y, z = "Orange", "Banana", "Cherry"


print(x)
print(y)
print(z)

 Output Variables :

The Python print statement is often used to output variables.

To combine both text and a variable, Python uses the + character:

EXAMPLE :

x = "awesome"
print("Python is " + x)

we can also use the + character to add a variable to another variable:

EXAMPLE :
x = "Python is "
y = "awesome"
z= x+y
print(z)
 Global Variables :
Variables that are created outside of a function (as in all of the examples above) are known as global
variables. Global variables can be used by everyone, both inside of functions and outside.

EXAMPLE :
Create a variable outside of a function, and use it inside the function

x = "awesome"
def myfunc():
print("Python is " + x)
myfunc()
If you create a variable with the same name inside a function, this variable will be local, and can only be used
inside the function. The global variable with the same name will remain as it was, global and with the original
value.

PYTHON DATA TYPES


Built-in Data Types :
In programming, data type is an important concept. Variables can store data of different types, and
different types can do different things.

Python has the following data types built-in by default, in these categories:

 Text Type: Str

 Numeric Types: int, float, complex

 Sequence Types: list, tuple, range

 Mapping Type: Dict

 Set Types: set, frozenset

 Boolean Type: Bool

 Binary Types: bytes, bytearray, memoryview


 Setting the Data Type :
In Python, the data type is set when we assign a value to a variable:

Example Data Type

x = "Hello World" str

x = 20 int

x = 20.5 float

x = 1j complex

x = ["apple", "banana", "cherry"] list

x = ("apple", "banana", "cherry") tuple

x = range(6) range

x = {"name" : "John", "age" : 36} dict


 Setting the Specific Data Type :
If we want to specify the data type, we can use the following constructor functions:

Example Data Type

x = str("Hello World") str

x = int(20) int

x = float(20.5) float

x = complex(1j) complex

x = list(("apple", "banana", "cherry")) list

x = tuple(("apple", "banana", "cherry")) tuple

x = range(6) range

x = dict(name="John", age=36) dict

x = set(("apple", "banana", "cherry")) set

x = frozenset(("apple", "banana", "cherry")) frozenset

x = bool(5) bool

x = bytes(5) bytes

x = bytearray(5) bytearray
TYPE CASTING :

We can convert from one type to another with the int(), float(), and complex() methods:

EXAMPLE :

• Convert from one type to another :

x = 1 # int
y = 2.8 # float
z = 1j # complex

#convert from int to float:


a = float(x)

#convert from float to int:


b = int(y)

#convert from int to complex:


c = complex(x)

print(a)
print(b)
print(c)

print(type(a))
print(type(b))
print(type(c))
OPERATORS:
Operators are used to perform operations on variables and values.

• Arithmetic operators

• Assignment operators

• Comparison operators

• Logical operators

• Identity operators

• Membership operators

• Bitwise operators

 Arithmetic Operators :

Operator Name Example

+ Addition x+y

- Subtraction x-y

* Multiplication x*y

/ Division x/y

% Modulus x%y

** Exponentiation x ** y

// Floor division x // y
 Assignment Operators:

Operator Example Same as

= X=5 X=5

+= X+=3 X=X+3

-= X-=6 X=X+6

*= X*=4 X=X*4

/= X/=2 X=X/2

%= X%=3 X=X%3

//= X//=2 X=X//2

**= X**=3 X=X**3

 Comparison Operators:

Operator Example Same as

== Equal X == Y

!= Not Equal X != Y
> Greater than X>Y

< Less than X<Y

>= Greater than or Equal to X >= Y

<= Less than or equal to X <= Y

 Logical Operators:

Operator Description Example

and Returns True if both statements are x < 5 and x < 10


true

or Returns True if one of the x < 5 or x < 4


statements is true

not Reverse the result, returns False if not (x < 5 and x < 10)
the result is true
 Bitwise Operators:

Operator Name Example

& AND Sets each bit to 1 if both bits are 1

| OR Sets each bit to 1 if one of two bits is 1

^ XOR Sets each bit to 1 if only one of two bits is 1

~ NOT Inverts all the bits

<< Zero fill left Shift left by pushing zeros in from the right and let the leftmost bits fall off
shift

>> Signed right Shift right by pushing copies of the leftmost bit in from the left, and let the
shift rightmost bits fall off

CONDITIONAL STATEMENTS:

If Statement:

An "if statement" is written by using the if keyword.

EXAMPLE

a = 33
b = 200
if b > a:
print("b is greater than a")
else:
print("b is less than a"))
elif Statement:

The elif keyword is pythons way of saying "if the previous conditions were not true, then try this
condition".

EXAMPLE:

a = 33
b = 33
if b > a:
print("b is greater than a")
elif a == b:
print("a and b are equal")

• Example Program 1 :

Write program Find an Area of circle:

Area = pi * r2
where r is radius of circle
Program:

def findArea(r):

PI = 3.142

return PI * (r*r);

# Driver method

print("Area is %.6f" % findArea(int(input('Enter Radius: '))))

• Example Program 2 :

Write program To check if a given number is Fibonacci or not:

A number is Fibonacci if and only

if one or both of (5*n2 + 4) or (5*n2 – 4) is a perfect square


Program:

# python program to check if x is a perfect square


import math

# A utility function that returns true if x is perfect square


def isPerfectSquare(x):
s = int(math.sqrt(x))
return s*s == x

# Returns true if n is a Fibinacci Number, else false


def isFibonacci(n):

# n is Fibinacci if one of 5*n*n + 4 or 5*n*n - 4 or both


# is a perferct square
return isPerfectSquare(5*n*n + 4) or isPerfectSquare(5*n*n - 4)

# A utility function to test above functions

x = int(input('Enter the no. : '))

if (isFibonacci(x) == True):
print (x,"is a Fibonacci Number")
else:
print (x,"is a not Fibonacci Number ")
ABOUT PYTHON PROGRAMMING LANGUAGE :

 ANACONDA:
Anaconda is an open-source distribution of the Python and R programming languages for data
science that aims to simplify package management and deployment.

 JUPYTER:
The Jupyter Notebook is an open source web application that we can use to create and share
documents that contain live code, equations, visualizations and text.

 Applications of Anaconda:
 We use Anaconda to create environments for isolating our projects that use different
versionsof Python and/or different version of packages.
 We also use it to install, uninstall, and update packages in our project environments
 Applications of Jupyter Notebook:
• Jupyter Notebook is used when writing code, or learning how to write, code.
• Jupyter Notebooks called google Collaboratory that allows users to collaborate on
projects using Google Drive.
• Jupyter Notebook is compatible with multiple tools, it can be used to streamline the
process of data organization and cleaning.
• It allows users to compile all aspects of a data project in one place making it easier to show
the entire process of a project to intended audience. Through the web-based application,
users can create data visualizations and other components of a project to share with others
viathe platform.
• Jupyter Notebook allows students to collaborate on data science and computer
programming projects.

In the world of programming languages, there are very few languages accepted by millions of
programmers and users globally. Undoubtedly python is one of the highly accepted and used
programming languages. It has been in the programming world for many years, and the good thing is,
it is becoming popular with each passing day. The introduction of new features is also attracting many
developers and businesses to adapt Python for their business.
REGULAR EXPRESSION :

There are a variety of ways to process text data.

The most common methods include using regular expressions, string functions and text editors. Regular
expressions are a powerful way to process text data. They can be used to find patterns in text, to replace
text, and to split text into smaller pieces. String functions are another common way to process text data.
They can be used to manipulate strings to find substrings, and to convert between different string
formats. Text editors are also commonly used to process text data. They can be used to view and edit
text, format text, and to find and replace text.

 Some of the regular expressions are:

• ‘^’ - Matches beginning of line.

• ‘$’ - Matches end of line.

• ‘.’ - Matches any single character except newline. Using m option allows it to
match newline aswell.

• ‘\d’- Matches digits equivalent to [0-9].

• ‘\S’- Matches non-whitespace.

• ‘\s’- Matches whitespace. Equivalent to [\t\n\r\f].

• ‘\W’-Matches non-word characters.

• ‘\w’- Matches word characters

• ‘\D’- Matches non-digits.

• ‘\A’- Matches beginning of string.


FUNCTIONS IN PYTHON :

There are a number of functions available in regular expressions, which can be used to perform
various tasks.

 The most commonly used function is the match( ), which is used to match a string
against a regular expression.
 The match( ) takes two arguments, the first being the regular expression to match against,
and the second being the string to match against. If the match is successful, the function
returns an array containing the matched string, as well as any capturing groups that were
defined in the regular expression. If the match is unsuccessful, the function returns null.

 Another commonly used function is the search( ), which is used to search for a given
regular expression within a string.
 The search( ) takes two arguments, the first being the regular expression to search for, and
the second being the string to search within. If the regular expression is found within the
string, the function returns the position of the match within the string. If the regular
expression is not found,the function returns -1.

 The replace( ) is used to replace all occurrences of a given regular expressiothe n with
replacementstring.
 The replace( ) takes two arguments, the first is the regular expression to match and the
second is the string to replace it with.

 The help( ) function is used to display the documentation string and help for a given
object, andalso determines if the object is callable.
 re.search( ) is used to search for a specific pattern in a string.

 The findall() function returns a list containing all matches.

 The split() function returns a list where the string has been split at each match.

 The sub() function replaces the matches with the text of our choice





INTRODUCTION TO PROJECT
 


G DINESH KUMAR REDDY

1RI21CS037

Rock paper scissors Game using python










PYTHON PROGRAM OF ROCK PAPER SCISSORS GAME

import random

player1 = input("Select Rock, Paper, or Scissor :").lower()


player2 = random.choice(["Rock", "Paper", "Scissor"]).lower()
print("Player 2 selected: ", player2)

if player1 == "rock" and player2 == "paper":


print("Player 2 Won")
elif player1 == "paper" and player2 == "scissor":
print("Player 2 Won")
elif player1 == "scissor" and player2 == "rock":
print("Player 2 Won")
elif player1 == player2:
print("Tie")
else:
print("Player 1 Won")

OUTPUT
Select Rock, Paper, or Scissor :Paper
Player 2 selected: scissor
Player 2 Won
CONCLUSION :

I had the opportunity to do my internship. It was an amazing experience that broadened my understanding
of the speech recognition using text and how is it operated.

I was able to work on real-world projects and see how my skills and knowledge could be applied in a
professional setting.

I also gained valuable experience in working with a team of professionals and collaborating on projects.

Overall, it was a great learning experience that I would highly recommend to anyone considering a career
in business.

THANK YOU

You might also like