Code Pumpkin

HTML5 Autocomplete Attribute

March 30, 2020
Posted by Jatin Sorathiya

When a user starts to type in the field, the browser display options to fill in the field, based on previously typed values/history. Autocomplete feature was introduced as an unofficial HTML feature in Microsoft’s internet explorer and was later adopted by a number of other browsers. Chrome introduced a similar Autofill feature in 2011. With HTML5, the autocomplete attribute is an official part of the specification.

CGI Interview Questions – Set 1

October 18, 2019
Posted by Pumpkin

CGI had arranged a walk-in drive at Bangalore location and I have appeared for Java Developer position. There were total three technical rounds and the difficulty level was easy to medium. I was allocated a slot from 9:30 am to 1:00 pm, but the interview process took a full day. First Technical Round Tell me […]

File I/O | Python

November 4, 2018
Posted by Dipen Adroja

In this article, we will learn how we can do File I/O operation in python. We briefly go through how to open a file, reading from it, writing into it, closing it and along with that various methods are available for file operations. File is a physical location on disk to store related information. If we want […]

Exception Handling | Python

November 3, 2018
Posted by Dipen Adroja

In the previous article, we learnt about what is an exception and brief idea about it. In this article, we will learn how to handle the exceptions in python. When these exceptions occur, it causes the current process to stop and passes it to the calling process until it is handled. If not handled, our program will crash. […]

while loop | Python Flow Control

October 31, 2018
Posted by Dipen Adroja

Flow control is one of the important aspects of any programming language. Loops are used in programming to repeat a specific block of code. In this article, we will learn to create while loop in python. Python While loop Flowchart  python while loop syntax while test_expression:         Body of while In the while loop, […]

for loop | Python Flow Control

October 30, 2018
Posted by Dipen Adroja

Flow control is one of the important aspects of any programming language. In this article, we will learn to iterate over list elements using different variations of for loop in python. The for loop in Python is used to iterate over iterable objects or a sequence (list, tuple, string). Iterating over a sequence is called traversal. For […]

if….else statement | Python Flow Control

October 29, 2018
Posted by Dipen Adroja

Flow control is one of the important aspects of any programming language. In this article, we will learn to make decisions in a Python program using different forms of if….else statement. When we want to execute our code block if and only if a certain condition is matched, we use decision-making statements. Python if Statement […]

Tuple In Python

October 28, 2018
Posted by Dipen Adroja

In the last article, we explored the list. In this article, we will talk about tuple. A tuple in python is just like a list of a sequence of immutable python objects. Tuple is similar to list. Same as list it can store different types of objects. The difference between list and tuple is that […]

Dictionaries in Python

October 28, 2018
Posted by Dipen Adroja

We have seen, list/sequences in the previous article. In this article, we will learn about Dictionaries in Python. If you are familiar with other languages then you can think of dictionaries as Map or hash tables. The python dictionary is an unordered collection of items having key: value pair. We will see: How to create a […]

Lists in Python

October 27, 2018
Posted by Dipen Adroja

As we are going through various data type available in the python. In this article, we are going to explore more about the most used data structure list/sequence. List in python is one of the most basic data structure. Each element of the list is assigned a number, which is called index of the element. The […]

Previous Posts
Total Posts : 124
follow us in feedly

Like Us On Facebook