Sign in to Publish article.

Sign in

AP

Amit_Kumar

Editor & SEO Manager at Technocratpages Aug. 12, 2021, 1 p.m. ⋅ 340 views

How to create an HTML button that acts like a link

When designing your website, you want to use a button to link to other pages or websites. This is a …


RK

rajan

Founder & Programmer at HackersFriend July 18, 2021, 12:59 p.m. ⋅ 406 views

What is HTTP header X-Forwarded-Host ?

The HTTP X-Forwarded-Host header is the part of HTTP header that contains information for identifying the original host requested by the …


VK

VikashKale

Programmer and Software Engineer at Tata Consultancy Services Jan. 8, 2021, 7:55 p.m. ⋅ 1251 views

Program Code - calculate the absolute difference between the sums of its diagonals.

Given a square matrix, calculate the absolute difference between the sums of its diagonals.

For example, the square matrix  is shown …


VK

VikashKale

Programmer and Software Engineer at Tata Consultancy Services Updated Jan. 1, 2021, 6:24 p.m. ⋅ 655 views

TCS NQT/Digital coding program 2 - Write an program to count no of words, spaces, vowel and character.

Solution Code: -

sentence = input("Enter a sentence with few strings: ")
len_of_sentence = len(sentence)

vowel_list = ['a','e','i','o','u' …


VK

VikashKale

Programmer and Software Engineer at Tata Consultancy Services Updated Jan. 1, 2021, 6:25 p.m. ⋅ 809 views

TCS NQT/Digital Coding Program- 1 The product of Quadruplet

*A non-empty arrary A consisting of numeric values is given.

The product of quadruplet (P,Q,R,S) equates to …


RK

rajan

Founder & Programmer at HackersFriend Dec. 19, 2020, 3:13 p.m. ⋅ 1183 views

How to install Python libraries without using the pip command ?

To install any python library without pip command, we can download the package from pypi.org in and run it's …


DG

dhirendra_gupta

Student at BIT Mesra Oct. 12, 2020, 5 p.m. ⋅ 828 views

TCS NQT Technical Questions set 4

91. If a common property is referred by many objects of same class, then that property must be declared as …


DG

dhirendra_gupta

Student at BIT Mesra Oct. 12, 2020, 4:47 p.m. ⋅ 1182 views

TCS NQT Technical Questions set 3

61. Recursion is executed in which order :

A. LIFO
B. FIFO
C. Random
D. All of the above

Ans. A …


DG

dhirendra_gupta

Student at BIT Mesra Oct. 12, 2020, 1:44 p.m. ⋅ 4340 views

TCS NQT Technical Questions set 2

31. What is the best case and worst case complexity of binary search ?

A. O(log n), O(n)
B …


DG

dhirendra_gupta

Student at BIT Mesra Oct. 12, 2020, 1:22 p.m. ⋅ 857 views

TCS NQT Technical Questions set 1

1. In C, if you pass an array as an argument to a function, what actually gets passed?

A. Value …



View more

HackersFriend Updates





View more


Events


Nov. 28, 2018, 5:30 p.m.

Python from zero to hero

place Delhi

View details


Aug. 13, 2018, 5:30 p.m.

Python from zero to hero

place Bangalore ( HackersFriend office BTM Layout)

View details