Uploaded by okjlgsvtokflol

Lecture1 Introduction

advertisement
Artificial
Intelligence and
Data Science
Programming
Course #: 0602221
DR. RASHA ALBASHAIREH
1
Introduction
Copyright©2021, Dr. Rasha AlBashaireh
2
L e c t u r e 17/10/2022
Copyright©2021, Dr. Rasha AlBashaireh
3
Course Details
-Syllabus Explained last class.
-Class meetings is three times a week with overall 2 hours/Weekly for regular
lectures, and once a week with overall 3 hours/ weekly for the practical lab.
-All lecture slides, textbooks, assignments, and labs material will be posted on Moodle:
https://lms.ttu.edu.jo/
-Attendance is HIG H LY R ECO M M E N D E D. Missing class is your responsibility, and
you will need to find out about any announcements or lectures you may have missed
Copyright©2021, Dr. Rasha AlBashaireh
4
No cheating of any kind will be tolerated.
Examples of what is allowed:
◦ General discussion of assignments with classmates
◦ Searching online to find a solution to your program’s bugs
Academic
conduc t
◦ Searching online for general guidance on how to solve the
assignment
Examples of what is N OT allowed:
◦ Writing your code while looking at a classmate’s code
◦ Writing your code while you read an online answer
◦ Copying pieces of code or entire programs from a website or
classmate
◦ Posting an assignment question online for other people to
answer for you
Copyright©2021, Dr. Rasha AlBashaireh
5
If you struggle:
✓ Read the chapter in the Textbook
✓ Review the slides.
✓ do more programming practice in the used software.
✓ See if there’s a YouTube video that explains the concepts better for you
✓ Ask me in the official office hours to answer your questions
Good luck all ☺
Copyright©2021, Dr. Rasha AlBashaireh
6
Introduction to
Python Programming
Language
Copyright©2021, Dr. Rasha AlBashaireh
7
What is Python?
Copyright©2021, Dr. Rasha AlBashaireh
8
Why is Python so popular?
Copyright©2021, Dr. Rasha AlBashaireh
9
Unique features of Python?
Copyright©2021, Dr. Rasha AlBashaireh
10
Why should you learn Python?
Copyright©2021, Dr. Rasha AlBashaireh
11
Copyright©2021, Dr. Rasha AlBashaireh
12
Copyright©2021, Dr. Rasha AlBashaireh
13
Copyright©2021, Dr. Rasha AlBashaireh
14
Copyright©2021, Dr. Rasha AlBashaireh
15
Copyright©2021, Dr. Rasha AlBashaireh
16
Python example
Problem: I love to read sci-fi and fantasy books.
I have a list of 50 books where I want to buy
them if the price drops below $5. I don’t want
to check each webpage manually.
Solution: Write a Python script to “crawl” all of
these web pages and notify me if any price is
below $5
Copyright©2021, Dr. Rasha AlBashaireh
17
End of Introduction
Copyright©2021, Dr. Rasha AlBashaireh
18
Download