- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Govinda Sai has Published 74 Articles
Govinda Sai
297 Views
There is no straightforward way of getting signal names from numbers in python. You can use the signal module to get all its attributes. Then use this dict to filter the variables that start with SIG and finally store them in a dice. For example, Exampleimport signal sig_items = reversed(sorted(signal.__dict__.items())) ... Read More
Govinda Sai
48 Views
To do so, Trim the given string and split it using the split() method (Removing the empty spaces in-between).Create an integer array and in loop convert each element of the string array to an integer using Integer.parseInt() method and assign it to the respective element of the integer array.Sort the obtained integer ... Read More
Govinda Sai
748 Views
The lifetime of a JavaScript variable begins when it is declared −var rank;A local variable will be visible only within a function where it is defined. Function parameters are always local to that function.The completion of a function deletes the local variable.A global variable has a global scope which means ... Read More
Govinda Sai
161 Views
When an app is to be developed that displays new data whenever it is stored in a folder through XML, we use websockets apache server.Mod_websocket or php websocket can be used.we can also use self-hosted realtime web technology for realtime communication between server and client.A hosted realtime web solutions and ... Read More
Govinda Sai
86 Views
When a element is shown as a context menu in HTML, the onshow event fires.ExampleYou can try to run the following code to execute a script when a element is displayed as a context menu − HTML menu ... Read More
Govinda Sai
128 Views
The ctrlkey mouse event property is used to show whether the CTRL key is pressed or not when the mouse button is clicked.ExampleYou can try to run the following code to learn how to implement ctrlKey Mouse event in JavaScript. Press and hold CTRL key ... Read More
Govinda Sai
6K+ Views
Twin primes are pairs of primes which differ by two. The first twin primes are {3, 5}, {5, 7}, {11, 13} and {17, 19}. You can generate prime twins in python by running a for loop and checking for primality of the numbers as you do so. exampledef is_prime(n): for ... Read More
Govinda Sai
203 Views
Use the onblur attribute execute a script when the element loses focus in HTML. You can try to run the following code to implement onblur attribute −Example Type text below! Country: function display() { var str = document.getElementById("myid"); str.value = str.value.toUpperCase(); }
Govinda Sai
161 Views
Use the rel attribute to see the relationship between the current document and the linked document. It works for , , HTML elements. ExampleYou can try to run the following code to implement rel attribute. The example sets the CSS files − Heading This is demo content.