• Python - Tutorials

    Python Interview Question Section 1

    Q1. What is the difference between list and tuples in Python? LIST vs TUPLES LIST TUPLES Lists are mutable i.e they can be edited. Tuples are immutable (tuples are lists which can’t be edited). Lists are slower than tuples. Tuples are faster than list. Syntax: list_1 = [10, ‘Chelsea’, 20] Syntax: tup_1 = (10, ‘Chelsea’ , 20) Q2. What are the key features of Python? Python is an interpreted language. That means that, unlike languages like C and its variants, Python does not need to be compiled before it is run. Other interpreted languages include PHP and Ruby. Python is dynamically typed, this means that you don’t need…

  • PHP - Tutorials

    PHP Syntax

    [vc_row][vc_column][vc_custom_heading text=”PHP Syntax”][vc_column_text]The PHP parsing engine needs a way to differentiate PHP code from other elements in the page. The mechanism for doing so is known as ‘escaping to PHP’. There are four ways to do this −[/vc_column_text][vc_custom_heading text=”Canonical PHP tags”][vc_column_text]The most universally effective PHP tag style is − <?php ... ?> If you use this style, you can be positive that your tags will always be correctly interpreted.[/vc_column_text][vc_custom_heading text=”Short-open (SGML-style) tags”][vc_column_text]Short or short-open tags look like this − <? ... ?> [/vc_column_text][vc_column_text]Short tags are, as one might expect, the shortest option You must do one of two things to…

  • PHP - Tutorials

    Environment Setup Of PHP

    [vc_row][vc_column][vc_column_text]In order to develop and run PHP Web pages three vital components need to be installed on your computer system.[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column][ul] Web Server − PHP will work with virtually all Web Server software, including Microsoft’s Internet Information Server (IIS) but then most often used is freely available Apache Server. Database − PHP will work with virtually all database software, including Oracle and Sybase but most commonly used is freely available MySQL database. PHP Parser − In order to process PHP script instructions a parser must be installed to generate HTML output that can be sent to the Web Browser. This tutorial will guide you…

  • PHP - Tutorials

    Introduction Of PHP

    [vc_row][vc_column][vc_column_text]The PHP Hypertext Preprocessor (PHP) is a programming language that allows web developers to create dynamic content that interacts with databases. PHP is basically used for developing web based software applications. This tutorial helps you to build your base with PHP.[/vc_column_text][vc_custom_heading text=”Why to Learn PHP?”][/vc_column][/vc_row][vc_row][vc_column][vc_column_text]PHP started out as a small open source project that evolved as more and more people found out how useful it was. Rasmus Lerdorf unleashed the first version of PHP way back in 1994. PHP 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…