A member of a class that can be redefined in its derived classes is known as a virtual member. In order to declare a member of a class as virtual, we must precede its declaration with the keyword virtual. When a function is made virtual, C++ determines which function to be used at runtime based […]
Lists
C Programming language
C Language 1) Define C-language. Ans: C-language is a structured programming language that divides the program into many functions. 2) When and who developed C-language? Ans: Dennis Ritchie at Bell telephone laboratory-developed C-language in 1972 AD. 3) Why is C called middle level language? Ans: C is called middle-level language because it combines elements of […]
How to host a website with GitHub
Tips for Free GitHub Hosting (.np domain) Change the Ns Record on the active domain( example.com.np) Go to dashboard and active domain tab Edit the DNS Put the Hurricane Electric Internet service ns Primary: ns1.he.net Secondary: ns2.he.net For .com, .net, .org Domain you can go to domain manager and change the CNAME Watch the video […]
Factors of Software Cost Estimation
Software economics is the study of how limited project resources are allocated for software projects. Software economics helps software managers allocate those resources in the most efficient manner. Like, the process of counting function points, gathering data, analyzing data is commonly referred to as Software Metrics, but in reality, it is a branch of economics […]
The types of Machine Learning
Machine Learning is the study of an algorithm that takes past and present data and produces the prediction base correct result. We also define ML is an application of AI which provide the ability to automatically learn and produce a result using past and present data set. Types of Machine Learning Machine Learning uses statistics […]
Form Validation using JavaScript
Form validation is one of the most common tasks performed using JavaScript. You have likely come across forms on the Web that has shown you a prompt when you have not entered value into a field that requires one, or when you have entered the wrong kind of value; this is because the form has […]
The IP and Mac address for all the network devices are given in the scenario. Solve the following question
In the following network scenario – the client runs two applications FTP and HTTPS with port number 3675 and 1978 respectively. The IP and Mac address for all the network devices are given in the scenario. The client sends 2 IPv4 data frames, one FTP and one HTTPS, to the corresponding servers. Based on the […]
JavaScript Events
All browsers are expected to support a set of events known as intrinsic events such as the onload event, which happens when a page has finished loading, onclick for when a user clicks on an element, and onsubmit for when a form is submitted. These events can be used to trigger a script. There are […]
What is Common Gateway Interface (CGI)?
Common Gateway Interface, a specification for transferring information between a World Wide Web server and a CGI program. A CGI program is any program designed to accept and return data that conforms to the CGI specification. The program could be written in any programming language, including C, Perl, or Java. CGI programs are the most […]