This document contains information about a Python programming course, including chapter summaries and multiple choice questions. The chapters cover topics like Python strings, relational operators, logical operators, bitwise operators, variables, functions, and control structures. At the end, four students are thanked for their presentation and opportunity. The document provides an overview of Python concepts and serves as a reference for a course on Python programming.
Gurukul Skills Schedule for the Month of March
Time Cohort-10 Cohort-11 Cohort-12
8.00 to 09.25 Revision Revision Revision
5 Minutes Short Break
9.30 to 11.30 Chartered Accountants Chartered Accountants ENGLISH/SOFT SKILLS
15 Minutes Short Break
11.45 to 01.45 ICT ENGLISH/SOFT SKILLS R&A
45 Minutues Lunch Break
2.30 to 04.30 ENGLISH/SOFT SKILLS R&A ICT
15 Minutes Short Break
4.45 to 06.30 R&A ICT ACCOUNTS
5 Minutes Short Break
6.35 to 08.00 Assingments Assingments Assingments
Scaling Up AI Research to Production with PyTorch and MLFlowDatabricks
PyTorch, the popular open-source ML framework, has continued to evolve rapidly since the introduction of PyTorch 1.0, which brought an accelerated workflow from research to production.
This presentation is part of training session delivered during Train The Trainer (TOT) program on Embedded Software Engineer job role supported by ESSCI.
Gurukul Skills Schedule for the Month of March
Time Cohort-10 Cohort-11 Cohort-12
8.00 to 09.25 Revision Revision Revision
5 Minutes Short Break
9.30 to 11.30 Chartered Accountants Chartered Accountants ENGLISH/SOFT SKILLS
15 Minutes Short Break
11.45 to 01.45 ICT ENGLISH/SOFT SKILLS R&A
45 Minutues Lunch Break
2.30 to 04.30 ENGLISH/SOFT SKILLS R&A ICT
15 Minutes Short Break
4.45 to 06.30 R&A ICT ACCOUNTS
5 Minutes Short Break
6.35 to 08.00 Assingments Assingments Assingments
Scaling Up AI Research to Production with PyTorch and MLFlowDatabricks
PyTorch, the popular open-source ML framework, has continued to evolve rapidly since the introduction of PyTorch 1.0, which brought an accelerated workflow from research to production.
This presentation is part of training session delivered during Train The Trainer (TOT) program on Embedded Software Engineer job role supported by ESSCI.
YouTube: https://youtu.be/LzaWrmKL1Z4
** Python Data Science Training: https://www.edureka.co/python **
In this PPT on “Reinforcement Learning Tutorial” you will get an in-depth understanding about how reinforcement learning is used in the real world. I’ll be covering the following topics in this session:
Introduction to Machine Learning
What is Reinforcement Learning?
Reinforcement Learning with an analogy
Reinforcement Learning process
Reinforcement Learning Counter-Strike example
Reinforcement Learning Definitions
Reinforcement Learning Concepts
Markov’s Decision Process
Understanding Q-Learning
Demo
Check out our Python Training Playlist: https://goo.gl/Na1p9G
Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
YouTube: https://youtu.be/LzaWrmKL1Z4
** Python Data Science Training: https://www.edureka.co/python **
In this PPT on “Reinforcement Learning Tutorial” you will get an in-depth understanding about how reinforcement learning is used in the real world. I’ll be covering the following topics in this session:
Introduction to Machine Learning
What is Reinforcement Learning?
Reinforcement Learning with an analogy
Reinforcement Learning process
Reinforcement Learning Counter-Strike example
Reinforcement Learning Definitions
Reinforcement Learning Concepts
Markov’s Decision Process
Understanding Q-Learning
Demo
Check out our Python Training Playlist: https://goo.gl/Na1p9G
Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
This presentation provides a briefing on how to upload submissions and documents in Google Classroom. It was prepared as part of an orientation for new Sainik School in-service teacher trainees. As a training officer, my goal is to ensure that you are comfortable and proficient with this essential tool for managing assignments and fostering student engagement.
A Strategic Approach: GenAI in EducationPeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
Operation “Blue Star” is the only event in the history of Independent India where the state went into war with its own people. Even after about 40 years it is not clear if it was culmination of states anger over people of the region, a political game of power or start of dictatorial chapter in the democratic setup.
The people of Punjab felt alienated from main stream due to denial of their just demands during a long democratic struggle since independence. As it happen all over the word, it led to militant struggle with great loss of lives of military, police and civilian personnel. Killing of Indira Gandhi and massacre of innocent Sikhs in Delhi and other India cities was also associated with this movement.
Macroeconomics- Movie Location
This will be used as part of your Personal Professional Portfolio once graded.
Objective:
Prepare a presentation or a paper using research, basic comparative analysis, data organization and application of economic information. You will make an informed assessment of an economic climate outside of the United States to accomplish an entertainment industry objective.
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...Levi Shapiro
Letter from the Congress of the United States regarding Anti-Semitism sent June 3rd to MIT President Sally Kornbluth, MIT Corp Chair, Mark Gorenberg
Dear Dr. Kornbluth and Mr. Gorenberg,
The US House of Representatives is deeply concerned by ongoing and pervasive acts of antisemitic
harassment and intimidation at the Massachusetts Institute of Technology (MIT). Failing to act decisively to ensure a safe learning environment for all students would be a grave dereliction of your responsibilities as President of MIT and Chair of the MIT Corporation.
This Congress will not stand idly by and allow an environment hostile to Jewish students to persist. The House believes that your institution is in violation of Title VI of the Civil Rights Act, and the inability or
unwillingness to rectify this violation through action requires accountability.
Postsecondary education is a unique opportunity for students to learn and have their ideas and beliefs challenged. However, universities receiving hundreds of millions of federal funds annually have denied
students that opportunity and have been hijacked to become venues for the promotion of terrorism, antisemitic harassment and intimidation, unlawful encampments, and in some cases, assaults and riots.
The House of Representatives will not countenance the use of federal funds to indoctrinate students into hateful, antisemitic, anti-American supporters of terrorism. Investigations into campus antisemitism by the Committee on Education and the Workforce and the Committee on Ways and Means have been expanded into a Congress-wide probe across all relevant jurisdictions to address this national crisis. The undersigned Committees will conduct oversight into the use of federal funds at MIT and its learning environment under authorities granted to each Committee.
• The Committee on Education and the Workforce has been investigating your institution since December 7, 2023. The Committee has broad jurisdiction over postsecondary education, including its compliance with Title VI of the Civil Rights Act, campus safety concerns over disruptions to the learning environment, and the awarding of federal student aid under the Higher Education Act.
• The Committee on Oversight and Accountability is investigating the sources of funding and other support flowing to groups espousing pro-Hamas propaganda and engaged in antisemitic harassment and intimidation of students. The Committee on Oversight and Accountability is the principal oversight committee of the US House of Representatives and has broad authority to investigate “any matter” at “any time” under House Rule X.
• The Committee on Ways and Means has been investigating several universities since November 15, 2023, when the Committee held a hearing entitled From Ivory Towers to Dark Corners: Investigating the Nexus Between Antisemitism, Tax-Exempt Universities, and Terror Financing. The Committee followed the hearing with letters to those institutions on January 10, 202
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
1. Python Programming
GOVERNMENT ARTS COLLEGE, MELUR
PG. Department of Computer Science
UNIT – I
MCQ & QPS
“Presentation & Delivery”
BAVATHARANI K
I M.Sc. Computer Science
Roll No. P22PCS103
SANTHIYA C
I M.Sc. Computer Science
Roll No. P22PCS108
CHINNASAMY C
I M.Sc. Computer Science
Roll No. P22PCS112
VEERANAN VEERANAN
I M.Sc. Computer Science., Dip.in.Yoga.,
Roll No. P22PCS123
2. VEERANAN VEERANAN
I M.Sc. Computer Science
Roll No. P22PCS123
Python is a popular programming language. It was created by Guido van Rossum,
and released in 1991.
It is used for:
web development (server-side),
software development,
mathematics,
system scripting.
3. 1 Python Programming: An Introduction
1.1 IDLE an Interpreter for Python
1.2 Python Strings
1.3 Relational Operators
1.4 Logical Operators
1.5 Bitwise Operators
1.6 Variables and Assignment Statements
1.7 Logical Operators
1.8 Bitwise Operators
1.9 Variables and Assignment Statements
1.10 Keywords
1.11 Script Mode
3 Control Structures
3.1 if Conditional Statement
3.2 Iteration (for and while
Statements).
2 Functions
2.1 Built-in Functions
2.2 Function Definition and Call
2.3 Importing User-defined Module
2.4 Assert Statement
2.5 Command Line Arguments
4. 1 Python Programming: An Introduction
1.1 IDLE an Interpreter for Python
1.2 Python Strings
1.3 Relational Operators
1.4 Logical Operators
1.5 Bitwise Operators
1.6 Variables and Assignment Statements
1.7 Logical Operators
1.8 Bitwise Operators
1.9 Variables and Assignment Statements
1.10 Keywords
1.11 Script Mode
VEERANAN VEERANAN
I M.Sc. Computer Science
Roll No. P22PCS123
5. 1 Python Programming: An Introduction
1.1 IDLE an Interpreter for Python
IDLE = Integrated Development and Learning Environment
i. Python Shell
ii. Python Editor
>>> 18 + 5
23
>>> 18 * 5
90
>>> 27 / 5
5.4
>>> 27 // 5
5
>>> 27.0 // 5
5.0
>>> 27 % 5
2
VEERANAN VEERANAN
I M.Sc. Computer Science
Roll No. P22PCS123
6. 1 Python Programming: An Introduction
1.2 Python Strings
>>> ‘Hello World’
‘Hello World’
>>>print(‘Hello World’)
Hello World
>>>”””Hello
What’s
Happening”””
“HellonWhat’snHappening”
>>>print(“””Hello
What’s
Happening”””)
Hello
What’s
happening
VEERANAN VEERANAN
I M.Sc. Computer Science
Roll No. P22PCS123
7. 1 Python Programming: An Introduction
1.3 Relational Operators
== (equal to)
< (less than)
> (greater than)
<= (less than or equal to)
>= (greater than or equal to)
!= (not equal to)
VEERANAN VEERANAN
I M.Sc. Computer Science
Roll No. P22PCS123
8. 1 Python Programming: An Introduction
1.4 Logical Operators
NOT
True False
False True
AND
True False False
False True False
OR
True True True
False True False
VEERANAN VEERANAN
I M.Sc. Computer Science
Roll No. P22PCS123
9. 1 Python Programming: An Introduction
1.10 Keywords
False class try return def or if from else as elif
1.11 Script Mode
number1 = input()
number2 = input()
print(number1, number2)
number1 = input(‘Enter first number:’)
number2 = input(‘Enter Second number:’)
Print(‘Number are:’ number1, number2)
Enter first number: 3
Enter second number: 6
Number are: 3 6
VEERANAN VEERANAN
I M.Sc. Computer Science
Roll No. P22PCS123
10. 2 Functions
2.1 Built-in Functions
2.2 Function Definition and Call
2.3 Importing User -defined Module
2.4 Assert Statement
2.5 Command Line Arguments
VEERANAN VEERANAN
I M.Sc. Computer Science
Roll No. P22PCS123
11. 2 Functions
2.1 Built-in Functions
1. input Function
>>>name = input(‘Enter a name:’)
Enter a name: Navanee
>>>name
‘Navanee’
2. eval function
>>>eval(’15+10’)
25
3. Composition
>>>n1 = eval(input (‘Enter a Number:’))
Enter a Number: 234
>>> n1
234
4. type Function
>>>print(type(12), type(12.5), type(‘Hello’), type(int))
<class ‘int’> <class ‘float’> <class ‘str’> <class ‘type’>
5. round Function
>>>print(round(89.625,2), round(89.635), round(89.635,0)
89.62 90 90.0 VEERANAN VEERANAN
I M.Sc. Computer Science
Roll No. P22PCS123
12. 2 Functions
2.2 Function Definition and Call
Syntax:
def function_name (comma_separated_list_of_parameters):
statements
if __name==‘__main__’:
main()
VEERANAN VEERANAN
I M.Sc. Computer Science
Roll No. P22PCS123
13. 2 Functions
2.4 Assert Statement
def percent (marks, maxMarks):
percentage = (marks / maxMarks) * 100
return percentage
def main():
maxMarks = float(input(“Enter maximum marks:”))
assert maxMarks >=0 and maxMarks <=500
assert marks >=0 and marks <=maxMarks
percentage = percent(marks, maxMarks)
print(‘Percentage is:’, percentage)
if __name__==‘__main__:’
main()
VEERANAN VEERANAN
I M.Sc. Computer Science
Roll No. P22PCS123
15. BAVATHARANI K
I M.Sc. Computer Science
Roll No. P22PCS103
1. Which one of the following is the
correct extension of the Python File?
A. .py
B. .python
C. .p
D.None of these
16. BAVATHARANI K
I M.Sc. Computer Science
Roll No. P22PCS103
2. Which one of the following has
the highest precedence in the
expression?
A. Division
B. Subtraction
C. Power
D.Parentheses
17. BAVATHARANI K
I M.Sc. Computer Science
Roll No. P22PCS103
3. What arithmetic operators cannot
be used with string?
A. +
B. *
C. -
D.All of the Mentioned
18. BAVATHARANI K
I M.Sc. Computer Science
Roll No. P22PCS103
4. What is method inside the class in
python language?
A. Object
B. Function
C. Attribute
D.Argument
19. BAVATHARANI K
I M.Sc. Computer Science
Roll No. P22PCS103
5. Which character is used in python
to make a single line comment?
A. /
B. //
C. #
D.!
20. BAVATHARANI K
I M.Sc. Computer Science
Roll No. P22PCS103
6. Which of the following functions
is a build-in-function in python
language?
A. val()
B. print()
C. printf()
D.None of these
21. SANTHIYA C
I M.Sc. Computer Science
Roll No. P22PCS108
1. What will be the output of the
following Python code?
>>>print (r”nhello”)
A. a new line and hello
B. nhello
C. the letter r and then hello
D.error
22. SANTHIYA C
I M.Sc. Computer Science
Roll No. P22PCS108
2. What is the answer to this
expression,
22 % 3 is?
A. 7
B. 1
C. 0
D.5
23. SANTHIYA C
I M.Sc. Computer Science
Roll No. P22PCS108
3. What will be the output of the
following Python Statement?
>>>print(‘new’ ‘line’)
A. Error
B. Output equivalent to print
‘newnline’
C. newline
D.new line
24. SANTHIYA C
I M.Sc. Computer Science
Roll No. P22PCS108
4. Which is the correct operator for
power(x )?
A. X^y
B. X**y
C. X^^y
D.None of the mentioned
y
25. SANTHIYA C
I M.Sc. Computer Science
Roll No. P22PCS108
5. Who developed the Python
language?
A. Zim Den
B. Guido van Rossum
C. Niene Stom
D.Wick van Rossum
26. SANTHIYA C
I M.Sc. Computer Science
Roll No. P22PCS108
6. Which one of the following has
the highest precedence in the
expression?
A. Exponential
B. Addition
C. Mutiplication
D.Parentheses
27. CHINNASAMY C
I M.Sc. Computer Science
Roll No. P22PCS112
1. What will be the output of the
following Python code?
A. None None
B. None 22
C. 22 None
D.Error is generated
class father:
def __init__(self, param):
self.o1 = param
class child(father):
def __init__(self, param):
self.o2 = param
>>>obj = child(22)
>>>print "%d %d" % (obj.o1, obj.o2)
28. CHINNASAMY C
I M.Sc. Computer Science
Roll No. P22PCS112
2. What will be the value of x in the
following Python expression, if the
result of that expression is 2?
x>>2
A. 8
B. 4
C. 2
D.1
29. CHINNASAMY C
I M.Sc. Computer Science
Roll No. P22PCS112
3. Which of the following represents
the bitwise XOR operator?
A. &
B. ^
C. |
D. !
30. CHINNASAMY C
I M.Sc. Computer Science
Roll No. P22PCS112
4. Which of the following
expressions can be used to multiply
a given number ‘a’ by 4?
A. a<<2
B. a<<4
C. a>>2
D.a>>4
31. CHINNASAMY C
I M.Sc. Computer Science
Roll No. P22PCS112
5. How many types of severity levels
are there for the ASSERT statement?
A. 1
B. 2
C. 3
D.4
32. CHINNASAMY C
I M.Sc. Computer Science
Roll No. P22PCS112
6. How many except statements can
a try-except block have?
A. zero
B. one
C. more than one
D.more than zero
33. VEERANAN VEERANAN
I M.Sc. Computer Science
Roll No. P22PCS123
1. Which of the following
precedence order is correct in
Python?
A. Parentheses, Exponential, Multiplication, Division, Addition, Subtraction
B. Multiplication, Division, Addition, Subtraction, Parentheses, Exponential
C. Division, Multiplication, Addition, Subtraction, Parentheses, Exponential
D. Exponential, Parentheses, Multiplication, Division, Addition, Subtraction
34. VEERANAN VEERANAN
I M.Sc. Computer Science
Roll No. P22PCS123
2. What do we use to define a block
of code in Python language?
A. Key
B. Brackets
C. Indentation
D. None of these
35. VEERANAN VEERANAN
I M.Sc. Computer Science
Roll No. P22PCS123
3. Which of the following statements
is correct regarding the object-
oriented programming concept in
Python?
A. Classes are real-world entities while objects are not
real
B. Objects are real-world entities while classes are not
real
C. Both objects and classes are real-world entities
D. All of the above
36. VEERANAN VEERANAN
I M.Sc. Computer Science
Roll No. P22PCS123
4. What is the method inside the
class in python language?
A. Object
B. Function
C. Attribute
D. Argument
37. VEERANAN VEERANAN
I M.Sc. Computer Science
Roll No. P22PCS123
5. Study the following function:
round(4.576)
What will be the output of this
function?
A. 4
B. 5
C. 576
D. 5
38. VEERANAN VEERANAN
I M.Sc. Computer Science
Roll No. P22PCS123
6. Study the following function:
import math
abs(math.sqrt(36))
What will be the output of this
function?
A. Error
B. -6
C. 6
D. 6.0
41. Reference
Functions
Python Function – 1
Python Function – 2
Python Function – 3
Python Function – 4
Built-in Functions
Python Built-in Functions – 1
Python Built-in Functions – 2
Python Built-in Functions – 3
Function Definition and Call
Importing User-defined Module
https://www.sanfoundry.com/python-
questions-answers-modules/
Assert Statement
https://www.sanfoundry.com/vhdl-
questions-answers-assert-statement/
Command Line Arguments
https://www.sanfoundry.com/interview-
questions-c-command-line-arguments/
Control Structures
if Conditional Statement
https://www.sanfoundry.com/python-
questions-answers-exception-handling/
https://www.sanfoundry.com/python-
questions-answers-exception-handling-2/
Iteration (for and while Statements).
https://www.sanfoundry.com/python-
questions-answers-while-and-for-loops-1/
VEERANAN VEERANAN
I M.Sc. Computer Science
Roll No. P22PCS123
42. Thank You
&
Your Opportunity
“Presentation & Delivery”
BAVATHARANI K
I M.Sc. Computer Science
Roll No. P22PCS103
SANTHIYA C
I M.Sc. Computer Science
Roll No. P22PCS108
CHINNASAMY C
I M.Sc. Computer Science
Roll No. P22PCS112
VEERANAN VEERANAN
I M.Sc. Computer Science., Dip.in.Yoga.,
Roll No. P22PCS123