Semester - II Core L T P C H/ W Course Code: Open Source Technologies 4 - 4 4 Objective S Unit - I Unit-II

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Semester - II

CC Core L T P C H/
W
Course Open Source Technologies 4 - - 4 4
code:
Objective ⮚ To gain knowledge about the open source software that readily available at free of cost
s ⮚ To understand the basic components of computer programming using PHP
⮚ To demonstrate significant experience with the Python program development environment
Unit -I Introduction to Dynamic Web Content – Setting up a Development Server - Introduction to
PHP – Structure of PHP – Expressions and Control flow in PHP – PHP Functions and Objects

Unit-II Arrays – Array functions – using printf – Date and Time functions – File handling –
Introduction to MySQL - Accessing MySQL using PHP – Form handling – Cookies, Sessions
and Authentication

Unit III Introduction to Python - Why Python - Installing in various Operating Systems - Executing
Python Programs - Basic Programming concepts - Variables, expressions and statements -
Input/ Output – Operators.
Unit IV Conditions - Functions - Arguments - Return values - Iteration - Loops - Strings -Data
Structures - Lists - Dictionaries - Tuples - Sequences - Exception Handling.

Unit V File Handling - Modules - Regular Expressions - Text handling - Object Oriented
Programming - Classes - Objects - Inheritance - Overloading - Polymorphism Interacting with
Databases - interacting with MySQL - Building a address book with add/edit/delete/search
features.
Reference and Textbooks:-(APA Format)
Text books
1. Robin Nixon. (2018)Learning PHP, MYSQL & JavaScript, Fifth Edition, O. REILLY, USA. (UNIT I, II)
2. Allen B. Downey. (2012)Think Python: How to Think Like a Computer Scientist, 1st Edition, O’Reilly.
(UNIT III, IV, V)
Reference books
1. Steven Holzner. (2017)PHP: The Complete Reference, McGraw-Hill Education.
2. Jeff McNeil (2010),Python 2.6 Text Processing: Beginners Guide, Packet Publications
2. Mark Pilgrim (2009),Dive into Python, 2nd edition, Apress

Outcomes ⮚ The students gain noteworthy knowledge in open source software.


⮚ The students will be able to understand basic components of programming in PHP
⮚ The students will gain insight about python programming.
Semester – II
CC Core L T P C H/W
Course Open Source Technologies Lab 4 - 8 4 8
code:
Objectives ● To develop technical solutions for problems using the open source software
readily available at free of cost.
● To install WampServer and learn programming in PHP.
● To understand the programming basics in Python Programming

PHP
1. Create a simple HTML form and accept the user name and display the name through PHP echo
statement.
2. Write a PHP script to redirect a user to a different page.
3. Write a PHP function to test whether a number is greater than 30, 20 or 10 using ternary operator.
4. Create a PHP script which display the capital and country name from the given array. Sort the list by
the name of the country
5. Write a PHP script to calculate and display average temperature, five lowest and highest
temperatures.
6. Create a script using a for loop to add all the integers between 0 and 30 and display the total.
7. Write a PHP script using nested for loop that creates a chess board.
8. Write a PHP function that checks if a string is all lower case.
9. Write a PHP script to calculate the difference between two dates.
10. Write a PHP script to display time in a specified time zone.

Python
1. Create a simple calculator to do all the arithmetic operations
2. Write a program to use control flow tools like if.
3. Write a program to use for loop
4. Data structures
use list as stack
use list as queue
tuple, sequence
5. Create new module for mathematical operations and use in your program
6. Write a program to read and write files, create and delete directories
7. Write a program with exception handling
8. Write a program using classes
9. Connect with MySQL and create address book
10. Write a program using string handling and regular expressions

Outcomes ● Students were able to relate the ways to solve advance programs using Open
Source
● Students were able to develop, implement, and demonstrate Python and PHP
programs

You might also like