Lecture 6: Control Statements, Conditional Statements, If Statement in c and c++
Lecture 6: Control Statements, Conditional Statements, If Statement in c and c++ ===============Questions=========================== 1. WAP to input a year and check it is leap year or not?. =====Write answers in comment Section with your Roll no================
The Computer Engineering Department was established in 2003, after consultations between the senior faculty of the University, technical experts and the Vice-Chancellor regarding the need for education in the field of engineering and technology in the state of Punjab. Earlier it was known as University College of Engineering (UCoE), Punjab, India
The university has drawn up a master plan to be executed in three phases to provide technical education in the basic and specialized fields. Three branches leading to B.Tech. degree have been offered in the first phase. The second phase will introduce another three branches namely Micro-electronics, Power Engineering and Bio-informatics and the third phase will include further expansion, and stress on research work and establishment of a research and development centre with the participation of industry. This centre would provide solutions to the technical problems of the industry and would suggest means for growth of industry in the region.
A central placement cell has been established by Punjabi University for arranging the training and final placement of its students. Companies like Maruti Suzuki, TechMahindra, L&T, Infosys, Wipro, SAP, TATA Motors, Google, Facebook, Aricent, Airtel, Idea Cellular visit the campus every year. The cell is in touch with industry houses and arranges on and off campus interviews of its students with the executives of the industry.
Clubs for technical, cultural and literary subjects have been formed by the students. The Punjabi University is committed to develop UCoE as a Centre of Excellence in Technical Education
music information:
You’re free to use this song in any of your videos, but you must include the following in your video description:
I Am a Man Who Will Fight for Your Honor by Chris Zabriskie is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/by/4.0/)
Source: http://chriszabriskie.com/honor/
Artist: http://chriszabriskie.com/
...
https://www.youtube.com/watch?v=-d1-LQRlQ-0
#python #pythonprogramming #programming #btech #punjabicomputer
Python Lecture 1: Data types in Python, input and print methods, Addition of two numbers program.
For Notes visit : https://www.tutorialspoint.com/python/index.htm
Python is a general-purpose interpreted, interactive, object-oriented, and high-level programming language. It was created by Guido van Rossum during 1985- 1990. Like Perl, Python source code is also available under the GNU General Public License (GPL). This tutorial gives enough understanding on Python programming language.
Why to Learn Python?
Python is a high-level, interpreted, interactive and object-oriented scripting language. Python is designed to be highly readable. It uses English keywords frequently where as other languages use punctuation, and it has fewer syntactical constructions than other languages.
Python is a MUST for students and working professionals to become a great Software Engineer specially when they are working in Web Development Domain. I will list down some of the key advantages of learning Python:
Python is Interpreted − Python is processed at runtime by the interpreter. You do not need to compile your program before executing it. This is similar to PERL and PHP.
Python is Interactive − You can actually sit at a Python prompt and interact with the interpreter directly to write your programs.
Python is Object-Oriented − Python supports Object-Oriented style or technique of programming that encapsulates code within objects.
Python is a Beginner's Language − Python is a great language for the beginner-level programmers and supports the development of a wide range of applications from simple text processing to WWW browsers to games.
Characteristics of Python
Following are important characteristics of Python Programming −
It supports functional and structured programming methods as well as OOP.
It can be used as a scripting language or can be compiled to byte-code for building large applications.
It provides very high-level dynamic data types and supports dynamic type checking.
It supports automatic garbage collection.
It can be easily integrated with C, C++, COM, ActiveX, CORBA, and Java.
Hello World using Python.
Just to give you a little excitement about Python, I'm going to give you a small conventional Python Hello World program, You can try it using Demo link.
Live Demo
print ("Hello, Python!");
Applications of Python
As mentioned before, Python is one of the most widely used language over the web. I'm going to list few of them here:
Easy-to-learn − Python has few keywords, simple structure, and a clearly defined syntax. This allows the student to pick up the language quickly.
Easy-to-read − Python code is more clearly defined and visible to the eyes.
Easy-to-maintain − Python's source code is fairly easy-to-maintain.
A broad standard library − Python's bulk of the library is very portable and cross-platform compatible on UNIX, Windows, and Macintosh.
Interactive Mode − Python has support for an interactive mode which allows interactive testing and debugging of snippets of code.
Portable − Python can run on a wide variety of hardware platforms and has the same interface on all platforms.
Extendable − You can add low-level modules to the Python interpreter. These modules enable programmers to add to or customize their tools to be more efficient.
Databases − Python provides interfaces to all major commercial databases.
GUI Programming − Python supports GUI applications that can be created and ported to many system calls, libraries and windows systems, such as Windows MFC, Macintosh, and the X Window system of Unix.
Scalable − Python provides a better structure and support for large programs than shell scripting.
Audience
This Python tutorial is designed for software programmers who need to learn Python programming language from scratch.
...
https://www.youtube.com/watch?v=5LmFFHNAhWU
#hostellife #Punjab #Btech #punjabiUniversity
Hostel Life: Some Stories of my B.Tech Time. Funny Hostel Life
...
https://www.youtube.com/watch?v=bh0qIUCnErE
Flood in HP, Sadhupul Closed: Is Sadhupul closed? Reality check, ਕੀ ਸਾਧੂਪਲ ਬੰਦ ਹੈ? साधुपुल बंद है,
ਸਾਧੂਪੁਲ ਬੰਦ ਹੋ ਗਿਆ
Sadhupul Closed
साधुपुल बंद है
Sadhupul Chail Closed: Is sadhu pull closed? Reality check, ਕੀ ਸਾਧੂਪਲ ਬੰਦ ਹੈ? साधुपुल बंद है
Music information:
I Am a Man Who Will Fight for Your Honor by Chris Zabriskie is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/...)
Source: http://chriszabriskie.com/honor/
Artist: http://chriszabriskie.com/
...
https://www.youtube.com/watch?v=4gcq4-dRv58
Sorry for sound probem.I am under weather while creating this video.
Lecture 26: Event handling in java , Action Listener, Event on Button Click, actionPerformed in Java
Lecture 25: Frame in Java,Layout Manager, Grid Layout, Flow layout, Border layout, Null layout.
Lecture 24: Graphics in Applet, Animation in java, drawRect, drawArc, drawOval, image in Applet.
Lecture 22: File Handling in Java, File, FileReader, FileWriter, FileOutputstream,FileInputstream
Lecture 21: yield(), sleep(), stop() methods in Multithreading in JAVA, synchronized method in Java
Lecture 20: Multithreading in JAVA, Thread Class, Runnable Interface, Life Cycle of a Thread.
String and StringBuffer Class in Java.
Lecture 18: User define Exception, Extend Exception Class, Creating subclass of Exception Class.
Lecture 17: Exception Handling in JAVA, try, catch, finally block, multiple catch and nested try
Writing Software Used:Microsoft WhiteBoard
music information:
I Am a Man Who Will Fight for Your Honor by Chris Zabriskie is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/by/4.0/)
Source: http://chriszabriskie.com/honor/
Artist: http://chriszabriskie.com/
...
https://www.youtube.com/watch?v=1sSMBT66C2A
#punjabigyan #PunjabiUniversity #Java #JavaInpunjabi #PunjabiComputer
Jave Conditional Statements, if, else, if else, nested if,switch case
Google Form Link: https://forms.gle/wjGDQq7DigyjTq2w6
Lab 2 Assignment questions:
1. WAP to Find Greatest from Two Numbers.
2. WAP to find middle number from 3 numbers.
...
https://www.youtube.com/watch?v=MgM2gY7nDsw