This site works best with JavaScript enabled
Sign In
Discussions
Activity
Sign In
Previous Results
6.What types of connections can exist on a LAN, according to the
The types of connections that can exist on a Local Area Network (LAN) include wired connections through ethernet cables or USB and wireless connections through WiFi or Bluetooth.
by
mohdmohsinkhanee
January 25
014.01.12.Introduction to Networking
permalink
20.why is it relatively easy to add IPv6 support to applications originally written for I
Since the layers in the stack sitting on the top of the network layer are unchanged, the code necessary to communicate with IPv6 is minimal and easy to add. Most applications and server now include IPv6 support.
by
gaurav133232
January 23
014.01.24.IPv6 Addresses And Networks
permalink
5.how are LAN, internet addresses, and the router identified?
Here the LAN consists of the networks in the range 10.23.2.1/24-10.23.2.254/24. Uplink is the internet address here.Router is the link that connects the subnet to the internet. Router's multiple addresses include those of subnets and those of u…
by
gaurav133232
January 21
014.01.18.The Internet Layer
permalink
11.The network configuration tool "ip" compared to older "ifconfig"
IP is used to get network configuration details, ip is the current configuration tool. ifconfig is also used to fetch network configuration details but this older command has been used in many versions of Unix for decades but is less capable as comp…
by
gaurav133232
January 21
014.01.18.The Internet Layer
permalink
16.What is Classless Inter-Domain Routing (CIDR) notation, and how do
10.23.2.0/255.255.255.0 in Classless Inter-Domain Routing is represented as: 10.23.2.0/24 where 10.23.2.0 is the subnet address whereas 24 is the no of ones in the mask i.e. 255.255.255.0 as it includes 24 1's. Hence using this notation we can…
by
gaurav133232
January 21
014.01.18.The Internet Layer
permalink
1.What is a network stack, and why is it essential for a fully functioning network?
A network stack consists of several layers which include the application layer, transport layer, network layer and the physical layer, these layers work together to ensure a smoothly and fully functioning network.
by
gaurav133232
January 20
014.01.16.NetworkLayers
permalink
3.In computer networking, what is the payload of a packet?
The payload is encapsulated within the packet's header and trailer, which contain control and addressing information. For example, if we are sending an image file over a network, the payload would consist of the binary data representing the pix…
by
mohdmohsinkhanee
January 17
014.01.14.Packets-IQs
permalink
6.What types of connections can exist on a LAN, according to the
The Types of connection that can exist on a Local Area Network(LAN) include a wired connection that is through ethernet cables, and a wireless connection through wifi.
by
sumacangadi
January 17
014.01.12.Introduction to Networking
permalink
5.what characteristics do the machines on a LAN usually share?
Yes, LAN is a network that is limited to a small piece of area within a limited number of devices.Characteristics that machines on a LAN usually share include:1. Resource sharing like internet access, files, and peripherals2. Components sharing like…
by
mohdmohsinkhanee
January 17
014.01.12.Introduction to Networking
permalink
Operator Overloading using Friend Function
This is an example of code that uses the friend function to make the (d3 = 10.1 + d1) '+' operator overloading permissible.
#include
class MyClass {private: double value;
public: MyClass(double val) : value(val) {}
// Overlo…
by
sumacangadi
January 10
Pravjot Sir Classes
permalink
Virtual function in C++
A virtual function is a member function declared in a base class and redefined (overridden) by a derived class. When referencing a derived class object using a pointer or reference to the base class, calling a virtual function executes the derived c…
by
mohdmohsinkhanee
January 6
Pravjot Sir Classes
permalink
Inserting a node in tree
Iam inserting a node in the tree, while inserting , after n = 1, no further allocation is being done rather the previously allocated nodes are getting overwritten.
Below is the code:-#include"headers.h"
#include"dataStruct.h"
…
by
gaurav133232
December 2023
Query
permalink
Unable to understand this question.
#include<stdio.h>
#define p(a,b) a##b
#define call(x) #x
int main(){
do{
int i=15,j=3;
printf("…
by
gaurav133232
December 2023
Query
permalink
Converting Decimal to binary, hexa,octal
You can try building logic on your own, below is an example to convert from decimal to binary conversion in C++:
Algorithm : 1. Initialize an array to store the binary representation.2. Use a loop to repeatedly divide the decimal number by 2.3. Sto…
by
mohdmohsinkhanee
December 2023
Query
permalink
Constructor
A parameterized constructor is a constructor that accepts one or more parameter(s) thereby, allowing us to initialize the object with specific values during its creation.
Let's try to use it in an example:
#includeusing namespace std;class Ro…
by
mohdmohsinkhanee
December 2023
Query
permalink
Understanding and Troubleshooting strncpy Behavior in C
In C programming, strcpy() and strncpy() are both functions used for string manipulation, but they have some key differences:
strcpy(destination, source):
Copies the entire source string to the destination until it encounters a null character (…
by
mohdmohsinkhanee
November 2023
Query
permalink
How C Programs Run?
for low level i/o
#include is for opening mode 2nd parameter i.e. O_READ, O_WRITE, O_APPEND, O_CREAT, O_TRUNC
#include is for file permissions connected with user 3rd parameter i.e. S_IREAD, S_IWRITE for reading writing permissions…
by
nirmalpg124
November 2023
001 C Programming, Data Structures
permalink
Drawback of Using NULL in C++
NULL is a macro, which is typically defined as (void *(0)), and it is used to represent a null pointer by assigning the literal 0. However, one drawback of using NULL is that it is not type-safe. In C++, it is not recommended to use NULL for null po…
by
mohdmohsinkhanee
November 2023
Pravjot Sir Classes
permalink
Understanding Call by Reference and Accept by Reference in C++
In C++, we can use references to pass and return values from functions. Let's explore this concept with an example:#include using namespace std;int& fun(int &a){ cout
by
mohdmohsinkhanee
November 2023
Pravjot Sir Classes
permalink
What is the difference between pointers and references in c++?
In C++, this pointer is a pointer that points to the object on which a member function is called. It allows the member function to access and modify the object's data members.
Here's a concise example of this pointer in C++:#include
cla…
by
mohdmohsinkhanee
November 2023
002 OOPs using C++ with Eclipse on Linux
permalink
Powered by
Vanilla
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership